|
|
@ -9,7 +9,7 @@ if (!IsSet($enterUID)){
|
|
|
|
|
|
|
|
|
|
|
|
// Userliste, keine UID uebergeben...
|
|
|
|
// Userliste, keine UID uebergeben...
|
|
|
|
|
|
|
|
|
|
|
|
echo "<a href=\"../makeuser.php\">Neuen Engel eintragen</a><br><br>\n\n";
|
|
|
|
echo "<a href=\"../makeuser.php\">Neuen Engel eintragen</a><br><br>\n";
|
|
|
|
|
|
|
|
|
|
|
|
if( !isset($OrderBy) ) $OrderBy = "Nick";
|
|
|
|
if( !isset($OrderBy) ) $OrderBy = "Nick";
|
|
|
|
$SQL = "SELECT * FROM User ORDER BY ". $OrderBy. " ASC";
|
|
|
|
$SQL = "SELECT * FROM User ORDER BY ". $OrderBy. " ASC";
|
|
|
@ -19,10 +19,9 @@ if (!IsSet($enterUID)){
|
|
|
|
// anzahl zeilen
|
|
|
|
// anzahl zeilen
|
|
|
|
$Zeilen = mysql_num_rows($Erg);
|
|
|
|
$Zeilen = mysql_num_rows($Erg);
|
|
|
|
|
|
|
|
|
|
|
|
echo "Anzahl Engel: $Zeilen<br><br>";
|
|
|
|
echo "Anzahl Engel: $Zeilen<br><br>\n";
|
|
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
?><table width="100%" class="border" cellpadding="2" cellspacing="1">
|
|
|
|
<table width="100%" class="border" cellpadding="2" cellspacing="1">
|
|
|
|
|
|
|
|
<tr class="contenttopic">
|
|
|
|
<tr class="contenttopic">
|
|
|
|
<td><a href="<? echo $PHP_SELF; ?>?OrderBy=Nick">Nick</a></td>
|
|
|
|
<td><a href="<? echo $PHP_SELF; ?>?OrderBy=Nick">Nick</a></td>
|
|
|
|
<td><a href="<? echo $PHP_SELF; ?>?OrderBy=Name">Name</a></td>
|
|
|
|
<td><a href="<? echo $PHP_SELF; ?>?OrderBy=Name">Name</a></td>
|
|
|
@ -36,6 +35,8 @@ if (!IsSet($enterUID)){
|
|
|
|
<td>Änd.</td>
|
|
|
|
<td>Änd.</td>
|
|
|
|
<td>Secure</td>
|
|
|
|
<td>Secure</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?
|
|
|
|
<?
|
|
|
|
$Gekommen = 0;
|
|
|
|
$Gekommen = 0;
|
|
|
|
$Active = 0;
|
|
|
|
$Active = 0;
|
|
|
@ -43,34 +44,33 @@ if (!IsSet($enterUID)){
|
|
|
|
|
|
|
|
|
|
|
|
for ($n = 0 ; $n < $Zeilen ; $n++) {
|
|
|
|
for ($n = 0 ; $n < $Zeilen ; $n++) {
|
|
|
|
echo "<tr class=\"content\">\n";
|
|
|
|
echo "<tr class=\"content\">\n";
|
|
|
|
echo " <td>".mysql_result($Erg, $n, "Nick"). "</td>\n";
|
|
|
|
echo "\t<td>".mysql_result($Erg, $n, "Nick"). "</td>\n";
|
|
|
|
echo " <td>".mysql_result($Erg, $n, "Name")."</td>\n";
|
|
|
|
echo "\t<td>".mysql_result($Erg, $n, "Name")."</td>\n";
|
|
|
|
echo " <td>".mysql_result($Erg, $n, "Vorname")."</td>\n";
|
|
|
|
echo "\t<td>".mysql_result($Erg, $n, "Vorname")."</td>\n";
|
|
|
|
echo " <td>".mysql_result($Erg, $n, "Alter")."</td>\n";
|
|
|
|
echo "\t<td>".mysql_result($Erg, $n, "Alter")."</td>\n";
|
|
|
|
echo " <td>";
|
|
|
|
echo "\t<td>";
|
|
|
|
if( strlen( mysql_result($Erg, $n, "Telefon"))>0)
|
|
|
|
if( strlen( mysql_result($Erg, $n, "Telefon"))>0)
|
|
|
|
echo "Tel: ". mysql_result($Erg, $n, "Telefon"). "<br>";
|
|
|
|
echo "\n\t\tTel: ". mysql_result($Erg, $n, "Telefon"). "<br>";
|
|
|
|
if( strlen( mysql_result($Erg, $n, "Handy"))>0)
|
|
|
|
if( strlen( mysql_result($Erg, $n, "Handy"))>0)
|
|
|
|
echo "Handy: ". mysql_result($Erg, $n, "Handy"). "<br>";
|
|
|
|
echo "\n\t\tHandy: ". mysql_result($Erg, $n, "Handy"). "<br>";
|
|
|
|
if( strlen( mysql_result($Erg, $n, "DECT"))>0)
|
|
|
|
if( strlen( mysql_result($Erg, $n, "DECT"))>0)
|
|
|
|
echo "<a href=\"./dect.php?custum=". mysql_result($Erg, $n, "DECT"). "\">DECT: </a>".
|
|
|
|
echo "\n\t\tDECT: <a href=\"./dect.php?custum=". mysql_result($Erg, $n, "DECT"). "\">".
|
|
|
|
mysql_result($Erg, $n, "DECT"). "<br>";
|
|
|
|
mysql_result($Erg, $n, "DECT"). "</a><br>";
|
|
|
|
$Mail = mysql_result($Erg, $n, "email");
|
|
|
|
if( strlen( mysql_result($Erg, $n, "email"))>0)
|
|
|
|
// if( strlen($Mail) > 15 )
|
|
|
|
echo "\n\t\temail: <a href=\"mailto:".mysql_result($Erg, $n, "email")."\">".
|
|
|
|
// $Mail = substr($Mail, 0, 12). "...";
|
|
|
|
mysql_result($Erg, $n, "email")."</a>";
|
|
|
|
if( strlen( $Mail)>0)
|
|
|
|
|
|
|
|
echo "email: <a href=\"mailto:".mysql_result($Erg, $n, "email")."\">$Mail</a>\n";
|
|
|
|
|
|
|
|
echo "</td>\n";
|
|
|
|
echo "</td>\n";
|
|
|
|
echo " <td>".mysql_result($Erg, $n, "Size")."</td>\n";
|
|
|
|
echo "\t<td>".mysql_result($Erg, $n, "Size")."</td>\n";
|
|
|
|
$Gekommen += mysql_result($Erg, $n, "Gekommen");
|
|
|
|
$Gekommen += mysql_result($Erg, $n, "Gekommen");
|
|
|
|
echo " <td>".mysql_result($Erg, $n, "Gekommen")."</td>\n";
|
|
|
|
echo "\t<td>".mysql_result($Erg, $n, "Gekommen")."</td>\n";
|
|
|
|
$Active += mysql_result($Erg, $n, "Aktiv");
|
|
|
|
$Active += mysql_result($Erg, $n, "Aktiv");
|
|
|
|
echo " <td>".mysql_result($Erg, $n, "Aktiv")."</td>\n";
|
|
|
|
echo "\t<td>".mysql_result($Erg, $n, "Aktiv")."</td>\n";
|
|
|
|
$Tshirt += mysql_result($Erg, $n, "Tshirt");
|
|
|
|
$Tshirt += mysql_result($Erg, $n, "Tshirt");
|
|
|
|
echo " <td>".mysql_result($Erg, $n, "Tshirt")."</td>\n";
|
|
|
|
echo "\t<td>".mysql_result($Erg, $n, "Tshirt")."</td>\n";
|
|
|
|
echo " <td><a href=\"./user.php?enterUID=".
|
|
|
|
echo "\t<td><a href=\"./user.php?enterUID=".
|
|
|
|
mysql_result($Erg, $n, "UID")."&Type=Normal\">Änd.</a></td>\n";
|
|
|
|
mysql_result($Erg, $n, "UID")."&Type=Normal\">Änd.</a></td>\n";
|
|
|
|
echo " <td>";
|
|
|
|
echo "\t<td>";
|
|
|
|
|
|
|
|
|
|
|
|
//check userCVS=OK
|
|
|
|
//check userCVS=OK
|
|
|
|
$SQL2 = "SELECT UID FROM UserCVS WHERE (UID=". mysql_result($Erg, $n, "UID"). ")";
|
|
|
|
$SQL2 = "SELECT UID FROM UserCVS WHERE (UID=". mysql_result($Erg, $n, "UID"). ")";
|
|
|
|
$Erg2 = mysql_query($SQL2, $con);
|
|
|
|
$Erg2 = mysql_query($SQL2, $con);
|
|
|
|