<? ob_start(); ?>
<?php
/*
Author: Javed Ur Rehman
Website: https://www.allphptricks.com/
*/
 
require('dbconfig.php');
include("auth.php"); //include auth.php file on all secure pages ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Upload, Insert, Update, Delete Clients </title>
<link rel="stylesheet" href="js/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="js/bootstrap/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="js/css/style.css" />
</head>
<body>
<div class="navbar navbar-default navbar-static-top" role="navigation">
    <div class="container">
 
        <div class="navbar-header">
            <div class="navbar-brand">ADMIN PANEL</div> 
        </div>
 
    </div>
</div>
<div class="container">
	 <?php  
  
 if(isset($_SESSION["username"]))  
 {  
      echo '<h3>Login Success, Welcome - '.$_SESSION["username"].'</h3>';    
 }  
 else  
 {  
      header("location:panel.php");  
 }  
 ?>
<div class="startup" align="center">


<p><a class="btn btn-default" href="addnew.php"><span class="glyphicon glyphicon-plus"></span> &nbsp; Create New Account</a></p>
<p><a class="btn btn-default" href="view.php"><span class="glyphicon glyphicon-plus"></span> &nbsp; View All Account</a><p>
<p><a class="btn btn-default" href="logout.php"><span class="glyphicon glyphicon-plus"></span> &nbsp; Logout</a></p>
<p><a class="btn btn-default" href="change_password.php"><span class="glyphicon glyphicon-plus"></span> &nbsp; Change Password</a></p>


<br /><br /><br /><br />
</div>
</body>
</html>
<? ob_flush(); ?>