Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $menu = !empty($_GET['menu']) ? $_GET['menu'] : "1";
- ?>
- <html lang="en">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=UTF-8">
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Made Slimacek</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
- <script src="bootstrap/js/jquery.min.js"></script>
- <script src="bootstrap/js/bootstrap.min.js"></script>
- <style>
- /* Set height of the grid so .sidenav can be 100% (adjust if needed) */
- .row.content {height: 1500px}
- /* Set gray background color and 100% height */
- .sidenav {
- background-color: #f1f1f1;
- height: 100%;
- }
- /* Set black background color, white text and some padding */
- footer {
- background-color: #555;
- color: white;
- padding: 15px;
- }
- /* On small screens, set height to 'auto' for sidenav and grid */
- @media screen and (max-width: 767px) {
- .sidenav {
- height: auto;
- padding: 15px;
- }
- .row.content {height: auto;}
- }
- </style>
- </head>
- <body >
- <header class="navbar navbar-inverse navbar-fixed-top bs-docs-nav" role="banner">
- <div class="container">
- <div class="navbar-header">
- <a href="index.php?menu=1" class="navbar-brand">Made Slimacek 17753043 - PENGOLAHAN DATA MAHASISWA</a>
- </div>
- </div>
- </header>
- <body>
- <div class="container-fluid">
- <div class="row content">
- <div class="col-sm-3 sidenav">
- <div class="bs-sidebar" role="complementary">
- <ul class="nav bs-sidenav">
- </li>
- <li <?php if($menu==1) { echo 'class="active"'; } else { echo 'class=""'; } ?>>
- <a href="index.php?menu=2">;</a>
- </li>
- <li <?php if($menu==2) { echo 'class="active"'; } else { echo 'class=""'; } ?>>
- <a href="index.php?menu=2">Master Agama</a>
- </li>
- <li <?php if($menu==3) { echo 'class="active"'; } else { echo 'class=""'; } ?>>
- <a href="index.php?menu=3">Master Tahun</a>
- </li>
- <li <?php if($menu==4) { echo 'class="active"'; } else { echo 'class=""'; } ?>>
- <a href="index.php?menu=4">Master Jalur Masuk</a>
- </li>
- <li <?php if($menu==5) { echo 'class="active"'; } else { echo 'class=""'; } ?>>
- <a href="index.php?menu=5">Master Mahasiswa</a>
- </li>
- </ul>
- </div>
- </div>
- <div class="col-md-9" role="main">
- <?php
- switch($menu)
- {
- case('2'): include_once('master_agamax.php'); break;
- case('3'): include_once('master_tahunx.php'); break;
- case('4'): include_once('master_jalurmasukx.php'); break;
- case('5'): include_once('master_mahasiswax.php'); break;
- }
- ?>
- </div>
- </div>
- </div>
- <footer class="bs-footer" role="contentinfo">
- <div class="container">
- <p>Praktik 11 / Sistem Menu / SIWEB / Program Studi Manajemen Informatika Politeknik Negeri Lampung .</p>
- </div>
- </footer>
- <script src="./framework/bootstrap/jquery-1.js"></script>
- <script src="./framework/bootstrap/bootstrap.js"></script>
- </body>
- <footer class="container-fluid">
- <p></p>
- </footer>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment