-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlog_in_confirmation.php
76 lines (64 loc) · 1.68 KB
/
log_in_confirmation.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
64
65
66
67
68
69
70
71
72
73
74
75
76
<!-- Nicholas MacFarland
03/04/20
CSIS 474-B01
Log In Confirmation Page
Description:
This is the "Log In Confirmation" page of the site that
lets you know that you've been logged into the site.
-->
<?php
session_start(); /* Starts the session */
if (!isset($_SESSION['username']))
{
if (!isset($_SESSION['password']))
{
header("Refresh:5;url=LogIn.php");
echo "<h1>Please go and log in first before entering site, <br> you will be redirected in 5 seconds to the log-in screen.</h1>";
exit;
}
}
?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="TennisHubb.css">
<link rel="stylesheet" type="text/css" href="Top_Menu_Navigation.css">
<div class="title">
<title>
TENNIS HUBB SITE
</title>
TENNIS HUBB
</div>
</head>
<hr>
<div class="topnav">
<a href="index.php">Home</a>
<a href="Shop.php">Shop</a>
<a href="Contact.php">Contact</a>
<a href="Shopping_Cart.php">Shopping Cart</a>
<a href="logout.php" onclick=" return confirm('Are You sure you want to logout?');">Log-out</a>
</div>
<hr>
<body>
<div class="log_in_confirmation">
<h1>
<br>
Welcome to the Tennis Hubb Site!!
<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<br>
Go ahead and look around on the site by clicking around in the top menu
<br>
on each page.
<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<br>
If you want to log out, click log out!
<br><br>
</h1>
</div>
</body>
<?php
include "footer.php";
?>
</html>