| 1 | rodolico | 1 | <?php 
 | 
        
           |  |  | 2 |    include_once( 'header.php' ); 
 | 
        
           |  |  | 3 |    include_once( 'DBDatabase.class.php' );
 | 
        
           |  |  | 4 | ?>
 | 
        
           |  |  | 5 | <?xml version="1.0" encoding="utf-8"?>
 | 
        
           |  |  | 6 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 | 
        
           |  |  | 7 | <html xmlns="http://www.w3.org/1999/xhtml">
 | 
        
           |  |  | 8 | <head>
 | 
        
           |  |  | 9 |   <title>Daily Data - Computer Asset Management Program</title>
 | 
        
           |  |  | 10 |   <link rel="stylesheet" type="text/css" href="camp.css">
 | 
        
           |  |  | 11 | </head>
 | 
        
           |  |  | 12 | <body>
 | 
        
           |  |  | 13 | <?php 
 | 
        
           |  |  | 14 |    include_once('menu.php'); 
 | 
        
           |  |  | 15 | ?>
 | 
        
           |  |  | 16 | <div id="content">
 | 
        
           |  |  | 17 | <?php
 | 
        
           |  |  | 18 |    //unset( $_SESSION['debug'] );
 | 
        
           |  |  | 19 |    //include( 'Template.class.php' );
 | 
        
           |  |  | 20 |    //$template = new SmartyTemplate;
 | 
        
           |  |  | 21 |    global $DATABASE_DEFINITION;
 | 
        
           |  |  | 22 |    $camp = new DBDatabase( 'camp', $DATABASE_DEFINITION );
 | 
        
           |  |  | 23 |    $thisTable = $camp->getTable( $_REQUEST['table'] );
 | 
        
           |  |  | 24 |    $thisTable->getRecord( $_REQUEST );
 | 
        
           |  |  | 25 |    print "<pre>"; print_r( $thisTable ); print "</pre>";
 | 
        
           |  |  | 26 |    //print $thisTable->$currentRecord->toHTML();
 | 
        
           |  |  | 27 |   | 
        
           |  |  | 28 | ?>
 | 
        
           |  |  | 29 | </div>
 | 
        
           |  |  | 30 | </body>
 | 
        
           |  |  | 31 | </html>
 | 
        
           |  |  | 32 |   |