-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibrary.php
65 lines (59 loc) · 1.38 KB
/
library.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
<?php
// Initialize the session
session_start();
// If session variable is not set it will redirect to login page
if(!isset($_SESSION['username']) || empty($_SESSION['username'])){
header("location: login.php");
exit;
}
?>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Shelf</title>
<link rel="icon" href="favicon.ico" type="image/x-icon">
<!--<link rel="stylesheet" href="style/style.css">-->
</head>
<style>
body{
background-image: url(https://www.theindianwire.com/wp-content/uploads/2018/04/books.jpg);
position: absolute;
}
div#pageMiddle {
width: 1000px;
margin: 20px 250px;
position: relative;
text-align: center;
border-radius: 20px;
top: 100px;
padding-top: 20px;
padding-bottom: 20px;
background-color: rgb(74,22,5);
color:white;
}
h1 {
font-size: 60px;
text-shadow: 0px 0px 10px black;
text-transform:capitalize;
}
/* h1:hover {
font-size: 70px;
transition-duration: 0.2s;
}*/
</style>
<body>
<?php include_once("template_pageTop.php"); ?>
<div id="pageMiddle">
<div id="pmleft"></div>
<div id="pmcenter">
<br>
<div><h1>Bookshelf</h1></div>
<?php
echo "<br><a href=addbook.php>Add book</a><br>";
echo "<a href=removebook.php>Remove book</a><br>";
echo "<a href=modbook.php>Update book</a><br>";
?>
<br>
</body>
</html>