| 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: 40px}
-->
</style>
</head>
<body>
<br>
<table width="988" height="159" border="2" align="center" cellpadding="2" bgcolor="#FFFFFF">
<tr>
<td height="60" colspan="3" align="center"><h1 class="style1">----</h1></td>
</tr>
<tr>
<td width="521" height="93">
<div align="center">
<h1 class="style3" >คิวกำลังให้บริการ</h1>
<p class="style1" style="font-size:160px"><?php echo $row[0] ;?></p>
</div> </td>
<td width="318" valign="top"><table width="100%" height="14%" border="2" cellpadding="3" bgcolor="#FFFFFF">
<tr>
<td width="50%" height="77" align="center"><h1 class="style1 style2">คิวรอ</h1></td>
</tr>
<?php
for ($i = 1; $i <= 5; $i++) {
echo '<tr>
<td height="0%" align="center" style="font-size:17px"><h1 class="style1">'.$row[$i].'</h1></td>
</tr>';
}
?>
</table></td>
<td width="293" valign="top"><table width="101%" height="13%" border="2" cellpadding="3" bgcolor="#FFFFFF">
<tr>
<td width="50%" height="77" align="center"><h1 class="style1 style2">คิวรอ</h1></td>
</tr>
<?php
for ($i = 6; $i <= 16; $i++) {
echo '<tr>
<td height="0%" align="center" style="font-size:8px"><h1 class="style1">'.$row[$i].'</h1></td>
</tr>';
}
?>
</table></td>
</table>
</body>
</html>