From 8aee7a4bf11b6a36d74892f56d8937219cba0be0 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Fri, 25 Nov 2005 10:27:05 +0000 Subject: Cleanup of PHP code. git-svn-id: svn://svn.zabbix.com/trunk@2357 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/sysmap.php | 88 +++++++++++++++++++++++------------------------- 1 file changed, 43 insertions(+), 45 deletions(-) (limited to 'frontends/php/sysmap.php') diff --git a/frontends/php/sysmap.php b/frontends/php/sysmap.php index cf20baeb..b9bc11c7 100644 --- a/frontends/php/sysmap.php +++ b/frontends/php/sysmap.php @@ -74,9 +74,8 @@ ?> "; echo ""; echo ""; @@ -84,16 +83,17 @@ { $map="\n"; $result=DBselect("select h.host,sh.shostid,sh.sysmapid,sh.hostid,sh.label,sh.x,sh.y,h.status from sysmaps_hosts sh,hosts h where sh.sysmapid=".$_REQUEST["sysmapid"]." and h.status not in (".HOST_STATUS_DELETED.") and h.hostid=sh.hostid"); - for($i=0;$i"; - for($i=0;$i"; $result=DBselect("select name from images where imagetype=1 order by name"); - for($i=0;$i".$name; @@ -248,9 +250,9 @@ show_table2_h_delimiter(); echo ""; - for($i=0;$i".$host["host"].":$label"; @@ -327,11 +329,11 @@ echo nbsp("Host 2"); show_table2_h_delimiter(); echo ""; @@ -339,17 +341,13 @@ show_table2_v_delimiter($col++); echo nbsp("Link status indicator"); show_table2_h_delimiter(); - $result=DBselect("select triggerid,description from triggers order by description"); + $result=DBselect("select triggerid from triggers order by description"); echo ""; -- cgit