-
Notifications
You must be signed in to change notification settings - Fork 3
/
type.php
138 lines (138 loc) · 6.4 KB
/
type.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
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
<?php require_once('include/session.php'); ?>
<!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">
<meta name="description" content="">
<meta name="author" content="">
<title>ADVANCED STOCK MANAGEMENT SYSTEM</title>
<!-- Bootstrap Core CSS -->
<link href="assets/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="assets/css/bootstrap-theme.min.css">
<!-- Custom CSS -->
<link href="assets/css/sb-admin.css" rel="stylesheet">
<link href="assets/css/loader.css" rel="stylesheet" />
<!-- Morris Charts CSS -->
<link href="assets/css/plugins/morris.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="assets/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="assets/css/dataTables.bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div id="pre-div">
<div id="loader">
</div>
</div>
<style type="text/css">
.navbar {
background-color:#337ab7;
background-image: none;
}
.navbar-inverse .navbar-brand {
color: #080808;
}
a{
font-size: 1.8em;
}
li{
margin-bottom: 10px;
}
</style>
<div id="wrapper">
<!-- Navigation -->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="home.php"> STOCK MANAGEMENT SYSTEM</a>
</div>
<!-- Top Menu Items -->
<ul class="nav navbar-right top-nav">
<li class="dropdown" style="margin-bottom: 0px">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" style="font-size: 1.2em;"><i class="fa fa-user"></i> Administrator<b class="caret"></b></a>
<ul class="dropdown-menu">
<!-- <li>
<a href="#"><i class="fa fa-fw fa-gear"></i> Settings</a>
</li> -->
<!-- <li class="divider"></li> -->
<li style="margin-bottom: 0px">
<a href="logout.php" style="font-size: 1.2em; color: red"><i class="fa fa-fw fa-power-off"></i> Log Out</a>
</li>
</ul>
</li>
</ul>
<!-- Sidebar Menu Items - These collapse to the responsive navigation menu on small screens -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav side-nav">
<li>
<a href="home.php"><span class="glyphicon glyphicon-home" aria-hidden="true"></span></i> Home</a>
</li>
<li>
<a href="item.php"><span class="glyphicon glyphicon-list" aria-hidden="true"></span> Item List</a>
</li>
<li class="active">
<a href="product.php"><span class="glyphicon glyphicon-th-list" aria-hidden="true"></span> Manage Stock</a>
</li>
<li>
<a href="stock.php"><span class="glyphicon glyphicon-book" aria-hidden="true"></span> Current Stock</a>
</li>
<li>
<a href="expired.php"><span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Item Expired</a>
</li>
<li>
<a href="sales.php"><span class="glyphicon glyphicon-record" aria-hidden="true"></span> Daily Report</a>
</li>
<?php
if ($_SESSION['logged_type']==1 ) {
?>
<li>
<a href="accounts.php"><span class="glyphicon glyphicon-user" aria-hidden="true"></span> Users</a>
</li>
<?php
} else {
# code...
}
?>
</ul>
</div>
<!-- /.navbar-collapse -->
</nav>
<div id="page-wrapper">
<div class="container-fluid">
<!-- Page Heading -->
<div class="row">
<div class="col-lg-12">
<ol class="breadcrumb">
<li class="active">
<h4><i class="fa fa-th-list"></i> MANAGE STOCK ITEMS</h4>
</li>
</ol>
</div>
</div>
<!-- /.row -->
<button class="btn btn-primary" id="add-type">New type
<span class="glyphicon glyphicon-plus-sign" aria-hidden="true"></span>
</button>
<button class="btn btn-danger" id="del-type">Remove Selected
<span class="glyphicon glyphicon-trash" aria-hidden="true"></span>
</button>
<div id="all-type"></div>
</div>
<!-- /.container-fluid -->
</div>
<!-- /#page-wrapper -->
</div>
<!-- /#wrapper -->
<?php include_once('modal/type_modal.php'); ?>
<?php include_once('modal/confirmation_del.php'); ?>
<?php include_once('modal/message.php'); ?>
<?php include ('footer.php'); ?>
</body>
</html>