<?
session_start
();
include_once(
'config.php');      
chkLogin();
getFullName($_SESSION[uid], $_SESSION[gid]);
?>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<link href="style.css" rel="stylesheet" type="text/css">
<title>-== : ยินดีต้อนรับระบบ Intranet BCNU : ==-</title>
</head>

<body leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
<table width="755" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="2" align="center"><?php include("header.php");?></td>
  </tr>
  <tr>
    <td colspan="2" background="images/bg_table.png" height="30"><div align="right" class="f3">
     ยินดีต้อนรับ&nbsp;&nbsp;
    &nbsp;&nbsp;</div></td>
  </tr>
  <tr>
    <td width="30%" bgcolor="#FFEECC">&nbsp;</td>
    <td bgcolor="#FFFFFF">&nbsp;</td>
  </tr>
  
  <tr>
    <td align="center" valign="top" bgcolor="#FFEECC"><?php include("menu_member.php");?></td>
    <td valign="top" bgcolor="#FFFFFF"><br>
    <?php include("news.php");?></td>
  </tr>
  <tr>
    <td align="center" valign="top" bgcolor="#FFEECC">&nbsp;</td>
    <td valign="top" bgcolor="#FFFFFF" align="center"><span class="f7">ขณะนี้มีผู้กำลังออนไลน์อยู่</span><span class="f5"><?php include_once("user_online.php");?> 
    </span><span class="f7">คน</span> </td>
  </tr>
  <tr>
    <td align="center" valign="top" bgcolor="#FFEECC">&nbsp;</td>
    <td valign="top" bgcolor="#FFFFFF" align="center">&nbsp;</td>
  </tr> 
  <tr>
    <td colspan="2" align="center" bgcolor="#FFFFFF"><?php include("footer.php");?></td>
  </tr>
</table>
</body>
</html>