-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
66 lines (57 loc) · 1.82 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Open Library List</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>
<div class="container">
<h1>Open Library Clone | PHP</h1>
<nav>
<ul class="left-menu">
<li><button onclick="window.location.href='/OpenLibrary/index.php'">← Back</button></li>
</ul>
<ul class="right-menu">
<li>
<button
onclick="window.open('https://www.linkedin.com/in/shaganplaatjies/', '_blank')">Connect →</button>
</li>
<li>
<button
onclick="window.open('/OpenLibrary/ShaganPlaatjiesResumeElixirr.pdf', '_blank')">Resume ⭳</button>
</li>
</ul>
</nav>
</div>
</header>
<main>
<div class="container">
<h2>Latest Books</h2>
<form action="displayEntriesPage.php" method="post">
<label>Enter an author's name:
<input type="text" id="authorName" name="authorName" placeholder="J. K. Rowling" minlength="1" maxlength="144"
required />
</label>
<label>Entry Limit:
<input type="number" id="entryLimit" placeholder="50" name="entryLimit" min="1" max="99" />
</label>
<label>Offset:
<input type="number" id="entryOffset" placeholder="0" name="entryOffset" min="0" max=99 />
</label>
<button type="submit">Search</button>
</form>
</div>
</main>
<footer>
<div class="container">
<p>
<a href="https://github.com/shgnplaatjies/">💻 by Shagan Plaatjies. Check out my Github 😎 </a>
</p>
</div>
</footer>
</body>
</html>