-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadditem.php
47 lines (42 loc) · 2.15 KB
/
additem.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
<?php require 'nav.php' ?>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/formoid-flat-green.css" type="text/css" />
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body class="hero-image">
<section>
<div class="container center">
<form enctype="multipart/form-data" class="formoid-flat-green" style="background-color:#E4E4F4;font-size:14px;font-family:'Lato', sans-serif;color:#000;max-width:600px;min-width:150px" method="post" action="additemback.php">
<div class="title">
<h2 style="margin-right: 27px;margin-left: 27px;">Add Item</h2>
</div>
<div lass="element-name">
<label class="title">Name</label> <input type="text" name="mname" required="required" style="width:50%;" /><br>
<label class="title">Price</label> <input type="text" name="price" required="required" style="width:50%;" /><br>
<label class="title">Category</label>
<span class="mid1">
<select name="category" style="width:50%;">
<option value="0" selected>Essentials</option>
<option value="1">Grocery</option>
<option value="2">Dairy Products</option>
</select>
</span><br>
<label class="title">Description</label> <input type="text" name="description" required="required" style="width:50%;" /><br>
<label class="title">Select Image</label>
<input type="file" name="fileToUpload" id="fileToUpload" style="width:50%;">
</div>
<div class="submit"><input type="submit" value="Submit" /></div>
</form>
</section>
<!-- inspection section finish -->
<!-- footer section -->
<footer class="center">
<p style="color:white">Some Text here<br> <a href="mailto:[email protected]" style="color:white">EMAIL US</a>
</footer>
<!-- footer section finish -->
</div>
</body>
</html>