| Server IP : 172.67.187.206 / Your IP : 172.71.28.155 Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586 User : SYSTEM ( 0) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : E:/Inetpub/www/myschool/triamudom/check/timework/ |
Upload File : |
<?php
session_start();
$path = "../";
include ($path.'include/config_db.php');
include ($path.'include/class_db.php');
include ($path.'include/class_display.php');
include ($path.'include/function.php');
$CLASS['db'] = new db();
$CLASS['db']->connect();
$CLASS['disp'] = new display();
$db = $CLASS['db'];
$disp = $CLASS['disp'];
?>
<!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>
<title>ระบบลงเวลาปฏิบัติราชการ โรงเรียนแกลง''วิทยสถาวร'' จังหวัดระยอง</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/default.CSS" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
background-color: #FF2F2F;
}
.style1 {
font-size: 18px;
color: #0000FF;
}
-->
</style></head>
<body>
<table width="988" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="200" valign="top" bgcolor="#3882F6"><?php include("header.php");?></td>
</tr>
<tr>
<td height="100%" align="center" valign="middle" bgcolor="#FFFFFF"><table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="100%" align="center" valign="top"> </td>
<td width="1" align="center" valign="top" background="images/hdot.gif"></td>
<td align="center" valign="top" bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td width="230" height="100%" align="center" valign="top"><?php include('com_left.php');?></td>
<td width="1" align="center" valign="top" background="images/hdot.gif"></td>
<td align="center" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"><form id="form2" name="form2" method="post" action="display_alltime.php">
<select name="tb_teacher_number" class="boxcheck" id="tb_teacher_number">
<option value="">= เลือกข้อมูลที่ต้องการ =</option>
<?php $query_teacher=$db->query("select * from tb_teachers where tb_teacher_status ='1' order by tb_department_id,tb_teacher_id asc");
while($fetch_teacher=$db->fetch_array($query_teacher)){
?>
<option value="<?php echo $fetch_teacher['tb_teacher_number'];?>" ><?php echo $fetch_teacher['tb_teacher_name'];?>(<?php echo $fetch_teacher['tb_teacher_number'];?>)</option>
<?php } ?>
</select>
<input name="Submit" type="submit" class="Submit" value="ยืนยันการค้นหา" />
</form> </td>
</tr>
<tr>
<td><hr /></td>
</tr>
<tr>
<td align="center"> </td>
</tr>
<tr>
<td align="center"><form id="form1" name="form1" method="post" action="display_alltime.php">
<span class="orange_textcheck">กรอกรหัสที่ต้องการดูข้อมูล :<br />
<br />
</span>
<input name="tb_teacher_number" type="text" class="boxcheckry" />
<input name="Submit2" type="submit" class="Submit" value="ยืนยันการค้นหา" />
<br />
<br />
</form> </td>
</tr>
<tr>
<td align="center"><hr /></td>
</tr>
</table></td>
</tr>
<tr>
<td height="100%" align="center" valign="top"> </td>
<td width="1" align="center" valign="top" background="images/hdot.gif"></td>
<td align="center" valign="top" bgcolor="#FFFFFF"> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="50" valign="bottom"><?php include("footer.php");?></td>
</tr>
</table>
</body>
</html>