-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication_list.php
More file actions
55 lines (51 loc) · 1.83 KB
/
application_list.php
File metadata and controls
55 lines (51 loc) · 1.83 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
<?php include('template/header.php');?>
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="dashboard.php">Dashboard</a>
</li>
<li class="breadcrumb-item active">Application list</li>
</ol>
<div class="card mb-3">
<div class="card-header">
<i class="fa fa-table"></i>
List of application
</div>
<div class="card-body">
<div class="table-responsive">
<table class="table table-bordered table-hover" width="100%" id="dataTable" cellspacing="0">
<thead>
<tr>
<th>Application id</th>
<th>Application name</th>
<th>Added on</th>
<th>Developer</th>
<th>Tester</th>
<th>View</th>
<?php if($_SESSION['login_user_type']=="admin"){ ?>
<th>Edit</th>
<th>Delete</th>
<?php } ?>
<?php if($_SESSION['login_user_type']=="Tester"){ ?>
<th>Update</th>
<?php } ?>
</tr>
</thead>
<tbody>
<?php
include('action/list_application.php');
if($_SESSION['login_user_type']=="admin"){
display();
}
if($_SESSION['login_user_type']=="Tester"){
display_tester();
}
if($_SESSION['login_user_type']=="Developer"){
display_dev();
}
?>
</tbody>
</table>
</div>
</div>
</div>
<?php include('template/footer.php');?>