"; ?> "; 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; for($i=0;$i"; $col=0; } else { echo ""; $col=1; } $sysmapid_=DBget_field($result,$i,0); $name_=DBget_field($result,$i,1); $width_=DBget_field($result,$i,2); $height_=DBget_field($result,$i,3); echo "$name_"; echo "$width_"; echo "$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(); ?>