2009-09-07 11:07:59 +00:00
|
|
|
<?php
|
2007-04-04 10:15:07 +00:00
|
|
|
|
2011-03-16 23:10:10 +00:00
|
|
|
if (mysql_result(mysql_query("select count(service_id) from services WHERE device_id = '".$device['device_id']."'"), 0) > '0')
|
|
|
|
{
|
|
|
|
echo("<div style='margin: 5px;'><table cellpadding=7 border=0 cellspacing=0 width=100%>");
|
|
|
|
$i = "1";
|
|
|
|
$service_query = mysql_query("select * from services WHERE device_id = '".$device['device_id']."' ORDER BY service_type");
|
|
|
|
while ($service = mysql_fetch_array($service_query))
|
|
|
|
{
|
2011-03-17 16:35:18 +00:00
|
|
|
include("includes/print-service.inc.php");
|
2011-03-16 23:10:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
echo("</table></div>");
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2007-04-04 10:15:07 +00:00
|
|
|
echo("No Services");
|
|
|
|
}
|
|
|
|
|
2011-03-16 23:10:10 +00:00
|
|
|
?>
|