<?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  user_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 href="../source/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {color: #003399}
.style17 {font-size: 14px}
.style18 {color: #003399; font-size: 14px; }
.style20 {font-size: 14px; color: #33CC00; }
.style25 {font-size: 14px; font-family: Tahoma;}
-->
</style>
<table width="791" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="791"><br>
          <fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="Qa_menu.php" >หน้าหลัก</a></font></legend>
            <label><div align="center">
              <form id="form1" name="form1" method="post" action="">
                <p align="left"><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()"  width="85" height="22" border="0" /></font></p>
                <table width="71%" border="2" align="center" cellpadding="0" cellspacing="5" bordercolor="#FF9933" bgcolor="#FF6633" style="background-color:#eeeeee; border:1px solid gray"size="12">
                  
                  <tr>
                    <td><div align="center">
                      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="543" height="70">
                        <param name="movie" value="../Image/Movie3.swf" />
                        <param name="quality" value="high" />
                        <embed src="../Image/Movie3.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="543" height="70"></embed>
                      </object>
                    </div></td>
                  </tr>
                </table>
              <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 ";
}
?>