*/
foreach($users as $u_users) {
+ $userid = $u_users["id"];
$email = $u_users["email"];
$fullname = $u_users["fullname"];
$username = $u_users["username"];
echo "<tr><td>$username</td><td>$ugroups</td><td>$desc</td></tr>";
break;
case "admin":
- echo "<tr><td>$email</td><td>$username</td><td>$fullname</td><td>$ugroups</td><td>$desc</td><td>$globaladmin</td><td>$status</td></tr>";
+ echo "<tr><td>$email</td><td>$username</td><td>$fullname</td><td>$ugroups</td><td>$desc</td>";
+ echo "<td>$globaladmin</td><td>$status</td><td><a href=\"$BASE_URL/users/modify?id=$userid\">Modify</a></td></tr>";
break;
case "user":
echo "<tr><td>$username</td><td>$ugroups</td><td>$desc</td></tr>";