| Server IP : 172.67.187.206 / Your IP : 172.71.28.156 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 : /Inetpub/www/myschool/triamudom/check/checktime/ |
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');
include ($path.'include/permission_login.php');
$CLASS['db'] = new db();
$CLASS['db']->connect();
$CLASS['disp'] = new display();
$db = $CLASS['db'];
$disp = $CLASS['disp'];
$date_day = date("Y-m-d");
$date_time = date("H:i:s");
$tb_student_id = $_REQUEST['tb_student_id'];
$tb_student_code = $_REQUEST['tb_student_code'];
$tb_student_degree = $_REQUEST['tb_student_degree'];
$tb_student_tname = $_REQUEST['tb_student_tname'];
//----------------------------ค่าพื้นฐานระบบเว็บไซต์-----------------------------//
$fetch_public = $db->fetch_array($db->query("select * from tb_public"));
//----------------------------ค่าพื้นฐานระบบเว็บไซต์-----------------------------//
//--------------------ส่วนบนใช้สำหรับประกาศตัวแปรและ Config เท่านั้น----------------------------//
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php print $fetch_public['tb_public_title'];?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css"rel="stylesheet" type="text/css">
<script type="text/javascript" src="../js/format.js" ></script>
<script type="text/javascript" src="../js/dtree.js" ></script>
<link href="../css/style.css" rel="stylesheet" type="text/css">
<link href="css/deqp_style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {font-size: 16px}
body {
background-color: #66FF66;
}
-->
</style>
</head>
<body>
<form action="function_checktime_edit.php" method="post" name="timeupe">
<input name="tb_student_id" type="hidden" value="<?php print $tb_student_id;?>">
<input name="tb_student_code" type="hidden" value="<?php print $tb_student_code;?>">
<input name="tb_student_degree" type="hidden" value="<?php print $tb_student_degree;?>">
<input name="tb_student_tname" type="hidden" value="<?php print $tb_student_tname;?>">
<table width="100%" border="0" cellspacing="3" cellpadding="3">
<tr class="headTable_mpt">
<td colspan="2" nowrap><span class="style1"><img src="images/icons/desktop.gif" width="24" height="24" border="0" align="absmiddle"> อัพเดท ข้อมูลนักเรียน</span></td>
</tr>
<tr>
<td height="25" nowrap bgcolor="#FFFFFF"><strong>ข้อมูลนักเรียน</strong></td>
<td nowrap bgcolor="#FFFFFF"><strong><?php print $disp->display_studentall($tb_student_id);?> <?php print $disp->display_studentdegree($tb_student_degree);?></strong></td>
</tr>
<tr>
<td height="25" nowrap bgcolor="#FFFFFF"><strong>เลือกสถานะ</strong></td>
<td nowrap bgcolor="#FFFFFF"><select name="tb_time_type" id="tb_time_type">
<option value="5">ขาดเรียน</option>
<option value="4">ลาป่วย</option>
<option value="6">ลากิจ</option>
<option value="7">กิจกรรม</option>
</select></td>
</tr>
<tr>
<td height="25" nowrap bgcolor="#FFFFFF"> </td>
<td nowrap bgcolor="#FFFFFF"><input type="submit" name="Submit" value="บันทึกข้อมูล"></td>
</tr>
</table>
</form>
</body>
</html>