-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathresponse_success.php
45 lines (42 loc) · 1.23 KB
/
response_success.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
<?php
session_start();
if(isset($_SESSION['username']) && isset($_SESSION['responder'])){
$username = $_SESSION['username'];
$respondant = $_SESSION['responder'];
}
else{
header("Location: signup.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/response_success.css">
<title>Response Success</title>
<link rel="shortcut icon" type="image/png" href="favicon.png"/>
</head>
<body>
<nav id="navbar">
<h1 class="logo"><a href=project.html>Secret Talk</a></h1>
<ul>
<li><a href="index.php">Sign Up</a></li>
<li><a href="login.php">Sign In</a></li>
<li><a href="contact.php">Contact</a></li>
</ul>
</nav>
<div class="container">
<div class="box">
<div class="content-box">
<h2>CHEERS <?php echo $respondant; ?>! YOU HAVE WRITTEN TO <?php echo $username; ?>'S SCRAPBOOK</h2>
</div>
</div>
</div>
<footer id="main-footer">
<div class="footer">
<a href="#" id="pp">Privacy Policy</a>
<a href="#" id="tt">Terms of Use</a>
</div>
</body>
</html>