	<?php 
	session_start();

	// cek apakah yang mengakses halaman ini sudah login
	if($_SESSION['level']==""){
		header("location:../login.php?pesan=gagal");
	}
?>
	
	<?php 
	include "../koneksi.php";
?>



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

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Tell the browser to be responsive to screen width -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="keywords" content=" ">
    <meta name="description">
	
    <title>BPJS</title>
	
    <!-- Custom styles for this template -->
    <link href="../css/sb-admin-2.min.css" rel="stylesheet">
    <link href="../css/style.min.css" rel="stylesheet">

	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">

    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdn.datatables.net/1.10.19/css/dataTables.bootstrap.min.css">


    <!-- Custom styles for this page -->
    <link href="../vendor/datatables/dataTables.bootstrap4.min.css" rel="stylesheet">

</head>

<body id="page-top">

<?php
	// Cari NIK - Profil
	include 'urutan.nik.php';
?>
    <!-- ============================================================== -->
    <!-- Preloader - style you can find in spinners.css -->
    <!-- ============================================================== -->
    <div class="preloader">
        <div class="lds-ripple">
            <div class="lds-pos"></div>
            <div class="lds-pos"></div>
        </div>
    </div>

    <!-- 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="index.html">
                <div class="sidebar-brand-icon rotate-n-15">
                    <i class="far fa-handshake"></i>
                </div>
                <div class="sidebar-brand-text mx-3">GEMILANG <sup>corp</sup></div>
            </a>

            <!-- GARIS BATAS MENU -->
            <hr class="sidebar-divider my-0">

            <!-- Nav Item - Beranda -->
            <li class="nav-item">
                <a class="nav-link" href="index.php">
                    <i class="fas fa-fw fa-tachometer-alt"></i>
                    <span>Beranda</span></a>
            </li>

			<!-- GARIS BATAS MENU-->
            <hr class="sidebar-divider">

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

            <!-- Nav Item - Pages Collapse Menu -->
            <li class="nav-item active">
                <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseTwo"
                    aria-expanded="true" aria-controls="collapseTwo">
                    <i class="fas fa-fw fa-male fa-2x text-gray-300"></i>
                    <span>Karyawan</span>
                </a>
                <div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordionSidebar">
                    <div class="bg-white py-2 collapse-inner rounded">
                        <h6 class="collapse-header">Karyawan:</h6>
						<a class="collapse-item collapse-header" href="NAV.Emp.Info.php">INFORMASI KARYAWAN</a>
						<a class="collapse-item collapse-header" href="NAV.Personal.Info.php">PERSONAL</a>
						<a class="collapse-item collapse-header" href="NAV.Kontak.Info.php">KONTAK</a>
						<a class="collapse-item collapse-header" href="NAV.Asuransi&Bank.php">ASURANSI & BANK</a>
						<a class="collapse-item collapse-header" href="NAV.Dokumen.Karyawan.php">DOKUMEN</a>
                    </div>
                </div>
            </li>





            <!-- Nav Item - Waktu & Kehadiran Collapse Menu -->
 			<li class="nav-item">
                <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseKehadiran"
                    aria-expanded="true" aria-controls="collapseKehadiran">
                    <i class="fas fa-fw far fa-clock fa-2x text-gray-300"></i>
                    <span>Waktu & Kehadiran</span>
                </a>
                <div id="collapseKehadiran" class="collapse" aria-labelledby="headingKehadiran"
                    data-parent="#accordionSidebar">
                    <div class="bg-white py-2 collapse-inner rounded">
                        <h6 class="collapse-header">Waktu & Kehadiran:</h6>
                        <a class="collapse-item collapse-header" href="NAV.Cuti.php">Cuti</a>
                        <a class="collapse-item collapse-header" href="NAV.Ijin.php">Ijin</a>
                        <a class="collapse-item collapse-header" href="NAV.Sakit.php">Sakit</a>
                        <a class="collapse-item collapse-header" href="NAV.Lembur.php">Lembur</a>
                    </div>
                </div>
            </li>





            <!-- Nav Item - Penggajian Menu -->
 			<li class="nav-item">
                <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsePenggajian"
                    aria-expanded="true" aria-controls="collapsePenggajian">
					<i class="fas fa-fw fa-dollar-sign fa-2x text-gray-300"></i>
                    <span>Penggajian</span>
                </a>
                <div id="collapsePenggajian" class="collapse" aria-labelledby="headingPenggajian"
                    data-parent="#accordionSidebar">
                    <div class="bg-white py-2 collapse-inner rounded">
                        <h6 class="collapse-header">Penggajian</h6>
                        <a class="collapse-item collapse-header" href="NAV.Komp.Gaji.php">Komponen Gaji</a>
                        <a class="collapse-item collapse-header" href="NAV.Slip.php">Slip Gaji</a>
                        <a class="collapse-item collapse-header" href="404.html">Coming Soon..</a>
                        <a class="collapse-item collapse-header" href="404.html">Coming Soon..</a>
                    </div>
                </div>
            </li>





            <!-- Nav Item - Administrasi Karir -->
 			<li class="nav-item">
                <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapseKarir"
                    aria-expanded="true" aria-controls="collapseKarir">
					<i class="fas fa-fw fa-clipboard-list fa-2x text-gray-300"></i>
                    <span>Administrasi Karir</span>
                </a>
                <div id="collapseKarir" class="collapse" aria-labelledby="headingUtilities" data-parent="#accordionSidebar">
                    <div class="bg-white py-2 collapse-inner rounded">
                        <h6 class="collapse-header">Administrasi Karir</h6>
                        <a class="collapse-item collapse-header active" href="NAV.ST.php">Surat Tugas</a>
                        <a class="collapse-item collapse-header" href="NAV.Kontrak.php">Kontrak Kerja</a>
                        <a class="collapse-item collapse-header" href="NAV.Adm.Karir.php">Pencatatan Karir</a>
                        <a class="collapse-item collapse-header" href="404.html">Coming Soon..</a>
                    </div>
                </div>
            </li>

			<!-- GARIS BATAS MENU-->
            <hr class="sidebar-divider">

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

            <!-- Nav Item - Pages Collapse Menu -->
            <li class="nav-item">
                <a class="nav-link collapsed" href="#" data-toggle="collapse" data-target="#collapsePages"
					aria-expanded="true" aria-controls="collapsePages"> 
					<i class="fas fa-fw fa-wrench fa-2x text-gray-300"></i>
					<span>Pages</span>
                </a>
                <div id="collapsePages" class="collapse" aria-labelledby="headingPages" data-parent="#accordionSidebar">
                    <div class="bg-white py-2 collapse-inner rounded">
                        <h6 class="collapse-header">Login Screens:</h6>
                        <a class="collapse-item collapse-header" href="NAV.login.php">Login</a>
                        <a class="collapse-item collapse-header" href="NAV.register.php">Register User</a>
                        <a class="collapse-item collapse-header" href="NAV.forgot-password.php">Ganti Kata Sandi</a>
                        <div class="collapse-divider"></div>
                        <h6 class="collapse-header">Other Pages:</h6>
                        <a class="collapse-item collapse-header" href="404.html">Coming Soon..</a>
                        <a class="collapse-item collapse-header" href="blank.html">Coming Soon..</a>
                    </div>
                </div>
            </li>


			<!-- GARIS BATAS MENU-->
            <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>

            <!-- Sidebar Message -->
            <div class="sidebar-card d-none d-lg-flex">
                <img class="sidebar-card-illustration mb-2" src="img/undraw_rocket.svg" alt="...">
                 <p class="text-center mb-2"><strong> bergeraklah sejauh mungkin, </strong>karena tujuan akhir kehidupan adalah "PULANG.!"</p>
			</div>
        </ul>
        <!-- End of Sidebar -->


													<!-- Content Wrapper -->
        <div id="content-wrapper" class="d-flex flex-column">

            <!-- Main Content -->
            <div id="content">

                <!-- Topbar -->
                <nav class="navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow">

                    <!-- Sidebar Toggle (Topbar) -->
                    <form class="form-inline">
						<button id="sidebarToggleTop" class="btn btn-link d-md-none rounded-circle mr-3">
							<i class="fa fa-bars"></i>
						</button>
                    </form>

                    <!-- Topbar Navbar -->
                    <ul class="navbar-nav ml-auto">

                        <!-- Nav Item - Search Dropdown (Visible Only XS) -->

                        <div class="topbar-divider d-none d-sm-block"></div>
                        <!-- Nav Item - User Information -->
                        <li class="nav-item dropdown no-arrow">
                            <a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button"
                                data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                <span class="mr-2 d-none d-lg-inline text-gray-600 small"><b><?php echo $_SESSION['nama']; ?></b></span>
                                <img class="img-profile rounded-circle"
                                    src="../img/undraw_profile.svg">
                            </a>
                            <!-- Dropdown - User Information -->
                            <div class="dropdown-menu dropdown-menu-right shadow animated--grow-in"
                                aria-labelledby="userDropdown">
								<div class="dropdown-divider"></div>
								<a class="dropdown-item" href="../logout.php" data-toggle="modal" data-target="#logoutModal">
                                    <i class="fas fa-sign-out-alt fa-sm fa-fw mr-2 text-gray-400"></i>
                                    Logout
                                </a>
                            </div>
                        </li>
                    </ul>
                </nav>
                <!-- End of Topbar -->


														<?php
															// Cari NIK - Profil
															include 'Konten.Pages-New-BPJS.php';
															
														?>
            <!-- ============================================================== -->
			</div>

														<!-- Footer -->
														<footer class="sticky-footer bg-white">
															<div class="container my-auto">
																<div class="copyright text-center my-auto">
																	<span>Copyright &copy; Gemilang 2022</span>
																</div>
															</div>
														</footer>
														<!-- End of Footer -->
            <!-- ============================================================== -->
        </div>
        <!-- ============================================================== -->
        <!-- End Page wrapper  -->
        <!-- ============================================================== -->
    </div>
    <!-- ============================================================== -->
    <!-- End Wrapper -->
    <!-- ============================================================== -->

												<!-- Scroll to Top Button-->
    <a class="scroll-to-top rounded" href="#page-top">
        <i class="fas fa-angle-up"></i>
    </a>


    <!-- ============================================================== -->
    <!-- All Jquery -->
    <!-- ============================================================== -->
    <script src="../../assets/plugins/jquery/dist/jquery.min.js"></script>
    <!-- Bootstrap tether Core JavaScript -->
    <script src="../../assets/plugins/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
    <script src="../js/app-style-switcher.js"></script>
    <!--Wave Effects -->
    <script src="../js/waves.js"></script>
    <!--Menu sidebar -->
    <script src="../js/sidebarmenu.js"></script>
    <!--Custom JavaScript -->
    <script src="../js/custom.js"></script>




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

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

    <!-- Custom scripts for all pages-->
    <script src="../js/sb-admin-2.min.js"></script>

    <!-- Page level plugins -->
    <script src="../vendor/datatables/jquery.dataTables.min.js"></script>
    <script src="../vendor/datatables/dataTables.bootstrap4.min.js"></script>
    <script src="../vendor/chart.js/Chart.min.js"></script>

    <!-- Page level custom scripts -->
    <script src="../js/demo/chart-area-demo.js"></script>
    <script src="../js/demo/chart-pie-demo.js"></script>
    <script src="../js/demo/datatables-demo.js"></script>

</body>

</html>