Subversion Repositories computer_asset_manager_v2

Rev

Rev 42 | Rev 46 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

               <div id="menu">
                  <div id="boxtitle">
                     Menu 
                  </div>
                  <?php 
                     if ( isset( $_SESSION['user'] ) && $_SESSION['user']->name() ) {
                        include_once("DBMenu.class.php");
                        $menu = new DBMenu( $dbConnection, '_menu', '_menu_id' );
                        print $menu->DBMenu2String( $baseURL );
                        //print $menu->DBMenu2String();
                        print "<li><a href='$url?doAdmin=1'>User: " . $_SESSION['user']->name() . "</a></li>\n";
                        print "<li><a href='$url?logout=1'>Log Out</a></li>";
                     }
                  ?>
                  <div id="boxtitle">
                     <?php
                     ?>
                  </div>
               </div>