include_once 'model/model_hours.php'; include_once 'controller/controller_auth.php'; $a = new controller_auth($username, $password); $m = new model_page($username, $password); $r = new view_page($username, $password); include_once 'template/header.php'; $a->do_auth($username, $password); if ($_SESSION['valid'] == TRUE) { //Initialize and set relevant arrays $Hours = $m->get_my_hours(); //Start Main Content Here echo <<<eos <div class="row"> <div class="col-md-12"> \t<div class="row"> \t\t<div class="panel panel-info"> \t\t\t<div class="panel-heading"> \t\t\t\t<h3 class="panel-title">My Hours</h3> \t\t\t</div> \t\t\t<div class="panel-body"> eos; $r->view_my_hours($Hours); echo <<<eos \t\t\t</div> \t\t</div> \t</div> </div> </div> eos; } include_once 'template/footer.php';