<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Medicare Clients</title>

    <!-- Custom fonts for this template-->
    <link href="<?= TEMPLATE ?>vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
    <link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i"
          rel="stylesheet">

    <!-- Custom styles for this template-->
    <link href="<?= TEMPLATE ?>css/sb-admin-2.min.css" rel="stylesheet">
    <script type="text/javascript" charset="utf-8">
        localStorage.setItem('path', '<?=PATH?>');
        localStorage.setItem('template', '<?=TEMPLATE?>');
    </script>

    <!-- Bootstrap core JavaScript-->
    <script src="<?= TEMPLATE ?>vendor/jquery/jquery.min.js"></script>
    <script src="<?= TEMPLATE ?>vendor/bootstrap/js/bootstrap.bundle.min.js"></script>

    <!-- Core plugin JavaScript-->
    <script src="<?= TEMPLATE ?>vendor/jquery-easing/jquery.easing.min.js"></script>

    <!-- Custom scripts for all pages-->
    <script src="<?= TEMPLATE ?>js/sb-admin-2.min.js"></script>
    <script src="<?= TEMPLATE ?>custom.js"></script>
    <style>
        .dt-buttons, .dataTables_info {
            float: left;
        }

        .dt-button {
            background-color: #4e73df;
            display: inline-block;
            font-weight: 400;
            color: white;
            text-align: center;
            vertical-align: middle;
            border: 1px solid transparent;
            padding: .375rem .75rem;
            font-size: 1rem;
            line-height: 1.5;
            border-radius: .35rem;
            transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
        }
    </style>
</head>

<body id="page-top">

<!-- Page Wrapper -->
<div id="wrapper">

    <!-- Sidebar -->
    <ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">

        <!-- Sidebar - Brand -->
        <a class="sidebar-brand d-flex align-items-center justify-content-center" href="<?= PATH ?>">
            <div class="sidebar-brand-icon rotate-n-15">
                <i class="fas fa-laugh-wink"></i>
            </div>
            <div class="sidebar-brand-text mx-3">Medicare <sup>Clients</sup></div>
        </a>

        <!-- Divider -->
        <hr class="sidebar-divider my-0">

        <!-- Nav Item - Dashboard -->
        <li class="nav-item active">
            <a class="nav-link" href="<?= PATH ?>">
                <i class="fas fa-fw fa-tachometer-alt"></i>
                <span>Dashboard</span></a>
        </li>

        <!-- Divider -->
        <hr class="sidebar-divider">

        <!-- Heading -->
        <div class="sidebar-heading">
            Leads Records
        </div>

        <!-- Nav Item - Tables -->
        <li class="nav-item">
            <a class="nav-link" href="<?= PATH ?>records/all">
                <i class="fas fa-fw fa-table"></i>
                <span>All</span></a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="<?= PATH ?>records/justdata">
                <i class="fas fa-fw fa-table"></i>
                <span>MH1/M1/M14</span></a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="<?= PATH ?>records/m2">
                <i class="fas fa-fw fa-table"></i>
                <span>M2-SVG</span></a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="<?= PATH ?>records/m3">
                <i class="fas fa-fw fa-table"></i>
                <span>M3-GH</span></a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="<?= PATH ?>records/m4">
                <i class="fas fa-fw fa-table"></i>
                <span>M4-GH</span></a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="<?= PATH ?>records/m57">
                <i class="fas fa-fw fa-table"></i>
                <span>M5/M7-SQ</span></a>
        </li>

        <?php if ($session['user_type'] == 'admin') { ?>
            <!-- Divider -->
            <hr class="sidebar-divider">

            <!-- Heading -->
            <div class="sidebar-heading">
                Users
            </div>

            <li class="nav-item">
                <a class="nav-link" href="<?= PATH ?>users">
                    <i class="fas fa-fw fa-table"></i>
                    <span>System Users</span></a>
            </li>
        <?php } ?>

        <!-- Divider -->
        <hr class="sidebar-divider">

        <li class="nav-item">
            <a class="nav-link" href="<?= PATH ?>logout">
                <i class="fas fa-fw fa-table"></i>
                <span>Logout</span></a>
        </li>

        <!-- Divider -->
        <hr class="sidebar-divider d-none d-md-block">

        <!-- Sidebar Toggler (Sidebar) -->
        <div class="text-center d-none d-md-inline">
            <button class="rounded-circle border-0" id="sidebarToggle"></button>
        </div>

    </ul>
    <!-- End of Sidebar -->
