69 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			69 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
<HTML>
 | 
						|
<HEAD><TITLE>
 | 
						|
MySQLMan: Search
 | 
						|
</TITLE></HEAD>
 | 
						|
<BODY BGCOLOR="#CCCCCC">
 | 
						|
<table border=1 bgcolor="#FFFFFF" cellpadding=5 cellspacing=3 width="100%" align=center valign=top>
 | 
						|
			<tr><td bgcolor="navy">
 | 
						|
					<FONT FACE="MS Sans Serif, arial,helvetica" size=1 COLOR="#FFFFFF">
 | 
						|
                    <b>MySQLMan: Search</b>
 | 
						|
			</td></tr>
 | 
						|
			<tr><td>
 | 
						|
<%include header.txt%>
 | 
						|
 | 
						|
<UL>
 | 
						|
 | 
						|
<table bgcolor="#FFFFCC" border=1 cellpadding=5 cellspacing=3>
 | 
						|
<td>
 | 
						|
<FORM METHOD="POST" ACTION="<%script_url%>">
 | 
						|
<INPUT TYPE="hidden" name="<%do_param%>" VALUE='browse'>
 | 
						|
<INPUT TYPE="hidden" NAME=data_source VALUE="<%data_source%>">
 | 
						|
<INPUT TYPE="hidden" NAME=table VALUE="<%table%>">
 | 
						|
<INPUT TYPE="hidden" NAME=page VALUE=1>
 | 
						|
<INPUT TYPE="hidden" NAME=action VALUE='select'>
 | 
						|
<B>SELECT:</B>
 | 
						|
<%set select_cols = 5%>
 | 
						|
<table>
 | 
						|
  <tr>
 | 
						|
    <%loop select_table%>
 | 
						|
    <td valign="top">
 | 
						|
      <input type="checkbox" name="*select_field*_<%name%>" value="<%name%>"<%if first%> checked<%endif%>><%name%>
 | 
						|
    </td>
 | 
						|
    <%unless last or row_num % $select_cols%>
 | 
						|
  </tr>
 | 
						|
  <tr>
 | 
						|
    <%endunless%>
 | 
						|
    <%if last and row_num % $select_cols%>
 | 
						|
    <td colspan="<%row_num ~ $select_cols%>">
 | 
						|
       
 | 
						|
    </tr>
 | 
						|
    <%endif%>
 | 
						|
    <%endloop%>
 | 
						|
  </tr>
 | 
						|
</table>
 | 
						|
<P>
 | 
						|
<B>Where: </B><BR><TEXTAREA NAME="where" ROWS="3" COLS="30" VALUE= ""></TEXTAREA>
 | 
						|
<P>
 | 
						|
<B>Do a "query by example" (wildcard: "%"):</B><BR>
 | 
						|
<table border="1">
 | 
						|
  <tr>
 | 
						|
    <th>Fields</th>
 | 
						|
    <th>Type</th>
 | 
						|
    <th>Value</th>
 | 
						|
  </tr>
 | 
						|
  <%loop example_table%>
 | 
						|
  <tr>
 | 
						|
    <td><%name%></td>
 | 
						|
    <td><%type%></td>
 | 
						|
    <td><input type="text" name="*example*_<%name%>" value="" size="30"></td>
 | 
						|
  </tr>
 | 
						|
  <%endloop%>
 | 
						|
</table>
 | 
						|
<P>
 | 
						|
<INPUT TYPE="submit" value=" Go "></FORM>
 | 
						|
</td></table>
 | 
						|
 | 
						|
</UL>
 | 
						|
</td></tr></table>
 | 
						|
</BODY></HTML>
 |