|
|
|
รบกวนหน่อยค่ะ อยากดึงข้อมูลมาแสดงผลค่ะ ตอนนี้ดึงได้แล้วแต่มาแสดงผลแค่แถวเดียว มีตัวอย่างค่ะ |
|
|
|
|
|
|
|
ตัวอย่างโค้ด
Code (PHP)
<?php
$objConnect = mysql_connect("localhost","root","1234") or die("Error Connect to Database");
$objDB = mysql_select_db("cc");
mysql_query("SET NAMES UTF8");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Search</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="http://jquery-ui.googlecode.com/svn/tags/latest/ui/jquery.effects.core.js"></script>
<script src="http://jquery-ui.googlecode.com/svn/tags/latest/ui/jquery.effects.slide.js"></script>
<script>jQuery.fn.extend({
slideRightShow: function() {
return this.each(function() {
$(this).show('slide', {direction: 'right'}, 1000);
});
},
slideLeftHide: function() {
return this.each(function() {
$(this).hide('slide', {direction: 'left'}, 1000);
});
},
slideRightHide: function() {
return this.each(function() {
$(this).hide('slide', {direction: 'right'}, 1000);
});
},
slideLeftShow: function() {
return this.each(function() {
$(this).show('slide', {direction: 'left'}, 1000);
});
}
}); </script>
<style type="text/css">
table {
text-align: center;
font-family: "Comic Sans MS", cursive;
}
th {
font-size: 14px;
}
</style>
</head>
<script language = "JavaScript">
//**** List Province (Start) ***//
function ListProvince(SelectValue)
{
frmsearch.ddlProvince.length = 0
//*** Insert null Default Value ***//
var myOption = new Option('','')
frmsearch.ddlProvince.options[frmsearch.ddlProvince.length]= myOption
<?
$intRows = 0;
$strSQL = "SELECT * FROM carcass ORDER BY CID ASC ";
$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
$intRows = 0;
while($objResult = mysql_fetch_array($objQuery))
{
$intRows++;
?>
x = <?=$intRows;?>;
mySubList = new Array();
strGroup = <?=$objResult["TID"];?>;
strValue = "<?=$objResult["CID"];?>";
strItem = "<?=$objResult["Namecarcass"];?>";
mySubList[x,0] = strItem;
mySubList[x,1] = strGroup;
mySubList[x,2] = strValue;
if (mySubList[x,1] == SelectValue){
var myOption = new Option(mySubList[x,0], mySubList[x,0])
frmsearch.ddlProvince.options[frmsearch.ddlProvince.length]= myOption
}
<?
}
?>
}
//**** List Province (End) ***//
//**** List Amphur (Start) ***//
</script>
<script>
function resutName(CusID)
{
switch(CusID)
{
<?
$strSQL = "SELECT * FROM carcass ORDER BY Code_carcass ASC";
$objQuery = mysql_query($strSQL);
while($objResult = mysql_fetch_array($objQuery))
{
?>
case "<?=$objResult["Code_carcass"];?>":
frmsearch.txtnamemat.value = "<?=$objResult["Name"];?>";
break;
<?
}
?>
default:
frmsearch.txtnamemat.value = "";
}
}
</script>
<body>
<form action="" method="get" name="frmsearch">
<p>เดือน
<label for="ddlmonth"></label>
<select name="ddlmonth" id="ddlmonth">
<option selected="selected" value="-------"></option>
<?
$strSQL = "SELECT * FROM month_c ORDER BY MID ASC ";
$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
while($objResult = mysql_fetch_array($objQuery))
{
?>
<option value="<?=$objResult["MID"];?>">
<?=$objResult["Name_Month"];?>
</option>
<?
}
?>
</select>
ปี
<select name="ddlyear" id="ddlyear">
<option selected="selected" value="-------"></option>
<?
$strSQL = "SELECT * FROM Year_c ORDER BY YID ASC ";
$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
while($objResult = mysql_fetch_array($objQuery))
{
?>
<option value="<?=$objResult["YID"];?>">
<?=$objResult["Nameyear"];?>
</option>
<?
}
?>
</select>
<label for="ddl carcass"></label>
ประเภท
<select id="ddlGeo" name="ddlGeo" onchange = "ListProvince(this.value)">
<option selected="selected" value="-------"></option>
<?
$strSQL = "SELECT * FROM type ORDER BY TID ASC ";
$objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]");
while($objResult = mysql_fetch_array($objQuery))
{
?>
<option value="<?=$objResult["TID"];?>">
<?=$objResult["Name"];?>
</option>
<?
}
?>
</select>
ชื่อ carcass
<select id="ddlProvince" name="ddlProvince" style="width:120px">
</select>
<input type="submit" name="btnsearch" id="btnsearch" value="ค้นหา" />
</p>
<!--<p>carcass : <?=$rk["Namecarcass"]?> Month :<?=$rk["Name_Month"]?> Year : <?=$rk["Nameyear"]?></p>
--><p> </p>
</form>
<table width="136%" border="1">
<tr>
<th scope="row"> </th>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>
<td>6</td>
<td>7</td>
<td>8</td>
<td>9</td>
<td>10</td>
<td>11</td>
<td>12</td>
<td>13</td>
<td>14</td>
<td>15</td>
<td>16</td>
<td>17</td>
<td>18</td>
<td>19</td>
<td>20</td>
<td>21</td>
<td>22</td>
<td>23</td>
<td>24</td>
<td>25</td>
<td>26</td>
<td>27</td>
<td>28</td>
<td>29</td>
<td>30</td>
<td>31</td>
<td>total</td>
<td>%</td>
</tr>
<tr>
<?
if ($_GET['ddlProvince']||$_GET['ddlyear']||$_GET['ddlGeo']||$_GET['ddlmonth']!="")
{
$sql = "select ngcarcass.*,month_c.*,year_c.*,type.*,carcass.* from (carcass INNER JOIN ngcarcass ON carcass.Namecarcass = ngcarcass.Namecarcass)
LEFT JOIN month_c ON month_c.MID = ngcarcass.MID
LEFT JOIN year_c ON year_c.YID = ngcarcass.YID
LEFT JOIN type ON type.TID = ngcarcass.TID
WHERE (ngcarcass.Namecarcass LIKE '%".$_GET['ddlProvince']."%' AND ngcarcass.YID LIKE '%".$_GET['ddlyear']."%' AND ngcarcass.MID LIKE '%".$_GET['ddlmonth']."%')";
$objQuery1 = mysql_query($sql) or die ("Error Query [".$sql."]");
while($rk= mysql_fetch_array($objQuery1))
{
?>
<p>carcass : <?=$rk["Namecarcass"]?> Month :<?=$rk["Name_Month"]?> Year : <?=$rk["Nameyear"]?>
<th width="9%" scope="row">Product(Inspection)</th>
<td width="2%"><? if ($rk["Date"] == 1){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="1%"><? if ( $rk["Date"] == '2'){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ( $rk["Date"] == '3'){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="1%"><? if ($rk["Date"] == '4' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '5' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '6' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '7' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '8' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '9' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '10' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '11' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '12' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '13' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '14' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '15' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '16' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '17' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '18' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '19' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '20' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '21' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '22' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '23' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '24' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '25' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '26' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '27' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '28' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '29' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '30' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="2%"><? if ($rk["Date"] == '31' ){
echo $rk["ProductIns"] ;
}else{
echo "";
}?></td>
<td width="3%"> </td>
<td width="2%"> </td>
</tr>
<tr>
<th scope="row">LEAK(Raw mater)</th>
<td><? if ($rk["Date"] == '1' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '2' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '3' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '4' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '5' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '6' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '7' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '8' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '9' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '10' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '11' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '12' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '13' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '14' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '15' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '16' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '17' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '18' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '19' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '20' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '21' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '22' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '23' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '24' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '25' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '26' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '27' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '28' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '29' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '30' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '31' ){
echo $rk["LEAKRaw"] ;
}else{
echo "";
}?></td>
<td> </td>
<td> </td>
</tr>
<tr>
<th scope="row">LEAK(Hole valve)</th>
<td><? if ($rk["Date"] == '1' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '2' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '3' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '4' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '5' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '6' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '7' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '8' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '9' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '10' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '11' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '12' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '13' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '14' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '15' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '16' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '17' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '18' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '19' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '20' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '21' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '22' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '23' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '24' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '25' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '26' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '27' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '28' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '29' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '30' ){
echo $rk["LEAKHolevalve"] ;
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '31' ){
echo $rk["LEAKHolevalve"];
}else{
echo "";
}?></td>
<td> </td>
<td> </td>
</tr>
<tr>
<th scope="row">LEAK(รอยต่อ)</th>
<td><? if ($rk["Date"] == '1' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '2' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '3' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '4' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '5' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '6' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '7' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '8' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '9' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '10' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '11' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '12' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '13' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '14' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '15' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '16' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '17' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '18' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '19' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '20' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '21' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '22' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '23' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '24' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '25' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '26' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '27' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '28' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '29' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '30' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '31' ){
echo $rk["LEAKjoint"];
}else{
echo "";
}?></td>
<td> </td>
<td> </td>
</tr>
<tr>
<th height="26" scope="row">LEAK(เศษวัสดุ)</th>
<td><? if ($rk["Date"] == '1' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '2' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '3' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '4' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '5' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '6' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '7' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '8' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '9' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '10' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '11' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '12' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '13' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '14' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '15' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '16' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '17' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '18' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '19' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '20' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '21' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '22' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '23' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '24' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '25' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '26' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '27' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '28' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '29' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '30' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '31' ){
echo $rk["LEAKmat"];
}else{
echo "";
}?></td>
<td> </td>
<td> </td>
</tr>
<tr>
<th scope="row">No line</th>
<td><? if ($rk["Date"] == '1' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '2' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '3' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '4' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '5' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '6' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '7' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '8' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '9' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '10' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '11' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '12' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '13' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '14' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '15' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '16' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '17' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '18' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '19' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '20' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '21' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '22' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '23' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '24' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '25' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '26' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '27' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '28' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '29' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '30' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '31' ){
echo $rk["Noline"];
}else{
echo "";
}?></td>
<td> </td>
<td> </td>
</tr>
<tr>
<th scope="row">Skin</th>
<td><? if ($rk["Date"] == '1' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '2' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '3' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '4' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '5' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '6' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '7' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '8' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '9' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '10' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '11' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '12' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '13' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '14' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '15' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '16' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '17' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '18' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '19' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '20' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '21' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '22' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '23' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '24' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '25' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '26' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '27' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '28' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '29' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '30' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '31' ){
echo $rk["Skin"];
}else{
echo "";
}?></td>
<td> </td>
<td> </td>
</tr>
<tr>
<th scope="row">valve No center</th>
<td><? if ($rk["Date"] == '1' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '2' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '3' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '4' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '5' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '6' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '7' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '8' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '9' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '10' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '11' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '12' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '13' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '14' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '15' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '16' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '17' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '18' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '19' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '20' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '21' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '22' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '23' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '24' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '25' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '26' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '27' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '28' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '29' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '30' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '31' ){
echo $rk["valveNocenter"];
}else{
echo "";
}?></td>
<td> </td>
<td> </td>
</tr>
<tr>
<th scope="row">DEFORMATION</th>
<td><? if ($rk["Date"] == '1' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '2' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '3' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '4' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '5' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '6' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '7' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '8' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '9' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '10' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '11' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '12' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '13' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '14' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '15' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '16' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '17' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '18' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '19' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '20' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '21' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '22' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '23' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '24' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '25' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '26' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '27' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '28' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '29' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '30' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '31' ){
echo $rk["DEFORMATION"];
}else{
echo "";
}?></td>
<td> </td>
<td> </td>
</tr>
<tr>
<th scope="row">LOW</th>
<td><? if ($rk["Date"] == '1' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '2' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '3' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '4' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '5' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '6' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '7' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '8' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '9' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '10' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '11' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '12' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '13' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '14' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '15' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '16' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '17' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '18' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '19' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '20' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '21' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '22' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '23' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '24' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '25' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '26' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '27' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '28' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '29' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '30' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '31' ){
echo $rk["LOW"];
}else{
echo "";
}?></td>
<td> </td>
<td> </td>
</tr>
<tr>
<th scope="row">OVER</th>
<td><? if ($rk["Date"] == '1' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '2' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '3' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '4' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '5' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '6' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '7' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '8' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '9' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '10' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '11' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '12' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '13' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '14' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '15' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '16' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '17' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '18' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '19' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '20' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '21' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '22' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '23' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '24' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '25' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '26' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '27' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '28' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '29' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '30' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '31' ){
echo $rk["OVER"];
}else{
echo "";
}?></td>
<td> </td>
<td> </td>
</tr>
<tr>
<th scope="row">BIGSIZE</th>
<td><? if ($rk["Date"] == '1' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '2' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '3' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '4' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '5' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '6' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '7' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '8' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '9' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '10' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '11' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '12' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '13' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '14' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '15' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '16' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '17' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '18' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '19' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '20' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '21' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '22' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '23' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '24' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '25' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '26' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '27' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '28' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '29' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '30' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '31' ){
echo $rk["BIGSIZE"];
}else{
echo "";
}?></td>
<td> </td>
<td> </td>
</tr>
<tr>
<th height="25" scope="row">SMALLSIZE</th>
<td><? if ($rk["Date"] == '1' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '2' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '3' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '4' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '5' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '6' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '7' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '8' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '9' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '10' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '11' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '12' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '13' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '14' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '15' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '16' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '17' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '18' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '19' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '20' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '21' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '22' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '23' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '24' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '25' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '26' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '27' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '28' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '29' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '30' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '31' ){
echo $rk["SMALLSIZE"];
}else{
echo "";
}?></td>
<td> </td>
<td> </td>
</tr>
<tr>
<th scope="row">NO BALANCE</th>
<td><? if ($rk["Date"] == '1' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '2' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '3' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '4' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '5' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '6' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '7' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '8' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '9' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '10' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '11' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '12' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '13' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '14' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '15' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '16' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '17' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '18' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '19' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '20' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '21' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '22' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '23' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '24' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '25' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '26' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '27' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '28' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '29' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '30' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '31' ){
echo $rk["NOBALANCE"];
}else{
echo "";
}?></td>
<td> </td>
<td> </td>
</tr>
<tr>
<th scope="row">Panel overlap</th>
<td><? if ($rk["Date"] == '1' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '2' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '3' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '4' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '5' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '6' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '7' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '8' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '9' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '10' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '11' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '12' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '13' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '14' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '15' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '16' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '17' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '18' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '19' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '20' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '21' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '22' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '23' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '24' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '25' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '26' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '27' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '28' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '29' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '30' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td><? if ($rk["Date"] == '31' ){
echo $rk["Paneloverlap"];
}else{
echo "";
}?></td>
<td> </td>
<td> </td>
</tr>
<tr>
<th scope="row">Total NG</th>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<th scope="row">% NG </th>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<th scope="row"> </th>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<? } ?> <? } ?>
<p> </p>
</body>
</html>
|
|
|
|
|
Date :
2013-12-17 10:10:27 |
By :
pampam |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Date :
2013-12-17 10:10:52 |
By :
arm8957 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
อธิบายยังไม่ชัดจริง ๆ ครับ ลองถามใหม่นะ
|
|
|
|
|
Date :
2013-12-17 12:40:02 |
By :
apisitp |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
งั้นก็ไม่รู้จะช่วยไงล่ะ แฮ่ะ ๆ
|
|
|
|
|
Date :
2013-12-18 09:34:49 |
By :
apisitp |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 04
|