Line 52... |
Line 52... |
52 |
<tr bgcolor="#d0ddb0">
|
52 |
<tr bgcolor="#d0ddb0">
|
53 |
<th>#</th><th>$l_user</th><th>Actions</th><th>$l_group_member</th>
|
53 |
<th>#</th><th>$l_user</th><th>Actions</th><th>$l_group_member</th>
|
54 |
</tr>
|
54 |
</tr>
|
55 |
EOM;
|
55 |
EOM;
|
56 |
foreach ($found_users as $user){
|
56 |
foreach ($found_users as $user){
|
57 |
if ($user == '')
|
57 |
if ($user == '') {$user = '-';}
|
- |
|
58 |
else {
|
58 |
$user = '-';
|
59 |
$login = $user;
|
- |
|
60 |
if (is_file("../lib/sql/defaults.php")) //retrieve user groups
|
- |
|
61 |
include("../lib/sql/defaults.php");
|
- |
|
62 |
if (is_file("../lib/sql/user_info.php")) //retrieve user info
|
- |
|
63 |
include("../lib/sql/user_info.php");
|
- |
|
64 |
}
|
59 |
$User = urlencode($user);
|
65 |
$User = urlencode($user);
|
60 |
$num++;
|
66 |
$num++;
|
61 |
$msg .= "<tr align=center><td>$num</td><td>$user";
|
67 |
$msg .= "<tr align=center><td>$num</td><td>$user";
|
- |
|
68 |
if ($cn != '-') {$msg .= " ($cn)";}
|
62 |
$msg .= <<<EOM
|
69 |
$msg .= <<<EOM
|
63 |
</td><td><a href="user_admin.php?login=$User" title="$l_status"><img src=/images/info.gif></a>
|
70 |
</td><td><a href="user_admin.php?login=$User" title="$l_status"><img src=/images/info.gif></a>
|
64 |
<a href="user_edit.php?login=$User" title="$l_attributes"><img src=/images/create.gif></a>
|
71 |
<a href="user_edit.php?login=$User" title="$l_attributes"><img src=/images/create.gif></a>
|
65 |
<a href="user_info.php?login=$User" title="$l_personal_info"><img src=/images/tpf.gif></a>
|
72 |
<a href="user_info.php?login=$User" title="$l_personal_info"><img src=/images/tpf.gif></a>
|
66 |
<a href="user_accounting.php?login=$User" title="$l_connections"><img src=/images/graph.gif></a>
|
73 |
<a href="user_accounting.php?login=$User" title="$l_connections"><img src=/images/graph.gif></a>
|
67 |
<a href="clear_opensessions.php?login=$User" title="$l_open_sessions"><img src=/images/state_ok.gif></a>
|
74 |
<a href="clear_opensessions.php?login=$User" title="$l_open_sessions"><img src=/images/state_ok.gif></a>
|
68 |
<a href="user_delete.php?login=$User" title="$l_remove"><img src=/images/state_error.gif></a></td><td>
|
75 |
<a href="user_delete.php?login=$User" title="$l_remove"><img src=/images/state_error.gif></a></td><td>
|
69 |
EOM;
|
76 |
EOM;
|
70 |
$login = $user;
|
- |
|
71 |
if (is_file("../lib/sql/defaults.php")) //retrieve member_groups
|
- |
|
72 |
include("../lib/sql/defaults.php");
|
- |
|
73 |
if (isset($member_groups)) foreach ($member_groups as $group) { $msg .= "$group";}
|
77 |
if (isset($member_groups)) foreach ($member_groups as $group) { $msg .= "$group";}
|
74 |
else $msg .= " ";
|
78 |
else $msg .= " ";
|
75 |
$msg .= "</td>";
|
79 |
$msg .= "</td>";
|
76 |
}
|
80 |
}
|
77 |
$msg .= "</tr></table>\n";
|
81 |
$msg .= "</tr></table>\n";
|