-
Notifications
You must be signed in to change notification settings - Fork 0
/
failure.php
36 lines (36 loc) · 844 Bytes
/
failure.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
<?php
session_start();
?>
<!DOCTYPE html>
<html>
<head><title>Fail</title>
<link rel="stylesheet" type="text/css" href="navbar.css" />
<link rel="stylesheet" type="text/css" href="failure.css" />
</head>
<body>
<nav>
<ul class="navigation">
<?php
if(isset($_SESSION["logged"])){
echo '<li><a href="choice.php">Home</a></li>';
}
else{
echo '<li><a href="home.php">Home</a></li>';
}
?>
<li><a href="contact.php">Contact</a></li>
<li><a href="about.php">About</a></li>
<li><a href="login.php">Login</a></li>
<li><a href="signup.php">Signup</a></li>
<?php
if(isset($_SESSION["logged"])){
echo '<li style="float:right"><a href="logout.php">Logout</a></li>';
}
?>
</ul>
</nav>
<div class="already">
<p class="center"> Authentication has failed! </p>
</div>
</body>
</html>