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 s.sysmapid,s.name,s.width,s.height,s.background from sysmaps s where sysmapid=".$_GET["sysmapid"]); $name=DBget_field($result,0,1); $width=DBget_field($result,0,2); $height=DBget_field($result,0,3); $background=DBget_field($result,0,4); } else { $name=""; $width=800; $height=600; $background=""; } echo "
"; show_table2_header_begin(); echo "New system map"; $col=0; show_table2_v_delimiter($col++); echo "
"; if(isset($_GET["sysmapid"])) { echo ""; } echo "Name"; show_table2_h_delimiter(); echo ""; show_table2_v_delimiter($col++); echo "Width"; show_table2_h_delimiter(); echo ""; show_table2_v_delimiter($col++); echo "Height"; show_table2_h_delimiter(); echo ""; show_table2_v_delimiter($col++); echo "Background image"; show_table2_h_delimiter(); echo ""; show_table2_v_delimiter2(); echo ""; if(isset($_GET["sysmapid"])) { echo ""; echo ""; } show_table2_header_end(); ?>