diff options
Diffstat (limited to 'frontends/php/items.php')
| -rw-r--r-- | frontends/php/items.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php index 2a33ac1d..de97c82b 100644 --- a/frontends/php/items.php +++ b/frontends/php/items.php @@ -1,4 +1,4 @@ -<? +<?php $page["title"] = "Configuration of items"; $page["file"] = "items.php"; @@ -6,7 +6,7 @@ show_header($page["title"],0,0); ?> -<? +<?php if(!check_right("Host","U",0)) { show_table_header("<font color=\"AA0000\">No permissions !</font @@ -16,7 +16,7 @@ } ?> -<? +<?php if(isset($HTTP_GET_VARS["register"])) { if($HTTP_GET_VARS["register"]=="update") @@ -46,13 +46,13 @@ } ?> -<? +<?php show_table_header_begin(); echo "CONFIGURATION OF ITEMS"; show_table_v_delimiter(); ?> -<? +<?php $result=DBselect("select hostid,host from hosts order by host"); while($row=DBfetch($result)) { @@ -198,7 +198,7 @@ } ?> -<? +<?php $result=DBselect("select count(*) from hosts"); if(DBget_field($result,0,0)>0) { @@ -207,6 +207,6 @@ } ?> -<? +<?php show_footer(); ?> |
