-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspecialoffers.php
204 lines (193 loc) · 6.05 KB
/
specialoffers.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
192
193
194
195
196
197
198
199
200
201
202
203
204
<?php
$pagename = "specialoffers.php";
include('includes/header.php');
$db = new Database();
$conn = $db->getConnection();
$query = "SELECT * FROM offers";
$q = $conn->query($query);
?>
<head>
<!-- //for-mobile-apps -->
<link href="css/font-awesome.min.css" rel="stylesheet" type="text/css" media="all">
<link rel="stylesheet" type="text/css" href="css/custom.css">
<!-- //js -->
<!-- for-gallery-rotation -->
<script src="js/modernizr.custom.97074.js"></script>
<!-- //for-gallery-rotation -->
<!-- FlexSlider -->
<link rel="stylesheet" href="css/flexslider.css" type="text/css" media="screen" />
<script defer src="js/jquery.flexslider.js"></script>
<script type="text/javascript">
$(window).load(function(){
$('.flexslider').flexslider({
animation: "slide",
start: function(slider){
$('body').removeClass('loading');
}
});
});
</script>
<!-- //FlexSlider -->
<!-- start-smoth-scrolling -->
<script type="text/javascript" src="js/move-top.js"></script>
<script type="text/javascript" src="js/easing.js"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
$(".scroll").click(function(event){
event.preventDefault();
$('html,body').animate({scrollTop:$(this.hash).offset().top},1000);
});
});
</script>
<!-- start-smoth-scrolling -->
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Comfortaa:400,300,700' rel='stylesheet' type='text/css'>
<link href="//fonts.googleapis.com/css?family=Playfair+Display:400,400i,700,700i,900" rel="stylesheet">
</head>
<!-- Main Body -->
<hr>
<h1 align = "center" id="user-head">Special Offers</h1>
<hr>
<!-- cake category -->
<div id="gallery" class="gallery">
<div class="container">
<div class="gallery-grids">
<section>
<ul id="da-thumbs" class="da-thumbs">
<?php
if($q->setFetchMode(PDO::FETCH_ASSOC))
{
while ($r = $q->fetch()){
$offerId = $r['offer_id'];
$heading = $r['heading'];
$image = $r['image'];
$description = $r['description'];
?>
<li>
<a href="images/55.jpg" class=" mask b-link-stripe b-animate-go swipebox" title="">
<img src="<?php echo $image;?>" alt="" />
<div>
<h5><?php echo $heading; ?></h5>
<span><?php echo $description; ?></span>
</div>
</a>
</li>
<?php
}
}
?>
<!-- <li>
<a href="images/66.jpg" class=" mask b-link-stripe b-animate-go swipebox" title="">
<img src="images/66.jpg" alt="" />
<div>
<h5>Bake Your Bread</h5>
<span>non suscipit leo fringilla non suscipit leo fringilla molestie</span>
</div>
</a>
</li>
<li>
<a href="images/77.jpg" class=" mask b-link-stripe b-animate-go swipebox" title="">
<img src="images/77.jpg" alt="" />
<div>
<h5>Bake Your Bread</h5>
<span>non suscipit leo fringilla non suscipit leo fringilla molestie</span>
</div>
</a>
</li>
<li>
<a href="images/88.jpg" class=" mask b-link-stripe b-animate-go swipebox" title="">
<img src="images/88.jpg" alt="" />
<div>
<h5>Bake Your Bread</h5>
<span>non suscipit leo fringilla non suscipit leo fringilla molestie</span>
</div>
</a>
</li>
<li>
<a href="images/99.jpg" class=" mask b-link-stripe b-animate-go swipebox" title="">
<img src="images/99.jpg" alt="" />
<div>
<h5>Bake Your Bread</h5>
<span>non suscipit leo fringilla non suscipit leo fringilla molestie</span>
</div>
</a>
</li>
<li>
<a href="images/55.jpg" class=" mask b-link-stripe b-animate-go swipebox" title="">
<img src="images/55.jpg" alt="" />
<div>
<h5>Bake Your Bread</h5>
<span>non suscipit leo fringilla non suscipit leo fringilla molestie</span>
</div>
</a>
</li>
<li>
<a href="images/66.jpg" class=" mask b-link-stripe b-animate-go swipebox" title="">
<img src="images/66.jpg" alt="" />
<div>
<h5>Bake Your Bread</h5>
<span>non suscipit leo fringilla non suscipit leo fringilla molestie</span>
</div>
</a>
</li>
<li>
<a href="images/77.jpg" class=" mask b-link-stripe b-animate-go swipebox" title="">
<img src="images/77.jpg" alt="" />
<div>
<h5>Bake Your Bread</h5>
<span>non suscipit leo fringilla non suscipit leo fringilla molestie</span>
</div>
</a>
</li>
<li>
<a href="images/88.jpg" class=" mask b-link-stripe b-animate-go swipebox" title="">
<img src="images/88.jpg" alt="" />
<div>
<h5>Bake Your Bread</h5>
<span>non suscipit leo fringilla non suscipit leo fringilla molestie</span>
</div>
</a>
</li>
-->
</ul>
</section>
<script type="text/javascript" src="js/jquery.hoverdir.js"></script>
<script type="text/javascript">
$(function() {
$(' #da-thumbs > li ').each( function() { $(this).hoverdir(); } );
});
</script>
</div>
</div>
</div>
<!--<div class="container" style="margin-top: -70px;">
<div class="row">
<div class="col-md-4"></div>
<div class="col-md-4">
<nav>
<ul class="pagination paging animated wow fadeInUp animated" data-wow-duration="1200ms" data-wow-delay="500ms" style="visibility: visible; animation-duration: 1200ms; animation-delay: 500ms; animation-name: fadeInUp;">
<li>
<a href="#" aria-label="Previous">
<span aria-hidden="true">«</span>
</a>
</li>
<li><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li>
<a href="#" aria-label="Next">
<span aria-hidden="true">»</span>
</a>
</li>
</ul>
</nav>
</div>
<div class="col-md-4"></div>
</div>
</div>-->
<!-- //cake category -->
<?php
include('includes/footer.php');
?>