Initial commit
This commit is contained in:
78
data/OLD/4knewgeneraltest.php
Normal file
78
data/OLD/4knewgeneraltest.php
Normal file
@@ -0,0 +1,78 @@
|
||||
<!--$f61=mysql_result($result,$i,"runhrstoday");
|
||||
$f62=mysql_result($result,$i,"prevtons");
|
||||
$f63=mysql_result($result,$i,"prevtime");
|
||||
$f64=mysql_result($result,$i,"canetot");
|
||||
$f65=mysql_result($result,$i,"avgtcd");
|
||||
$f81=mysql_result($result,$i,"losstime");-->
|
||||
|
||||
|
||||
<table class="tftable1">
|
||||
|
||||
<!-- ****************************************** ROW START ******************************************** -->
|
||||
|
||||
<tr>
|
||||
<td bgcolor="#2E2E2E" colspan=""><font color="#e0e0e0">Today's Tons In:</font></td>
|
||||
<td bgcolor="#2E2E2E" align="right"><font color="00FF00"><b><?php include("tonsin.php");?></b></font></td>
|
||||
<td bgcolor="#2E2E2E"><font color="#e0e0e0">Tons</font></td>
|
||||
|
||||
<td colspan=""><font color="#e0e0e0">Total Tons Ground:</font></td>
|
||||
<td align="right"><font color="00FF00"><b><?php include("../data/totground.php");?></b></font></td>
|
||||
<td><font color="#e0e0e0">Tons</font></td>
|
||||
|
||||
<?php
|
||||
include "../../dbconnect.php";
|
||||
$query="(SELECT * FROM milling ORDER BY id DESC LIMIT 1)";
|
||||
$result=mysqli_query($con,$query);
|
||||
|
||||
while ($row=mysqli_fetch_array($result, MYSQLI_ASSOC)) { ?>
|
||||
|
||||
<td bgcolor="#2E2E2E" colspan=""><font color="#e0e0e0">Run Hours:</font></td>
|
||||
<td bgcolor="#2E2E2E" align="right"><font color="00FF00"><b><?php echo $row['RUNHRSTODAY']; ?></b></font></td>
|
||||
<td bgcolor="#2E2E2E"><font color="#e0e0e0">Hours</font></td>
|
||||
</tr>
|
||||
|
||||
<!-- ****************************************** ROW END ******************************************** -->
|
||||
|
||||
<!-- ****************************************** ROW START ******************************************** -->
|
||||
|
||||
<tr>
|
||||
<td bgcolor="#2E2E2E"><font color="#e0e0e0">Tons Ground:</font></td>
|
||||
<td bgcolor="#2E2E2E" align="right"><font color="00FF00"><b><?php echo $row['CANETOT']; ?></b></font></td>
|
||||
<td bgcolor="#2E2E2E"><font color="#e0e0e0">Tons</font></td>
|
||||
|
||||
<td colspan=""><font color="#e0e0e0">Prev Tons Ground:</font></td>
|
||||
<td align="right"><font color="00FF00"><b><?php echo $row['PREVTONS']; ?></b></font></td>
|
||||
<td><font color="#e0e0e0">Tons</font></td>
|
||||
|
||||
<td bgcolor="#2E2E2E" colspan=""><font color="#e0e0e0">Prev Run Hours:</font></td>
|
||||
<td bgcolor="#2E2E2E" align="right"><font color="00FF00"><b><?php echo $row['PREVTIME']; ?></b></font></td>
|
||||
<td bgcolor="#2E2E2E"><font color="#e0e0e0">Hours</font></td>
|
||||
|
||||
</tr>
|
||||
|
||||
<!-- ****************************************** ROW END ******************************************** -->
|
||||
|
||||
<!-- ****************************************** ROW START ******************************************** -->
|
||||
|
||||
<tr>
|
||||
<td bgcolor="#2E2E2E"><font color="#e0e0e0">Average Tons/Day:</font></td>
|
||||
<td bgcolor="#2E2E2E" align="right"><font color="00FF00"><b><?php echo $row['AVGTCD']; ?></b></font></td>
|
||||
<td bgcolor="#2E2E2E"><font color="#e0e0e0">Tons</font></td>
|
||||
|
||||
<td colspan="3" align="center"><font size="6" color="00FF00"><b></b></font></td>
|
||||
|
||||
<td bgcolor="#2E2E2E" colspan=""><font color="#e0e0e0">Today's Loss Time:</font></td>
|
||||
<td bgcolor="#2E2E2E" align="right" id="lsp"><font color="00FF00"><b><?php echo $row['LOSSTIME']; ?></b></font></td>
|
||||
<td bgcolor="#2E2E2E"><font color="#e0e0e0">Hours</font></td>
|
||||
</tr>
|
||||
|
||||
<!-- ****************************************** ROW END ******************************************** -->
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ END OF PAGE ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -->
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user