forked from deve-sh/Permit-System
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
44 lines (44 loc) · 870 Bytes
/
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
<?php
session_start(); // Start a new session.
require_once('inc/checker.php');
require_once('inc/config.php'); // Configuration for the web app.
?>
<!DOCTYPE html>
<html>
<head>
<title>
<?php
if(isset($config['appname']))
echo $config['appname'];
else
echo "Permit System";
?>
</title>
<?php
require_once('inc/styles.html');
?>
</head>
<body>
<div id='root' class='container-fluid'>
<div class='indexone main'>
<?php include './header.php'; ?>
<div class="container">
<div class='indexheading'>
<?php
if(isset($config['appname']))
echo $config['appname'];
else
echo "Permit System";
?>
</div>
<br/>
<div align="center">
<a href="./apply.php"><button class="button">Apply For a Permit</button></a>
</div>
<br/>
<br/>
</div>
</div>
</div>
</body>
</html>