-
Notifications
You must be signed in to change notification settings - Fork 0
/
wishlist.php
60 lines (54 loc) · 1.52 KB
/
wishlist.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
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
<?php
session_start();
$id_user = $_GET["id_user"];
if(!isset($_SESSION["login"])){
header("Location: login.php");
exit;
}
require 'functions.php';
$koswishlist = query("SELECT w.id_wishlist, p.name, k.title, k.price FROM `wishlist` AS w INNER JOIN `user` AS u USING (`id_user`) INNER JOIN `kos` AS k USING(`id_kos`) INNER JOIN `pemilik_kos` AS p USING (`id_pemilik_kos`) WHERE `id_user` = $id_user");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php
include("header.php");
?>
</head>
<body>
<!-- Navigation -->
<?php
include("template/navbar.php");
?>
<!-- Page Content -->
<div class="page-content page-cart">
<?php
include("template/_wishlist-breadcrumb.php");
?>
<section class="store-cart">
<div class="container">
<div class="row" data-aos="fade-up" data-aos-delay="100">
<div class="col-12 table-responsive">
<?php
include("template/_wishlist-table.php");
?>
</div>
</div>
</div>
</section>
</div>
<footer>
<?php
include("footer.php")
?>
</footer>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.slim.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
<script>
AOS.init();
</script>
<script src="script/navbar-scroll.js"></script>
</body>
</html>