-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadminworkcheck.php
More file actions
127 lines (121 loc) · 4.68 KB
/
Copy pathadminworkcheck.php
File metadata and controls
127 lines (121 loc) · 4.68 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
118
119
120
121
122
123
124
125
126
<?php include 'dbconn.php';
session_start();
if(!isset($_SESSION['sess']))
{
header('Location:admin.php');
}
?>
<!DOCTYPE html>
<html>
<head>
<title>HOME SERVICE PROVIDER</title>
<link href="css/bootstrap.css" rel='stylesheet' type='text/css' />
<script src="js/jquery.min.js"></script>
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900,200italic,300italic,400italic,600italic,700italic,900italic' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Lobster+Two:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
<script src="js/wow.min.js"></script>
<link href="css/animate.css" rel='stylesheet' type='text/css' />
<script>
new WOW().init();
</script>
<script type="text/javascript" src="js/move-top.js"></script>
<script type="text/javascript" src="js/easing.js"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
$(".scroll").click(function(event){
event.preventDefault();
$('html,body').animate({scrollTop:$(this.hash).offset().top},1200);
});
});
</script>
<script src="js/simpleCart.min.js"> </script>
</head>
<body>
<div class="header">
<div class="container">
</div>
<div class="menu-bar">
<div class="container">
<div class="top-menu">
<ul>
<li>
<div class="dropdown">
<a class="active" >View</a>
<div class="dropdown-content">
<a href="adminauthcheck.php">View Authoriser</a>
<a href="adminworkcheck.php">View Worker</a>
</div>
</div>
</li>
|
<li>
<a href="add_auth.php">ADD AUTHORIZER</a>
</li>
|
<li>
<div class="dropdown">
<a class="active">Worker</a>
<div class="dropdown-content">
<a href="addworker.php">ADD WORKER</a>
<a href="deletework.php">DELETE WORKER</a>
</div>
</div>
</li>
|
<li><a class="active" href="finance.php">Finance</a></li>
|
<div class="clearfix"></div>
</ul>
</div>
<div class="login-section" >
<ul>
<li><a class="active" href="#">Welcome <?php echo $_SESSION['sess'];?></a></li>
<li><a class="active" href="adminlogout.php">Logout</a></li>
|
<li><a href="#"></a> </li>
<div class="clearfix"></div>
</ul>
</div>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
</div>
<div class="main">
<div class="container">
<div class="clearfix"></div>
<div class="wow fadeInDownBig" data-wow-delay="0.4s">
<table id="customers" style="width:80%;" >
<div class="clearfix"></div>
<br>
<tr>
<th>Worker_id</th>
<th>Worker First_Name</th>
<th> Worker Last Name</th>
<th> Worker Phone Number</th>
<th>Profession</th>
<th>Authorizer id</th>
</tr>
<?php
$query=mysqli_query($conn,"select * from worker");
while($row = mysqli_fetch_array($query))
{
echo "<tr>";
echo "<td>" . $row[0] . "</td>";
echo "<td>" . $row[1] . "</td>";
echo "<td>" . $row[2] . "</td>";
echo "<td>" . $row[3] . "</td>";
echo "<td>" . $row[4] . "</td>";
echo "<td>" . $row[5] . "</td>";
echo "</tr>";
}
?>
</table>
</div>
</div>
<div class="clearfix"></div>
</div>
</body>
</html>