<?php
include("../includes/items.php");
?>


<table class="tftable2">
<tr>
<td width="1000%" align="center" colspan="8" border="0"><font color="#00BFFF"><i>TANK LEVELS</i></font></td>
</tr>
</table>
<table class="tftable1">
	<tr>
			
			<td colspan="" width="12.5%" bgcolor="#2E2E2E" align="center"><font color="#e0e0e0" >Juice Tank1</font></td>
			<td colspan="" width="12.5%" align="center"><font color="#e0e0e0">Juice Tank2</font></td>
			<td colspan="" width="12.5%" bgcolor="#2E2E2E" align="center"><font color="#e0e0e0" >Syrup Rcvr</font></td>
			<td colspan="" width="12.5%" align="center"><font color="#e0e0e0">Syrup Overflow</font></td>
			<td colspan="" width="12.5%" bgcolor="#2E2E2E" align="center"><font color="#e0e0e0">Total Syrup</font></td>
			<td colspan="" width="12.5%" align="center"><font color="#e0e0e0">Condensate Water</font></td>
			<td colspan="" width="12.5%" bgcolor="#2E2E2E" align="center"><font color="#e0e0e0">Sweet Water</font></td>
			<td colspan="" width="12.5%" align="center"><font color="#e0e0e0">Cold Water INJ</font></td>
	</tr>
	<tr>
			<td width="12.5" align="left"><progress id="progresstanks" data-label="<?php echo $value['Juice Tank1']; ?>%" max="100" value="<?php echo $value['Juice Tank1']; ?>"></progress></td>
			<td width="12.5" align="left"><progress id="progresstanks" data-label="<?php echo $value['Juice Tank2']; ?>%" max="100" value="<?php echo $value['Juice Tank2']; ?>"></progress></td>
			<td width="12.5" bgcolor="#2E2E2E" align="left"><progress id="progresstanks" data-label="<?php echo $value['Syrup RCVR']; ?>%" max="100" value="<?php echo $value['Syrup RCVR']; ?>"></progress></td>
			<td width="12.5" align="left"><progress id="progresstanks" data-label="<?php echo $value['Syrup Overflow Lvl']; ?>%" max="100" value="<?php echo $value['Syrup Overflow Lvl']; ?>"></progress></td>
			<td width="12.5" bgcolor="#2E2E2E" align="left"><progress id="progresstanks" data-label="<?php echo round(($value['Syrup Overflow Lvl']*.82569)+($value['Syrup RCVR']*.17431),0); ?>%" max="100" value="<?php echo round(($value['Syrup Overflow Lvl']*.82569)+($value['Syrup RCVR']*.17431),0); ?>"></meter></td>
			<td width="12.5" align="left"><progress id="progresstanks" data-label="<?php echo $value['CondensateWater']; ?>" max="100" value="<?php echo $value['CondensateWater']; ?>"></progress></td>
			<td width="12.5" bgcolor="#2E2E2E" align="left"><progress id="progresstanks" data-label="<?php echo $value['SweetwaterTank']; ?>" max="100" value="<?php echo $value['SweetwaterTank']; ?>"></progress></td>
			<td width="12.5" align="left"><progress id="progresstanks" data-label="<?php echo $value['Cold Water Injection LVL']; ?>" max="100" value="<?php echo $value['Cold Water Injection LVL']; ?>"></progress></td>
	</tr>
	<tr>
			<td colspan="" width="12.5%" align="center"><font color="#e0e0e0">A1 Rcvr</font></td>
			<td colspan="" width="12.5%" bgcolor="#2E2E2E" align="center"><font color="#e0e0e0">A1 Overflow</font></td>
			<td colspan="" width="12.5%" align="center"><font color="#e0e0e0">A2 Rcvr</font></td>
			<td colspan="" width="12.5%" bgcolor="#2E2E2E" align="center"><font color="#e0e0e0">A2 Overflow</font></td>
			<td colspan="" width="12.5%" align="center"><font color="#e0e0e0">B Rcvr</font></td>
			<td colspan="" width="12.5%" bgcolor="#2E2E2E" align="center"><font color="#e0e0e0">B Overflow</font></td>
			<td colspan="" width="12.5%" align="center"><font color="#e0e0e0">Flash Tank</font></td>
			<td colspan="" width="12.5%" bgcolor="#2E2E2E" align="center"><font color="#e0e0e0"></font></td>
	</tr>
	<tr>
			<td width="12.5" align="left"><progress id="progresstanks" data-label="<?php echo $value['A1 RCVR']; ?>%" max="100" value="<?php echo $value['A1 RCVR']; ?>"></progress></td>			
			<td width="12.5" bgcolor="#2E2E2E" align="left"><progress id="progresstanks" data-label="<?php echo $value['A1 Molasses Overflow Lvl']; ?>%" max="100" value="<?php echo $value['A1 Molasses Overflow Lvl']; ?>"></progress></td>
			<td width="12.5" align="left"><progress id="progresstanks" data-label="<?php echo $value['A2 RCVR']; ?>%" max="100" value="<?php echo $value['A2 RCVR']; ?>"></progress></td>
			<td width="12.5" bgcolor="#2E2E2E" align="left"><progress id="progresstanks" data-label="<?php echo $value['A2 Molasses Overflow Lvl']; ?>%" max="100" value="<?php echo $value['A2 Molasses Overflow Lvl']; ?>"></progress></td>
			<td width="12.5" align="left"><progress id="progresstanks" data-label="<?php echo $value['B RCVR']; ?>%" max="100" value="<?php echo $value['B RCVR']; ?>"></progress></td>
			<td width="12.5" bgcolor="#2E2E2E" align="left"><progress id="progresstanks" data-label="<?php echo $value['B Molasses Overflow Lvl']; ?>%" max="100" value="<?php echo $value['B Molasses Overflow Lvl']; ?>"></progress></td>
			<td width="12.5" align="left"><progress id="progresstanks" data-label="<?php echo $value['FlashTankLVL']; ?>" max="100" value="<?php echo $value['FlashTankLVL']; ?>"></progress></td>
			<td width="12.5" bgcolor="#2E2E2E" align="left"><progress id="progresstanks" data-label="<?php //echo $value['B RCVR']; ?>" max="100" value="<?php //echo $value['B RCVR']; ?>"></progress></td>

	</tr>
	
</table>


<?php
?>
