Server IP : 202.29.229.35 / Your IP : 18.117.146.157 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(); } ?> <script type="text/javascript" src="ckeditor/ckeditor.js"></script> <?php /* include("connect/connect.php"); include("connect/function.php"); */ $nID=$_GET['nID'];//PK ข่าวที่ส่งมาจากหน้าแสดงข่าวทั้งหมด //echo "====>".$nID; $sql="select * from tbl_new where n_ID ='$nID' "; $result=mysql_query($sql,$connect1); $rs=mysql_fetch_array($result); ?> <form action="index.php?i=update_newInsert&&nID=<?php echo $nID;?>" method="post" enctype="multipart/form-data"/> <table width="700" border="0" align="center" cellpadding="5" cellspacing="0"> <tr> <td colspan="2" align="center" valign="top">.:: ฟอร์มอัพไฟล์รูปเพิ่มเติม ::.</td> </tr> <tr> <td width="200" align="right" valign="top">หัวข้อกิจกรรม :</td> <td width="500" align="left" valign="top"><input name="title" type="text" id="title" size="40" maxlength="200" value="<?php echo $rs['n_Title'];?>"/></td> </tr> <tr> <td width="200" align="right" valign="top">แนบไฟล์รูป :</td> <td width="500" align="left" valign="top"><input type="file" name="upfile[]" multiple="multiple" /> <!--ส่งค่าเป็นแบบ array ใส่ multiple="multiple" เพื่อจะสามารถเลือกรูปได้ที่ละหลายรูป--> <font color="#FF0000">*ขนาด 800x600 px. เท่านั้น</font></td> </tr> <tr> <td colspan="2" align="center" valign="top"><textarea class="ckeditor" cols="100%" id="detail" name="detail" rows="10"><?php echo $rs['n_Detail'];?></textarea></td> </tr> <tr> <td align="right" valign="top"> </td> <td align="left" valign="top"><input type="submit" value="บันทึก" /> <input type="hidden" name="nID" id="nID" value="<?php echo $nID;?> " /></td> </tr> </table> </form>