-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.html
77 lines (50 loc) · 1.14 KB
/
search.html
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
<?php
if(isset($_GET["term"])){
$term = $_GET["term"];}
else{
exit{"you must enter search term"};}
?>
<!DOCTYPE html>
<html>
<head>
<title>Doodle Search</title>
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
</head>
<body>
<div class="wrapper">
<div class="header">
<div class="headerContent">
<div class="logoContainer">
<a href="index.html">
<img src="assets/images/doodleLogo.png">
</a>
</div>
<div class="searchContainer">
<form action="search.html" method="GET">
<div class="searchBarContainer">
<input class="searchBox" type="text" name="term">
<button class="searchButton">
<img src="assets/images/icons/search.png">
</button>
</div>
</form>
</div>
</div>
<div class="tabsContainer">
<ul class=tablist>
<li>
<a href='<?php echo "search.php?term=$term&type=sites"; ?>'>
Sites
</a>
</li>
<li>
<a href='<?php echo "search.php?term=$term&type=images"; ?>'>
Images
</a>
</li>
</ul>
</div>
</div>
</div>
</body>
</html>