Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(!empty($_GET['page'])){
- $nama_halaman=$_GET['page'];
- }else{
- $nama_halaman="";
- }
- ?>
- <body>
- <div class="container-fluid bg-soft">
- <div class="row">
- <div class="col-12">
- <nav id="sidebarMenu" class="sidebar d-md-block bg-gradient-facebook text-white collapse" data-simplebar>
- <div class="sidebar-inner px-4 pt-3">
- <div class="user-card d-flex d-md-none align-items-center justify-content-between justify-content-md-center pb-4">
- <div class="collapse-close d-md-none">
- <a href="#sidebarMenu" class="fas fa-times" data-toggle="collapse" data-target="#sidebarMenu" aria-controls="sidebarMenu" aria-expanded="true" aria-label="Toggle navigation">
- </a>
- </div>
- </div>
- <br>
- <ul class="nav flex-column">
- <li class="nav-item <?php if($nama_halaman==""){echo "active";} ?>">
- <a href="index.php" class="nav-link">
- <span class="sidebar-icon"><span class="fas fa-home"></span></span>
- <span>Home</span>
- </a>
- </li>
- <li class="nav-item <?php if($nama_halaman=="akses"){echo "active";} ?>">
- <a href="index.php?page=akses" class="nav-link">
- <span class="sidebar-icon">
- <span class="fas fa-user-alt"></span>
- </span>
- <span>Akses</span>
- </a>
- </li>
- <li class="nav-item ">
- <a href="#" class="nav-link">
- <span class="sidebar-icon">
- <span class="fas fa-paperclip"></span>
- </span>
- <span>Referensi</span>
- </a>
- </li>
- <li class="nav-item ">
- <a href="#" class="nav-link">
- <span class="sidebar-icon">
- <span class="fas fa-users"></span>
- </span>
- <span>Pasien</span>
- </a>
- </li>
- <li class="nav-item ">
- <a href="#" class="nav-link">
- <span class="sidebar-icon">
- <span class="fas fa-medkit"></span>
- </span>
- <span>Rajal/Ranap</span>
- </a>
- </li>
- <li class="nav-item ">
- <a href="#" class="nav-link">
- <span class="sidebar-icon"><span class="fas fa-hand-holding-usd"></span></span>
- <span>Keuangan</span>
- </a>
- </li>
- <li class="nav-item ">
- <a href="#" class="nav-link">
- <span class="sidebar-icon"><span class="fas fa-globe"></span></span>
- <span>Website</span>
- </a>
- </li>
- <li class="nav-item ">
- <a href="#" class="nav-link">
- <span class="sidebar-icon"><span class="fas fa-cog"></span></span>
- <span>Settings</span>
- </a>
- </li>
- <li class="nav-item ">
- <a href="Proses/Logout/Logout.php" class="nav-link">
- <span class="sidebar-icon"><span class="fas fa-sign-out-alt"></span></span>
- <span>Logout</span>
- </a>
- </li>
- </ul>
- </div>
- </nav>
- <main class="content">
- <div class="row bg-gradient-primary">
- <div class="col col-md-12 text-center">
- <h1 class="text-white">RSU El-Syifa Kuningan</h1>
- </div>
- </div>
- <?php
- if(empty($_GET['page'])){
- include "Page/home.php";
- }else{
- $page=$_GET['page'];
- if($page=="akses"){
- include "Page/Akses/akses.php";
- }
- if($page=="tambah_akses"){
- include "Page/Akses/tambah_akses.php";
- }
- if($page=="edit_akses"){
- include "Page/Akses/edit_akses.php";
- }
- }
- ?>
- </main>
- </div>
- </div>
- </div>
- <!-- popper -->
- <script src="vendor/popper.js/umd/popper.min.js"></script>
- <!-- bootstrap -->
- <script src="vendor/bootstrap/js/bootstrap.min.js"></script>
- <!-- Volt JS -->
- <script src="assets/js/modifikasi.js"></script>
- <!-- Charts -->
- <script type="text/javascript" src="vendor/cartjs/Chart.bundle.js"></script>
- <script type="text/javascript" src="vendor/cartjs/chartjs.js"></script>
- </body>
Add Comment
Please, Sign In to add comment