-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.php
135 lines (126 loc) · 4.2 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
<!DOCTYPE html>
<html>
<head>
<title>Welcome to E-FARM</title>
</head>
<body>
<style>
body{
background-image: url('css/image/img5.jpeg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
a.a2{
text-decoration: underline;
color: burlywood;
text-shadow: 1px 1px 2px black, 0 0 25px blue, 0 0 5px darkblue;
font-size: 75px;
}
a.a1{
text-decoration: none;
background-color:lavender;
color:blue;
font-size:20px;
padding: 20px 35px;
border-radius:12px;
border:2px solid turquoise;
margin:150px;
line-height:85px;
}
a.a1:hover {
background-color: darkgray;
padding: 25px 45px;
}
a.a2:hover {
background-color: linen;
padding: 25px 45px;
}
.topnav {
background-color: darkgreen;
overflow: hidden;
}
.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}
.topnav a.active {
background-color: #04AA6D;
color: white;
}
.topnav-right {
float: right;
}
.top {
color: indigo;
font-size: 25px;
}
input[type=text]
{
width: 25%;
padding: 12px 20px;
margin: 8px 0;
border: 1px solid #ccc;
border-radius: 5px;
box-sizing: border-box;
font-size: 18px;
}
input[type=submit]
{
width: 150px;
background-color: cornsilk;
color: darkblue;
padding: 14px 20px;
margin: 8px 0;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 20px;
}
</style>
<center><h1><a class="a2" href="index.php">E-FARM</a></h1></center>
<div class="top">
<!--Search Code-->
<form method="post" action="search.php">
<b>Hi, Shop With Us!                                  
Search: </b><input type="text" name="search" placeholder="Search the Item here.">
<input type="submit" name="submit">
</form>
<!--Search End-->
</div>
<div class="topnav">
<a class="a3" href="index.php">Home</a>
<a class="a3" href="item.php">All items</a>
<div class="topnav-right">
<a class="a3" href="signup/signup.php">Sign Up</a>
<a class="a3" href="login/login.php">Login</a>
<a class="a3" href="admin/verify.php">Admin</a>
</div>
</div>
<table><center>
<tr><td><a class="a1" href="view.php?choice=FERTILIZER">FERTILIZER</a></td>
<td><a class="a1" href="view.php?choice=HERBICIDE">HERBICIDE  </a></td>
<td><a class="a1" href="view.php?choice=INSECTICIDES">INSECTICIDES</a></td></tr>
<tr><td><a class="a1" href="view.php?choice=PESTICIDES">PESTICIDES</a></td>
<td><a class="a1" href="view.php?choice=SPICES">SPICES      </a></td>
<td><a class="a1" href="view.php?choice=VEGETABLE">VEGETABLE  </a></td></tr>
<tr><td><a class="a1" href="view.php?choice=FRUIT">FRUIT    </a></td>
<td><a class="a1" href="view.php?choice=WAGON">WAGON     </a></td>
<td><a class="a1" href="view.php?choice=TOOLS">TOOLS      </a></td></tr>
<tr><td><a class="a1" href="view.php?choice=MOTOR">MOTOR   </a></td>
<td><a class="a1" href="view.php?choice=EARTHMOVER">EARTHMOVER</a></td>
<td><a class="a1" href="view.php?choice=TRACTOR">TRACTOR   </a></td></tr>
<tr><td><a class="a1" href="view.php?choice=HARVESTER">HARVESTER</a></td>
<td><a class="a1" href="view.php?choice=SPRAYER">SPRAYER    </a></td>
<td><a class="a1" href="view.php?choice=OTHER">OTHER     </a></td></tr>
</table></center>
</body>
</html>