diff options
author | Angelo Cuccato <cuccato@web.de> | 2010-01-19 23:48:43 +0100 |
---|---|---|
committer | Angelo Cuccato <cuccato@web.de> | 2010-01-19 23:48:43 +0100 |
commit | 6cfc2d6da0213aca24b1c97647c7bd5009971d4d (patch) | |
tree | 3439cad390d1d70c7100ea5a544d8d139efba190 /www-ssl/admin/group.php | |
parent | 93e0fc9705ec2fa8210748be1a56028c0d7c4379 (diff) |
split user setting in different files
Diffstat (limited to 'www-ssl/admin/group.php')
-rwxr-xr-x | www-ssl/admin/group.php | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/www-ssl/admin/group.php b/www-ssl/admin/group.php new file mode 100755 index 00000000..6377593d --- /dev/null +++ b/www-ssl/admin/group.php @@ -0,0 +1,40 @@ +<?PHP + +$title = "User-Liste"; +$header = "Editieren der Engelliste"; +include ("../../includes/header.php"); +include ("../../includes/funktion_db_list.php"); + +if (!IsSet($_GET["enterGID"])) +{ + // Userliste, keine UID uebergeben... + + $SQL = "SELECT * FROM `UserGroups` ORDER BY `Name` ASC"; + $Erg = mysql_query($SQL, $con); + echo mysql_error($con); + + // anzahl zeilen + $Zeilen = mysql_num_rows($Erg); + + echo "<table width=\"100%\" class=\"border\" cellpadding=\"2\" cellspacing=\"1\">\n"; + echo "<tr class=\"contenttopic\">\n"; + echo "\t<td>Groupname</td>\n"; + echo "\t<td>-</td>\n"; + echo "</tr>\n"; + + for ($n = 0 ; $n < $Zeilen ; $n++) { + echo "<tr class=\"content\">\n"; + echo "\t<td>".mysql_result($Erg, $n, "Name")."</td>\n"; + + echo "<td><a href=\"./userChangeSecure.php?enterUID=". + mysql_result($Erg, $n, "UID")."&Type=Secure\">change</a></td>\n"; + echo "</tr>\n"; + } + echo "\t</table>\n"; + // Ende Userliste +} + +include ("../../includes/footer.php"); +?> + + |