-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathViewAssets.php
More file actions
117 lines (86 loc) · 2.67 KB
/
ViewAssets.php
File metadata and controls
117 lines (86 loc) · 2.67 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
114
115
116
117
<?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="AssetHome.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-12">
<div class="table-responsive" style="height:600px">
<h3>ASSETS</h3>
<table class="table">
<thead>
<tr>
<th>Id</th>
<th>Assets name</th>
<th>Description</th>
<th>Category</th>
<th>Location</th>
<th>Serial No</th>
<th>Model</th>
<th>Price</th>
</tr>
</thead>
<?php
while ($row=mysql_fetch_array($query)){
$f1=$row['Id'];
$f2=$row['AssetName'];
$f3=$row['Description'];
$f4=$row['Category'];
$f5=$row['Location'];
$f6=$row['SerialNo'];
$f7=$row['Model'];
$f8=$row['Price'];
?><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>
<td><?php echo $f6 ?></td>
<td><?php echo $f7 ?></td>
<td><?php echo $f8 ?></td>
</tr>
<?php
}
?>
</table>
<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>
</body>
</html>