-
Notifications
You must be signed in to change notification settings - Fork 0
/
store.php
45 lines (36 loc) · 1.2 KB
/
store.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
<?php
$pageId = 10;
$activePage = 'store';
// 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/store-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">Merchandise</h1>
<p class="text-white text-uppercase">Pledge your support by buying something cool</p>
</div>
</div>
</div>
</header>
<?php
// render store items
require_once(TEMPLATES_PATH . "/store.php");
?>
<?php
// render donation block
require_once(TEMPLATES_PATH . "/donate.php");
// render footer
require_once(TEMPLATES_PATH . "/footer.php");
// close database connection
closeConection($conn);
?>