Server IP : 202.29.229.35 / Your IP : 3.133.112.141 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(); } $adID=$_GET['adID']; $sqlwork1="select * from tbladmin where adID='$adID'"; $resqlwork1=mysql_query($sqlwork1,$connect1); $numrow=mysql_num_rows($resqlwork1); $rs=mysql_fetch_array($resqlwork1); $dpID=$rs['addepartmentID']; $workname=$rs['addepartment']; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script> <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" /> </head> <body> <p><center> <h2>ข้อมูลกลุ่มงาน</h2></center></p> <form action="?i=subject_nameIns" method="post" enctype="multipart/form-data" name="form1" id="form1"> <table width="700" border="0" align="center" cellpadding="5" cellspacing="0"> <tr> <td align="right" valign="top"> </td> <td align="left" valign="top"><a href="?i=subject_nameall"><< ย้อนกลับ</a></td> </tr> <tr> <td width="200" align="right" valign="top">ชื่อแผนกวิชา/งาน :</td> <td width="500" align="left" valign="top"><select name="selectwork" id="selectwork"> <?php $sqlad="select * from tbl_departmentall order by daNodpt ASC"; $resqlad=mysql_query($sqlad,$connect1); while($rsad=mysql_fetch_array($resqlad)){ ?> <option value="<?php echo $rsad['daNodpt'];?>"><?php echo $rsad['daFname']; ?></option> <?php }//end while ?> </select></td> </tr> <tr> <td width="200" align="right" valign="top">ชื่อ :</td> <td width="500" align="left" valign="top"> <label for="adFname"></label> <span id="sprytextfield1"> <input name="adFname" type="text" id="adFname" size="20"/> <span class="textfieldRequiredMsg">A value is required.</span></span> <label for="adLname"></label></td> </tr> <tr> <td align="right" valign="top">นามสกุล :</td> <td align="left" valign="top"><span id="sprytextfield2"> <input name="adLname" type="text" id="adLname" size="30"/> <span class="textfieldRequiredMsg">A value is required.</span></span></td> </tr> <tr> <td align="right" valign="top">แนบรูป :</td> <td align="left" valign="top"><label for="picamdin"></label> <input type="file" name="picamdin" id="picamdin" /></td> </tr> <tr> <td width="200" align="right" valign="top">Username :</td> <td width="500" align="left" valign="top"><label for="aduser"></label> <span id="sprytextfield3"> <input name="aduser" type="text" id="aduser" size="40" maxlength="15"/> <span class="textfieldRequiredMsg">A value is required.</span></span></td> </tr> <tr> <td width="200" align="right" valign="top">Password :</td> <td width="500" align="left" valign="top"><label for="adpass"></label> <span id="sprytextfield4"> <input name="adpass" type="text" id="adpass" size="40" maxlength="15" /> <span class="textfieldRequiredMsg">A value is required.</span></span></td> </tr> <tr> <td width="200" align="right" valign="top"> </td> <td width="500" align="left" valign="top"><input type="submit" name="button" id="button" value="บันทึก" /></td> </tr> <tr> <td width="200" align="right" valign="top"> </td> <td width="500" align="left" valign="top"> </td> </tr> <tr> <td width="200" align="right" valign="top"> </td> <td width="500" align="left" valign="top"> </td> </tr> </table> </form> <script type="text/javascript"> var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1"); var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3"); var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4"); var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2"); </script> </body> </html>