forked from alkatrivedi/Anavadya
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildingDetails.php
290 lines (269 loc) · 15.8 KB
/
buildingDetails.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
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
<?php
session_start();
if (!isset($_SESSION['loggedin']) || $_SESSION['loggedin'] != true) {
header("location: login.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="keywords" content="footer, address, phone, icons" />
<link rel="icon" href="public/assets/24-hours.png" sizes="40x40" type="image/svg">
<title>Anavadya</title>
<link rel="stylesheet" type="text/css" href="public/css/main.css">
<!-- Link to Bootstrap-->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sbuttons/dist/sbuttons.min.css" />
<!-- Link to font awesome-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script>
$(function() {
// $("#navid").load("partials/header.php");
$("#footid").load("partials/footer.php");
});
</script>
</head>
<body>
<!-- <div id="navid"></div> -->
<nav id="mainNavbar" class=" stroke navbar navbar-expand-md fixed-top navbar-dark">
<a class="navbar-brand">
<img class="navlogo" src="public/assets/24-hours.png"> Anavadya
</a>
<button class="navbar-toggler nav-toggle-btn" type="button" data-toggle="collapse" data-target="#navLinks" aria-label="Toggle navigation">
<span class="navbar-toggler-icon">
</span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navLinks">
<ul class="navbar-nav">
<li class="nav-item active">
<a href="home.php" class="nav-link">Home</a>
</li>
<li class="nav-item">
<a href="buildingDetails.php" class="nav-link">Building Details</a>
</li>
<li class="nav-item">
<a href="occupancy.php" class="nav-link">Occupancy</a>
</li>
<li class="nav-item">
<a href="contacts.php" class="nav-link">Contact Us</a>
</li>
<?php
if($_SESSION["room"]==0)
{ ?>
<li class="nav-item">
<a href="register.php" class="nav-link" id="signin">Register</a>
</li>
<?php }
if (isset($_SESSION['loggedin']) || $_SESSION['loggedin'] == true) {
?>
<li class="nav-item">
<a href="logout.php" class="nav-link">Logout</a>
</li>
<?php
} else {
?>
<li class="nav-item">
<a href="login.php" class="nav-link">Login</a>
</li>
<?php
}
?>
</ul>
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="#"><img src="https://img.icons8.com/metro/26/ffffff/user-male.png" /><?php echo "Welcome " . $_SESSION['username'] ?></a>
</li>
</ul>
</div>
</nav>
<style rel="stylesheet" type="text/css">
body {
background-image: linear-gradient(-225deg, #DFFFCD 0%, #90F9C4 48%, #39F3BB 100%);
}
</style>
<section class="h-100" style="padding-top:7rem;">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.min.js" integrity="sha384-oesi62hOLfzrys4LxRF63OJCXdXDipiYWBnvTl9Y9/TRlw5xlKIEHpNyvvDShgf/" crossorigin="anonymous"></script>
<div class="position-absolute h-100 w-100" style="
z-index: -1;
background-image: url('');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
background-position: center;
"></div>
<div class="container d-flex flex-column justify-content-around h-100 py-5">
<div class="d-flex justify-content-center align-items-center mb-3">
<div class="col-sm-8 text-center">
<h1 class="display-5 font-weight-bold">
The <span class="text-primary">Prozone</span> is energy efficient and secure with Anavadya
</div>
</div>
<div class="d-flex justify-content-center align-items-center mb-3">
<div class="col-sm-8 text-center">
<h5 class="text-muted font-weight-normal">
Lorem ipsum dolor sit amet consectetur adipisicing
elit. Omnis praesentium vel et commodi natus nemo,
porro aperiam quo deleniti itaque?
</h5>
</div>
</div>
</div>
</section>
<section class="">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.min.js" integrity="sha384-oesi62hOLfzrys4LxRF63OJCXdXDipiYWBnvTl9Y9/TRlw5xlKIEHpNyvvDShgf/" crossorigin="anonymous"></script>
<div class="container py-5">
<div class="row mb-5">
<div class="col-md-8 mx-auto text-center">
<h1 class="text-primary">Our best moments</h1>
<p class="text-muted">
Lorem ipsum dolor sit amet consectetur adipisicing
elit. Laborum odit dolorum autem laudantium
repudiandae voluptatibus, veritatis unde maxime fuga
cupiditate.
</p>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="row mb-4">
<div id="carouselExampleCaptions" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleCaptions" data-slide-to="0" class=""></li>
<li data-target="#carouselExampleCaptions" data-slide-to="1" class=""></li>
<li data-target="#carouselExampleCaptions" data-slide-to="2" class="active"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item" data-interval="2000">
<img src="https://lh3.googleusercontent.com/proxy/l4cJzB00U-0zUikgevG0N1piVDQkl1R1WoUKjusrKAMvAELs2mp4KJrJoOGiIDgxnEl2-W5MO4EP3OtYD-pjnzsNYDloayHvpaql" class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block">
<h5>First slide label</h5>
<p>
Nulla vitae elit libero, a
pharetra augue mollis interdum.
</p>
</div>
</div>
<div class="carousel-item" data-interval="2000">
<img src="https://lh3.googleusercontent.com/proxy/2vjBlF3_yYMmkYuCXyCfTVryN_klLQvNovXptFmaePCUzVqwMeAYoZcEU0upOYSOopcsaCvbEvn7jkw_6HvqRfIJgR1VgCv3iRhHf_hY7ccNapvZZPo" class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block">
<h5>Second slide label</h5>
<p>
Lorem ipsum dolor sit amet,
consectetur adipiscing elit.
</p>
</div>
</div>
<div class="carousel-item active" data-interval="2000">
<img src="https://www.covaimail.com/wp-content/uploads/prozone-.jpg--678x381.jpg" class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block">
<h5>Third slide label</h5>
<p>
Praesent commodo cursus magna,
vel scelerisque nisl
consectetur.
</p>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleCaptions" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleCaptions" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
<div class="row">
<div class="col-lg-6 mb-4 mb-lg-0">
<img src="https://dhoom.filmipop.com/media//theatre/2018/Aug/1535364865-inoxcoimgall7.jpg" alt="" style="height: 100%; width: 100%">
</div>
<div class="col-lg-6 mb-4 mb-sm-0">
<img src="https://www.ourcities.in/wp-content/uploads/2020/11/Croma-Prozone-Mall-Coimbatore.jpg" alt="" style="height: 100%; width: 100%">
</div>
</div>
</div>
<div class="col-md-6">
<div class="d-flex flex-column flex-lg-column-reverse">
<div class="row mb-4">
<div id="carouselExampleCaptions" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleCaptions" data-slide-to="0" class=""></li>
<li data-target="#carouselExampleCaptions" data-slide-to="1" class=""></li>
<li data-target="#carouselExampleCaptions" data-slide-to="2" class="active"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item" data-interval="2000">
<img src="https://dhoom.filmipop.com/media//theatre/2018/Aug/1535364866-inoxcoimgall6.jpg" class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block">
<h5>First slide label</h5>
<p>
Nulla vitae elit libero, a
pharetra augue mollis
interdum.
</p>
</div>
</div>
<div class="carousel-item" data-interval="2000">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRcY1v7xZpgY-NJlkFpqPheZ97wpSAYPi1-Mw&usqp=CAU" class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block">
<h5>Second slide label</h5>
<p>
Lorem ipsum dolor sit amet,
consectetur adipiscing elit.
</p>
</div>
</div>
<div class="carousel-item active" data-interval="2000">
<img src="https://media-cdn.tripadvisor.com/media/photo-s/04/10/f9/3a/prozone-mall-aurangabad.jpg" class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block">
<h5>Third slide label</h5>
<p>
Praesent commodo cursus
magna, vel scelerisque nisl
consectetur.
</p>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleCaptions" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleCaptions" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
<div class="row mb-lg-4">
<div class="col-lg-6 mb-4 mb-lg-0">
<img src="https://www.ourcities.in/wp-content/uploads/2020/04/spar-coimbatore.jpg" alt="" style="height: 100%; width: 100%">
</div>
<div class="col-lg-6 mb-4 mb-sm-0">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQJXBde82MHVMKVFP6xEzb1x_qTsPFc0V8lCg&usqp=CAU" alt="" style="height: 100%; width: 100%">
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<?php
if($_SESSION["room"]==0)
{?>
<section class="section-content-block">
<div class="d-flex justify-content-center align-items-center">
<a href="users.php"><button class='sbtn gradient-btn purple-btn rounded-btn'>See Anavadya's Sub-Admin's</button></a>
</div>
</section>
<?php } ?>
<div id="footid"></div>
</body>
</html>