-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
233 lines (224 loc) · 10.5 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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
<?php
$currentPage = "home";
?>
<?php require_once __DIR__ . "/include/layout-start.php"; ?>
<?php
$sqlEvents = "SELECT a.* FROM tbl_gyms a ORDER BY a.id DESC LIMIT 3";
$resultEvents = $conn -> query($sqlEvents);
$rowEvents = $resultEvents -> fetch_all(MYSQLI_ASSOC);
?>
<style>
.cover-bg {
background-image: url('<?=BASE_URL?>assets/img/bg/BannerBg.jpg');
background-size: cover;
}
.cover-bg .text-container {
box-shadow: inset #0000004a 0px 0px 200px 200px;
color: white;
}
h1.site-title {
font-weight:600;
}
h1.site-title+p.lead {
font-weight:400;
}
</style>
<section>
<div class="p-4 p-md-5 mb-4 rounded cover-bg">
<div class="col-md-6 p-4 text-container rounded">
<h1 class="site-title display-4 fst-italic"><?=$settings['name']?></h1>
<p class="lead my-3">
<?=$settings['main_desc']?>
</p>
</div>
</div>
</section>
<!-- <section>
<div class="container px-4 py-5" id="icon-grid">
<h2 class="pb-2 border-bottom">Features</h2>
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 row-cols-lg-4 g-4 py-5">
<div class="col d-flex align-items-start">
<i class="bi-r-circle text-muted flex-shrink-0 me-3 fs-2"></i>
<div>
<h3 class="fw-bold mb-0 fs-4">Simple</h3>
<p>Offers a user-friendly and straightforward experience for buying, selling, or renting properties.</p>
</div>
</div>
<div class="col d-flex align-items-start">
<i class="bi-currency-dollar text-muted flex-shrink-0 me-3 fs-2"></i>
<div>
<h3 class="fw-bold mb-0 fs-4">Affordable</h3>
<p>Provides cost-effective solutions for clients looking to save money on real estate transactions.</p>
</div>
</div>
<div class="col d-flex align-items-start">
<i class="bi-safe text-muted flex-shrink-0 me-3 fs-2"></i>
<div>
<h3 class="fw-bold mb-0 fs-4">Trusted</h3>
<p>Reliable and reputable platform that clients can trust to meet their real estate needs.</p>
</div>
</div>
<div class="col d-flex align-items-start">
<i class="bi-fast-forward text-muted flex-shrink-0 me-3 fs-2"></i>
<div>
<h3 class="fw-bold mb-0 fs-4">Faster</h3>
<p>Offers quicker transactions and turnaround times compared to traditional real estate processes.</p>
</div>
</div>
<div class="col d-flex align-items-start">
<i class="bi-buildings text-muted flex-shrink-0 me-3 fs-2"></i>
<div>
<h3 class="fw-bold mb-0 fs-4">Quantity</h3>
<p>Boasts a vast selection of properties for clients to choose from, catering to a diverse range of needs and preferences.</p>
</div>
</div>
<div class="col d-flex align-items-start">
<i class="bi-globe-asia-australia text-muted flex-shrink-0 me-3 fs-2"></i>
<div>
<h3 class="fw-bold mb-0 fs-4">Global</h3>
<p>Have a global presence, providing access to properties across various locations worldwide.</p>
</div>
</div>
<div class="col d-flex align-items-start">
<i class="bi-cash-coin text-muted flex-shrink-0 me-3 fs-2"></i>
<div>
<h3 class="fw-bold mb-0 fs-4">Refund</h3>
<p>Offers a refund option in case clients are dissatisfied with the services provided.</p>
</div>
</div>
<div class="col d-flex align-items-start">
<i class="bi-wifi text-muted flex-shrink-0 me-3 fs-2"></i>
<div>
<h3 class="fw-bold mb-0 fs-4">Remote</h3>
<p>Allows clients to access and manage their real estate transactions remotely, providing convenience and flexibility.</p>
</div>
</div>
</div>
</div>
</section> -->
<section class="my-2">
<h2 class="pb-2 border-bottom">Images</h2>
<div class="row pt-3">
<?php
$sl = 0;
foreach($special_gallery as $key => $value) {
$sl++;
?>
<div class="col-4 mb-3">
<img class="w-100 rounded shadow" src="<?=BASE_URL . $value?>" alt="Image <?=$sl?>"/>
</div>
<?php } ?>
</div>
<a class="btn btn-link w-100 h4 text-decoration-none mouse-pointer pb-2 text-center border border-1 py-2 mt-2 px-4"
href="<?=BASE_URL?>gallery.php">View More</a>
</section>
<section class="my-2">
<h2 class="pb-2 border-bottom">Events</h2>
<div class="row pt-3">
<?php
$sl = 0;
foreach($rowEvents as $key => $value) {
$sl++;
?>
<div class="col-4">
<div class="card">
<div class="card-header p-0">
<img src="<?=$value['image']?>" class="w-100 mb-0 rounded"/>
<h5 class="card-title px-2 py-1 mb-0">
<?=$value['name']?>
</h5>
</div>
<div class="card-body">
<p class="card-text">
<?=substr($value['description'], 0, 255)."..."?>
<a href="<?=BASE_URL?>gymDetails.php?gym_id=<?=$value['id']?>"
class="btn btn-link text-decoration-none p-0">Read more</a>
</p>
</div>
<div class="card-footer d-flex justify-content-between">
<span>
<i class="bi bi-person-fill-x"></i>
<strong>for Phy Disabled: </strong>
<?= $value['phy_disabled'] ? 'Yes' : 'No' ?>
</span>
<span>
<i class="bi bi-geo-alt-fill"></i>
<strong>Location: </strong>
<?= $value['location'] ?>
</span>
</div>
</div>
</div>
<?php } ?>
</div>
<a class="btn btn-link w-100 h4 text-decoration-none mouse-pointer pb-2 text-center border border-1 py-2 mt-2 px-4"
href="<?=BASE_URL?>gyms.php">View More</a>
</section>
<section>
<div class="container px-4 py-5" id="custom-cards">
<h2 class="pb-2 border-bottom">Testimonials</h2>
<div class="row row-cols-1 row-cols-lg-3 align-items-stretch g-4 py-5">
<div class="col">
<div class="card card-cover h-100 overflow-hidden rounded-4 shadow-lg">
<div class="d-flex flex-column h-100 p-5 py-3 text-shadow-1">
<h3 class="my-4 display-6 lh-1 fw-bold"><q>I was impressed by the quantity and quality of Fitness.</q></h3>
<ul class="d-flex list-unstyled mt-auto">
<li class="me-auto">
<i class="bi-person-circle fs-3"></i>
</li>
<li class="d-flex align-items-center me-3">
<svg class="bi me-2" width="1em" height="1em"><use xlink:href="#geo-fill"></use></svg>
<small>Jayesh Mishra</small>
</li>
<li class="d-flex align-items-center">
<svg class="bi me-2" width="1em" height="1em"><use xlink:href="#calendar3"></use></svg>
<small>3d</small>
</li>
</ul>
</div>
</div>
</div>
<div class="col">
<div class="card card-cover h-100 overflow-hidden rounded-4 shadow-lg">
<div class="d-flex flex-column h-100 p-5 py-3 text-shadow-1">
<h3 class="my-4 display-6 lh-1 fw-bold"><q>Fitness global reach helped me find the opportunity to Broden my View.</q></h3>
<ul class="d-flex list-unstyled mt-auto">
<li class="me-auto">
<i class="bi-person-circle fs-3"></i>
</li>
<li class="d-flex align-items-center me-3">
<svg class="bi me-2" width="1em" height="1em"><use xlink:href="#geo-fill"></use></svg>
<small>Reshma Singh</small>
</li>
<li class="d-flex align-items-center">
<svg class="bi me-2" width="1em" height="1em"><use xlink:href="#calendar3"></use></svg>
<small>4d</small>
</li>
</ul>
</div>
</div>
</div>
<div class="col">
<div class="card card-cover h-100 overflow-hidden rounded-4 shadow-lg">
<div class="d-flex flex-column h-100 p-5 py-3 text-shadow-1">
<h3 class="my-4 display-6 lh-1 fw-bold"><q>Fitness made me Learn may New Things By Practice.</q></h3>
<ul class="d-flex list-unstyled mt-auto">
<li class="me-auto">
<i class="bi-person-circle fs-3"></i>
</li>
<li class="d-flex align-items-center me-3">
<svg class="bi me-2" width="1em" height="1em"><use xlink:href="#geo-fill"></use></svg>
<small>Jiwan Chaudhary</small>
</li>
<li class="d-flex align-items-center">
<svg class="bi me-2" width="1em" height="1em"><use xlink:href="#calendar3"></use></svg>
<small>5d</small>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
<?php require_once __DIR__ . "/include/layout-end.php"; ?>