Subversion Repositories computer_asset_manager_v2

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 rodolico 1
<?php 
42 rodolico 2
   $page_title = 'CAMP Home';
3
   include_once( 'header.php' );
4
 
5
   //include_once( 'DBTemplate.class.php' );
1 rodolico 6
?>
42 rodolico 7
               <form method="POST" enctype="multipart/form-data" name='search'>
8
                  <table border="1" cellpadding="2" align="center">
9
                     <tbody>
10
                        <tr>
11
                           <td align = 'center' colspan='2'>
12
                              Enter search phrase to find device<br />
13
                              Precede search phrase with <b>site:</b> or <b>client:</b><br />
14
                              to search for site or client<br />
15
                              This is a substring search!
16
                           </td>
17
                        </tr>
18
                        <tr>
19
                           <td>
20
                              Search
21
                           </td>
22
                           <td title='Enter substring to search for'>
23
                              <input type='text' name='searchfor' value=''>
24
                           </td>
25
                        </tr>
26
                        <tr>
27
                           <td colspan="2" align="center">
28
                              <input type="submit" name="search" value="Search">
29
                           </td>
30
                        </tr>
31
                     </tbody>
32
                  </table>
33
               </form>
34
<?php
35
   if ( isset( $_REQUEST['searchfor'] ) ) {
36
      print_r( doSearch( $_REQUEST['searchfor'] ) );
37
   }
38
   print '<pre>' . print_r( $_SESSION, true ) . print '</pre>';
39
?>
1 rodolico 40
 
36 rodolico 41
<?php
42
   include_once( 'footer.php' );
1 rodolico 43
?>
42 rodolico 44