-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathview_category.php
70 lines (49 loc) · 1.1 KB
/
view_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
<?php
if(!isset($_SESSION)){
session_start(); // starting session for checking username
}
if(is_null($_SESSION['username']))
{
header("location:index.php"); // Redirect to login.php page
}
?>
<?php require('header.php'); ?>
<div class="page-content">
<div class="container">
<div class="row">
<div class="col-lg-10">
<div class="custom-heading">
<div class="well">
<center><h3> Category view form</h3></center>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="page-content">
<div class="container">
<div class="row">
<div class="col-lg-10">
<div class="custom-heading">
<div class="well">
<table class="table">
<tr>
<th>Category name</th>
<th>Category code</th>
<th>Category type</th>
</tr>
<tr>
<td>
<?php include"all_category.php";?>
<?php maincat() ?>
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<?php include"footer.php"; ?>