<?php
session_start();
include("dbconfig.php");

// Check if the username session variable is set
if (!isset($_SESSION['username'])) {
    // Redirect to logout.php if the session is not set
    header("Location: logout.php");
    exit();  // Stop further script execution after redirect
}

// You can safely use the username here
$username = $_SESSION['username'];
?>


    <!DOCTYPE html>
    <html lang="en">
    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
    <head>
    <title>VH-Amdin</title>

    <link rel="icon" href="images/logo.png" type="image/x-icon" class="abc">
    
    <link rel="icon" type="image/icon" href="images/logo.png" />
    
    <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css?family=Quicksand:500,700" rel="stylesheet">
    
    <link rel="stylesheet" type="text/css" href="../files/bower_components/bootstrap/css/bootstrap.min.css">
    
    <link rel="stylesheet" href="../files/assets/pages/waves/css/waves.min.css" type="text/css" media="all">
    
    <link rel="stylesheet" type="text/css" href="../files/assets/icon/feather/css/feather.css">
    
    <link rel="stylesheet" type="text/css" href="../files/assets/css/font-awesome-n.min.css">
    
    <link rel="stylesheet" href="../files/bower_components/chartist/css/chartist.css" type="text/css" media="all">
    
    <link rel="stylesheet" type="text/css" href="../files/assets/css/style.css">
    <link rel="stylesheet" type="text/css" href="../files/assets/css/widget.css">
    
    <style>
        .img-fluid {
    max-width: 66%;
    height: auto;
    margin-left: -47px;
}
.pcoded li.pcoded-hasmenu[dropdown-icon=style1]>a:after {
    content: none;
}
.pcoded[theme-layout=vertical] .pcoded-navbar .pcoded-item[item-border=true][item-border-style=solid] li>a {
    border-bottom-style: solid;
    height: 53px;
}
div#c1 {
    background-color: cadetblue;
}
div#c2 {
    background-color: slategrey;
}
div#c3 {
    background-color: salmon;
}
div#c4 {
    background-color: #a549a5;
}
    </style>

    </head>
    <body>
    
    <div class="loader-bg">
    <div class="loader-bar"></div>
    </div>
    
    <div id="pcoded" class="pcoded">
    <div class="pcoded-overlay-box"></div>
    <div class="pcoded-container navbar-wrapper">
    
    <nav class="navbar header-navbar pcoded-header">
    <div class="navbar-wrapper">
    <div class="navbar-logo">
    <a href="index.php">
     <h5>Admin</h5>
    </a>
    <a class="mobile-menu" id="mobile-collapse" href="#!">
    <i class="feather icon-menu icon-toggle-right"></i>
    </a>
    <a class="mobile-options waves-effect waves-light">
    <i class="feather icon-more-horizontal"></i>
    </a>
    </div>
    <div class="navbar-container container-fluid">
    <ul class="nav-left">
    <li class="header-search">
    <div class="main-search morphsearch-search">
    <div class="input-group">

    <input type="text" class="form-control" placeholder="Enter Keyword">

    </div>
    </div>
    </li>
    
    </a>
    </li>
    </ul>
    <ul class="nav-right">
    <li class="header-notification">
    <div class="dropdown-primary dropdown">
   
    <ul class="show-notification notification-view dropdown-menu" data-dropdown-in="fadeIn" data-dropdown-out="fadeOut">
    
    <li>
   
    </li>
    <li>
    
    </li>
    <li>
   
    </li>
    </ul>
    </div>
    </li>
   
    <li class="user-profile header-notification">
    <div class="dropdown-primary dropdown">
    <div class="dropdown-toggle" data-toggle="dropdown">
    <img src="../files/assets/images/avatar-4.jpg" class="img-radius" alt="User-Profile-Image">
    <span>Admin</span>
    <i class="feather icon-chevron-down"></i>
    </div>
    <ul class="show-notification profile-notification dropdown-menu" data-dropdown-in="fadeIn" data-dropdown-out="fadeOut">

    <li>
    <a href="logout.php">
    <i class="feather icon-log-out"></i> Logout
    </a>
    </li>
    </ul>
    </div>
    </li>
    </ul>
    </div>
    </div>
    </nav>
    
    
    
    
    
    
  
    
    <div class="pcoded-main-container">
    <div class="pcoded-wrapper">
    
    <nav class="pcoded-navbar">
    <div class="nav-list">
    <div class="pcoded-inner-navbar main-menu">
    <div class="pcoded-navigation-label">Navigation</div>
    <ul class="pcoded-item pcoded-left-item">
        
    <li class="pcoded-hasmenu active pcoded-trigger">
        <a href="index.php" class="waves-effect waves-dark">
            <span class="pcoded-micon"><i class="feather icon-home"></i></span>
            <span class="pcoded-mtext">Dashboard</span>
        </a>
    </li>
    
    <li class="pcoded-hasmenu">
        <a href="billlist.php" class="waves-effect waves-dark">
            <span class="pcoded-micon"><i class="fa fa-registered"></i></span>
            <span class="pcoded-mtext">View Bill</span>
        </a>
    </li>
        <li class="pcoded-hasmenu">
        <a href="daily.php" class="waves-effect waves-dark">
            <span class="pcoded-micon"><i class="fa fa-registered"></i></span>
            <span class="pcoded-mtext">Daily Transaction</span>
        </a>
    </li>
            </ul> 
   
    </div>
    </div>
    </nav>
    
    <div class="pcoded-content">
    
    <div class="page-header card">
    <div class="row align-items-end">
    <div class="col-lg-8">
    <div class="page-header-title">
    <i class="feather icon-home bg-c-blue"></i>
    <div class="d-inline">
    <h5>ADMIN</h5>
    </div>
    </div>
    </div>
    <div class="col-lg-4">
    <div class="page-header-breadcrumb">
    <ul class=" breadcrumb breadcrumb-title">
    <li class="breadcrumb-item">
    <a href="index.html"><i class="feather icon-home"></i></a>
    </li>
    <li class="breadcrumb-item"><a href="#!">Admin</a> </li>
    </ul>
    </div>
    </div>
    </div>
    </div>
    
    <div class="pcoded-inner-content">
    <div class="main-body">
    <div class="page-wrapper">
    <div class="page-body">
    
    <div class="row">
    

    
    
    <div class="col-xl-3 col-md-6">
    <div class="card prod-p-card card-red">
        <a href="billlist.php">
    <div class="card-body">
    <div class="row align-items-center m-b-30">
    <div class="col">
     <h6 class="m-b-5 text-white">Patient Bill Details</h6><br>
    
    </div>
    <div class="col-auto">
    
    </div>
    </div>
    </div></a>
    </div>
    </div>
        <div class="col-xl-3 col-md-6">
    <div class="card prod-p-card card-blue">
        <a href="daily.php">
    <div class="card-body">
    <div class="row align-items-center m-b-30">
    <div class="col">
     <h6 class="m-b-5 text-white">Daily Transaction</h6><br> 
     
    </div>
    <div class="col-auto">
    
    </div>
    </div>
    </div></a>
    </div>
    </div>
    

    
    </div>
    
    </div>
    </div>
    </div>
    </div>
    </div>
    
    <div id="styleSelector">
    </div>
    
    </div>
    </div>
    </div>
    </div>
    
    
    <!--[if lt IE 10]>
        <div class="ie-warning">
            <h1>Warning!!</h1>
            <p>You are using an outdated version of Internet Explorer, please upgrade
                <br/>to any of the following web browsers to access this website.
            </p>
            <div class="iew-container">
                <ul class="iew-download">
                    <li>
                        <a href="http://www.google.com/chrome/">
                            <img src="../files/assets/images/browser/chrome.png" alt="Chrome">
                            <div>Chrome</div>
                        </a>
                    </li>
                    <li>
                        <a href="https://www.mozilla.org/en-US/firefox/new/">
                            <img src="../files/assets/images/browser/firefox.png" alt="Firefox">
                            <div>Firefox</div>
                        </a>
                    </li>
                    <li>
                        <a href="http://www.opera.com">
                            <img src="../files/assets/images/browser/opera.png" alt="Opera">
                            <div>Opera</div>
                        </a>
                    </li>
                    <li>
                        <a href="https://www.apple.com/safari/">
                            <img src="../files/assets/images/browser/safari.png" alt="Safari">
                            <div>Safari</div>
                        </a>
                    </li>
                    <li>
                        <a href="http://windows.microsoft.com/en-us/internet-explorer/download-ie">
                            <img src="../files/assets/images/browser/ie.png" alt="">
                            <div>IE (9 & above)</div>
                        </a>
                    </li>
                </ul>
            </div>
            <p>Sorry for the inconvenience!</p>
        </div>
    <![endif]-->
    
    
    <script type="716b1d88e7c5f52759a24188-text/javascript" src="../files/bower_components/jquery/js/jquery.min.js"></script>
    <script type="716b1d88e7c5f52759a24188-text/javascript" src="../files/bower_components/jquery-ui/js/jquery-ui.min.js"></script>
    <script type="716b1d88e7c5f52759a24188-text/javascript" src="../files/bower_components/popper.js/js/popper.min.js"></script>
    <script type="716b1d88e7c5f52759a24188-text/javascript" src="../files/bower_components/bootstrap/js/bootstrap.min.js"></script>
    
    <script src="../files/assets/pages/waves/js/waves.min.js" type="716b1d88e7c5f52759a24188-text/javascript"></script>
    
    <script type="716b1d88e7c5f52759a24188-text/javascript" src="../files/bower_components/jquery-slimscroll/js/jquery.slimscroll.js"></script>
    
    <script src="../files/assets/pages/chart/float/jquery.flot.js" type="716b1d88e7c5f52759a24188-text/javascript"></script>
    <script src="../files/assets/pages/chart/float/jquery.flot.categories.js" type="716b1d88e7c5f52759a24188-text/javascript"></script>
    <script src="../files/assets/pages/chart/float/curvedLines.js" type="716b1d88e7c5f52759a24188-text/javascript"></script>
    <script src="../files/assets/pages/chart/float/jquery.flot.tooltip.min.js" type="716b1d88e7c5f52759a24188-text/javascript"></script>
    
    <script src="../files/assets/pages/widget/amchart/amcharts.js" type="716b1d88e7c5f52759a24188-text/javascript"></script>
    <script src="../files/assets/pages/widget/amchart/serial.js" type="716b1d88e7c5f52759a24188-text/javascript"></script>
    <script src="../files/assets/pages/widget/amchart/light.js" type="716b1d88e7c5f52759a24188-text/javascript"></script>
    
    <script src="../../../../developers.google.com/maps/documentation/javascript/examples/markerclusterer/markerclusterer.js" type="716b1d88e7c5f52759a24188-text/javascript"></script>
    <script type="716b1d88e7c5f52759a24188-text/javascript" src="https://maps.google.com/maps/api/js?sensor=true"></script>
    <script type="716b1d88e7c5f52759a24188-text/javascript" src="../files/assets/pages/google-maps/gmaps.js"></script>
    
    <script src="../files/assets/js/pcoded.min.js" type="716b1d88e7c5f52759a24188-text/javascript"></script>
    <script src="../files/assets/js/vertical/vertical-layout.min.js" type="716b1d88e7c5f52759a24188-text/javascript"></script>
    <script type="716b1d88e7c5f52759a24188-text/javascript" src="../files/assets/pages/dashboard/crm-dashboard.min.js"></script>
    <script type="716b1d88e7c5f52759a24188-text/javascript" src="../files/assets/js/script.min.js"></script>
    
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-23581568-13" type="716b1d88e7c5f52759a24188-text/javascript"></script>
    <script type="716b1d88e7c5f52759a24188-text/javascript">
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
    
      gtag('config', 'UA-23581568-13');
    </script>
    <script src="rocket-loader.min.js" data-cf-settings="716b1d88e7c5f52759a24188-|49" defer=""></script></body>
    
    <!-- Mirrored from colorlib.com//polygon/admindek/default/dashboard-crm.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 20 Jul 2019 05:31:27 GMT -->
    </html>
