-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.php
More file actions
93 lines (90 loc) · 3.25 KB
/
admin.php
File metadata and controls
93 lines (90 loc) · 3.25 KB
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
<?php
session_start();
if (isset($_SESSION['tendangnhap'])) {
$ten = $_SESSION['tendangnhap'];
} else {
header("location:dang_nhap.php");
}
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" href="./css/style_adminn.css" type="text/css" >
<title>Thêm sản phẩm</title>
<style>
body {
background-image: url("./pic/bg.jpg");
margin: 0;
padding: 0;
}
h4 {
font-family: Arial, Helvetica, sans-serif;
color: red;
}
</style>
</head>
<body>
<div id="frame-top">
<div id="logo">
<a href="#">
<img src="./pic/logoip.png" alt="">
</a>
</div>
<div id="A">
<p>QUẢN LÝ CỬA HÀNG</p>
</div>
</div>
<div id="frame-menu">
<ul>
<li><a href="index.php">Trang chủ</a></li>
<li><a href="sua_sp.php">Sửa Sản Phẩm</a></li>
<li><a href="ds_sp.php">DS sản phẩm</a></li>
<li><a href="ql_nhanvien.php">QL Nhân viên</a></li>
</ul>
</div>
<div id = "wrap">
<div id = "content">
<form action = "xuly_themsp.php" method = "POST" enctype="multipart/form-data">
<table>
<tr>
<td>Mã hàng hóa</td>
<td><input type="text" name="mshh"></td>
</tr>
<tr>
<td>Tên hàng hóa</td>
<td><input type = "text" name ="tenhh"></td>
</tr>
<tr>
<td>Giá hàng hóa</td>
<td><input type = "text" name = "giahh"> (.000 VNĐ)</td>
</tr>
<tr>
<td>Số lượng hàng hóa</td>
<td><input type="text" name="soluonghang"></td>
</tr>
<tr>
<td>Mã nhóm</td>
<td><input type="text" name="manhom"></td>
</tr>
<tr>
<td>Hình sản phẩm</td>
<td><input type = "file" name = "hinh"></td>
</tr>
<tr>
<td>Mô tả</td>
<td><textarea name = "mota" rows = "5" cols = "40"></textarea></td>
</tr>
<tr>
<td></td>
<td>
<input class = "but" type = "submit" name = "themsp" value = "Thêm sản phẩm">
<input class = "but" type = "reset" name = "lamlai" value = "Làm lại">
</td>
</tr>
</table>
</form>
</div>
</div>
</body>
</html>