| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/q/ |
Upload File : |
<?php
$STR="";
$row = array(10);
$ebits = ini_get('error_reporting');
error_reporting($ebits ^ E_NOTICE);
session_start();
include("dbconfig.php");
mysql_select_db("HISQ");
mysql_query("SET NAMES 'tis620'; ");
$sql="select * from ER order by TIME";
$result=mysql_query($sql);
$i=0;
$row[1]=10;
while ($rowresp = mysql_fetch_object($result)) {
$STR=$rowresp -> Qnumber;
$row[$i] = $STR;
$i +=1;
//ครบแล้วจบ
}
?>
<!DOCTYPE html>
<html>
<head>
<title>Q ER</title>
<script language="JavaScript" src="bak/date-picker.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<!--<meta http-equiv="refresh" content="20"/>-->
<style type="text/css">
.style1 {
color: #FF0000;
font-weight: bold;
}
.style2 {
color: #000000;
font-size: 40px;
}
.style3 {
font-size: 35px;
color: #FFFFFF;
}
body {
background-color: #000000;
}
.style4 {color: #FFFFFF}
.style5 {color: #00FF00;
font-weight: bold;
}
.style6 {color: #CCFF33;
font-weight: bold;
}
</style>
</head>
<body>
<br>
<table width="988" height="267" border="2" align="center" cellpadding="2" bgcolor="#FFFFFF">
<tr>
<!--<td height="60" colspan="3" align="center" bgcolor="#000000"><h1 class="style1" style="font-size:30px">ห้องฉุกเฉิน</h1><!--ห้องฉุกเฉิน-->
</td>
</tr>
<tr>
<td width="521" height="197" bgcolor="#000000">
<div align="center">
<h1 class="style3" >คิวกำลังให้บริการ</h1><!--คิวกำลังให้บริการ-->
<p class="style5" style="font-size:100px"><?php echo $row[0] ;?></p>
</div>
<table width="100%" height="14%" border="2" cellpadding="3" bgcolor="#FFFFFF">
<tr>
<td width="50%" height="77" align="center" bgcolor="#000000"><h1 class="style1 style2 style4" style="font-size:25px">คิวรอ</h1></td><!--คิวรอ-->
</tr>
<?php
for ($i = 1; $i <= 3; $i++) {
echo '<tr>
<td height="0%" align="center" bgcolor="#000000" style="font-size:11px"><h1 class="style6">'.$row[$i].'</h1></td>
</tr>';
}
?>
</table>
</td>
<td width="318" valign="top" bgcolor="#000000"><table width="100%" height="14%" border="2" cellpadding="3" bgcolor="#FFFFFF">
<tr>
<td width="50%" height="77" align="center" bgcolor="#000000" ><h1 class="style1 style2 style4" style="font-size:25px">คิวรอ</h1></td><!--คิวรอ-->
</tr>
<?php
for ($i = 4; $i <= 14; $i++) {
echo '<tr>
<td height="0%" align="center" bgcolor="#000000" style="font-size:10px"><h1 class="style1">'.$row[$i].'</h1></td>
</tr>';
}
?>
</table></td>
<td width="293" valign="top" bgcolor="#000000"><table width="101%" height="13%" border="2" cellpadding="3" bgcolor="#FFFFFF">
<tr>
<td width="50%" height="77" align="center" bgcolor="#000000"><h1 class="style1 style2 style4" style="font-size:25px">คิวรอ</h1></td><!--คิวรอ-->
</tr>
<?php
for ($i = 15; $i <= 25; $i++) {
echo '<tr>
<td height="0%" align="center" bgcolor="#000000" style="font-size:10px"><h1 class="style1">'.$row[$i].'</h1></td>
</tr>';
}
?>
</table></td>
</table>
</body>
</html>