forked from nebulacodersin/nebulacoders
-
Notifications
You must be signed in to change notification settings - Fork 0
/
logout.html
222 lines (182 loc) · 9.6 KB
/
logout.html
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<!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="logout.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>Admin Home</title>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="sweetalert2.min.js"></script>
<link rel="stylesheet" href="sweetalert2.min.css">
</head>
<body>
<div id="loader"></div>
<div class="user" id="user">
</div>
<div class="main">
<div class="inner">
<h1>Nebula Coders</h1>
<h4>Admin Home Page</h4>
</div>
</div>
<div class="list"><a href="https://drive.google.com/uc?export=download&id=11edcY14zp8oEpkz_ZsUOe2dR1mXHEh4G" download><img src="new.gif" alt="new" width="30px"
height="30px">Download Shopping Webiste Templates Folder ZIP</a></div>
<h3>Computer Science Department</h3>
<div class="notes">
<div class="list"><a href="COA 2023.pdf" download>BEU Computer Organization and architecture 2023</a>
</div>
<div class="list"><a href="DAA 2023.pdf" download>BEU Design Analysis and Algorithm 2023</a></div>
<div class="list"><a href="Digital Electronics 2023.pdf" download>BEU Digital Electronics 2023</a></div>
<div class="list"><a href="Discrete 2023.pdf" download>BEU Discrete Mathematics 2023</a></div>
<div class="list"><a href="HRDOB 2023.pdf" download>BEU HRD&OB 2023</a></div>
<div class="list"><a href="OS 2023.pdf" download>BEU Operating Systems 2023</a></div>
<div class="list"><a href="ArtificialXintelligence 2022.pdf" download>BEU Artificial Intelligence 5th Sem 2022</a>
</div>
<div class="list"><a href="DatabaseXManagementXSystems.pdf" download>BEU Database Management 5th Sem 2022</a></div>
<div class="list"><a href="FormalXLanguageXXXAutomataXTheory.pdf" download>BEU Automata Theory 5th Sem 2022</a>
</div>
<div class="list"><a href="ProfessionalXSkillXDevelopment.pdf" download>BEU Professional Skill Development 5th Sem
2022</a></div>
<div class="list"><a href="SoftwareXEngineering.pdf" download>BEU Software Engineering 5th Sem 2022</a></div>
<div class="list"><a href="6th_Semester_Question_Paper.pdf" download>AKU 6th Sem 2021</a></div>
<div class="list"><a href="biologyX7thXsem.pdf" download>BEU Biology for Engineers 7th Sem 2022</a></div>
<div class="list"><a href="CyberXSecurityX2022.pdf" download>BEU Cyber Security 7th Sem 2022</a></div>
<div class="list"><a href="dataXscienceX7thXsem.pdf" download>BEU Data Science 7th Sem 2022</a></div>
<div class="list"><a href="SSICX7thXsem.pdf" download>BEU Soft Skill Development 7th Sem 2022</a></div>
<div class="list"><a href="AKUXDataXMiningX2019.pdf" download>AKU Data Mining 8th Sem 2019</a></div>
<div class="list"><a href="AKUXBlockchainX2022.pdf" download>AKU Blockchain 8th Sem 2022</a></div>
<div class="list"><a href="AKUX2022X-XBitcoin-and-Cryptocurrencies.pdf" download>AKU Bitcoin and cryptocurrencies
8th Sem 2021</a></div>
<br>
</div>
<h3>Computer Science Notes/Assigments</h3>
<div class="notes">
<div class="list"><a href="https://drive.google.com/uc?export=download&id=1pPRJKodv212EtCRwuT1jWlBhCtaEM5rK"
download>Operating System Module 1 Notes</a></div>
<div class="list"><a href="https://drive.google.com/uc?export=download&id=1-g-8F9YKSabN1PrsTnvcZmMd7DBUlYYE"
download>Design Analysis Module 1 Notes</a></div>
<div class="list"><a href="https://drive.google.com/uc?export=download&id=1-bkr5jWGRGmckgmN__Pg4hx_j0yIpbb2"
download>Digital Electronics Module 1 Notes</a></div>
</div>
<h3>Computer Science Books PDF DSTTE</h3>
<div class="notes">
<div class="list"><a href="https://drive.google.com/uc?export=download&id=1D4Z8OHk2h5xXBGjmHrfX1Kawis26vpS_"
download>Operating System</a></div>
<div class="list"><a href="https://drive.google.com/uc?export=download&id=1N-IdvRtWCuVVdIAsWBJ3ONNcUAKE7D9w"
download>Computer Organization & Architecture</a></div>
<div class="list"><a href="https://drive.google.com/uc?export=download&id=1-bkr5jWGRGmckgmN__Pg4hx_j0yIpbb2"
download>Digital Electronics</a></div>
<div class="list"><a href="https://drive.google.com/uc?export=download&id=1DQcIetC1m1-zJVToANFfEzhbmn5vtfd0"
download>HRD & OB</a></div>
</div>
<h3>Engineering Books</h3>
<div class="notes">
<div class="list"><a href="https://drive.google.com/uc?export=download&id=1AaBbz9w7_5TfBFpG-bJOvtm_zvqYpQUx"
download>Integrated Circuits Book For Analog @BPMCE DL/AEC/2024/5/15</a></div>
<div class="list"><a href="https://drive.google.com/uc?export=download&id=1AcC_-zUXu3uCT1GUNAIVT7opEQXQ275h"
download>Analog Electronics Cicuits Book @BPMCE DL/AEC/2024/5/15</a></div>
</div>
<h3>Electronics Department</h3>
<div class="notes">
<div class="list"><a href="Microprocessor 4th sem 2023.pdf" download>BEU Microprocessor 2023</a>
</div>
<div class="list"><a href="Signal system 4th sem 2023.pdf" download>BEU Signal Systems 2023</a></div>
<div class="list"><a href="EM-2 PYQ 2023.pdf" download>BEU Electrical Machines-II 2023</a></div>
<div class="list"><a href="ANALOG 4th sem 2023.pdf" download>BEU Analog Electronics Circuits 2023</a></div>
<div class="list"><a href="Power Electronics 2022.pdf" download>BEU Power Electronics 5th Sem 2022</a></div>
<div class="list"><a href="Power System-I 2022.pdf" download>BEU Power System 5th Sem 2022 </a></div>
<div class="list"><a href="Control System 2022.pdf" download>BEU Control System 5th Sem 2022</a></div>
<div class="list"><a href="Analog & Digital Communication.pdf" download>BEU Analog & Digital Communication 5th Sem
2022</a></div>\
<div class="list"><a href="ARTIFICALXNEURALXNETWORK.pdf" download>Articial Neural Network 7th Sem 2022</a></div>
<div class="list"><a href="ElectricalXSafety.pdf" download>BEU Electrical Safety 7th Sem 2022 </a></div>
<div class="list"><a href="IndustrialXElectricalXSystems.pdf" download>BEU Industrial Electrical Systems 7th Sem
2022</a></div>
<div class="list"><a href="ELECTROMAGNETICXWAVES.pdf" download>BEU ELECTROMAGNETIC WAVES 7th Sem 2022</a></div>
</div>
<br><br>
<h3>BPMCE Madhepura</h3>
<div class="notes">
<div class="list"><a href="110-EEE4thSEM.pdf" download><img src="new.gif" alt="new" width="30px"
height="30px">Electrical & Electronics Engineering 4th
semester new syllabus 110</a></div>
<div class="list"><a href="105-CSE4thSEM Syllabus.pdf" download><img src="new.gif" alt="new" width="30px"
height="30px">Computer Science & Engineering 4th
semester new syllabus 105</a></div>
<div class="list"><a href="Mid Sem 128.pdf" download>BPMCE - 128 Mid semester 4th Semester Questions</a>
</div>
</div>
<h3>Data Operator Section</h3>
<div class="notes">
<div class="list">
<a href="https://docs.google.com/document/d/1Ln747v8bJCIXxiiHNS_B5Saiq3r2Xfr50msXA7Mf9hg/edit?usp=sharing"><img
src="embed.png" class="arduino" alt="Emebedded Systems Notes"></a>
</div>
</div>
<hr>
<p class="copyright">Nebula Coders © 2024 - All Rights Reserved</p><br>
<script>
function isAuthenticated() {
return localStorage.getItem("authenticated") == "true";
}
if (!isAuthenticated()) {
window.location.href = "login.html";
}
if (window !== window.top) {
window.top.location = window.location;
}
const user = localStorage.getItem("username");
const imgurlid = localStorage.getItem("imgurl");
const session=localStorage.getItem("session");
const userdiv = document.getElementById("user");
const now = new Date();
const hours = now.getHours();
function wish(time) {
time = (time < 10 ? '0' : '') + time;
if(time>0 && time<12)
return "Morning"
if (time>=12 && time<=15) {
return "Afternoon"
} else {
return "Evening"
}
}
if (session==1) {
Swal.fire({
title: "Welcome Back!",
text: user,
imageUrl: imgurlid,
imageWidth: 300,
imageHeight: 250,
imageAlt: "Custom image"
});
localStorage.setItem("session",0);
}
userdiv.innerHTML = ` <img src="favicon.png" height="100" width="110">
<h5>Good ${wish(hours)}, ${user}</h5>
<img src="${imgurlid}"/>
<button class="logout-btn"> <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#DA954B"><path d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h280v80H200Zm440-160-55-58 102-102H360v-80h327L585-622l55-58 200 200-200 200Z"/></svg> </button>
`
const logoutBtn = document.querySelector(".logout-btn");
logoutBtn.addEventListener("click", () => {
localStorage.removeItem("authenticated");
localStorage.removeItem("session");
localStorage.removeItem("username");
localStorage.removeItem("imgurl");
window.location.replace("login.html");
})
function timeoutfn() {
localStorage.removeItem("authenticated");
window.location.replace("login.html");
}
var timeout = setTimeout(timeoutfn, 600000);
</script>
<script>
var loader = document.getElementById("loader");
window.addEventListener("load", function () {
loader.style.display = "none";
})
</script>
</body>
</html>