Server IP : 202.29.229.35 / Your IP : 18.220.92.235 Web Server : Apache System : Linux aapanel2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 User : www ( 1001) PHP Version : 5.5.38 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/www.ivecr2.ac.th/system_admin/ |
Upload File : |
<?php session_start(); if($_SESSION['r_statuslogin'] != 1){ echo '<script language="javascript">alert("สำหรับผู้ดูแลระบบเท่านั้น")</script>'; echo'<meta http-equiv="refresh" content="0;url=../index.php">'; exit(); } ?> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <?php include("connect/connect.php"); $ad_ID=$_SESSION['r_workId'];//รหัสผุ้ที่เข้าใช้งานระบบและผู้บันทึกข้อมูล $adIDreg=$_SESSION['r_adID'];//pk admin $m_ID=$_POST['m_ID']."<br>";//pk โครงการ $dp_ID=$_POST['dp_ID'];//pk งาน-แผนกฯ $m_proName=$_POST['m_proName'];//ชื่ีอโครงการ $m_perResponsible=$_POST['m_perResponsible'];//ผุ้รับผิดชอบโครงการ $m_durationStart=$_POST['time_start'];//ระยะเวลาดำเนินการ (เริ่ม) $m_durationEnd=$_POST['time_end'];//ระยะเวลาดำเนินการ (สิ้นสุด) $m_location=$_POST['m_location'];//สถานที่ดำเนินการ $m_objective=$_POST['m_objective'];//วัตถุประสงค์ $m_expense=$_POST['m_expense'];//ค่าใช้จ่าย $m_benefits=$_POST['m_benefits'];//ผลที่ไดรับ $m_participant=$_POST['m_participant'];//ผู้เข้าร่วมโครงการ $m_comment=$_POST['m_comment'];//ข้อเสนอแนะ $m_score=$_POST['m_score'];//ผลการประเมินโครงการ //$detail=$_POST['detail'];//รายละเอียด $date=date("Y:m:d"); $time=date("h:i:s"); $sql="update tbl_meeting set m_proName='$m_proName'"; $sql.=",m_perResponsible='$m_perResponsible'"; $sql.=",m_durationStart='$m_durationStart'"; $sql.=",m_durationEnd='$m_durationEnd'"; $sql.=",m_location='$m_location'"; $sql.=",m_objective='$m_objective'"; $sql.=",m_expense='$m_expense'"; $sql.=",m_benefits='$m_benefits'"; $sql.=",m_participant='$m_participant'"; $sql.=",m_comment='$m_comment'"; $sql.=",m_date='$date'"; $sql.=",dp_ID='$dp_ID'"; $sql.=",ad_ID='$adIDreg'"; $sql.=",m_score='$m_score'"; $sql.="where m_ID='$m_ID'"; //echo $sql; $result=mysql_query($sql,$connect1); //---------เก็บ log------------- $sqllog="insert into tbl_logfilemeeting values (null,'$ad_ID','3','$m_ID','$date','$time') "; $resultlog=mysql_query($sqllog); if($result){ echo "<script language='javascript'>alert('แก้ไขข้อมูลโครงการเรียบร้อยแล้ว')</script>"; echo '<meta http-equiv="refresh" content="0;url=index.php?i=showmting_all&mID='.$m_ID.'">'; exit(); }else{ echo "<script language='javascript'>alert('ไม่สามารถแก้ไขข้อมูลโครงการได้')</script>"; echo '<meta http-equiv="refresh" content="0;url=index.php?i=update_meetingTFrm&mID='.$m_ID.'">'; } ?>