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/director_chart/ |
Upload File : |
<?php if(id_sub_permission($id_sub)!=1){ permission_fail(); } import_request_variables('pG', 'p_'); if($p_id_sub!="") { $id_sub=trim($p_id_sub); } if($p_id_chart!="") { $id_chart=trim($p_id_chart); } $navig['director_chart']=$data_name_menu_sub['name']; $navig['director_add']="เพิ่มข้อมูลโครงสร้างการบริหาร"; navigator($navig); echo "<br>"; bar_header("เพิ่มขัอมูลโครงสร้างการบริหาร"); // Bar_Header fieldset_top($data_name_menu_sub['name']); //include ("ajax_link_picture.php"); echo "<br/>"; ?> <form name="add" action="index.php?mod=director_add_output&path=director_chart&id_sub=<?php echo $id_sub?>&id_chart=<?php echo $id_chart?>" method="post" enctype="multipart/form-data" onSubmit="return check_form();"> <table width="100%" border="0" align="center" cellpadding="1" cellspacing="3"> <tr height='35'> <td><?php echo print_arr1();?> <strong>ชื่อ</strong></td> <td><INPUT TYPE="text" NAME="name" size="50" value=''></td> </tr> <tr height='35'> <td><?php echo print_arr1();?> <strong>อัพโหลดรูปภาพ</strong></td> <td><input name="picture_file" type="file" size="50"> <br><font color="#FF0000">รูปขนาดไม่เกิน 170x200 pixel</font></td> </tr> <tr height='35'> <td><?php echo print_arr1();?> <strong>ตำแหน่ง</strong></td> <td><input name="position" type="text" size="50"></td> </tr> <tr height='35'> <td><?php echo print_arr1();?> <strong>เบอร์โทรศัพท์</strong></td> <td><input name="telephone" type="text" size="50"></td> </tr> <tr height='35'> <td><?php echo print_arr1();?> <strong>เบอร์โทรศัพท์ สำนักงาน</strong></td> <td><input name="email" type="text" size="50"></td> </tr> <?php // text_editor('440', '300', 'ข้อมูลประวัติ', 2); ?> <!-- <tr height='35'> <td><?php //echo print_arr1();?> <strong>ข้อมูลประวัติ</strong></td> <td> <?php // $oFCKeditor = new FCKeditor('profile') ; // $oFCKeditor->BasePath = 'coremain/editor/'; // $oFCKeditor->Width = '440'; // $oFCKeditor->Height = '300'; // $oFCKeditor->Create() ?> </td> </tr>--> <?php button_text('เพิ่มข้อมูล'); ?> <!-- <td colspan='2' align="center"> <input type="submit" name="Submit" value="เพิ่มข้อมูล" onmouseover="this.style.cursor='hand'"> </td> </tr> --> </table> </form> <?php echo "<br/>"; fieldset_down(); ?> <script language="javascript"> function check_form(){ doc = document.add; if(doc.name.value == ""){ alert("กรุณากรอกชื่อ"); doc.name.focus(); return false; } return true; } </script>