<?php
session_start();

if (!isset($_SESSION['phoneNumber']) and !isset($_SESSION['name']) and !isset($_SESSION['logged_in'])) {
  header("location:login.php");
}


?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>dashboard</title>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css">
<link href="css/bootstrap-responsive.css" rel="stylesheet" type="text/css">
<!-- HTML5 shim for IE backwards compatibility -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <style type="text/css">
    body{
      background: #FFFF00;
    }
    </style>
</head>

<body>
    <div class="row-fluid">
            <div class="navbar navbar-inverse">
                   <div class="navbar-inner">
                      <a class="brand" href="dashboard.php"><?php echo "Hello " . $_SESSION['name'] ; ?></a>
                         <ul class="nav pull-right">
                           <li class="active "><a href="logout.php"><span class="icon-off white"></span> logout</a></li>
                         </ul>
                    </div>
            </div>
    </div>