No permissions !"); show_footer(); exit; } ?> "; ?> ".$row["name"]."", $row["width"], $row["height"], "Change" ),$col++); } if(DBnum_rows($result)==0) { echo ""; echo "-No maps defined-"; echo ""; } table_end(); ?> "; if(isset($_GET["sysmapid"])) { $result=DBselect("select * from sysmaps where sysmapid=".$_GET["sysmapid"]); $row=DBfetch($result); $name=$row["name"]; $width=$row["width"]; $height=$row["height"]; $background=$row["background"]; $label_type=$row["label_type"]; } else { $name=""; $width=800; $height=600; $background=""; $label_type=0; } show_form_begin("sysmaps.map"); echo "New system map"; $col=0; show_table2_v_delimiter($col++); echo "
"; if(isset($_GET["sysmapid"])) { echo ""; } echo S_NAME; show_table2_h_delimiter(); echo ""; show_table2_v_delimiter($col++); echo S_WIDTH; show_table2_h_delimiter(); echo ""; show_table2_v_delimiter($col++); echo S_HEIGHT; show_table2_h_delimiter(); echo ""; show_table2_v_delimiter($col++); echo S_BACKGROUND_IMAGE; show_table2_h_delimiter(); echo ""; show_table2_v_delimiter($col++); echo S_ICON_LABEL_TYPE; show_table2_h_delimiter(); echo ""; show_table2_v_delimiter2(); echo ""; if(isset($_GET["sysmapid"])) { echo ""; echo ""; } show_table2_header_end(); ?>