View file radio/Tpl/dinamika.tpl.html

File size: 1.78Kb
	<style>
		.graph_td {border:1px solid white;}
		.graph {text-align: bottom; font-size: 1px; width:2px;background-image: url('/radio/images/bg_stat.jpg'); background-position: bottom right; float:left; valign: bottom; padding:0px; margin:0px;}
	</style>

			<table border="0" width="" height="120" cellspacing="0" cellpadding="0">
				<tr>
					<td width="20" height="100" valign="bottom">
        				<table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0">
							<tr>
								<td align=right class=podpis><?=$dinamikaInfo['max']?>&nbsp;</td>
							</tr>
							<tr>
								<td align=right class=podpis><?=$dinamikaInfo['top']?>&nbsp;</td>
							</tr>
							<tr>
								<td align=right class=podpis><?=$dinamikaInfo['center']?>&nbsp;</td>
							</tr>
							<tr>
								<td align=right class=podpis><?=$dinamikaInfo['bottom']?>&nbsp;</td>
							</tr>
							<tr>
								<td align=right class=podpis>0&nbsp;</td>
							</tr>
						</table>
					</td>
					<td height="100" valign="bottom">
						<table width="" cellspacing="0" cellpadding="0" class="graph_g1">
							<tr valign=bottom>


<?php
	foreach ($dinamikaGraph as $px) {
?>
								<td class="graph_td" width="3"><div class="graph" style="height:<?=$px?>px;"></div></td>
<?php
	}
?>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td width="20">&nbsp;</td>
					<td>
						<table border="0" width="100%" cellspacing="0" cellpadding="0">
							<tr>
								<td class=podpis align=center><?=date("H:i", $this->max_time)?></td>
<?php
	foreach ($dinamikaBottom as $time) {
		$date->setTime($time);
?>
	   							<td class=podpis align=center><?=$date->toFormatString("H:i")?></td>
<?php
	}
?>
							</tr>
						</table>
					</td>
				</tr>
			</table>