| Server IP : 61.19.30.66 / Your IP : 216.73.216.59 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,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, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /var/www/gpa/report/ |
Upload File : |
<?
require_once "../config/confiteacher.inc.php";
?>
<?
require_once "head.php";
?>
<html>
<head>
<title>-:- ADMIN -:-</title>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#FFFFFF">
<table width="75%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#003399">
<div align="center"><font color="#FFFFFF" size="+1"><strong>ระบบข้อมูลการสอนรายวิชา<font color="#FFFF00"></font></strong></font></div></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="1">
<tr>
<td><div align="right"><font color="#ff0000" size="2"><font color="#333333">ยินดีต้อนรับ
:</font> <font color="#ff0000"> <?=$objResult["teachcode"];?> <?=$objResult["name"];?> <?=$objResult["lastname"];?>
<font color="#666666">เข้าสู่ระบบค่ะ </font></font></font></div></td>
</tr>
<tr>
<td><div align="right"><font color="#666666" size="2"><a href="../main.php">หน้าหลักระบบ</a>
| <a href="logout.php">ออกจากระบบ</a></font></div></td>
</tr>
<tr>
<td><div align="center">
<table width="773" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
</tr>
</table>
<table width="76%" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td> </td>
</tr>
<tr>
<td><div align="center">
<script type="text/javascript">
function checkNationalID(webForm) {
if(webForm.length != 13) return false;
for(i=0, sum=0; i < 12; i++) sum +=parseFloat(webForm.pin(i))*(13-i);
if((11-sum%11)%10!=parseFloat(webForm.pin(12))) return false;
return true;
}
</script>
</div>
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
<form method="post" action="addsave1.php" name="webForm" onSubmit="checkNationalID(webForm)">
<tr>
<td width="140"><div align="right"><font color="#333333" size="2">รหัสวิชา : Code
:</font></div></td>
<td width="6"><font size="3">
<input name=codeteach id=codeteach type=text class="input" size=6 maxlength ="6">
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">รายวิชา : subject
:</font></div></td>
<td><font size="3">
<input name=codcod id=codcod type=text class="input" size=35 maxlength ="50">
</font></td>
</tr>
<tr>
<td><div align="right"><font color="#333333" size="2">กลุ่มที่สอน : Grup
:</font></div></td>
<td><font size="3">
<input name=grupt id=grupt type=text class="input" size=1 maxlength ="1" >
</font></td>
</tr>
<tr>
<td width="100%"><div align="right"><font color="#333333" size="2">รหัสครู : teach ID
:</font></div></td>
<td width="355"><font size="3">
<input name=registeach id=registeacht type=text class="input" readonly='readonly' size=3 value="<?=$objResult["teachcode"];?>" >
</font></td>
</tr>
<tr>
<td> <font color='red' size='3'></font></td>
<td><input name=submit type=submit class=submit value=เพิ่มข้อมูล >
<input name=submit2 type=reset class=submit value=ยกเลิกข้อมูล ></td>
</tr>
</form>
</table></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td><div align="center"><? echo "<font size=2 color=#ffffff>$footerweb</font>"; ?></div></td>
</tr>
</table>
<?
require_once "home11.php";
?>
</body>
</html>