"; ?> "; echo "Name"; echo "Width"; echo "Height"; echo "Actions"; echo ""; $result=DBselect("select g.graphid,g.name,g.width,g.height from graphs g order by g.name"); echo "
"; $col=0; for($i=0;$i"; $col=0; } else { echo ""; $col=1; } $graphid_=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($graphid)) { $result=DBselect("select g.graphid,g.name,g.width,g.height from graphs g where graphid=$graphid"); $name=DBget_field($result,0,1); $width=DBget_field($result,0,2); $height=DBget_field($result,0,3); } else { $name=""; $width=900; $height=200; } echo "
"; show_table2_header_begin(); echo "New graph"; show_table2_v_delimiter(); echo "
"; if(isset($graphid)) { 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($graphid)) { echo ""; } show_table2_header_end(); ?>