Neuen Engel eintragen
\n";
echo "\nEdit logout User
\n";
if( !isset($_GET["OrderBy"]) ) $_GET["OrderBy"] = "Nick";
$SQL = "SELECT * FROM User 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=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=Size">Größe | ?OrderBy=Gekommen">G | ?OrderBy=Aktiv">A | ?OrderBy=Tshirt">T | Änd. | Secure | ".mysql_result($Erg, $n, "Nick"). " | \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";
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Änd. | \n"; echo "\t";
//check userCVS=OK
$SQL2 = "SELECT UID FROM UserCVS WHERE (UID=". mysql_result($Erg, $n, "UID"). ")";
$Erg2 = mysql_query($SQL2, $con);
echo mysql_error($con);
if( mysql_num_rows($Erg2)==0)
{
$SQL3 = "INSERT INTO `UserCVS` ( `UID`) VALUES ( '". mysql_result($Erg, $n, "UID"). "');";
$Erg3 = db_query($SQL3, "admin/user.php auto CVS create");
if( $Erg3 )
echo "was create \n"; else echo mysql_error($con); } echo "Secure | \n";
echo "\n";
}
echo "
". " | $Gekommen | $Active | $Tshirt |