-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAssetDistribution.php
More file actions
113 lines (89 loc) · 2.95 KB
/
AssetDistribution.php
File metadata and controls
113 lines (89 loc) · 2.95 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
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
<?php
include("connection.php");
include("sessionlock.php");
include("pagination.php");
?>
<html lang="en">
<head>
<title>|home</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<!-- navbar-fixed-top for fixed top -->
<nav class="navbar navbar-inverse ">
<div class="container-fluid" style = "background-color: #005200">
<ul class="nav navbar-nav" style ="color: white">
<li><a href="index.php">Dashboard</a></li>
<li><a href="ViewAssets.php">Assets</a></li>
<li><a href="HomeTask.php">Task</a></li>
<li><a href="ViewUser.php">User</a></li>
<li><a href="ViewReport.php">Report</a></li>
<li><a href="#">settings</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#"><?php echo " ".$fullname."";?></a></li>
<li><a href="logout.php"> Log out</a></li>
</ul>
</div>
</nav>
<div class="row">
<div class="col-md-3">
</br> </br> </br>
<h5>Quik links</h5>
<h5>
<div class="list-group">
<a href="ViewAssets.php" class="list-group-item">View assets</a>
<a href="AddAsset.php" class="list-group-item">Add asset</a>
<a href="AssetDistribution.php" class="list-group-item">Assets distribution</a>
<a href="AssetCategory.php" class="list-group-item">Assets category</a>
<a href="AssetInformation.php" class="list-group-item">Assets information</a>
</div></h5> </div>
<div class="col-md-9" style = "height: 500px">
<h3>ASSETS</h3>
<table class="table">
<thead>
<tr>
<th>Asset Id</th>
<th>Assets name</th>
<th>Location</th>
<th>Sub Location</th>
<th>Date added</th>
</tr>
</thead>
<?php
while ($row=mysql_fetch_array($query)){
$f1=$row['Id'];
$f2=$row['AssetName'];
$f3=$row['Location'];
$f4=$row['SubLocation'];
$f5=$row['DateAdded'];
?><tr>
<td><?php echo $f1 ?></td>
<td><?php echo $f2 ?></td>
<td><?php echo $f3 ?></td>
<td><?php echo $f4 ?></td>
<td><?php echo $f5 ?></td>
</tr>
<?php
}
?>
</table>
</div>
<center><nav>
<ul class="pagination">
<li><a href="#"><?php echo $pagination ;?></a></li>
</ul>
</nav></center>
</div>
<div class="col-md-12" style = "background-color: #005200; color: white">
<center> <p>Tanesco | ICT | FTP | 2015 </p></center>
</div>
</div>
</div>
</body>
</html>