From f8983d0ef387a56e3d3db9c7e2dafc332f2adaa4 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Thu, 17 Mar 2005 08:30:54 +0000 Subject: - added frontends/php/include/maps.inc.php (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@1701 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/maps.inc.php | 197 +++++++++++++++++++++++++++++++++++++ 1 file changed, 197 insertions(+) create mode 100644 frontends/php/include/maps.inc.php (limited to 'frontends/php/include/maps.inc.php') diff --git a/frontends/php/include/maps.inc.php b/frontends/php/include/maps.inc.php new file mode 100644 index 00000000..563d065a --- /dev/null +++ b/frontends/php/include/maps.inc.php @@ -0,0 +1,197 @@ + +"; + $result=DBselect("select h.host,sh.shostid,sh.sysmapid,sh.hostid,sh.label,sh.x,sh.y,h.status,sh.icon,sh.url from sysmaps_hosts sh,hosts h where sh.sysmapid=$sysmapid and h.hostid=sh.hostid"); + for($i=0;$i"; + } + +/* if(function_exists("imagecreatetruecolor")&&@imagecreatetruecolor(1,1)) + { + $map=$map."\n\"$host\""; + } + else + { + $map=$map."\n\"$host\""; + }*/ + } + } + $map=$map."\n"; + return $map; + } +?> -- cgit