"; ?> "; echo "Id"; echo "Name"; echo "Width"; echo "Height"; echo "Actions"; echo ""; $result=DBselect("select s.sysmapid,s.name,s.width,s.height from sysmaps s order by s.name"); echo "
"; $col=0; while($row=DBfetch($result)) { if(!check_right("Network map","R",$row["sysmapid"])) { continue; } if($col==1) { echo ""; $col=0; } else { echo ""; $col=1; } echo "".$row["sysmapid"].""; echo "".$row["name"].""; echo "".$row["width"].""; echo "".$row["height"].""; echo "Change - Delete"; echo ""; } echo ""; ?> "; if(isset($sysmapid)) { $result=DBselect("select s.sysmapid,s.name,s.width,s.height from sysmaps s where sysmapid=$sysmapid"); $name=DBget_field($result,0,1); $width=DBget_field($result,0,2); $height=DBget_field($result,0,3); } else { $name=""; $width=800; $height=600; } echo "
"; show_table2_header_begin(); echo "New system map"; show_table2_v_delimiter(); echo "
"; if(isset($sysmapid)) { echo ""; } echo "Name"; show_table2_h_delimiter(); echo ""; show_table2_v_delimiter(); echo "Width"; show_table2_h_delimiter(); echo ""; show_table2_v_delimiter(); echo "Height"; show_table2_h_delimiter(); echo ""; show_table2_v_delimiter2(); echo ""; if(isset($sysmapid)) { echo ""; } show_table2_header_end(); ?>