-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.php
65 lines (53 loc) · 2.46 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="icon" href="../eLibrary/img/title_logo.png" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" href="./css/navbar.css">
<link rel="stylesheet" href="./css/index.css">
<link rel="stylesheet" href="./css/createCourse.css">
<link rel="stylesheet" href="./css/searchNav.css">
<title>Library Management System</title>
</head>
<body>
<!-- default authentical routing -->
<?php include "auth.php"; ?>
<!-- profile navigation items -->
<?php include 'profile_nav.php'; ?>
<!-- create course -->
<?php include 'createBook.php'; ?>
<br /><br /><br />
<!-- ****** body ****** -->
<?php include 'body.php'; ?>
<!-- ******* header ****** -->
<?php include 'navbar.php'; ?>
<!-- ****** footer ****** -->
<!-- bootstrap mdn -->
<script src="./js/navbar.js"></script>
<script src="./js/createCourse.js"></script>
<script src="https://use.fontawesome.com/8af7dff76b.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.min.js" integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF" crossorigin="anonymous"></script>
<script>
//open create book popup model
document.querySelector(".profile_nav").style.display = "none";
document.querySelector(".createCourse").style.display = "none";
document.querySelector(".createCourse").style.background = "red !important";
document.querySelector(".main").style.display = "flex";
document.querySelector("#title").style.display = "flex";
//open the create book
function createBook() {
if (document.querySelector(".createCourse").style.display === "none") {
document.querySelector(".main").style.display = "none";
document.querySelector(".createCourse").style.display = "flex";
} else {
document.querySelector(".main").style.display = "flex";
document.querySelector(".createCourse").style.display = "none";
}
}
</script>
</body>
</html>