-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd_product.html
146 lines (131 loc) · 4.05 KB
/
add_product.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
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
136
137
138
139
140
141
142
143
144
145
146
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css" type="text/css">
<title>Index</title>
<style>
table, th{
border: 1px solid black;
margin-left: 10%;
}
footer{
clear: both;
position: relative;
width: 100%;
background-color: rgb(172, 172, 172);
}
body{
background-color: #e0f3ff;
}
form{
display: table;
font-size: larger;
margin: 0 auto;
}
table{
border: none;
margin: 0 auto;
}
input[type = "submit"]{
float: right;
font-size: larger;
background-color: #4CAF50;
border: none;
color: #ffffff;
height: 42px;
margin: 4px 2px;
cursor: pointer;
width : 140px;
border-radius: 8px;
text-align: center;
margin-bottom: 20%;
}
input[type = "text"],[type = "number"]{
border-radius: 2px;
background-color: #e4eeff;
border: 1px solid #000000;
color: #000000;
margin: 4px 2px;
cursor: pointer;
width : 260px;
height: 35px;
margin-bottom: 30px;
}
</style>
</head>
<body>
<header>
<div class="container_header">
<img src="https://i.ibb.co/vq7sysz/logo.png" alt="logo" class="logo">
<nav>
<ul>
<li><a href="account.php">Account</a></li>
<li><a href="cart.php">Cart</a></li>
<li><a href="product.php">Products</a></li>
<li><a href="event.php">Event</a></li>
<li><a href="sign_out.php">Sign Out</a>
</li>
</ul>
</nav>
</div>
</header>
<br>
<form action = "ap.php" method="POST">
<br>
<table>
<tr>
<td>Product Name: <br>
<input class="form1" type="text" name="pn"><br>
</td>
<td>
Price: <br>
<input class="form1" type="number" step="0.01" name="p"><br>
</td>
<td>
Key Word: <br>
<input class="form1" type="text" name="kw"><br>
</td>
<td>Product image: <br>
<input class="form1" type="text" name="i"><br>
</td>
</tr>
</table>
<table>
<tr>
<td>image1 url: <br>
<input class="form1" type="text" name="i1"><br>
</td>
<td>image2 url: <br>
<input class="form2" type="text" name="i2"><br>
</td>
<td>image3 url: <br>
<input class="form2" type="text" name="i3"><br>
</td>
</tr>
<tr>
<td>
image4 url: <br>
<input class="form2" type="text" name="i4"><br>
</td>
<td>image5 url: <br>
<input class="form2" type="text" name="i5"><br>
</td>
<td>image6 url: <br>
<input class="form2" type="text" name="i6"><br>
</td>
</tr>
</table>
<input type="submit" value = "Confirm">
</form>
<br><br><br><br><br><br><br><br>
<script src="js/script.js"></script>
<br><br><br>
<footer>
<img src="images/logo.png" alt="logo">
<p class="copyright">copyright © <script>document.write(new date().getfullyear())</script> all rights reserved</p>
</footer>
</body>
</html>