Rev 37 | Rev 45 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
<?php
$page_title = 'CAMP Home';
include_once( 'header.php' );
//include_once( 'DBTemplate.class.php' );
?>
<form method="POST" enctype="multipart/form-data" name='search'>
<table border="1" cellpadding="2" align="center">
<tbody>
<tr>
<td align = 'center' colspan='2'>
Enter search phrase to find device<br />
Precede search phrase with <b>site:</b> or <b>client:</b><br />
to search for site or client<br />
This is a substring search!
</td>
</tr>
<tr>
<td>
Search
</td>
<td title='Enter substring to search for'>
<input type='text' name='searchfor' value=''>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" name="search" value="Search">
</td>
</tr>
</tbody>
</table>
</form>
<?php
if ( isset( $_REQUEST['searchfor'] ) ) {
print_r( doSearch( $_REQUEST['searchfor'] ) );
}
print '<pre>' . print_r( $_SESSION, true ) . print '</pre>';
?>
<?php
include_once( 'footer.php' );
?>