-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.php
154 lines (143 loc) · 6.45 KB
/
sample.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
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
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>MyBrary</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<style>
body{
background-color: #ede7f6;
}
.container .row{
margin-top: 20px;
}
@keyframes example {
0% {background-color: #512da8;}
25% {background-color: #7e57c2;}
50% {background-color: #d1c4e9;}
100% {background-color: #ede7f6;}
}
.container .row .col-sm-3 .card{
margin-top: 20px;
margin-right: 30px;
margin-bottom: 67px;
box-shadow: 10px 10px 8px darkblue;
animation-name: example;
animation-duration: 5s;
}
.container .footerhr{
margin-top: 80px;
border-width: thin;
box-shadow: 1px 1px 1px purple;
}
.container .foot {
align-content: center;
color: black;
left: 0;
bottom: 0;
width: 100%;
text-align: center;
margin-top: 20px;
border-radius: 8px;
margin-bottom: 20px;
}
</style>
</head>
<body>
<div>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark ">
<a class="navbar-brand" href="home.php">MyBrary</a>
<span style="font-size: 2em; color: white;">
<i class="fas fa-book-open"></i>
</span>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav ml-auto ">
<a class="nav-item nav-link " href="home.php" style = "color: antiquewhite";>Home <span class="sr-only">(current)</span></a>
<a class="nav-item nav-link" href="about.html" style = "color: antiquewhite";>About Us</a>
<a class="nav-item nav-link" href="login.php" style = "color: antiquewhite";>Login</a>
<a class="nav-item nav-link" href="register.php" style = "color: antiquewhite";>Register</a>
</div >
</div>
</nav>
</div>
<div id="carouselExampleControls" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block w-300" src="p1.jpeg" alt="First slide">
</div>
<div class="carousel-item">
<img class="d-block w-300" src="p2.jpeg" alt="Second slide">
</div>
<div class="carousel-item">
<img class="d-block w-300" src="p3.jpeg" alt="Third slide">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<div class = "container">
<div class="row">
<div class="col-sm-3">
<div class="card">
<div class="card-body">
<h5 class="card-title">Biographies</h5>
<a href="login.php" class="btn btn-primary">Click Here</a>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="card">
<div class="card-body">
<h5 class="card-title">Action & Adventure</h5>
<a href="login.php" class="btn btn-primary">Click Here</a>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="card">
<div class="card-body">
<h5 class="card-title">Art & Films</h5>
<a href="login.php" class="btn btn-primary">Click Here</a>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="card">
<div class="card-body">
<h5 class="card-title">Other Books</h5>
<a href="login.php" class="btn btn-primary">Click Here</a>
</div>
</div>
</div>
</div>
</div>
<div class = "container">
<blockquote class="blockquote text-right">
<p class="mb-0">“The person, be it gentleman or lady, who has not pleasure in a good novel, must be intolerably stupid.”</p>
<footer class="blockquote-footer">Jane Austen, <cite title="Source Title">Northanger Abbey</cite></footer>
</blockquote>
</div>
<div class = "container">
<hr class = "footerhr">
</div>
<div class = "container">
<footer class = "foot">
©2019 PHP Assignment <span class="separator">|</span> Designed by Himanshu Madan
</footer>
</div>
</body>
</html>