-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
61 lines (49 loc) · 1.27 KB
/
Copy pathindex.php
File metadata and controls
61 lines (49 loc) · 1.27 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?php
session_start();
$username = '';
if(isset($_SESSION['ardu_username'])){
$username = $_SESSION['ardu_username'];
}
# =========================
# Koneksi ke db
# =========================
include 'conn.php';
# =========================
# GET data dari db
# =========================
include 'data_user.php';
# =========================
# GET URL Parameter
# =========================
$parameter = '';
if(isset($_GET)){
foreach($_GET as $key => $value){
$parameter = $key;
}
};
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ArduTech | Portal Belajar Arduino</title>
<link rel="shortcut icon" href="img/favicon.png" type="image/x-icon">
<!-- CSS -->
<link rel="stylesheet" href="css/layout.css">
<link rel="stylesheet" href="css/produk_shows.css">
<!-- Bootstrap -->
<link rel="stylesheet" href="vendor/bootstrap/css/bootstrap.min.css">
<!-- JQuery -->
<script src="vendor/jquery/jquery-3.7.1.js"></script>
</head>
<body>
<?php include 'header.php'?>
<main>
<?php include 'routing.php' ?>
</main>
<footer>
<p style="text-align: center">© 2024 Copyright: ArduTech</p>
</footer>
</body>
</html>