-
Notifications
You must be signed in to change notification settings - Fork 47
/
index.php
35 lines (30 loc) · 686 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php session_start(); ?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php
include("koneksi.php");
include("konten/head.html");
?>
<script src="https://cdn.jsdelivr.net/npm/vue@2"></script>
</head>
<body>
<div class="container" id="app">
<?php
include("konten/judul.html");
if (!empty($_SESSION['id'])) {
include("konten/nav.php");
include("atur-konten.php");
} else {
if ($_GET['menu'] == 'registrasi') {
include('konten/registrasi.php');
} else {
include('konten/login.php');
}
}
?>
</div>
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>