-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuserhomepage.php
More file actions
124 lines (122 loc) · 3.14 KB
/
userhomepage.php
File metadata and controls
124 lines (122 loc) · 3.14 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
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
<?php
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
body{
align-items: center;
justify-content: center;
font-family: sans-serif;
background: #f3f3f3;
flex-direction: column;
margin: 0;
}
.header{
text-transform: uppercase;
font-family: 'Times New Roman', Times, serif;
text-align: center;
color:black;
font-style:italic;
background-color:lightblue;
margin-top:-45px;
height:80px;
padding-top:30px
}
.nav{
background-color:lightblue;
margin:
}
.nav a{
color:black;
display:inline-block;
text-align:center;
padding: 25px;
padding-left:100px;
}
.nav a:hover{
text-decoration: underline;
color:blue;
}
button{
background-color:brown;
border: none;
color:white;
text-align: center;
font-size:16px;
border-radius:20px;
padding:10px;
}
button:hover{
background-color:blueviolet;
}
.container{
margin:0px 10px;
font-size:18px;
}
.container h4{
text-decoration:none;
}
.container h3{
font-size:20px;
text-align:center;
}
.firstdiv{
display:inline-block;
margin-left:300px;
box-shadow: 0 0 20px ;
padding:20px;
border-radius:30px;
}
.seconddiv{
display:inline-block;
margin-left:150px;
box-shadow: 0 0 20px ;
padding:20px;
border-radius:30px;
}
.firstdiv:hover{
border: 2px solid black;
}
.seconddiv:hover{
border: 2px solid black;
}
.container p{
text-align:center;
}
.container img{
margin:50px;
margin-bottom:20px;
margin-top:20px;
}
</style>
</head>
<body>
<div class="header">
<h1> LIBRARY MANAGEMENT SYSTEM</h1>
</div>
<div class="nav">
<a href="userhomepage.php">DASHBOARD</a>
<a href="availablebooks.php">AVAILABLE BOOKS TO BORROW </a>
<a href="borrowedbooks.php"> BORROWED BOOKS</a>
<a href="userlogoutpage.php">
<button>Log Out</button>
</a>
</div>
<div class="container">
<h3>STUDENT DASHBOARD</h3>
<div class="firstdiv">
<img src="books.png">
<p><?php include('countissuedbooks.php');?> </p>
<h4>Books Borrowed by User</h4>
</div>
<div class="seconddiv">
<img src="books2.png">
<p> <?php include('countpendingbooks.php');?> </p>
<h4>Books Pending</h4>
</div>
</div>
</body>
</html>