-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.php
More file actions
161 lines (148 loc) · 6.6 KB
/
about.php
File metadata and controls
161 lines (148 loc) · 6.6 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
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
<?php require "includes/header.php"; ?>
<?php require "config/config.php"; ?>
<?php
$reviews = $conn->query("SELECT * FROM reviews");
$reviews->execute();
$allReviews = $reviews->fetchAll(PDO::FETCH_OBJ);
?>
<section class="home-slider owl-carousel">
<div class="slider-item" style="background-image: url(images/bg_3.jpg);" data-stellar-background-ratio="0.5">
<div class="overlay"></div>
<div class="container">
<div class="row slider-text justify-content-center align-items-center">
<div class="col-md-7 col-sm-12 text-center ftco-animate">
<h1 class="mb-3 mt-5 bread">About Us</h1>
<p class="breadcrumbs"><span class="mr-2"><a href="index.html">Home</a></span> <span>About</span></p>
</div>
</div>
</div>
</div>
</section>
<section class="ftco-about d-md-flex">
<div class="one-half img" style="background-image: url(images/about.jpg);"></div>
<div class="one-half ftco-animate">
<div class="overlap">
<div class="heading-section ftco-animate ">
<span class="subheading">Discover</span>
<h2 class="mb-4">Our Story</h2>
</div>
<div>
<p>On her way she met a copy. The copy warned the Little Blind Text, that where it came from it would have been rewritten a thousand times and everything that was left from its origin would be the word "and" and the Little Blind Text should turn around and return to its own, safe country. But nothing the copy said could convince her and so it didn’t take long until a few insidious Copy Writers ambushed her, made her drunk with Longe and Parole and dragged her into their agency, where they abused her for their.</p>
</div>
</div>
</div>
</section>
<section class="ftco-section img" id="ftco-testimony" style="background-image: url(images/bg_1.jpg);" data-stellar-background-ratio="0.5">
<div class="overlay"></div>
<div class="container">
<div class="row justify-content-center mb-5">
<div class="col-md-7 heading-section text-center ftco-animate">
<span class="subheading">Testimony</span>
<h2 class="mb-4">Customers Says</h2>
<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.</p>
</div>
</div>
</div>
<div class="container-wrap">
<div class="row d-flex no-gutters">
<?php foreach($allReviews as $review) : ?>
<div class="col-md-3 align-self-sm-end ftco-animate">
<div class="testimony">
<blockquote>
<p>“<?php echo $review->review; ?>.”</p>
</blockquote>
<div class="author d-flex mt-4">
<div class="name align-self-center"><?php echo $review->username; ?></div>
</div>
</div>
</div>
<?php endforeach; ?>
</div>
</div>
</section>
<section class="ftco-section">
<div class="container">
<div class="row align-items-center">
<div class="col-md-6 pr-md-5">
<div class="heading-section text-md-right ftco-animate">
<span class="subheading">Discover</span>
<h2 class="mb-4">Our Menu</h2>
<p class="mb-4">Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>
<p><a href="menu.php" class="btn btn-primary btn-outline-primary px-4 py-3">View Full Menu</a></p>
</div>
</div>
<div class="col-md-6">
<div class="row">
<div class="col-md-6">
<div class="menu-entry">
<a href="#" class="img" style="background-image: url(images/menu-1.jpg);"></a>
</div>
</div>
<div class="col-md-6">
<div class="menu-entry mt-lg-4">
<a href="#" class="img" style="background-image: url(images/menu-2.jpg);"></a>
</div>
</div>
<div class="col-md-6">
<div class="menu-entry">
<a href="#" class="img" style="background-image: url(images/menu-3.jpg);"></a>
</div>
</div>
<div class="col-md-6">
<div class="menu-entry mt-lg-4">
<a href="#" class="img" style="background-image: url(images/menu-4.jpg);"></a>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="ftco-counter ftco-bg-dark img" id="section-counter" style="background-image: url(images/bg_2.jpg);" data-stellar-background-ratio="0.5">
<div class="overlay"></div>
<div class="container">
<div class="row justify-content-center">
<div class="col-md-10">
<div class="row">
<div class="col-md-6 col-lg-3 d-flex justify-content-center counter-wrap ftco-animate">
<div class="block-18 text-center">
<div class="text">
<div class="icon"><span class="flaticon-coffee-cup"></span></div>
<strong class="number" data-number="100">0</strong>
<span>Coffee Branches</span>
</div>
</div>
</div>
<div class="col-md-6 col-lg-3 d-flex justify-content-center counter-wrap ftco-animate">
<div class="block-18 text-center">
<div class="text">
<div class="icon"><span class="flaticon-coffee-cup"></span></div>
<strong class="number" data-number="85">0</strong>
<span>Number of Awards</span>
</div>
</div>
</div>
<div class="col-md-6 col-lg-3 d-flex justify-content-center counter-wrap ftco-animate">
<div class="block-18 text-center">
<div class="text">
<div class="icon"><span class="flaticon-coffee-cup"></span></div>
<strong class="number" data-number="10567">0</strong>
<span>Happy Customer</span>
</div>
</div>
</div>
<div class="col-md-6 col-lg-3 d-flex justify-content-center counter-wrap ftco-animate">
<div class="block-18 text-center">
<div class="text">
<div class="icon"><span class="flaticon-coffee-cup"></span></div>
<strong class="number" data-number="900">0</strong>
<span>Staff</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<?php require "includes/footer.php"; ?>