<?php session_start(); if (!isset($_SESSION['user'])) { $_SESSION['user'] = '******'; } include 'DbManager.php'; $dbman = new DbManager(); $loggedInUser = $dbman->getUser($_SESSION['user']); ?> <!DOCTYPE html> <html> <head> <?php include 'Base.php'; ?> <link rel='stylesheet' href='css/style.css'> <script type="text/javascript" src="js/login.js"></script> <title>MyBlog</title> </head> <body> <div id='wrapper'> <div id='header'> <h1> <span class='left'> <div><a class='nohover' href='posts'>MyBlog</a></div> </span> <span class='right'> <div> <?php echo "Hello, " . $loggedInUser->getUsername() . " ";