Subversion Repositories computer_asset_manager_v2

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
42 rodolico 1
               <div id="menu">
2
                  <div id="boxtitle">
3
                     Menu 
4
                  </div>
5
                  <?php 
45 rodolico 6
                     if ( isset( $_SESSION['user'] ) && $_SESSION['user']->name() ) {
7
                        include_once("DBMenu.class.php");
8
                        $menu = new DBMenu( $dbConnection, '_menu', '_menu_id' );
9
                        print $menu->DBMenu2String( $baseURL );
10
                        //print $menu->DBMenu2String();
11
                        print "<li><a href='$url?doAdmin=1'>User: " . $_SESSION['user']->name() . "</a></li>\n";
12
                        print "<li><a href='$url?logout=1'>Log Out</a></li>";
13
                     }
42 rodolico 14
                  ?>
15
                  <div id="boxtitle">
16
                     <?php
17
                     ?>
45 rodolico 18
                  </div>
42 rodolico 19
               </div>