forked from hackersdotmu/OnlineCodingCompetition2020
-
Notifications
You must be signed in to change notification settings - Fork 0
/
customer_select.php
87 lines (82 loc) · 4.02 KB
/
customer_select.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?php
include("ddconnection.php");
session_start();
$sql = "SELECT * FROM supermarket_detail";
$result = mysqli_query($conn, $sql);
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Home - Brand</title>
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Catamaran:100,200,300,400,500,600,700,800,900">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Muli">
<link rel="stylesheet" href="assets/fonts/font-awesome.min.css">
<link rel="stylesheet" href="assets/fonts/ionicons.min.css">
<link rel="stylesheet" href="assets/css/Contact-Form-Clean.css">
<link rel="stylesheet" href="assets/css/Features-Boxed.css">
<link rel="stylesheet" href="assets/css/Registration-Form-with-Photo.css">
</head>
<body id="page-top">
<nav class="navbar navbar-light navbar-expand-lg fixed-top" id="mainNav" style="background-color: #bc2e57;">
<div class="container"><a class="navbar-brand js-scroll-trigger" href="#page-top">SafeShopping</a><button data-toggle="collapse" data-target="#navbarResponsive" class="navbar-toggler float-right" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation"><i class="fa fa-bars"></i></button>
<div
class="collapse navbar-collapse" id="navbarResponsive">
<ul class="nav navbar-nav ml-auto">
<li class="nav-item" role="presentation"></li>
<li class="nav-item" role="presentation"></li>
<li class="nav-item" role="presentation"><a class="nav-link js-scroll-trigger" href="index.php">HOME PAGE</a></li>
</ul>
</div>
</div>
</nav>
<div class="features-boxed" style="padding: 50px;">
<div class="container" style="padding: 50px;">
<div class="text-center intro">
<h2 class="text-center">SELECT TIME SLOT</h2>
<h3 class="name">SUPERMARKETS</h3>
<ul class="list-group">
<?php
if($result){
while($row=mysqli_fetch_array($result))
{
?>
<li class="list-group-item">
<a class="btn btn-primary btn-block" type="submit" href=<?php echo('"/customer_time_slot.php?ref='.$row["name"].'"'); ?> style="background-color: #bc2e57;"><?php echo($row["name"]); ?></a>
</li>
<?php
}
}
?>
</ul>
</div>
</div>
</div>
<section id="contact" class="contact bg-primary">
<div class="container">
<h2><span></span><span>#StaySafe</span></h2>
<ul class="list-inline list-social">
<li class="list-inline-item social-twitter"><a href="https://twitter.com/WHOSouthAfrica"><i class="fa fa-twitter"></i></a></li>
<li class="list-inline-item social-facebook"><a href="https://www.who.int/"><i class="fa fa-globe"></i></a></li>
<li class="list-inline-item social-google-plus"></li>
</ul>
</div>
</section>
<footer>
<div class="container">
<p>© SafeShopping 2020. All Rights Reserved.</p>
<ul class="list-inline">
<li class="list-inline-item"></li>
<li class="list-inline-item"></li>
</ul>
</div>
</footer>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.4.1/jquery.easing.min.js"></script>
<script src="assets/js/new-age.js"></script>
</body>
</html>