114
<BR>
<TABLE CELLPADDING=4 CELLSPACING=".">
<TR>
<TH ALIGN="RIGHT">Show results as:</TH>
<TD>
<INPUT TYPE="Radio" NAME="VIEW" VALUE="table" CHECKED>Table
<INPUT TYPE="Radio" NAME="VIEW" VALUE="list">UL
<INPUT TYPE="Radio" NAME="VIEW" VALUE="records">Separated Records
</TD>
</TR>
<?
if (!eregi("LIMIT", $SQL)):
?>
<TR>
<TH ALIGN="RIGHT">Records per screen:</TH>
<TD><INPUT TYPE="Text" NAME="PAGESIZE" VALUE="20" SIZE=8></TD>
</TR>
<?
endif;
?>
</TABLE>
<BR>
<BR>
<?
FormEnd("Proceed with selected");
echo "</CENTER>\n";
endif;
endif;
elseif ("$cmd" == "Proceed with selected"): // We have SQL and view type here
PrintHead("Preview");
$SQL = stripslashes($SQL);
echo "<H3>SQL: 'SELECT $SQL'</H3>\n";