-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.php
466 lines (395 loc) · 16.7 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
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
<?php include "includes/db.php"; ?>
<?php
session_start();
ob_start();
if (isset($_SESSION['loggedin']) && $_SESSION['loggedin'] == true) {
$loggedin = true;
$userId = $_SESSION['userId'];
$pusername = $_SESSION['pusername'];
} else {
$loggedin = false;
$userId = 0;
}
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET, POST');
header("Access-Control-Allow-Headers: X-Requested-With");
?>
<!DOCTYPE HTML>
<!--
Landed by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Home | The City of Las Piñas</title>
<link rel="shortcut icon" type="image icon" href="https://res.cloudinary.com/sarabgi/image/upload/v1688669789/Assets/lplogo_bje93b.png">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<link rel="stylesheet" href="./Assets/css/mainn.css" />
<noscript>
<link rel="stylesheet" href="./Assets/css/noscript.css" />
</noscript>
<style>
a,
.vt {
color: #000;
}
/* =======PARTICLES BACKGROUND========= */
body .vertical-centered-box {
position: absolute;
text-align: center;
z-index: -1;
}
body .vertical-centered-box:after {
content: "";
display: inline-block;
vertical-align: middle;
}
body .vertical-centered-box .content {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
vertical-align: middle;
text-align: left;
font-size: 0;
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
#particles-background,
#particles-foreground {
left: -51%;
top: -51%;
width: 200%;
height: 195%;
-webkit-transform: scale3d(0.5, 0.5, 1);
-moz-transform: scale3d(0.5, 0.5, 1);
-ms-transform: scale3d(0.5, 0.5, 1);
-o-transform: scale3d(0.5, 0.5, 1);
transform: scale3d(0.5, 0.5, 1);
z-index: -1;
}
#particles-background {
background: url(https://res.cloudinary.com/sarabgi/image/upload/v1669228481/index/banner_voxu3d.jpg);
background-size: cover;
background-repeat: no-repeat;
background-position: center;
opacity: 0.1;
}
</style>
</head>
<body class="is-preload landing">
<div id="page-wrapper">
<?php include "public_users/_loginModal.php"; ?>
<?php include "public_users/_signupModal.php"; ?>
<header id="header">
<img src="./Assets/images/lplogo.png" alt="">
<h1 id="logo"><a href="index.html"> </a></h1>
<?php
if ($loggedin) {
echo '
<nav id="nav">
<ul>
<!--<li><a href="#" id="nightm">Night Mode</a></li>-->
<li>
<a href="#">Menu</a>
<ul>
<li><a href="programservice.html">Program and Services</a></li>
<li><a href="gallery.php">Gallery</a></li>
<li><a href="contact_us.html">Contact</a></li>
<li>
<a href="#">News and Lifestyle</a>
<ul>
<li><a href="news.php">News</a></li>
<li><a href="lifestyles/lifestyle.php">Lifestyle</a></li>
<li><a href="virtualtour/virtualtour.php">Virtual Tour</a></li>
</ul>
</li>
</ul>
</li>
<li><a href="virtualtour/virtualtour.php">Virtual Tour</a></li>
<li>
<h4><a href="#">Welcome ' . $pusername . '!</a></h4>
<ul>
<li><a href="public_users/viewProfile.php?uid=' . $userId . '">View Profile</a></li>
<li><a href="public_users/_logout.php">Logout</a></li>
</ul>
</li>
</ul>
</nav>
';
} else {
echo '<nav id="nav">
<ul>
<a type="submit" class="btn btn-link" data-toggle="modal" data-target="#loginModal">Menu</a>
<a type="submit" class="btn btn-link " data-toggle="modal" data-target="#loginModal" >Virtual Tour</a>
<button type="button" class="btn btn-warning mx-2" data-toggle="modal" data-target="#loginModal">Login</button>
<button type="button" class="btn btn-warning mx-2" data-toggle="modal" data-target="#signupModal">SignUp</button>
</ul>
</nav>';
}
?>
</ul>
<?php
if (isset($_GET['signupsuccess']) && $_GET['signupsuccess'] == "true") {
echo '<div class="alert alert-success alert-dismissible fade show text-center" role="alert">
<strong>Success!</strong> You can now login.
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span></button>
</div>';
}
if (isset($_GET['error']) && $_GET['signupsuccess'] == "false") {
echo '<div class="alert alert-warning alert-dismissible fade show text-center" role="alert">
<strong>Warning!</strong> ' . $_GET['error'] . '
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span></button>
</div>';
}
if (isset($_GET['loginsuccess']) && $_GET['loginsuccess'] == "true") {
echo '<div class="alert alert-success alert-dismissible fade show text-center" role="alert">
<strong>Success!</strong> You are logged in
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span></button>
</div>';
}
if (isset($_GET['loginsuccess']) && $_GET['loginsuccess'] == "false") {
echo '<div class="alert alert-warning alert-dismissible fade show text-center" role="alert">
<strong>Warning!</strong> Invalid Credentials
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span></button>
</div>';
} ?>
</header>
<!-- Banner -->
<section id="banner">
<div class="content">
<div class="loader-container">
<div id="particles-background" class="vertical-centered-box"></div>
<div id="particles-foreground" class="vertical-centered-box"></div>
<div class="vertical-centered-box">
<div class="content">
</div>
</div>
</div>
<header>
<h2>The City of Las Piñas</h2>
<p>Discover the Culture and Heritage</p>
<a href="#one">
See More
</a>
</header>
<audio id="speech">
<source src="homepage.mp3">
</audio>
<script>
window.addEventListener('DOMContentLoaded', function() {
var audio = document.getElementById("speech");
var playLink = document.getElementById("playLink");
playLink.addEventListener('click', function(event) {
event.preventDefault();
audio.play();
});
});
</script>
<a href="#" id="playLink" style="text-decoration: undecor;"><span class="image"><img src="https://res.cloudinary.com/sarabgi/image/upload/v1688669178/Assets/pic01_1_xytisw.jpg" alt="" /></span></a>
</div>
<a href="#one" class="goto-next scrolly">Next</a>
<div class="col">
<img class="img-fluid" src="https://res.cloudinary.com/sarabgi/image/upload/c_crop,h_983,w_1920,x_0,y_279/v1688645782/mayoragifff_jnbjik.gif" alt="" width="1920" height="1080">
</div>
<!--<iframe width="1920" height="500" allowfullscreen src="https://v3d.net/cfn"></iframe>-->
</section>
<!-- One -->
<section id="one" class="spotlight style1 bottom">
<span class="image fit main"><img src="https://res.cloudinary.com/sarabgi/image/upload/v1688669188/Assets/pic02_1_qpaeva.jpg" alt="" /></span>
<div class="content">
<div class="container">
<div class="row">
<div class="col-4 col-12-medium">
<header>
<h2>About Las Piñas</h2>
<p>From its days as the salt center of Manila to its bright present as a rapidly
urbanizing residential-commercial center, Las Piñas has indeed come a long way.</p>
</header>
</div>
<div class="col-4 col-12-medium">
<p>Known nationwide for its bamboo organ, salt beds, and jeepney factories, Las Piñas is
distinguished as one of Metro Manila’s fastest-growing communities. Continued economic
growth, coupled with effective local governance, have earned Las Piñas the distinction
of being Metro Manila’s cleanest and most peaceful city for three years straight.</p>
</div>
<div class="col-4 col-12-medium">
<p>With the construction of the South Super Highways in the 1960s, Las Piñas became a
first-class municipality. For urbanites wanting to escape the congestion of Greater
Manila’s inner cities, it became a welcome alternative, whether for residence or
business.</p>
</div>
</div>
</div>
</div>
<a href="#two" class="goto-next scrolly">Next</a>
</section>
<!-- Two -->
<section id="two" class="spotlight style2 right">
<span class="image fit main"><img src="https://res.cloudinary.com/sarabgi/image/upload/v1688669181/Assets/pic03_ykqoxz.jpg" alt="" /></span>
<div class="content">
<header>
<h2>Announcements, News, Articles and Comments</h2>
<p>In this area, anything that occurs in Las Piñas will be reported.</p>
</header>
<p>Here you can find recent news and articles regarding events in Las Piñas. Please feel free to check Las piñas activities, programs, developments, calamities, and incidents.</p>
<ul class="actions">
<?php
if ($loggedin) {
echo '<li><a href="news.php" class="button">Learn More</a></li>';
} else {
echo '<li><button class="btn btn-outline-warning" data-toggle="modal" data-target="#loginModal">Learn More</button></li>';
}
?>
</ul>
</div>
<a href="#three" class="goto-next scrolly">Next</a>
</section>
<!-- Three -->
<section id="three" class="spotlight style3 left">
<span class="image fit main bottom"><img src="https://res.cloudinary.com/sarabgi/image/upload/v1688669185/Assets/pic04_jaqwbn.jpg" alt="" /></span>
<div class="content">
<header>
<h2>Lifestyle and Virtual Tour</h2>
<p>See all lifestyle in the city of Las Piñas</p>
</header>
<p>
Here you can visit well-known locations in Las Piñas. Feel free to visit and enjoy the lovely and distinctive locations that Las Piñas can provide with this fantastic 360-degree perspective..</p>
<ul class="actions">
<?php
if ($loggedin) {
echo '<li><a href="lifestyles/lifestyle.php" class="button">Learn More</a></li>';
} else {
echo '<li><a type="submit" class="btn btn-outline-warning text-dark" data-toggle="modal" data-target="#loginModal">Learn More</a></li>';
}
?>
</ul>
</div>
<a href="#four" class="goto-next scrolly">Next</a>
</section>
<!-- Four -->
<section id="four" class="wrapper style1 special fade-up">
<div class="container">
<header class="major">
<h2>Vision, Mission, Goal</h2>
<h3>Vision</h3>
<p>
Las Piñas is envisioned to be a progressive city and responsive to the needs of its residents
but remain a caring, warm community that is ideal for raising families.
The city is a “Home”, as exemplified by its official logo where a mother and child live safely
inside a dwelling, in the middle of “modern progress, while still maintaining family and
neighborly ties”.</p>
<h3>Mission</h3>
<p>In fulfillment of this vision, the City government sees its mission as consisting of three main
streams:
First, the expansion of its public services: a clean and livable community, increasing the
access of its residents to jobs and livelihood opportunities, especially entrepreneurship and
skills development, a people- oriented and community based-health care system, free and quality
elementary to college education, youth development, legal services, socialized housing and urban
renewal, safety and security, utilities development and a strong system of physical
infrastructure to facilitate movement and circulation within and to the environs of Las Piñas to
serve the rapidly burgeoning residential and commercial areas of the city.
Second, conscious of its importance in the history and culture of Metro Manila, the “Las Piñas
Historical Corridor” was launched February 28, 1997 by then Former Senator Manny Villar, as the
centerpiece of its Tourism Master Plan. It accentuates the nationalism over time of Las Piñeros
and complements beautifully the active annual observance of critical historical events in Las
Piñas of the Revolution of 1896.
Third, Las Piñas being a city, there is also a need to respond to the call of the fast changing
times to upgrade the quality of its public service, developing its human resources and making
its services more fast and efficient down to the barangay level.</p>
</header>
<footer class="major">
<ul class="actions special">
<li><a href="singleFAQ.html" class="button">FAQ</a></li>
<li><a href="singlePublications.html" class="button">Publications</a></li>
</ul>
</footer>
</div>
</section>
<!-- Five -->
<section id="five" class="wrapper style2 special fade-up">
<div class="container">
<header>
<h2>Transparency in Government</h2>
<p>Transparency encourages accountability and informs the public about the actions of their
government. A national asset is the information that the federal government maintains.</p>
</header>
<footer class="major">
<ul class="actions special">
<li><a href="singleTransparency.html" class="button">See More</a></li>
</ul>
</footer>
</div>
</section>
<!-- Footer -->
<footer id="footer">
<ul class="icons">
<!--<li><a href="#" class="icon brands alt fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="#" class="icon brands alt fa-facebook-f"><span class="label">Facebook</span></a></li>
<li><a href="#" class="icon brands alt fa-linkedin-in"><span class="label">LinkedIn</span></a></li>
<li><a href="#" class="icon brands alt fa-instagram"><span class="label">Instagram</span></a></li>
<li><a href="#" class="icon brands alt fa-github"><span class="label">GitHub</span></a></li>
<li><a href="#" class="icon solid alt fa-envelope"><span class="label">Email</span></a></li>-->
</ul>
<ul class="copyright">
<li>© BSIS 06 GROUP 4. All rights reserved.</li>
</ul>
</footer>
<!-- Messenger Chat Plugin Code -->
<div id="fb-root"></div>
<!-- Your Chat Plugin code -->
<div id="fb-customer-chat" class="fb-customerchat">
</div>
<script>
var chatbox = document.getElementById('fb-customer-chat');
chatbox.setAttribute("page_id", "109053242246987");
chatbox.setAttribute("attribution", "biz_inbox");
</script>
<!-- Your SDK code -->
<script>
window.fbAsyncInit = function() {
FB.init({
xfbml: true,
version: 'v15.0'
});
};
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s);
js.id = id;
js.src = 'https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
</div>
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script src="https://unpkg.com/[email protected]/dist/bootstrap-show-password.min.js"></script>
<!-- Scripts -->
<script src="Assets/JS/script.js"></script>
<script src="transition.js"></script>
<script src="./Assets/JS/jquery.min.js"></script>
<script src="./Assets/JS/jquery.scrolly.min.js"></script>
<script src="./Assets/JS/jquery.dropotron.min.js"></script>
<script src="./Assets/JS/jquery.scrollex.min.js"></script>
<script src="./Assets/JS/browser.min.js"></script>
<script src="./Assets/JS/breakpoints.min.js"></script>
<script src="./Assets/JS/util.js"></script>
<script src="./Assets/JS/mainn.js"></script>
<script src="./Assets/JS/app.js"></script>
<script src="./Assets/JS/particles.js"></script>
<script src="particles.js"></script>
</body>
</html>