This repository has been archived by the owner on Dec 21, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
executable file
·386 lines (370 loc) · 23.3 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
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
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
<?php
include("include/session.php");
$account = $session_status = $session_action = $cllp = "";
if (!isLogin()) {
$account = '<li class="nav-item">
<a class="nav-link anh" href="create/">Create Account</a>
</li>
<hr>
<li class="nav-item">
<a class="nav-link hna" href="login/">Login</a>
</li>';
$session_status = "Login to continue";
$session_action = '<li><a class="dropdown-item" href="login"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="width: 24px; margin-right: 10px;"><title>Login</title><path fill="#484848" d="M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z" /></svg>Login</a></li>';
$session_action .= '<li><a class="dropdown-item" href="create"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="width: 24px; margin-right: 10px;"><title>Create Account</title><path fill="#484848" d="M15,14C12.33,14 7,15.33 7,18V20H23V18C23,15.33 17.67,14 15,14M6,10V7H4V10H1V12H4V15H6V12H9V10M15,12A4,4 0 0,0 19,8A4,4 0 0,0 15,4A4,4 0 0,0 11,8A4,4 0 0,0 15,12Z" /></svg>Create Account</a></li>';
$cllp = ' <div class="collapse navbar-collapse justify-content-between align-items-center" id="navbarText">
<ul class="navbar-nav ms-auto mb-2 mb-lg-0 mx-auto text-md-center text-left">
<li class="nav-item">
<a class="nav-link" href="rooms">Rooms</a>
</li>
<li class="nav-item">
<a class="nav-link" href="rates">Rates</a>
</li>
<li class="nav-item">
<a class="nav-link" href="categories">Categories</a>
</li>
<li class="nav-item">
<a class="nav-link" href="locations">Locations</a>
</li>
<li class="nav-item">
<a class="nav-link" href="promo">Promos & Discounts</a>
</li>
<li class="nav-item">
<a class="nav-link" href="gallery">Gallery</a>
</li>
</ul>
<ul class="nav navbar-nav justify-content-md-center justify-content-start flex-nowrap">
' . $account . '
</ul>
</div>';
} else {
$session_status = $_SESSION['name'];
$session_action = '<li><a class="dropdown-item" href="logout"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="width: 24px; margin-right: 10px;"><title>logout</title><path fill="#484848" d="M16,17V14H9V10H16V7L21,12L16,17M14,2A2,2 0 0,1 16,4V6H14V4H5V20H14V18H16V20A2,2 0 0,1 14,22H5A2,2 0 0,1 3,20V4A2,2 0 0,1 5,2H14Z" /></svg>Logout</a></li>';
$session_action .= '<li><a class="dropdown-item" href="change-password"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="width: 24px; margin-right: 10px;"><title>change password</title><path fill="#484848" d="M16,17V14H9V10H16V7L21,12L16,17M14,2A2,2 0 0,1 16,4V6H14V4H5V20H14V18H16V20A2,2 0 0,1 14,22H5A2,2 0 0,1 3,20V4A2,2 0 0,1 5,2H14Z" /></svg>Change Password</a></li>';
$cllp = '<div class="collapse navbar-collapse" id="navbarText">
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
<li class="nav-item">
<form action="rooms/index.php" method="post">
<div class="search-container">
<input id="search" placeholder="What are you looking for?" type="text" name="search">
<svg viewBox="0 0 24 24" id="but">
<path fill="#484848" d="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z">
</path>
</svg>
</div>
</form>
</li>
<br>
<li class="nav-item">
<a class="nav-link" href="rooms">Rooms</a>
</li>
<li class="nav-item">
<a class="nav-link" href="rates">Rates</a>
</li>
<li class="nav-item">
<a class="nav-link" href="categories">Categories</a>
</li>
<li class="nav-item">
<a class="nav-link" href="locations">Locations</a>
</li>
<li class="nav-item">
<a class="nav-link" href="promo">Promos & Discounts</a>
</li>
<li class="nav-item">
<a class="nav-link" href="gallery">Gallery</a>
</li>
</ul>
</div>';
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="assets/bootstrap.min.css">
<link rel="stylesheet" href="css/primary.css">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="favicon.png">
<link rel="apple-touch-icon" href="favicon.png">
<link rel="manifest" href="site.webmanifest">
<title>Home | Room Rental System</title>
</head>
<body class="d-flex flex-column min-vh-100">
<nav class="autohide navbar navbar-expand-lg navbar-light fixed-top">
<div class="container-fluid">
<div class="navbar-brand">
<span class="navbar-toggler-icon sidebar" data-bs-toggle="offcanvas" href="#sidebarCanvas" role="button" aria-controls="sidebar" id="sidebarbb"></span>
<a class="navbar-brand1" href="/Room-Rental-System/">
<?php
if (!isLogin()) {
echo "Room Rental System";
} else {
echo $_SESSION['name'];
}
?>
</a>
</div>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation" id="qwe111">
<span class="navbar-toggler-icon" id="qwe"></span>
</button>
<?php echo $cllp; ?>
</div>
</nav>
<main>
<div class="offcanvas offcanvas-start" tabindex="-1" id="sidebarCanvas" aria-labelledby="sidebar">
<div class="offcanvas-header offcanvas-headerbg">
<h5 class="offcanvas-title" id="sidebarCanvas" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="width: 24px; margin-right: 7px;">
<title>Account</title>
<path fill="#484848" d="M12,19.2C9.5,19.2 7.29,17.92 6,16C6.03,14 10,12.9 12,12.9C14,12.9 17.97,14 18,16C16.71,17.92 14.5,19.2 12,19.2M12,5A3,3 0 0,1 15,8A3,3 0 0,1 12,11A3,3 0 0,1 9,8A3,3 0 0,1 12,5M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z" />
</svg> <?php echo $session_status; ?> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24px">
<path fill="#484848" d="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z" />
</svg>
</h5>
<div class="dropdown">
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<?php echo $session_action; ?>
</ul>
</div>
<button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<ul class="menu">
<li class="menuitem" id="about">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="width: 26px; margin-right: 10px;">
<title>About</title>
<path fill="#fff" d="M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z" />
</svg>
About
</li>
<li class="menuitem" id="contact">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="width: 26px; margin-right: 10px;">
<title>Contact</title>
<path fill="#fff" d="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M8.43 14.44L7.07 13.83C7.35 13.27 7.5 12.67 7.5 12.05C7.5 11.39 7.35 10.76 7.07 10.17L8.43 9.56C8.81 10.37 9 11.2 9 12.05C9 12.8 8.81 13.6 8.43 14.44M11.53 15.94L10.22 15.29C10.75 14.16 11 13 11 11.86C11 10.73 10.75 9.69 10.22 8.71L11.53 7.96C12.19 9.12 12.5 10.42 12.5 11.86C12.5 13.33 12.19 14.69 11.53 15.94M14.68 17.35L13.31 16.65C14.1 15.11 14.5 13.57 14.5 12S14.1 8.87 13.31 7.31L14.68 6.65C15.55 8.43 16 10.22 16 12C16 13.82 15.55 15.6 14.68 17.35Z" />
</svg>
Contact
</li>
<li class="menuitem" id="support">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="width: 26px; margin-right: 10px;">
<title>Support</title>
<path fill="#fff" d="M18.72,14.76C19.07,13.91 19.26,13 19.26,12C19.26,11.28 19.15,10.59 18.96,9.95C18.31,10.1 17.63,10.18 16.92,10.18C13.86,10.18 11.15,8.67 9.5,6.34C8.61,8.5 6.91,10.26 4.77,11.22C4.73,11.47 4.73,11.74 4.73,12A7.27,7.27 0 0,0 12,19.27C13.05,19.27 14.06,19.04 14.97,18.63C15.54,19.72 15.8,20.26 15.78,20.26C14.14,20.81 12.87,21.08 12,21.08C9.58,21.08 7.27,20.13 5.57,18.42C4.53,17.38 3.76,16.11 3.33,14.73H2V10.18H3.09C3.93,6.04 7.6,2.92 12,2.92C14.4,2.92 16.71,3.87 18.42,5.58C19.69,6.84 20.54,8.45 20.89,10.18H22V14.67H22V14.69L22,14.73H21.94L18.38,18L13.08,17.4V15.73H17.91L18.72,14.76M9.27,11.77C9.57,11.77 9.86,11.89 10.07,12.11C10.28,12.32 10.4,12.61 10.4,12.91C10.4,13.21 10.28,13.5 10.07,13.71C9.86,13.92 9.57,14.04 9.27,14.04C8.64,14.04 8.13,13.54 8.13,12.91C8.13,12.28 8.64,11.77 9.27,11.77M14.72,11.77C15.35,11.77 15.85,12.28 15.85,12.91C15.85,13.54 15.35,14.04 14.72,14.04C14.09,14.04 13.58,13.54 13.58,12.91A1.14,1.14 0 0,1 14.72,11.77Z" />
</svg>
Support
</li>
<li class="menuitem" id="faq">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="width: 26px; margin-right: 10px;">
<title>Faq</title>
<path fill="#fff" d="M18,15H6L2,19V3A1,1 0 0,1 3,2H18A1,1 0 0,1 19,3V14A1,1 0 0,1 18,15M23,9V23L19,19H8A1,1 0 0,1 7,18V17H21V8H22A1,1 0 0,1 23,9M8.19,4C7.32,4 6.62,4.2 6.08,4.59C5.56,5 5.3,5.57 5.31,6.36L5.32,6.39H7.25C7.26,6.09 7.35,5.86 7.53,5.7C7.71,5.55 7.93,5.47 8.19,5.47C8.5,5.47 8.76,5.57 8.94,5.75C9.12,5.94 9.2,6.2 9.2,6.5C9.2,6.82 9.13,7.09 8.97,7.32C8.83,7.55 8.62,7.75 8.36,7.91C7.85,8.25 7.5,8.55 7.31,8.82C7.11,9.08 7,9.5 7,10H9C9,9.69 9.04,9.44 9.13,9.26C9.22,9.08 9.39,8.9 9.64,8.74C10.09,8.5 10.46,8.21 10.75,7.81C11.04,7.41 11.19,7 11.19,6.5C11.19,5.74 10.92,5.13 10.38,4.68C9.85,4.23 9.12,4 8.19,4M7,11V13H9V11H7M13,13H15V11H13V13M13,4V10H15V4H13Z" />
</svg>
Faq
</li>
<li class="menuitem" id="privacy">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" style="width: 26px; margin-right: 10px;">
<title>Privacy</title>
<path fill="#fff" d="M6 8C6 5.79 7.79 4 10 4S14 5.79 14 8 12.21 12 10 12 6 10.21 6 8M12 18.2C12 17.24 12.5 16.34 13.2 15.74V15.5C13.2 15.11 13.27 14.74 13.38 14.38C12.35 14.14 11.21 14 10 14C5.58 14 2 15.79 2 18V20H12V18.2M22 18.3V21.8C22 22.4 21.4 23 20.7 23H15.2C14.6 23 14 22.4 14 21.7V18.2C14 17.6 14.6 17 15.2 17V15.5C15.2 14.1 16.6 13 18 13C19.4 13 20.8 14.1 20.8 15.5V17C21.4 17 22 17.6 22 18.3M19.5 15.5C19.5 14.7 18.8 14.2 18 14.2C17.2 14.2 16.5 14.7 16.5 15.5V17H19.5V15.5Z" />
</svg>
Privacy
</li>
<script>
about.addEventListener('click', function() {
window.location.href = 'about';
});
contact.addEventListener('click', function() {
window.location.href = 'contact';
});
support.addEventListener('click', function() {
window.location.href = 'support';
});
faq.addEventListener('click', function() {
window.location.href = 'faq';
});
privacy.addEventListener('click', function() {
window.location.href = 'privacy';
});
</script>
</ul>
</div>
</div>
<header>
<div class="card mb-3 first" style="border-radius: 0px; padding-bottom: 15%;" id="bgbg">
<div class="row g-0">
<div class="col-md-4">
<img loading="lazy" src="backgrounds/a1.jpg" class="rounded mx-auto d-block img-fluid" alt="Logo" width="500">
</div>
<div class="col-md-8">
<div class="card-body">
<h1 class="card-title">Lorem ipsum dolor</h1>
<p class="card-text">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc quis neque id libero bibendum posuere a ut nunc. Nam egestas dictum velit, eu lacinia nulla ultricies nec.
<br><br>Donec imperdiet orci ac est molestie pretium. Integer vitae vulputate libero. Sed vulputate et diam eu aliquet. </p>
</div>
</div>
</div>
</div>
<div class="card-group" style="margin-top: -15%; padding: 5%;">
<div class="card asd" style="border-radius: 10px; margin: 5px; background: transparent;">
<div class="card-body">
<img loading="lazy" src="backgrounds/a1.jpg" class="rounded mx-auto d-block img-fluid" alt="" width="500">
<h5 class="card-title"></h5>
</div>
</div>
<div class="card asd" style="border-radius: 10px; margin: 5px; background: transparent;">
<div class="card-body">
<img loading="lazy" src="backgrounds/a2.jpg" class="rounded mx-auto d-block img-fluid" alt="" width="500">
<h5 class="card-title"></h5>
</div>
</div>
<div class="card asd" style="border-radius: 10px; margin: 5px; background: transparent;">
<div class="card-body">
<img loading="lazy" src="backgrounds/a3.jpg" class="rounded mx-auto d-block img-fluid" alt="" width="500">
<h5 class="card-title"></h5>
</div>
</div>
</div>
</header>
<div class="lux">
<h2 class="text-center">Available Rooms</h2>
<br>
<div class="card-group">
<div class="card asd qwer" style="border-radius: 10px;">
<div class="card-body">
<img loading="lazy" src="backgrounds/a1.jpg" class="rounded mx-auto d-block img-fluid" alt="" width="400">
<h5 class="card-title"></h5>
<p class="card-text"><small class="text-muted">2 Bedrooms · New York</small></p>
</div>
</div>
<div class="card asd qwer" style="border-radius: 10px;">
<div class="card-body">
<img loading="lazy" src="backgrounds/a2.jpg" class="rounded mx-auto d-block img-fluid" alt="" width="400">
<h5 class="card-title"></h5>
<p class="card-text"><small class="text-muted">3 Bedrooms · San Fransico</small></p>
</div>
</div>
<div class="card asd qwer" style="border-radius: 10px;">
<div class="card-body">
<img loading="lazy" src="backgrounds/a3.jpg" class="rounded mx-auto d-block img-fluid" alt="" width="400">
<h5 class="card-title"></h5>
<p class="card-text"><small class="text-muted">1 Bedroom · New York</small></p>
</div>
</div>
</div>
<div class="card-group">
<div class="card asd qwer" style="border-radius: 10px;">
<div class="card-body">
<img loading="lazy" src="backgrounds/a4.jpg" class="rounded mx-auto d-block img-fluid" alt="" width="400">
<h5 class="card-title"></h5>
<p class="card-text"><small class="text-muted">2 Bedrooms · New York</small></p>
</div>
</div>
<div class="card asd qwer" style="border-radius: 10px;">
<div class="card-body">
<img loading="lazy" src="backgrounds/a5.jpg" class="rounded mx-auto d-block img-fluid" alt="" width="400">
<h5 class="card-title"></h5>
<p class="card-text"><small class="text-muted">2 Bedrooms · Washington DC</small></p>
</div>
</div>
<div class="card asd qwer" style="border-radius: 10px;">
<div class="card-body">
<img loading="lazy" src="backgrounds/a6.jpg" class="rounded mx-auto d-block img-fluid" alt="" width="400">
<h5 class="card-title"></h5>
<p class="card-text"><small class="text-muted">1 Bedroom · California</small></p>
</div>
</div>
</div>
<div class="card-group">
<div class="card asd qwer" style="border-radius: 10px;">
<div class="card-body">
<img loading="lazy" src="backgrounds/a7.jpg" class="rounded mx-auto d-block img-fluid" alt="" width="400">
<h5 class="card-title"></h5>
<p class="card-text"><small class="text-muted">3 Bedrooms · California</small></p>
</div>
</div>
<div class="card asd qwer" style="border-radius: 10px;">
<div class="card-body">
<img loading="lazy" src="backgrounds/a8.jpg" class="rounded mx-auto d-block img-fluid" alt="" width="400">
<h5 class="card-title"></h5>
<p class="card-text"><small class="text-muted">2 Bedrooms · New York</small></p>
</div>
</div>
<div class="card asd qwer" style="border-radius: 10px;">
<div class="card-body">
<img loading="lazy" src="backgrounds/a9.jpg" class="rounded mx-auto d-block img-fluid" alt="" width="400">
<h5 class="card-title"></h5>
<p class="card-text"><small class="text-muted">2 Bedrooms · New York</small></p>
</div>
</div>
</div>
</div>
</main>
<footer class="footer mt-auto text-center mt-4">
<a href="#" style="padding-left: 2px; padding-right: 2px;" target="_blank">
<svg style="width:24px;height:24px" viewBox="0 0 24 24">
<title>Facebook</title>
<path fill="#484848" d="M12 2.04C6.5 2.04 2 6.53 2 12.06C2 17.06 5.66 21.21 10.44 21.96V14.96H7.9V12.06H10.44V9.85C10.44 7.34 11.93 5.96 14.22 5.96C15.31 5.96 16.45 6.15 16.45 6.15V8.62H15.19C13.95 8.62 13.56 9.39 13.56 10.18V12.06H16.34L15.89 14.96H13.56V21.96A10 10 0 0 0 22 12.06C22 6.53 17.5 2.04 12 2.04Z" />
</svg>
</a>
<a href="#" style="padding-left: 2px; padding-right: 2px;" target="_blank">
<svg style="width:24px;height:24px" viewBox="0 0 24 24">
<title>Instagram</title>
<path fill="#484848" d="M7.8,2H16.2C19.4,2 22,4.6 22,7.8V16.2A5.8,5.8 0 0,1 16.2,22H7.8C4.6,22 2,19.4 2,16.2V7.8A5.8,5.8 0 0,1 7.8,2M7.6,4A3.6,3.6 0 0,0 4,7.6V16.4C4,18.39 5.61,20 7.6,20H16.4A3.6,3.6 0 0,0 20,16.4V7.6C20,5.61 18.39,4 16.4,4H7.6M17.25,5.5A1.25,1.25 0 0,1 18.5,6.75A1.25,1.25 0 0,1 17.25,8A1.25,1.25 0 0,1 16,6.75A1.25,1.25 0 0,1 17.25,5.5M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9Z" />
</svg>
</a>
<a href="#" style="padding-left: 2px; padding-right: 2px;" target="_blank">
<svg style="width:24px;height:24px" viewBox="0 0 24 24">
<title>Pinterest</title>
<path fill="#484848" d="M9.04,21.54C10,21.83 10.97,22 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2A10,10 0 0,0 2,12C2,16.25 4.67,19.9 8.44,21.34C8.35,20.56 8.26,19.27 8.44,18.38L9.59,13.44C9.59,13.44 9.3,12.86 9.3,11.94C9.3,10.56 10.16,9.53 11.14,9.53C12,9.53 12.4,10.16 12.4,10.97C12.4,11.83 11.83,13.06 11.54,14.24C11.37,15.22 12.06,16.08 13.06,16.08C14.84,16.08 16.22,14.18 16.22,11.5C16.22,9.1 14.5,7.46 12.03,7.46C9.21,7.46 7.55,9.56 7.55,11.77C7.55,12.63 7.83,13.5 8.29,14.07C8.38,14.13 8.38,14.21 8.35,14.36L8.06,15.45C8.06,15.62 7.95,15.68 7.78,15.56C6.5,15 5.76,13.18 5.76,11.71C5.76,8.55 8,5.68 12.32,5.68C15.76,5.68 18.44,8.15 18.44,11.43C18.44,14.87 16.31,17.63 13.26,17.63C12.29,17.63 11.34,17.11 11,16.5L10.33,18.87C10.1,19.73 9.47,20.88 9.04,21.57V21.54Z" />
</svg>
</a>
<a href="#" style="padding-left: 2px; padding-right: 2px;" target="_blank">
<svg style="width:24px;height:24px" viewBox="0 0 24 24">
<title>Twitter</title>
<path fill="#484848" d="M22.46,6C21.69,6.35 20.86,6.58 20,6.69C20.88,6.16 21.56,5.32 21.88,4.31C21.05,4.81 20.13,5.16 19.16,5.36C18.37,4.5 17.26,4 16,4C13.65,4 11.73,5.92 11.73,8.29C11.73,8.63 11.77,8.96 11.84,9.27C8.28,9.09 5.11,7.38 3,4.79C2.63,5.42 2.42,6.16 2.42,6.94C2.42,8.43 3.17,9.75 4.33,10.5C3.62,10.5 2.96,10.3 2.38,10C2.38,10 2.38,10 2.38,10.03C2.38,12.11 3.86,13.85 5.82,14.24C5.46,14.34 5.08,14.39 4.69,14.39C4.42,14.39 4.15,14.36 3.89,14.31C4.43,16 6,17.26 7.89,17.29C6.43,18.45 4.58,19.13 2.56,19.13C2.22,19.13 1.88,19.11 1.54,19.07C3.44,20.29 5.7,21 8.12,21C16,21 20.33,14.46 20.33,8.79C20.33,8.6 20.33,8.42 20.32,8.23C21.16,7.63 21.88,6.87 22.46,6Z" />
</svg>
</a>
<a href="#" style="padding-left: 2px; padding-right: 2px;" target="_blank">
<svg style="width:24px;height:24px" viewBox="0 0 24 24">
<title>Github</title>
<path fill="#484848" d="M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z" />
</svg>
</a>
<a href="#" style="padding-left: 2px; padding-right: 2px;" target="_blank">
<svg style="width:24px;height:24px" viewBox="0 0 24 24">
<title>LinkedIn</title>
<path fill="#484848" d="M19 3A2 2 0 0 1 21 5V19A2 2 0 0 1 19 21H5A2 2 0 0 1 3 19V5A2 2 0 0 1 5 3H19M18.5 18.5V13.2A3.26 3.26 0 0 0 15.24 9.94C14.39 9.94 13.4 10.46 12.92 11.24V10.13H10.13V18.5H12.92V13.57C12.92 12.8 13.54 12.17 14.31 12.17A1.4 1.4 0 0 1 15.71 13.57V18.5H18.5M6.88 8.56A1.68 1.68 0 0 0 8.56 6.88C8.56 5.95 7.81 5.19 6.88 5.19A1.69 1.69 0 0 0 5.19 6.88C5.19 7.81 5.95 8.56 6.88 8.56M8.27 18.5V10.13H5.5V18.5H8.27Z" />
</svg>
</a>
<a href="#" style="padding-left: 2px; padding-right: 2px;" target="_blank">
<svg style="width:24px;height:24px" viewBox="0 0 24 24">
<title>Youtube</title>
<path fill="#484848" d="M10,15L15.19,12L10,9V15M21.56,7.17C21.69,7.64 21.78,8.27 21.84,9.07C21.91,9.87 21.94,10.56 21.94,11.16L22,12C22,14.19 21.84,15.8 21.56,16.83C21.31,17.73 20.73,18.31 19.83,18.56C19.36,18.69 18.5,18.78 17.18,18.84C15.88,18.91 14.69,18.94 13.59,18.94L12,19C7.81,19 5.2,18.84 4.17,18.56C3.27,18.31 2.69,17.73 2.44,16.83C2.31,16.36 2.22,15.73 2.16,14.93C2.09,14.13 2.06,13.44 2.06,12.84L2,12C2,9.81 2.16,8.2 2.44,7.17C2.69,6.27 3.27,5.69 4.17,5.44C4.64,5.31 5.5,5.22 6.82,5.16C8.12,5.09 9.31,5.06 10.41,5.06L12,5C16.19,5 18.8,5.16 19.83,5.44C20.73,5.69 21.31,6.27 21.56,7.17Z" />
</svg>
</a>
<br>
<span>© 2023 Room Rental System</span>
</footer>
<script src="js/primary.js"></script>
<script src="assets/bootstrap.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
[...document.querySelectorAll('.lux > div > div')].forEach(element => {
element.addEventListener('click', () => {
if (element.classList.contains("qwer2")) {
element.classList.remove("qwer2")
} else {
element.classList.add("qwer2")
}
});
});
});
bgbg.style.background = "url('backgrounds/a" + (Math.floor(Math.random() * (12 - 1) ) + 1) + ".jpg') no-repeat fixed center";
bgbg.style.backgroundSize = "cover";
bgbg.style.transition = "all 1s ease";
</script>
</body>
</html>
<?php
include("include/connections.php");
?>