Index PHP
Index PHP
<?php
session_start();
include "library/koneksi.php"
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Kinik 4 SI Pagi</title>
</head>
<body>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct"
crossorigin="anonymous"></script>
</body>
</html>
mainphp
<?php
if(isset($_SESSION['SES_ADMIN'])){
echo"
<div class='jumbotron>'jumbotron>
<p class='lead'>This is a simple hero unit, a simple jumbotron-style component for calling extra
attention to featured content or information.</p>
<hr class='my-4'>
</div>
exit;
else {
?>
koneksiphp
<?php
$myHost = "localhost";
$myUser = "root";
$myPass = "";
$myDbs = "klinik_4sipagi";
if (! $koneksidb) {
?>
menuphp
<span class="navbar-toggler-icon"></span>
</button>
</li>
<li class="nav-item">
</li>
<li class="nav-item dropdown">
Data Master
</a>
<div class="dropdown-menu">
<div class="dropdown-divider"></div>
</div>
Laporan
</a>
<div class="dropdown-menu">
<div class="dropdown-divider"></div>
</div>
</li>
<li class="nav-item">
</li>
</ul>
</div>
</nav>
petugasdataphp
<thead>
<tr>
<th scope="col">No</th>
<th scope="col">UserName</th>
<th scope="col">Level</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">3</th>
<td>Larry</td>
<td>the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
bukafilephp
<?php
if($_GET){
switch($_GET['page']){
case '':
include "main.php";break;
include "main.php";break;
case 'Login':
include "login.php";break;
case 'Petugas_data':
include "petugas_data.php";break;
else{
include "main.php";
}
loginphp
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Log In</title>
<style>
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
.bd-placeholder-img-lg {
font-size: 3.5rem;
</style>
</head>
<body class="text-center">
<form class="form-signin">
<label>
</label>
</div>
</form>
</body>
</html>