<?php //set theme print "<link href='css/{$Theme}.css' rel='stylesheet' type='text/css'>"; ?> </head> <body> <table width="325" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="14"><?php if (!$_SESSION["ip_Log"] and !Check_Online(get_ip())) { //check ->off line echo "<META HTTP-EQUIV='REFRESH' CONTENT='0; URL=index.php'>"; } else { //on line if ($_SESSION["user_type"] == "online" and !Check_Onlines()) { echo "<META HTTP-EQUIV='REFRESH' CONTENT='0; URL=index.php'>"; } ?> </td> <td width="298"> </td> <td width="13"> </td> </tr> <tr> <?php $sql = "select n.ptnote as ptnote,n.vstdate as notedate, concat(p.pname,p.fname,' ',p.lname) as ptname from patient p left outer join ptnote n on p.hn=n.hn where p.hn='{$hn}' "; //check special clinic $result = mysql_db_query($DBName, $sql) or die("äÁèÊÒÁÒöàÅ×Í¡¢éÍÁÙÅÁÒáÊä´é" . mysql_error()); $rs = mysql_fetch_array($result); ?> <td> </td>
//login come to system user and passweb complete $ip_Log = $_SESSION["ip_Log"]; $sql = "select * from opduser where loginname='{$ip_Log}' "; $result = mysql_db_query($DBName, $sql) or die("�������ö���͡���������ʴ���" . mysql_error()); $rs = mysql_fetch_array($result); } //online ?> <body> <table width="800" border="0" cellspacing="0" cellpadding="0" class="table"> <tr> <td height="736" valign="top"><table width="800" cellpadding="0" cellspacing="0"> <tr valign="top"> <td colspan="2"> <?php if (Check_Onlines() and $Header == "N") { } else { include "header.inc"; } ?> </td> </tr> <tr> <td height="24" valign="middle" background="img_mian/bgcolor.gif" class="menu-status"> <?php $n_online = num_online(); echo "User online in HOSxP : <font color=white>" . $n_online . "</font> ��"; echo " ʶҹ� <font color=white>[ "; if ($online) { echo "ON Line"; } else {