Update user_list.php
This commit is contained in:
@@ -102,6 +102,7 @@ include "../../../api/php/log/add_server_entry.php"; //to log things
|
|||||||
$username=$row["username"];
|
$username=$row["username"];
|
||||||
$email=$row["email"];
|
$email=$row["email"];
|
||||||
$perms=$row["perms"];
|
$perms=$row["perms"];
|
||||||
|
if($last_id!=1){ //number 1 is the unauthenticated user
|
||||||
echo('<tr>');
|
echo('<tr>');
|
||||||
echo('<td>'.$last_id.'</td>');
|
echo('<td>'.$last_id.'</td>');
|
||||||
echo('<td>'.$username.'</td>');
|
echo('<td>'.$username.'</td>');
|
||||||
@@ -110,6 +111,7 @@ include "../../../api/php/log/add_server_entry.php"; //to log things
|
|||||||
echo('<td><a href="manage_user.php?userid='.$last_id.'">manage</a></td>');
|
echo('<td><a href="manage_user.php?userid='.$last_id.'">manage</a></td>');
|
||||||
echo('<td><a href="user_list.php?delete='.$last_id.'">delete</a></td>');
|
echo('<td><a href="user_list.php?delete='.$last_id.'">delete</a></td>');
|
||||||
echo('</tr>');
|
echo('</tr>');
|
||||||
|
}
|
||||||
$stmt->close();
|
$stmt->close();
|
||||||
$num_of_users--;
|
$num_of_users--;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user