45 lines
1019 B
PHP
Executable File
45 lines
1019 B
PHP
Executable File
<?php
|
|
/* DO NOT REMOVE */
|
|
if (!defined('QUADODO_IN_SYSTEM')) {
|
|
exit;
|
|
}
|
|
/*****************/
|
|
?>
|
|
<fieldset>
|
|
<legend>
|
|
<?php echo GROUP_MEMBER_LIST_LABEL; ?>
|
|
|
|
</legend>
|
|
<?php
|
|
$users_count = $qls->SQL->num_rows($users_result);
|
|
if ($users_count == 0) {
|
|
echo GROUP_USER_LIST_NO_USERS;
|
|
}
|
|
else {
|
|
?>
|
|
<table border="0" cellspacing="3" cellpadding="2">
|
|
<tr>
|
|
<th style="border-right: 1px solid #000;text-align:left;"><?php echo USERNAME_LABEL; ?></th>
|
|
|
|
<th style="border-left: 1px solid #000;text-align:left;"><?php echo REMOVE_LABEL; ?></th>
|
|
</tr>
|
|
<?php
|
|
// $users_result is provided by admin.php
|
|
while ($users_row = $qls->SQL->fetch_array($users_result)) {
|
|
?>
|
|
<tr>
|
|
<td align="left"><?php echo stripslashes($users_row['username']); ?></td>
|
|
<td align="left">
|
|
<a href="#" onclick="javascript:user_change('remove_user','<?php echo $users_row['id']; ?>');" class="main"><?php echo REMOVE_LABEL; ?></a>
|
|
</td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
?>
|
|
</table>
|
|
<br />
|
|
<?php
|
|
$qls->Group->pagination();
|
|
}
|
|
?>
|
|
</fieldset>
|