Subversion Repositories computer_asset_manager_v2

Rev

Rev 1 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 20
Line 1... Line 1...
1
<?php 
1
<?php 
2
   include_once( 'header.php' ); 
2
   include_once( 'header.php' );
-
 
3
   
3
   include_once( 'DBTemplate.class.php' );
4
   //include_once( 'DBTemplate.class.php' );
4
?>
5
?>
5
<?xml version="1.0" encoding="utf-8"?>
6
<?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
<!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
<html xmlns="http://www.w3.org/1999/xhtml">
8
<head>
9
<head>
Line 29... Line 30...
29
<body>
30
<body>
30
<?php 
31
<?php 
31
   include_once('menu.php'); 
32
   include_once('menu.php'); 
32
?>
33
?>
33
<div id="content">
34
<div id="content">
-
 
35
   
34
<?php
36
<?php
-
 
37
   print '<pre>' . print_r( $_SESSION, true ) . print '</pre>';
-
 
38
   
-
 
39
   
35
   global $DATABASE_DEFINITION;
40
   /*global $DATABASE_DEFINITION;
36
   $camp = new DBDatabase( 'camp', $DATABASE_DEFINITION );
41
   $camp = new DBDatabase( 'camp', $DATABASE_DEFINITION );
37
   $whereClause = array('removed is null');
42
   $whereClause = array('removed is null');
38
   $owners = $camp->getTable('owners');
43
   $owners = $camp->getTable('owners');
39
   $owners->toArray( array( 'where' => array('removed is null') ) );
44
   $owners->toArray( array( 'where' => array('removed is null') ) );
40
   
45