-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.php
56 lines (48 loc) · 1.45 KB
/
search.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Search | S-Pharm</title>
<link rel="stylesheet" type="text/css" href="./style/style.css">
</head>
<body>
<header>
<div class="container">
<div id="sitename">
<h1>S-PHARM</h1>
</div>
<nav>
<ul>
<li class=""><a href="index.php">Home</a></li>
<li><a href="services.html">What We Offer</a></li>
<li><a href="about.html">About Us</a></li>
<li><a href="contact.php">Contact Us</a></li>
<!-- <li class="signin"><a href="signin.php">Sign in</a></li> -->
</ul>
</nav>
</div>
</header>
<div class="container">
<h2>Enter a drug name below:</h2>
<div id="searchform">
<input type="text" id="drugname" name="searchname"
placeholder="Enter drug name or drug ingredient, pill imprint, etc...">
<button id="searchbtn" onclick="fetchDrugDetails(); fetchDrugDosage ()">Search</button>
</div>
<hr>
<div id="searchresult"></div>
<div id="searchdosage"></div>
<div id="searchrelated"></div>
</div>
<footer>
<h3>Subscribe to our Newsletter</h3>
<form id="letter">
<input type="email" name="letter" placeholder="Enter your email address...">
<button type="submit" class="btn">Subscribe</button>
</form>
<h4 id="copy">© Copyright 2019. Supreme Pharmacy LLC</h4>
</footer>
</body>
<script src="js/search.js"></script>
</html>