| Server IP : 104.21.80.248 / 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/benjama/modules/w21/ |
Upload File : |
<?
extract($_REQUEST, EXTR_OVERWRITE);
// CheckUser($_SESSION['user_user']);
print_r($_SESSION);
print_r($_REQUEST);
require_once(__DIR__ . "/const.php");
require_once(__DIR__ . "/lib.php");
//$uid = CheckUser($_SESSION['user_user'], $_SESSION['user_pwd']);
$db->connectdb(DB_NAME,DB_USERNAME,DB_PASSWORD);
$res['user'] = $db->select_query($sql= "SELECT * FROM ".TB_user." WHERE username='".$_SESSION['user_user']."' ");
echo $sql;
$arr['user'] = $db->fetch($res['user']);
if( isset($_REQUEST["YEAR"]) ) $year = $_REQUEST["YEAR"] ;
if( isset($_REQUEST["TERM"]) ) $term = $_REQUEST["TERM"] ;
?>
<div align="left">
<table cellspacing="0" cellpadding="0" width="100%" height=450 border="0">
<tbody>
<tr>
<td valign="top" width="100%" > <div align="center">
<table width="100%">
<tr>
<td height="37" colspan="4" align=center>ข้อมูลการพัฒนาของ<? echo $arr['user']['category_name'];?></td>
</tr>
<tr>
<td height="37" colspan="4" align=center>
<FORM METHOD=POST ACTION="" name=mFrm onchange="javascript:this.submit();">
<b>ปีการศึกษา </b> <? echo prn_year($year); ?>
<b>ภาคเรียนที่ </b> <? echo prn_term($term); ?>
</FORM>
</td></tr>
<tr>
<td valign="top" width="100%" > <div align="left">
ข้อมูลส่วนบุคคล
</td>
</tr>
<tr>
<td valign="top" width="100%" > <div align="left">
2.การมอบหมายงานสอน(ตารางสอน)
<a href=?name=w21&file=addteachtable&<? echo "year=".$year."&term=".$term;?> > แก้ไข </a>
<br>
<?
$a=get_teach_table($_SESSION['user_user'],$year,$term);
echo prn_teach_table($a);
?>
</td>
</tr>
<tr>
<td valign="top" width="100%" > <div align="left">
3.ชั่วโมงสอนตามตารางสอน
<a href=?name=w21&file=logteach&<? echo "year=".$year."&term=".$term;?> > บันทึก </a>
<br>
</td>
</tr>
<tr>
<td valign="top" width="100%" > <div align="left">
4.งานสนับสนุนการจัดการเรียนรู้
<br>
</td>
</tr>
<tr>
<td valign="top" width="100%" > <div align="left">
5.งานตอบสนองนโยบายและจุดเน้น
<br>
</td>
</tr>
<tr>
<td valign="top" width="100%" > <div align="left">
6.การพัฒนาตามที่ ก.ค.ศ. กำหนด
</td>
</tr>
<tr>
<td valign="top" width="100%" > <div align="left">
7.PLC
</td>
</tr>
</table>
</td>
</tr>