-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanage_product.php
61 lines (57 loc) · 2.12 KB
/
manage_product.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
<?php
include_once("./database/constants.php");
if (!isset($_SESSION["userid"])) {
header("location:".DOMAIN."/");
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Inventory Management System</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<script type="text/javascript" src="./js/manage.js"></script>
</head>
<body>
<!-- Navbar -->
<?php include_once("./templates/header.php"); ?>
<br/><br/>
<div class="container">
<table class="table table-hover table-bordered">
<thead>
<tr>
<th>#</th>
<th>Product</th>
<th>Category</th>
<th>Brand</th>
<th>Price</th>
<th>Stock</th>
<th>Added Date</th>
<th>Status</th>
<th>Action</th>
</tr>
</thead>
<tbody id="get_product">
<!--<tr>
<td>1</td>
<td>Electronics</td>
<td>Root</td>
<td><a href="#" class="btn btn-success btn-sm">Active</a></td>
<td>
<a href="#" class="btn btn-danger btn-sm">Delete</a>
<a href="#" class="btn btn-info btn-sm">Edit</a>
</td>
</tr>-->
</tbody>
</table>
</div>
<?php
include_once("./templates/update_products.php");
?>
</body>
</html>