-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
63 lines (51 loc) · 1.99 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
<?php
//connect to mysql
include_once "includes/mysql_connection.php";
//get page settings
include_once "includes/get_settings.php";
$settings = loadSettings($conn);
?>
<!doctype html>
<html>
<head>
<title><?php echo($settings["page_title"]); ?></title>
<link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16" />
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<!-- Custom styles for this template -->
<link href="./css/common.css" rel="stylesheet">
<!-- Page specific CSS -->
<link href="./css/index.css" rel="stylesheet">
</head>
<body>
<div class="site-wrapper">
<div class="site-wrapper-inner">
<div class="masthead clearfix mb-auto">
<div class="container inner">
<h3 class="masthead-brand"><?php echo($settings["navbar_brand"]); ?></h3>
<nav class="masthead-nav">
<ul class="nav masthead-nav">
<li class="nav-link active"><a href="#">Home</a></li>
<li class="nav-link"><a href="./projects.php">Projects</a></li>
</ul>
</nav>
</div>
</div>
<div class="container">
<div class="inner cover">
<img class="homepage-image" alt="ADT Logo" title="ADT Logo" src="/img/logo.svg">
<p class="lead"><?php echo($settings["homepage_text"]); ?></p>
<p class="lead projects-button">
<a href="./projects.php" class="btn btn-lg btn-secondary">Our Projects</a>
</p>
</div>
</div>
</div>
</div>
<!-- jquery, Bootstrap & Popper JS-->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
</body>
</html>