include "include/config.inc";
$title = "Information about monitoring server";
show_header($title,10);
?>
show_table_header("QUEUE OF ITEMS TO BE UPDATED");
echo "
";
show_table_header("QUEUE");
?>
$result=mysql_query("select i.itemid, from_unixtime(i.nextcheck), i.description, h.host from items i,hosts h where i.status=0 and h.status=0 and i.hostid=h.hostid and i.nextcheck";
echo "\n";
echo "| Next time to check | Host | Description |
";
echo "\n";
while($row=mysql_fetch_row($result))
{
$i++;
$itemid=$row[0];
$time=$row[1];
$description=$row[2];
$host=$row[3];
if($col==1)
{
echo "";
$col=0;
} else
{
echo "
";
$col=1;
}
echo "\n";
echo "| $time | $host | $description | ";
echo "\n";
echo "
";
echo "\n";
}
echo "";
?>
show_table_header("Total:$i");
?>
show_footer();
?>