Subversion Repositories computer_asset_manager_v1

Rev

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

<div id="titleimage">
  <h1>
     Computer Assisted Management Package 
  </h1>
</div>
<div id="menu">
  <div id="boxtitle">
     Menu 
  </div>
  <?php 
     include_once("hierarchical.php");
     $menu = new DBMenu( 'menu', 'menu_id', 'parent_id', $_SESSION['menu items'] );
/*
     print "<pre>" . print_r( $menu ) . "</pre>";
     die;
*/
     print $menu->DBMenu2String($_SESSION['html root']);
  ?>
  <div id="boxtitle">
     Contact 
  </div>
  <p>
    <?php print $_SESSION['email']; 
    ?>
  </p>
  <?php 
     if ($_SESSION['where_clause'] == '1=1') {
        print "<p><a href='admin.php' target='_blank'>Edit Tables Directly</a></p>";
     }
  ?>
  <p>
    <a href='<?php print $_SESSION['html root']; ?>/logout.php'>Log out</a>
  </p>
  <p>
    <?php print ($_SESSION['where_clause'] == '1=1') ? 'Administrator' : ''; 
    ?>
  </p>
</div>