Subversion Repositories computer_asset_manager_v1

Rev

Rev 1 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 rodolico 1
<div id="titleimage">
2
  <h1>
3
     Computer Assisted Management Package 
4
  </h1>
5
</div>
6
<div id="menu">
7
  <div id="boxtitle">
8
     Menu 
9
  </div>
10
  <?php 
11
     include_once("hierarchical.php");
84 rodolico 12
     $menu = new DBMenu( 'menu', 'menu_id', 'parent_id', $_SESSION['menu items'] );
13
/*
14
     print "<pre>" . print_r( $menu ) . "</pre>";
15
     die;
16
*/
1 rodolico 17
     print $menu->DBMenu2String($_SESSION['html root']);
18
  ?>
19
  <div id="boxtitle">
20
     Contact 
21
  </div>
22
  <p>
23
    <?php print $_SESSION['email']; 
24
    ?>
25
  </p>
26
  <?php 
84 rodolico 27
     if ($_SESSION['where_clause'] == '1=1') {
1 rodolico 28
        print "<p><a href='admin.php' target='_blank'>Edit Tables Directly</a></p>";
29
     }
30
  ?>
31
  <p>
32
    <a href='<?php print $_SESSION['html root']; ?>/logout.php'>Log out</a>
33
  </p>
34
  <p>
84 rodolico 35
    <?php print ($_SESSION['where_clause'] == '1=1') ? 'Administrator' : ''; 
1 rodolico 36
    ?>
37
  </p>
38
</div>