Neuen Engel eintragen
\n";
if( !isset($_GET["OrderBy"]) ) $_GET["OrderBy"] = "Nick";
$SQL = "SELECT User.*, UserGroups.Name AS 'Group' FROM `User` ".
"LEFT JOIN `UserCVS` ON User.UID = UserCVS.UID ".
"LEFT JOIN `UserGroups` ON UserGroups.UID = UserCVS.GroupID ".
"ORDER BY `". $_GET["OrderBy"]. "` ASC";
$Erg = mysql_query($SQL, $con);
echo mysql_error($con);
// anzahl zeilen
$Zeilen = mysql_num_rows($Erg);
echo "Anzahl Engel: $Zeilen
\n";
?>
?OrderBy=Nick">Nick | ?OrderBy=CreateDate">CreateDate | ?OrderBy=Name">Name | ?OrderBy=Vorname">Vorname | ?OrderBy=Alter">Alter | ?OrderBy=email">@ | ?OrderBy=DECT">DECT | ?OrderBy=Hometown">Hometown | ?OrderBy=lastLogIn">lastLogIn | ?OrderBy=Art">Type | ?OrderBy=ICQ">ICQ | ?OrderBy=jabber">jabber | ?OrderBy=Group">Group | ?OrderBy=Size">Größe | ?OrderBy=Gekommen">G | ?OrderBy=Aktiv">A | ?OrderBy=Tshirt">T | Änd. | Secure | ".mysql_result($Erg, $n, "Nick"). " (Create: ". mysql_result($Erg, $n, "CreateDate"). ") | \n";
echo "\t".mysql_result($Erg, $n, "Name")." | \n"; echo "\t".mysql_result($Erg, $n, "Vorname")." | \n"; echo "\t".mysql_result($Erg, $n, "Alter")." | \n"; echo "\t";
if( strlen( mysql_result($Erg, $n, "Telefon"))>0)
echo "\n\t\tTel: ". mysql_result($Erg, $n, "Telefon"). " "; if( strlen( mysql_result($Erg, $n, "Handy"))>0) echo "\n\t\tHandy: ". mysql_result($Erg, $n, "Handy"). " "; if( strlen( mysql_result($Erg, $n, "DECT"))>0) echo "\n\t\tDECT: ". mysql_result($Erg, $n, "DECT"). " "; if( strlen( mysql_result($Erg, $n, "email"))>0) echo "\n\t\temail: ". mysql_result($Erg, $n, "email")." "; if( strlen( mysql_result($Erg, $n, "Hometown"))>0) echo "\n\t\tHometown: ". mysql_result($Erg, $n, "Hometown"). " "; if( strlen( mysql_result($Erg, $n, "lastLogIn"))>0) echo "\n\t\tlastLogIn: ". mysql_result($Erg, $n, "lastLogIn"). " "; if( strlen( mysql_result($Erg, $n, "Art"))>0) echo "\n\t\tType: ". mysql_result($Erg, $n, "Art"). " "; if( strlen( mysql_result($Erg, $n, "ICQ"))>0) echo "\n\t\tICQ: ". mysql_result($Erg, $n, "ICQ"). " "; if( strlen( mysql_result($Erg, $n, "jabber"))>0) echo "\n\t\tjabber: ". mysql_result($Erg, $n, "jabber"). " "; echo "\n\t\tGroup: ". mysql_result($Erg, $n, "Group"). " "; echo " | \n";
echo "\t".mysql_result($Erg, $n, "Size")." | \n"; $Gekommen += mysql_result($Erg, $n, "Gekommen"); echo "\t".mysql_result($Erg, $n, "Gekommen")." | \n"; $Active += mysql_result($Erg, $n, "Aktiv"); echo "\t".mysql_result($Erg, $n, "Aktiv")." | \n"; $Tshirt += mysql_result($Erg, $n, "Tshirt"); echo "\t".mysql_result($Erg, $n, "Tshirt")." | \n"; echo "\t". funktion_isLinkAllowed_addLink_OrEmpty( "admin/userChangeNormal.php?enterUID=". mysql_result($Erg, $n, "UID")."&Type=Normal", "Änd."). " | \n"; echo "\t". funktion_isLinkAllowed_addLink_OrEmpty( "admin/userChangeSecure.php?enterUID=". mysql_result($Erg, $n, "UID")."&Type=Secure", "Secure"). " | \n"; echo "\n"; } echo "
". " | $Gekommen | $Active | $Tshirt |