<?php
session_start
();

 if (
session_is_registered("valid_user")&&session_is_registered("Priority") )
 {
include(
"../include/FunctionDB.php");
include(
"admin_menu.php");
 
ConnectDB();
$Username $valid_user;
$sql "SELECT * FROM personal_tb   WHERE   Username='$Username'";
$result mysql_query($sql) ;
$rs mysql_fetch_array($result);
$row mysql_num_rows($result);
?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<link rel="stylesheet" href="../css/cart4.css" type="text/css">
<style type="text/css">
<!--
.style14 {color: #000000}
.style17 {font-size: 14px}
.style18 {font-family: Tahoma}
-->
</style>
<table width="793" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td><br><fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="menu_teacher.php?Teacher_code=<? echo $rs[Teacher_code?> " >หน้าหลัก</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="Menu_History.php?Teacher_code=<? echo $rs[Teacher_code?>">ข้อมูลประวัติส่วนตัว</a></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="Training_Menu.php?Teacher_code=<? echo $rs[Teacher_code?>">ข้อมูลประวัติการพัฒนาตนเอง</a></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" />ข้อมูลงานส่วนบุคคล</font></legend>
            <label><div align="center">
              <form id="form1" name="form1" method="post" action="">
                <div align="left">
                  <p><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()"  width="85" height="22" border="0" /></font></p>
                </div>
                <table width="64%" height="412" border="0" align="center" cellpadding="0" cellspacing="1" background=" <img src=../picture/M-office.gif" style="; border:0px solid gray"size="12">
                  
                  <tr>
                    <td height="54" bgcolor="#FFFFFF"><div align="center" class="style17">
                      <p><font face="Tahoma">ยินดีต้อนรับ .<font color="#993333"><strong><? echo $rs['Teacher_name'?> &nbsp;<? echo $rs['Teacher_lastname'?> </strong></font><span class="style14">รหัสประจำตัว</span> <font color="#993333"><strong><? echo $rs['Teacher_id'?> </strong></font></font></p>
                      <p><span class="style18">เข้าใช้งานระบบสารสนเทศเพื่อการบริหาร</span></p>
                    </div></td>
                  </tr>
                  <tr>
                    <td height="83" bgcolor="#FFFFFF"><table width="82%" border="0" align="center" cellpadding="0" cellspacing="0" style="border:0px solid gray">
                      <tr onmouseover="t" onmouseout="this.style.backgroundColor='#EEEEEE'" >
                        <td colspan="3"><div align="center"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="../picture/M-office.gif" width="492" height="355" border="0" align="absmiddle" /></font></div></td>
                      </tr>
                    </table></td>
                  </tr>
                </table>
                <br>
                <br>
            </form>
              </div>
            </label>
        </fieldset><br>
        <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b> ใช้เมาส์คลิกที่ชื่อ<br>
        </font></td>
    </tr>
</table>
<?php 
    
}
else
{
       echo
"<meta http-equiv=\"refresh\" content=\"3;URL=../login.php\">\n";
       echo
"Please Login ";
}
?>