Line 45... |
Line 45... |
45 |
$num = 0;
|
45 |
$num = 0;
|
46 |
$msg .= <<<EOM
|
46 |
$msg .= <<<EOM
|
47 |
|
47 |
|
48 |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top>
|
48 |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top>
|
49 |
<tr bgcolor="#d0ddb0">
|
49 |
<tr bgcolor="#d0ddb0">
|
50 |
<th>#</th><th>Usager</th><th>Actions</th>
|
50 |
<th>#</th><th>Usager</th><th>Actions</th><th>membre du groupe</th>
|
51 |
</tr>
|
51 |
</tr>
|
52 |
EOM;
|
52 |
EOM;
|
53 |
foreach ($found_users as $user){
|
53 |
foreach ($found_users as $user){
|
54 |
if ($user == '')
|
54 |
if ($user == '')
|
55 |
$user = '-';
|
55 |
$user = '-';
|
56 |
$User = urlencode($user);
|
56 |
$User = urlencode($user);
|
57 |
$num++;
|
57 |
$num++;
|
- |
|
58 |
$msg .= "<tr align=center><td>$num</td><td>$user";
|
58 |
$msg .= <<<EOM
|
59 |
$msg .= <<<EOM
|
59 |
<tr align=center>
|
- |
|
60 |
<td>$num</td>
|
- |
|
61 |
<td>$user</td>
|
- |
|
62 |
<td><a href="user_admin.php?login=$User" title="État"><img src=/images/info.gif></a>
|
60 |
</td><td><a href="user_admin.php?login=$User" title="État"><img src=/images/info.gif></a>
|
63 |
<a href="user_edit.php?login=$User" title="Attributs"><img src=/images/create.gif></a>
|
61 |
<a href="user_edit.php?login=$User" title="Attributs"><img src=/images/create.gif></a>
|
64 |
<a href="user_info.php?login=$User" title="Informations personnelles"><img src=/images/tpf.gif></a>
|
62 |
<a href="user_info.php?login=$User" title="Informations personnelles"><img src=/images/tpf.gif></a>
|
65 |
<a href="user_accounting.php?login=$User" title="Connexions effectuées"><img src=/images/graph.gif></a>
|
63 |
<a href="user_accounting.php?login=$User" title="Connexions effectuées"><img src=/images/graph.gif></a>
|
66 |
<a href="clear_opensessions.php?login=$User" title="Sessions ouvertes"><img src=/images/state_ok.gif></a>
|
64 |
<a href="clear_opensessions.php?login=$User" title="Sessions ouvertes"><img src=/images/state_ok.gif></a>
|
67 |
<a href="user_delete.php?login=$User" title="Supprimer"><img src=/images/state_error.gif></a></td>
|
65 |
<a href="user_delete.php?login=$User" title="Supprimer"><img src=/images/state_error.gif></a></td><td>
|
68 |
</tr>
|
- |
|
69 |
EOM;
|
66 |
EOM;
|
- |
|
67 |
$login = $user;
|
- |
|
68 |
if (is_file("../lib/sql/defaults.php")) //retrieve member_groups
|
- |
|
69 |
include("../lib/sql/defaults.php");
|
- |
|
70 |
if (isset($member_groups)) foreach ($member_groups as $group) { $msg .= "$group";}
|
- |
|
71 |
else $msg .= " ";
|
- |
|
72 |
$msg .= "</td>";
|
70 |
}
|
73 |
}
|
71 |
$msg .= "</table>\n";
|
74 |
$msg .= "</tr></table>\n";
|
72 |
}
|
75 |
}
|
73 |
else
|
76 |
else
|
74 |
$msg = "<b>Pas d'usagers trouvés</b><br>\n";
|
77 |
$msg = "<b>Pas d'usagers trouvés</b><br>\n";
|
75 |
}
|
78 |
}
|
76 |
}
|
79 |
}
|