Server IP : 119.59.102.212 / Your IP : 3.133.157.170 Web Server : Apache/2 System : Linux narin 2.6.32-042stab142.1 #1 SMP Tue Jan 28 23:44:17 MSK 2020 x86_64 User : yangkam ( 1022) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/help/ |
Upload File : |
<?php // Status Package Module $status_module=select_query("status_module","cms_status_module","id","25"); if($status_module[0]!=1) { fieldset_no_module(); } $navig['help']="ร้องทุกข์"; $navig['help_add']="เพิ่มข้อมูล"; navigator($navig); echo"<br>"; bar_header("เพิ่มข้อมูล"); // Bar_Header fieldset_top("ร้องทุกข์"); ?> <form action="index.php?mod=help_add_output&path=help" method="post" enctype="multipart/form-data" name="add" onSubmit="return checkadd()"> <table width="98%" border="0" align="center" cellpadding="1" cellspacing="3"> <tr height="40"> <td width="175"><div align="left"><img src='coremain/images/marker.gif'> <strong>หัวข้อร้องทุกข์</strong></div></td> <td><div align="left"><input name="topic" type="text" size="65"></td> </tr> <?php text_editor("445", "260", "รายละเอียด", 2, $data['fulltexts']); // Text Editor echo "<INPUT TYPE='hidden' name='id_type' value='$id_type'>"; echo "<INPUT TYPE='hidden' name='id_sub' value='$id_sub'>"; ?> <tr height="40"> <td><div align="left"><img src='coremain/images/marker.gif'> <strong>ชื่อผู้ร้อง</strong></div></td> <td><div align="left"><input name="name_help" type="text" size="65"></td> </tr> <tr height="40"> <td><div align="left"><img src='coremain/images/marker.gif'> <strong>ที่อยู่ผู้ร้อง</strong></div></td> <td><div align="left"><input name="address_help" type="text" size="65"></td> </tr> <tr height="40"> <td><div align="left"><img src='coremain/images/marker.gif'> <strong>โทรศัพท์ผู้ร้อง</strong></div></td> <td><div align="left"><input name="tel_help" type="text" size="65"></td> </tr> <tr height="40"> <td><div align="left"><img src='coremain/images/marker.gif'> <strong>อีเมล์ผู้ร้อง</strong></div></td> <td><div align="left"><input name="email_help" type="text" size="65"></td> </tr> <tr> <!-- File --> <tr height="40"> <td><div align="left"><img src='coremain/images/marker.gif'> <strong>เอกสารประกอบ</strong></div></td> <td><div align="left"><input name="userfile5" type="file" size="49"><?detail_file();?></td> </tr> <tr height="40"> <td></td> <td><div align="left"> <?php text_button_insert();?> </td> </tr> </table> </form> <?php fieldset_down();?> <script language="javascript"> function checkadd() { if(document.add.topic.value=="") { alert("กรุณากรอก หัวข้อร้องทุกข์ !") ; document.add.topic.focus() ; return false ; } else if(document.add.name_help.value=="") { alert("กรุณากรอก ชื่อผู้ร้อง !") ; document.add.name_help.focus() ; return false ; } else if(document.add.address_help.value=="") { alert("กรุณากรอก ที่อยู่ผู้ร้อง !") ; document.add.address_help.focus() ; return false ; } else if(document.add.tel_help.value=="") { alert("กรุณากรอก โทรศัพท์ผู้ร้อง !") ; document.add.tel_help.focus() ; return false ; } else return true ; } </script>