-
Notifications
You must be signed in to change notification settings - Fork 0
/
registered_user.php
119 lines (97 loc) · 3.67 KB
/
registered_user.php
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
<?php
// session_start();
include("connection.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://kit.fontawesome.com/e4abb3cfa3.js" crossorigin="anonymous"></script>
<title>Welcome On Baord</title>
<!-- CSS Link -->
<link rel="stylesheet" href="css/dashboard-page.css">
<link rel="stylesheet" type="text/css" href="css/alldetail.css">
<!-- JQuery Link -->
<script src="javascript/script.js"></script>
<link rel="stylesheet" href="css/media-queries.css">
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
</head>
<style type="text/css">
</style>
<body>
<!-- Navbar Start -->
<!-- User Information -->
<?php
$sql1 ="SELECT * from `user_iformation`";
$run1=mysqli_query($conn,$sql1);
while ($myrow=mysqli_fetch_assoc($run1))
{
$get[]=$myrow['user_id'];
}
$count_get= count($get) ;
?>
<div class=" section-one ">
<div class="row ">
<div class="col-lg-2 col-sm-12 sidebar" >
<h4 class="text-center "><a class="heading-panel" href="">WELCOME</a></h4>
<ul class="sidebar-list">
<li><a class="links" href="dashboard.php">Dashboard Page</a></li>
<li><a class="links" href="register-admins.php">Registered Admin</a></li>
<li><a class="links" href="registered_user.php">Registered users</a></li>
<li><a class="links" href="posted_question.php">Questions Posted</a></li>
<li><a class="links" href="posted_answer.php">Answers Posted</a></li>
</ul>
</div>
<div class="col-lg-9 col-sm-12 table-responsive" >
<h1 class="headingone"><?php print_r($count_get);?> Rgistered Users</h1>
<table class="table table-striped mb-5" >
<thead>
<tr>
<th scope="col">User FullName</th>
<th scope="col">UserName</th>
<th scope="col">Email</th>
</tr>
</thead>
<tbody>
<?php
$query="SELECT * FROM `user_iformation`";
$run= mysqli_query($conn,$query);
while($row=mysqli_fetch_array($run)){
if($row['status']==0){
?>
<tr>
<td><?php echo $row['user_fullname'] ; ?></td>
<td><?php echo "@".$row['user_name'] ; ?></td>
<td><?php echo $row['user_email'] ; ?></td>
</tr>
<?php
}
}
?>
</tbody>
</table>
</div>
</div>
</div>
<!-- -----------------Footer Start------------------- -->
<footer class="my-footer-border">
<div class="footer-child">
<div class="footer-limited">
<span>
Info Stack @ International Limited
</span>
</div>
<div class="footer-logos">
<i class="fa fa-twitter"></i>
<i class="fa fa-facebook"></i>
<i class="fa fa-linkedin"></i>
<i class="fa fa-pinterest"></i>
<i class="fa fa-instagram"></i>
</div>
</div>
</footer>
</body>
</html>