-
Notifications
You must be signed in to change notification settings - Fork 3
/
add_category.php
80 lines (54 loc) · 1.31 KB
/
add_category.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
<?php
include 'connection.php';
// include 'Vars.php';
?>
<!DOCTYPE html>
<html>
<head>
<?php
include 'common/head.php';
?>
<link rel="stylesheet" type="text/css" href="Style/login.css">
</head>
<style type="text/css">
</style>
<style>
.error {color: #FF0000;}
</style>
<body>
<?php
include 'common/header.php';
?>
<section id="main-content">
<div class="box">
<h2>Add Category</h2>
<form enctype="multipart/form-data" method="POST" action="add_category_.php" autocomplete="off" >
<div class="inputbox">
<input type="text" name="name" required />
<label>Name</lable>
</div>
<div class="inputbox">
<input type="file" name="pic_cat" required>
<label>Image</lable>
</div>
<center>
<input type="submit" name="submit" value="Submit">
</center>
</form>
<br>
<center>
<a href="index.php"><button> Go Back </button> </a>
</center>
</div>
</section>
<?php
include 'common/footer.php';
?>
<!-- My Scripts -->
<!-- <script src="Javascript/category.js"></script> -->
<script type="text/javascript">
$(document).ready(function () {
});
</script>
</body>
</html>