".S_NO_PERMISSIONS.""); show_footer(); exit; } ?> 'status' order by i.nextcheck"); table_begin(); table_header(array(S_NEXT_CHECK,S_HOST,S_DESCRIPTION)); $col=0; while($row=DBfetch($result)) { if(!check_right("Host","R",$row["hostid"])) { continue; } $elements=array(date("m.d.Y H:i:s",$row["nextcheck"]),$row["host"],$row["description"]); table_row($elements,$col++); } iif_echo(DBnum_rows($result)==0, "".S_THE_QUEUE_IS_EMPTY."", ""); table_end(); ?>