diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2002-12-07 09:44:28 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2002-12-07 09:44:28 +0000 |
| commit | 57aba8a89d9da927a39a3ffadf258ead2f27b3c7 (patch) | |
| tree | 59a8dc852f93f9b9760043a4a2e9388ca4d9249e /frontends/php/compare.php | |
| parent | cfacb3b129f95ee9efc41830d0a939875e7732ed (diff) | |
| download | zabbix-57aba8a89d9da927a39a3ffadf258ead2f27b3c7.tar.gz zabbix-57aba8a89d9da927a39a3ffadf258ead2f27b3c7.tar.xz zabbix-57aba8a89d9da927a39a3ffadf258ead2f27b3c7.zip | |
- all <? ?> were changed to <?php ?>. No changes in php.ini required anymore.
(Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@580 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/compare.php')
| -rw-r--r-- | frontends/php/compare.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/frontends/php/compare.php b/frontends/php/compare.php index 6bb11bee..e302caf6 100644 --- a/frontends/php/compare.php +++ b/frontends/php/compare.php @@ -1,11 +1,11 @@ -<? +<?php include "include/config.inc.php"; $page["title"] = "Latest values"; $page["file"] = "latest.php"; show_header($page["title"],300,0); ?> -<? +<?php if(!check_right("Item","R",$HTTP_GET_VARS["itemid"])) { show_table_header("<font color=\"AA0000\">No permissions !</font>"); @@ -14,7 +14,7 @@ } ?> -<? +<?php show_table_header_begin(); $result=DBselect("select i.description,h.host,h.hostid from items i,hosts h where i.hostid=h.hostid and i.itemid=".$HTTP_GET_VARS["itemid"]); $description=DBget_field($result,0,0); @@ -64,7 +64,7 @@ echo "<br>"; ?> -<? +<?php if(isset($HTTP_GET_VARS["itemid"])&&isset($HTTP_GET_VARS["type"])) { show_table_header(strtoupper($HTTP_GET_VARS["type"])); @@ -104,6 +104,6 @@ ?> -<? +<?php show_footer(); ?> |
