-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
50 lines (41 loc) · 1.22 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
<?php
// set the connection object and start the session;
require("includes/common.php");
// Redirects the user to Dashboard page if he/she is logged in.
if (isset($_SESSION['user_id'])) {
header('location: dashboard.php');
}
// Using the global variable for storing the page name, to use in the navbar.
$pageName = "index";
?>
<!DOCTYPE html>
<html lang="en">
<?php include "includes/headTag.php"; ?>
<body style="padding-top: 50px;">
<!-- Header -->
<?php
include 'includes/header.php';
?>
<!--Header end-->
<div id="content">
<!--Main banner image-->
<div id="banner_image">
<div class="container">
<center>
<div id="banner_content">
<h1>We help you control your budget</h1>
<br />
<a href="login.php" class="btn btn-success btn-lg btnNewPlan">Start Today</a>
</div>
</center>
</div>
</div>
<!--Main banner image end-->
</div>
<!--Footer-->
<?php
include 'includes/footer.php';
?>
<!--Footer end-->
</body>
</html>