This repository was archived by the owner on Aug 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser-dashboard.php
More file actions
55 lines (55 loc) · 2.87 KB
/
user-dashboard.php
File metadata and controls
55 lines (55 loc) · 2.87 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("header-dashboard.php");
?>
<title>Danh Sách Người Dùng SIT</title>
<div id="layout-wrapper">
<div class="main-content">
<div class="page-content">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
<h4 class="card-title">Danh Sách User</h4>
<p class="card-title-desc">SIT. Bạn tài giỏi, còn tôi thì không!</p>
<table id="datatable" class="table table-bordered dt-responsive nowrap" style="border-collapse: collapse; border-spacing: 0; width: 100%;">
<thead>
<tr>
<th scope="col">STT</th>
<th scope="col">Họ và Tên</th>
<th scope="col">Email</th>
<th scope="col">Password</th>
<th scope="col">Phone</th>
<th scope="col">Address</th>
</tr>
</thead>
<tbody>
<?php
$Statement_Users = "SELECT * FROM users";
$Query_Users =mysqli_query($conn, $Statement_Users);
$Stt= 1;
while ($Display_Users = mysqli_fetch_assoc($Query_Users)){
echo "<tr>";
echo '<td>'.$Stt.'</td>';
echo "<td>".$Display_Users['Name_User']."</td>";
echo "<td>".$Display_Users['Email_User']."</td>";
echo "<td>".$Display_Users['Password_User']."</td>";
echo "<td>".$Display_Users['Phone_User']."</td>";
echo "<td>".$Display_Users['Address_User']."</td>";
echo "</tr>";
$Stt++;
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
include("footeradmin.php");
?>