-
Notifications
You must be signed in to change notification settings - Fork 0
/
gallery.php
42 lines (34 loc) · 1.24 KB
/
gallery.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
<?php
$pageId = 8;
$activePage = 'gallery';
// load config file
require_once("./config.php");
// setup database connection
require_once(BACKEND_PATH . "/db.php");
$conn = connectDatabase($db);
// render header and navigation
require_once(TEMPLATES_PATH . "/header.php");
require_once(TEMPLATES_PATH . "/navigation.php");
?>
<!-- Image-based header -->
<header class="full-width-block parallax d-flex align-items-center" style="background-image: url('/resources/images/design/gallery-header.jpg'); background-position: top;"
data-paroller-factor="0.3">
<div class="container">
<div class="row">
<div class="col-lg-12">
<h1 class="text-white text-uppercase">Explore GreenEarth</h1>
<p class="text-white text-uppercase">GreenEarth Foundation at work</p>
</div>
</div>
</div>
</header>
<?php require_once(TEMPLATES_PATH . "/gallery-images.php"); ?>
<?php require_once(TEMPLATES_PATH . "/gallery-videos.php"); ?>
<?php
// render donation block
require_once(TEMPLATES_PATH . "/donate.php");
// render footer
require_once(TEMPLATES_PATH . "/footer.php");
// close database connection
closeConection($conn);
?>