-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
352 lines (279 loc) · 10.3 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
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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=Poppins&display=swap" rel="stylesheet">
<link rel="stylesheet" href="navbar.css">
<link rel="stylesheet" href="Logo.css">
<title>BOOKSFORME</title>
</head>
<body>
<nav>
<div class="logo">
<h4>BOOKSFORME</h4>
</div>
<ul class="nav">
<li>
<a href="index.php">HOME</a>
</li>
<li>
<a href="booklist.php">ALLBOOKS</a>
</li>
<li>
<a href="sgnup.html">SIGNUP</a>
</li>
<li>
<a href="logn.html">LOGIN</a>
</li>
<li>
<div class="search-container">
<form action="searching.php" method="POST">
<input type="text" name="query"/>
<button><input type="submit" name="searchbutton" value="Search" /></button>
</form>
</div>
</li>
</ul>
<div class="burger">
<div class="line1"></div>
<div class="line2"></div>
<div class="line3"></div>
</div>
</nav>
<div class="galleryContainer">
<div class="slideShowContainer">
<div id="playPause" onclick="playPauseSlides()"></div>
<div onclick="plusSlides(-1)" class="nextPrevBtn leftArrow"><span class="arrow arrowLeft"></span></div>
<div onclick="plusSlides(1)" class="nextPrevBtn rightArrow"><span class="arrow arrowRight"></span></div>
<div class="captionTextHolder"><p class="captionText slideTextFromTop"></p></div>
<div class="imageHolder">
<img src="1.jpg">
<p class="captionText">HARRY POTTER</p>
</div>
<div class="imageHolder">
<img src="2.jpg">
<p class="captionText">FANTASTIC BEASTS</p>
</div>
<div class="imageHolder">
<img src="3.jpg">
<p class="captionText">THE LORD OF THE RING</p>
</div>
<div class="imageHolder">
<img src="4.jpg">
<p class="captionText">THE HOBBIT</p>
</div>
<div class="imageHolder">
<img src="5.jpg">
<p class="captionText">THE CRONICLES OF NARNIA</p>
</div>
</div>
<div id="dotsContainer"></div>
</div>
<div class="parent">
<div class="grid1">
<div class="tabContainer">
<div class="buttonContainer">
<font color="#e2e2e2"> <h2><p >SUGGESTIONS</p></h2> </font>
<button onclick="showPanel(0,'#1e2129')">Medical Books</button>
<button onclick="showPanel(1,'#1e2129')">Random</button>
<button onclick="showPanel(2,'#1e2129')">History</button>
<button onclick="showPanel(3,'#1e2129')">Children</button>
</div>
<div class="tabPanel">
<div class="responsive">
<?php
include_once "medicine.php";
include_once "medicinefetch.php";
include_once "medfetch.php";
?>
</div>
</div>
<div class="tabPanel">
<div class="responsive">
<?php
include "randombook.php";
include_once "randomfetch.php";
include_once "random.php";
?>
<?php
include_once "medicine.php";
include_once "medicinefetch.php";
include_once "medfetch.php";
?>
</div>
</div>
<div class="tabPanel">
<div class="responsive">
<?php
include "historybook.php";
include "hisbookfetch.php";
include "hisfetch.php";
?>
</div>
</div>
<div class="tabPanel">
<div class="responsive">
<?php
include "childrenbook.php";
include "childrenbookfetch.php";
include "childfetch.php";
?>
</div>
</div>
</div>
</div>
<div class="grid2">
<font color="#e2e2e2"> <h2>GENRE</h2><br></font>
<br>
<div class="row">
<div class="column">
<h3><a href="Arts & Photography.php">Arts & Photography</a></h3><br>
<h3><a href="Business & Money.php">Business & Money</a></h3><br>
<h3><a href="Children's Books.php">Children's Books</a></h3><br>
<h3><a href="Computers & Technology.php">Computers & Technology</a></h3><br>
<h3><a href="Crafts, Hobbies & Home.php">Crafts, Hobbies & Home</a></h3><br>
<h3><a href="Engineering & Transportation.php">Engineering & Transportation</a></h3><br>
<h3><a href="History.php">History</a></h3><br>
<h3><a href="Law.php">Law</a></h3><br>
<h3><a href="Medical Books.php">Medical Books</a></h3><br>
<h3><a href="Parenting & Relationships.php">Parenting & Relationships</a></h3><br>
<h3><a href="Reference.php">Reference</a></h3><br>
<h3><a href="Romance.php">Romance</a></h3><br>
<h3><a href="Science Fiction & Fantasy.php">Science Fiction & Fantasy</a></h3><br>
<h3><a href="Sports & Outdoors.php">Sports & Outdoors</a></h3><br>
<h3><a href="Test Preparation.php">Test Preparation</a></h3><br>
</div>
<div class="column">
<h3><a href="Biographies & Memoirs.php">Biographies & Memories</a></h3><br>
<h3><a href="Calendars.php">Calendars</a></h3><br>
<h3><a href="Comics & Graphic Novels.php">Comics & Graphic Novels</a></h3><br>
<h3><a href="Cookbooks, Food & Wine.php">Cookbooks, Food & Wine</a></h3><br>
<h3><a href="Christian Books & Bibles.php">Christian Books & Bibles</a></h3><br>
<h3><a href="Health, Fitness & Dieting.php">Health, Fitness & Dieting</a></h3><br>
<h3><a href="Humor & Entertainment.php">Humor & Entertainment</a></h3><br>
<h3><a href="Literature & Fiction.php">Literature & Fiction</a></h3><br>
<h3><a href="Mystery, Thriller & Suspense.php">Mystery, Thriller & Suspense</a></h3><br>
<h3><a href="Politics & Social Sciences.php">Politics & Social Sciences</a></h3><br>
<h3><a href="Religion & Spirituality.php">Religion & Spirituality</a></h3><br>
<h3><a href="Science & Math.php">Science & Math</a></h3><br>
<h3><a href="Self-Help.php">Self-Help</a></h3><br>
<h3><a href="Teen & Young Adult.php">Teen & Young Adult</a></h3><br>
<h3><a href="Travel.php">Travel</a></h3><br>
</div>
</div>
</div>
</div>
<div class="relatives">
<div class="container">
<font color="#e2e2e2"> <h2>LATEST</h2></font>
</div>
<div class="bar ">
<button class="bar-item " onclick="openGenre('Action')">Law</button>
<button class="bar-item " onclick="openGenre('Adventure')">Self-Help</button>
<button class="bar-item " onclick="openGenre('Romance')">Travel</button>
</div>
<div id="Action" class="container genre">
<br>
<br>
<br>
<div class="responsive">
<?php
include 'lawbook.php';
include 'lawbookfetch.php';
?>
</div>
</div>
<div id="Adventure" class="container genre" style="display:none">
<br>
<br>
<br>
<div class="responsive">
<?php
include 'selfhelpbook.php';
include 'selfhelpbookfetch.php';
?>
</div>
</div>
<div id="Romance" class="container genre" style="display:none">
<br>
<br>
<br>
<?php
include 'travelbook.php';
include 'travelbookfetch.php';
?>
<div class="responsive">
<!-- output -->
</div>
</div>
</div><!--relative end-->
<div class="children">
<div class="grid4">
<div class="logo2">
<font color="#e2e2e2"><p>BOOKSFORME<br></font></div>
<font color= "#a1a1a1">booksforme-Free ebooks online, here you can <i>read ebooks online</i> for free without annoying of advertising, just come and enjoy your ebooks online.<br></font>
<a href="https://twitter.com/BOOKSFORME6"><font color="#e2e2e2"><img src="twitter.jpg">Connect us on twitter</font></a>
</p>
</div>
<div class="grid5">
<div class="rows">
<div class="columns" >
<font color="#e2e2e2"> <h3>Books</h3><br></font>
<p><a href="Arts & Photography.php">Arts & Photography</a><br><br>
<a href="Comics & Graphic Novels.php">Comics & Graphic Novels</a><br><br>
<a href="Literature & Fiction.php">Literature & Fiction</a><br><br>
<a href="Science Fiction & Fantasy.php">Sci-fi</a><br><br>
<a href="Medical Books.php">Medical Books</a><br><br>
</p>
</div>
<div class="columns">
<font color="#e2e2e2"> <h3>BUY BOOKS</h3><br></font>
<p>
<a href="https://wordery.com/">Wordery</a><br><br>
<a href="https://www.amazon.com/books-used-books-textbooks/b?ie=UTF8&node=283155">Amazon</a><br><br>
<a href="https://www.barnesandnoble.com/">Barnes & Noble</a><br><br>
<a href="https://www.booksamillion.com/">Books-A-Millon</a><br><br>
<a href="https://www.hpb.com/home#product-panel-home">HALF PRICE BOOKS</a><br><br>
<a href="https://www.powells.com/">Powell's Books</a><br><br>
<a href="https://www.abebooks.com/">AbeBooks</a><br><br>
<a href="https://www.betterworldbooks.com/">BetterWorldBOOKS</a><br><br>
</p>
</div>
<div class="columns" >
<font color="#e2e2e2"> <h3>HELP</h3><br></font>
<p>
<button onclick="document.getElementById('modal-wrapper').style.display='block'" style="width:0px; margin-top:0px; margin-left:0px; margin-bottom: 0px;">
Request</button>
<div id="modal-wrapper" class="modal">
<form action="request.php" method="post" name="form" class="form-box">
<div class="requestcontainer">
<span onclick="document.getElementById('modal-wrapper').style.display='none'" class="close" title="Close Request">×</span>
<h1 style="text-align:center">Request Books</h1><br><br>
</div>
<form class="modal-content animate" action="/action_page.php">
<div class="container">
<label for="name">Name</label><br>
<input type="text" name="name" class="inp" placeholder="Enter Book Name" required><br><br>
<label for="email">Email ID</label><br>
<input type="email" name="email" class="inp" placeholder="Enter Your Email" required><br><br>
<label for="message">Message</label><br>
<textarea name="msg" class="msg-box" placeholder="Describe about your book eg-Release date" required></textarea><br><br>
<input type="submit" name="submit" value="Send" class="sub-btn">
</div>
</form>
</form>
</div>
<br><br>
<a href="#">Policy</a><br><br><br>
<a href="contactus.html">Contact us</a><br><br><br>
<a href="aboutus.html">About us</a><br><br>
</p>
</div>
</div>
</div>
</div>
<script src="app.js"></script>
</body>
</html>