-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
191 lines (155 loc) · 9 KB
/
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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<?php
session_start();
if (!isset($_SESSION['username'])){
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link href="images/logo.jpg" rel="shortcut icon">
<title>eazi cakes</title>
<!-- core CSS -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/animate.min.css" rel="stylesheet">
<link href="css/prettyPhoto.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<link href="css/responsive.css" rel="stylesheet">
</head><!--/head-->
<!--*********************************************START OF NAVIGATION BAR****************************************-->
<body>
<nav class="navbar navbar-inverse" role="banner">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="index.php"><h4 class="wow fadeInDown" style="margin-top:20px; color:#FFF;"><img src="images/logo.jpg" width="15% "/> Sweet and Healthy Cakes</h4></a>
</div>
<div class="collapse navbar-collapse navbar-right wow fadeInDown">
<ul class="nav navbar-nav">
<li class="active"><a href="index.php"><i class="fa fa-home"></i>Home</a></li>
<li ><a href="about-us.php">About Us</a></li>
<li ><a href="available.php">Availables</a></li>
<li><a href="contacts.php">Contacts</a></li>
</ul>
</div>
</div><!--/.container-->
</nav><!--/nav-->
<!--*********************************************START SLIDER************************************************-->
<div class="container-fluid">
<br>
<div class="col-md-9 wow fadeInDown">
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel" style="background-color:#000; padding:10px;">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
<li data-target="#carousel-example-generic" data-slide-to="3"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item active">
<img src="images/bonbon.jpg" alt="" class=" img-responsive wow fadeInDown">
</div>
<div class="item">
<img src="images/cake.jpg" alt="" class="img-responsive wow fadeInDown">
</div>
<div class="item">
<img src="images/image13.jpg" alt="" class="img-responsive wow fadeInDown">
</div>
<div class="item">
<img src="images/mirangue.jpg" alt="" class="img-responsive wow fadeInDown">
</div>
<div class="item">
<img src="images/redVelvet.jpg" alt=""class="img-responsive wow fadeInDown">
</div>
<div class="item">
<img src="images/strawberry.jpg" alt=""class="img-responsive wow fadeInDown">
</div>
<div class="item">
<img src="images/tarts.jpg" alt=""class="img-responsive wow fadeInDown">
</div>
<div class="item">
<img src="images/flower.jpg" alt=""class="img-responsive wow fadeInDown">
</div>
</div>
<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
</a>
</div>
<!--*********************************************Food PACKAGES************************************************-->
</div>
<div class="col-md-3" >
<div class="panel panel-default wow fadeInDown">
<!-- Default panel contents -->
<div class="panel-heading wow fadeInDown" style="font-weight:bold; font-size:16px; color:#36648B;">Welcome Guest it's <i class="glyphicon glyphicon-calendar"></i> <?php echo date('M d, Y');?></div>
</div>
<div class="panel panel-default wow fadeInDown">
<!-- Default panel contents -->
<div class="panel-heading wow fadeInDown" style="font-weight:bold; font-size:16px; color:#36648B;">Cakes On Special Offer </div>
<ul class="list-group">
<li class="list-group-item wow fadeInDown">Wedding Cake - <span style="color:#8B8B00; font-weight:bold;">Ugshs 420000</span> <span style="color:#EE5C42;" class="glyphicon glyphicon-ok pull-right"></span></li>
<li class="list-group-item wow fadeInDown">Simple Cake - <span style="color:#8B8B00; font-weight:bold;">Ugshs 35000 </span> <span style="color:#EE5C42;" class="glyphicon glyphicon-ok pull-right"></span></li>
<li class="list-group-item wow fadeInDown">Gift Cake - <span style="color:#8B8B00; font-weight:bold;">Ugshs 75000 </span> <span style="color:#EE5C42;" class="glyphicon glyphicon-ok pull-right"></span></li>
<li class="list-group-item wow fadeInDown">Birthday Cake- <span style="color:#8B8B00; font-weight:bold;">Ugshs 50000 </span> <span style="color:#EE5C42;" class="glyphicon glyphicon-ok pull-right"></span></li>
</ul>
<a href="available.php" class="btn btn-success btn-sm pull-right wow fadeInDown">Click here to View More</a>
</div>
<br>
<div class="panel panel-default wow fadeInDown">
<div class="panel-heading wow fadeInDown" style="font-size:16px; font-weight:bold; color: #36648B;">Our Location</div>
</div>
<div class="recent-work-wrap class="wow fadeInDown"">
<img class="img-responsive wow fadeInDown" src="images/map.jpg" alt="">
<div class="recent-work-inner">
<a class="preview wow fadeInDown" href="images/map.jpg" rel="prettyPhoto"><br><span class="btn btn-success btm-sm pull-right">Preview Map</span></a>
</div>
</div>
</div>
</div>
</div><!--/.container-->
<br><br>
<!--*************************************************** FOOTERS **********************************************-->
<footer id="footer" class="midnight-blue wow fadeInDown">
<div class="container">
<div class="row">
<div class="col-sm-6 wow fadeInDown">
© 2018<a target="_blank" href="#" title="#">Cakes</a>. All Rights Reserved.
</div>
<div class="col-sm-6">
<ul class="pull-right wow fadeInDown">
<li class="wow fadeInDown"><a href="index.php"><i class="fa fa-home"></i> Home</a></li>
<li class="wow fadeInDown"><a href="contacts.php"><i class="fa fa-phone"></i> Contacts</a></li>
<li class="wow fadeInDown"><a href="#loginModal" data-toggle="modal" data-target="#loginModal"><i class="fa fa-lock"></i> Admin</a></li>
</ul>
</div>
</div>
</div>
</footer><!--/#footer-->
<!----loginModal----->
<?php include('loginModal.php');?>
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.prettyPhoto.js"></script>
<script src="js/jquery.isotope.min.js"></script>
<script src="js/main.js"></script>
<script src="js/wow.min.js"></script>
</body>
</html>
<?php
} else if(isset($_SESSION['username'])) {
include('includes/admin.php');
} ?>