-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
41 lines (34 loc) · 1.29 KB
/
index.php
File metadata and controls
41 lines (34 loc) · 1.29 KB
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
<!DOCTYPE html>
<!--Authors: 26290515, 26795528, 27417888, 40039346-->
<html>
<head>
<?php if (session_status() == PHP_SESSION_NONE) { session_start(); } ?>
<title> Home </title>
<!-- This section is for the Head -->
<?php include($_SERVER['DOCUMENT_ROOT'] . '/comp353-project/public/view/include/Head.php'); ?>
</head>
<body>
<!-- Page Content -->
<!-- This Section is for the Navigation file -->
<?php include($_SERVER['DOCUMENT_ROOT'] . '/comp353-project/public/view/include/Header.php'); ?>
<!-- INCLUDE CONTENT OF PAGE HERE -->
<div class="site-wrapper" id="page-content-wrapper">
<div class="site-wrapper-inner">
<div class="cover-container">
<div class="inner cover">
<h1 class="cover-heading">Welcome to SUPER!</h1>
<p class="lead">Your best option for ride-sharing.</p>
<p class="lead">
<a href="/comp353-project/public/view/main/Sign_up.php" class="btn btn-lg btn-default">Get started</a>
</p>
</div>
</div>
<?php
if (!empty($_GET['alert'])) {
echo '<div class="row" style="background-color:orange; height:100px;margin-top:50px;"><h4>Alert: ' . $_GET['alert'] . '</h4></div>';
}
?>
</div>
</div>
</body>
</html>