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

<table class="tftable2">
<tr>
<td width="100%" align="center" colspan="6" border="0"><font color="#00BFFF"><i>TANK LEVELS</i></font></td>
</tr>
</table>
<table class="tftable3">

	<tr>
			
			<td colspan="" width="6.66%" bgcolor="#2E2E2E" align="center"><font color="#e0e0e0" >Juice Tank1</font></td>
			<td colspan="" width="6.66%" align="center"><font color="#e0e0e0">Juice Tank2</font></td>
			<td colspan="" width="6.66%" bgcolor="#2E2E2E" align="center"><font color="#e0e0e0" >Syrup Rcvr</font></td>
			<td colspan="" width="6.66%" align="center"><font color="#e0e0e0">Syrup Overflow</font></td>
			<td colspan="" width="6.66%" bgcolor="#2E2E2E" align="center"><font color="#e0e0e0">Total Syrup</font></td>
			<td colspan="" width="6.66%" align="center"><font color="#e0e0e0">A1 Rcvr</font></td>
			<td colspan="" width="6.66%" bgcolor="#2E2E2E" align="center"><font color="#e0e0e0">A1 Over</font></td>
			<td colspan="" width="6.66%" align="center"><font color="#e0e0e0">A2 Rcvr</font></td>
			<td colspan="" width="6.66%" bgcolor="#2E2E2E" align="center"><font color="#e0e0e0">A2 Over</font></td>
			<td colspan="" width="6.66%" align="center"><font color="#e0e0e0">B Rcvr</font></td>
			<td colspan="" width="6.66%" bgcolor="#2E2E2E" align="center"><font color="#e0e0e0">B Over</font></td>
			<td colspan="" width="6.66%" align="center"><font color="#e0e0e0">Flash Tank</font></td>
			<td colspan="" width="6.66%" bgcolor="#2E2E2E" align="center"><font color="#e0e0e0">Condens. Water</font></td>
			<td colspan="" width="6.66%" align="center"><font color="#e0e0e0">Sweet Water</font></td>
			<td colspan="" width="6.66%" bgcolor="#2E2E2E" align="center"><font color="#e0e0e0">Cold Water INJ</font></td>
	</tr>
	<tr>
			<td width="6.66" align="left">
				<div class="barcontainer">
					<div class="bar" style="height:<?php echo $value['Juice Tank1']; ?>%">
						<div class="bartext"><font color="white"><?php echo $value['Juice Tank1']; ?>%</font></div>
					</div>
				</div>
			</td>
			<td width="6.66" align="left">
				<div class="barcontainer">
					<div class="bar" style="height:<?php echo $value['Juice Tank2']; ?>%">
						<div class="bartext"><font color="white"><?php echo $value['Juice Tank2']; ?>%</font></div>
					</div>
				</div>
			</td>
			<td width="6.66" align="left">
				<div class="barcontainer">
					<div class="bar" style="height:<?php echo $value['Syrup RCVR']; ?>%">
						<div class="bartext"><font color="white"><?php echo $value['Syrup RCVR']; ?>%</font></div>
					</div>
				</div>
			</td>
			<td width="6.66" align="left">
				<div class="barcontainer">
					<div class="bar" style="height:<?php echo $value['Syrup Overflow Lvl']; ?>%">
						<div class="bartext"><font color="white"><?php echo $value['Syrup Overflow Lvl']; ?>%</font></div>
					</div>
				</div>
			</td>
			<td width="6.66" align="left">
				<div class="barcontainer">
					<div class="bar" style="height:<?php echo round(($value['Syrup Overflow Lvl']*.82569)+($value['Syrup RCVR']*.17431),0); ?>%">
						<div class="bartext"><font color="white"><?php echo round(($value['Syrup Overflow Lvl']*.82569)+($value['Syrup RCVR']*.17431),0); ?>%</font></div>
					</div>
				</div>
			</td>
			<td width="6.66" align="left">
				<div class="barcontainer">
					<div class="bar" style="height:<?php echo $value['A1 RCVR']; ?>%">
						<div class="bartext"><font color="white"><?php echo $value['A1 RCVR']; ?>%</font></div>
					</div>
				</div>
			</td>
			<td width="6.66" align="left">
				<div class="barcontainer">
					<div class="bar" style="height:<?php echo $value['A1 Molasses Overflow Lvl']; ?>%">
						<div class="bartext"><font color="white"><?php echo $value['A1 Molasses Overflow Lvl']; ?>%</font></div>
					</div>
				</div>
			</td>
			<td width="6.66" align="left">
				<div class="barcontainer">
					<div class="bar" style="height:<?php echo $value['A2 RCVR']; ?>%">
						<div class="bartext"><font color="white"><?php echo $value['A2 RCVR']; ?>%</font></div>
					</div>
				</div>
			</td>
			<td width="6.66" align="left">
				<div class="barcontainer">
					<div class="bar" style="height:<?php echo $value['A2 Molasses Overflow Lvl']; ?>%">
						<div class="bartext"><font color="white"><?php echo $value['A2 Molasses Overflow Lvl']; ?>%</font></div>
					</div>
				</div>
			</td>
			<td width="6.66" align="left">
				<div class="barcontainer">
					<div class="bar" style="height:<?php echo $value['B RCVR']; ?>%">
						<div class="bartext"><font color="white"><?php echo $value['B RCVR']; ?>%</font></div>
					</div>
				</div>
			</td>
			<td width="6.66" align="left">
				<div class="barcontainer">
					<div class="bar" style="height:<?php echo $value['B Molasses Overflow Lvl']; ?>%">
						<div class="bartext"><font color="white"><?php echo $value['B Molasses Overflow Lvl']; ?>%</font></div>
					</div>
				</div>
			</td>
			<td width="6.66" align="left">
				<div class="barcontainer">
					<div class="bar" style="height:<?php echo $value['FlashTankLVL']; ?>%">
						<div class="bartext"><font color="white"><?php echo $value['FlashTankLVL']; ?>%</font></div>
					</div>
				</div>
			</td>
			<td width="6.66" align="left">
				<div class="barcontainer">
					<div class="bar" style="height:<?php echo $value['CondensateWater']; ?>%">
						<div class="bartext"><font color="white"><?php echo $value['CondensateWater']; ?>%</font></div>
					</div>
				</div>
			</td>
			<td width="6.66" align="left">
				<div class="barcontainer">
					<div class="bar" style="height:<?php echo $value['SweetwaterTank']; ?>%">
						<div class="bartext"><font color="white"><?php echo $value['SweetwaterTank']; ?>%</font></div>
					</div>
				</div>
			</td>
			<td width="6.66" align="left">
				<div class="barcontainer">
					<div class="bar" style="height:<?php echo $value['Cold Water Injection LVL']; ?>%">
						<div class="bartext"><font color="white"><?php echo $value['Cold Water Injection LVL']; ?>%</font></div>
					</div>
				</div>
			</td>
	</tr>
	
</table>


<?php
?>
