-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsuccess.php
More file actions
91 lines (84 loc) · 4.26 KB
/
success.php
File metadata and controls
91 lines (84 loc) · 4.26 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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CampusConnect <Details></Details></title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="success.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/2.9.2/umd/popper.min.js" integrity="sha512-2rNj2KJ+D8s1ceNasTIex6z4HWyOnEYLVC3FigGOmyQCZc2eBXKgOxQmo3oKLHyfcj53uz4QMsRCWNbLd32Q1g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<!-- <script src="jquery-3.7.1.min.js"></script> -->
<script src="jquery.js"></script>
</head>
<body>
<header>
<div class="navbar">
<div class="nav-logo">
<div class="logo"></div>
<div class="logo-text">
<p class="nav-logo-name">CAMPUS CONNECT</p>
<p class="nav-logo-tagline">UNLOCK YOUR FUTURE</p>
</div>
</div>
<div class="email-user-display" style="margin-left: 800px;">
<p id="msg"></p>
</div>
<div class="nav-btn-box">
<button class="btn" type="button" id="signOutBtn">Sign Out</button>
</div>
</div>
</header>
<main>
<div class="container">
<h2>Congratulations!</h2>
<p>Dear Student,</p>
<p>Thank you for taking the first step towards your career path by applying through CampusConnect. Your application has been submitted successfully.</p>
<p>We believe you have made the right decision by choosing CampusConnect. We are dedicated to helping you achieve your academic and career goals.</p>
<p>You will shortly hear from your college regarding the further steps in the application process. Meanwhile, feel free to explore more about our programs and campus life on our website.</p>
<p>Best regards,</p>
<p>The CampusConnect Team</p>
<i class="fa-regular fa-face-smile-wink"></i>
</div>
</main>
<footer>
<div class="foot-top">
<a class="going-top" href="#" style="text-decoration: none; color:aliceblue">Back to top <i class="fa-solid fa-angles-up"></i></a>
</div>
<div class="foot-options">
<ul>
<a href="#" style="text-decoration: none; color:aliceblue"> Legal disclosure</a>
<a href="#" style="text-decoration: none; color:aliceblue"> Terms and Conditions</a>
<a href="#" style="text-decoration: none; color:aliceblue"> Privacy Policy</a>
<a href="#" style="text-decoration: none; color:aliceblue"> Contact Us</a>
</ul>
<p>© 2025 CampusConnect</p>
</div>
</footer>
<script>
let signOutBtn=document.getElementById('signOutBtn');
let Signout=()=>{
sessionStorage.removeItem("user-creds");
window.location.href='login.html';
}
signOutBtn.addEventListener('click',Signout);
</script>
<script>
let userCreds=JSON.parse(sessionStorage.getItem("user-creds"));
let msg=document.getElementById('msg');
let CheckCreds=()=>{
if(!sessionStorage.getItem("user-creds")){
// window.location.href='index.html';
console.log("could not fetch user email");
}
else{
msg.innerText= `${userCreds.email}`;
}
}
window.addEventListener('load', CheckCreds);
</script>
</body>
</html>