aboutsummaryrefslogtreecommitdiff
path: root/manageusers.php
diff options
context:
space:
mode:
authorarf20 <aruizfernandez05@gmail.com>2024-03-20 20:03:04 +0100
committerarf20 <aruizfernandez05@gmail.com>2024-03-20 20:03:04 +0100
commit72ea04f97b2535a7d8de38a74db073a760cec599 (patch)
treee16357f265bea620df875349c3572b0e5fdf0458 /manageusers.php
parenta8f2bace985ee0419492a09e1d5a3879f2f5b96b (diff)
downloadarfnet2-cstims-72ea04f97b2535a7d8de38a74db073a760cec599.tar.gz
arfnet2-cstims-72ea04f97b2535a7d8de38a74db073a760cec599.zip
Collapse preformat texts
Diffstat (limited to 'manageusers.php')
-rw-r--r--manageusers.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/manageusers.php b/manageusers.php
index 0fb1f7d..b0e7705 100644
--- a/manageusers.php
+++ b/manageusers.php
@@ -15,7 +15,7 @@ if ($type != "admin") die("Permission denied.");
require_once "config.php";
// Get users
-$sql = "SELECT id, username, password, email, verifycode, status, type, regdate FROM users";
+$sql = "SELECT id, username, email, verifycode, status, type, regdate FROM users";
$stmt = mysqli_prepare($link, $sql);
mysqli_stmt_execute($stmt);
$result = mysqli_stmt_get_result($stmt);
@@ -128,12 +128,11 @@ function getuserbyid($id) {
<a href="?add">add</a>
<table>
- <tr><th>id</th><th>user</th><th>password</th><th>email</th><th>verifycode</th><th>type</th><th>regdate</th><th>status</th><th>action</th></tr>
+ <tr><th>id</th><th>user</th><th>email</th><th>verifycode</th><th>type</th><th>regdate</th><th>status</th><th>action</th></tr>
<?php
foreach ($users as $user) {
echo "<tr><td>".$user['id']."</td>"
."<td>".$user['username']."</td>"
- ."<td>".$user['password']."</td>"
."<td>".$user['email']."</td>"
."<td>".$user['verifycode']."</td>"
."<td>".$user['type']."</td>"