@ -293,16 +293,15 @@ function admin_user() {
< a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = Nick" > Nick< / a >
< a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = Nick" > Nick< / a >
< / th >
< / th >
< th > < a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = Vorname" > Vorname< / a > < a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = Name" > Name< / a > < / th >
< th > < a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = Vorname" > Vorname< / a > < a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = Name" > Name< / a > < / th >
< th > < a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = DECT" > DECT< / a > < / th >
< th > < a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = Alter" > Alter< / a > < / th >
< th > < a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = Alter" > Alter< / a > < / th >
< th >
< th > < a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = email" > E-Mail< / a > < / th >
< a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = email" > E-Mail< / a >
< th class = "rotate" > < div > < a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = Gekommen" > Gekommen< / a > < / div > < / th >
< / th >
< th class = "rotate" > < div > < a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = Aktiv" > Aktiv< / a > < / div > < / th >
< th > < a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = Size" > Grö ß e< / a > < / th >
< th class = "rotate" > < div > < a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = Tshirt" > T-Shirt< / a > < / div > < / th >
< th > < a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = Gekommen" > Gekommen< / a > < / th >
< th class = "rotate" > < div > < a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = Size" > Grö ß e< / a > < / div > < / th >
< th > < a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = Aktiv" > Aktiv< / a > < / th >
< th > < a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = Tshirt" > T-Shirt< / a > < / th >
< th > < a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = lastLogIn" > Last login< / a > < / th >
< th > < a href = "' . page_link_to(" admin_user " ) . ' & OrderBy = lastLogIn" > Last login< / a > < / th >
< th > Ä nd.< / th >
< th > Edit< / th >
< / tr > < / thead > ';
< / tr > < / thead > ';
$Gekommen = 0;
$Gekommen = 0;
$Active = 0;
$Active = 0;
@ -340,6 +339,7 @@ function admin_user() {
else
else
$html .= "\t< td > " . mysql_result($Erg, $n, "Nick") . "< / td > \n";
$html .= "\t< td > " . mysql_result($Erg, $n, "Nick") . "< / td > \n";
$html .= "\t< td > " . mysql_result($Erg, $n, "Vorname") . " " . mysql_result($Erg, $n, "Name") . "< / td > \n";
$html .= "\t< td > " . mysql_result($Erg, $n, "Vorname") . " " . mysql_result($Erg, $n, "Name") . "< / td > \n";
$html .= "\t< td > " . mysql_result($Erg, $n, "DECT") . "< / td > \n";
$html .= "\t< td > " . mysql_result($Erg, $n, "Alter") . "< / td > \n";
$html .= "\t< td > " . mysql_result($Erg, $n, "Alter") . "< / td > \n";
$html .= "\t< td > ";
$html .= "\t< td > ";
if (strlen(mysql_result($Erg, $n, "email")) > 0)
if (strlen(mysql_result($Erg, $n, "email")) > 0)
@ -347,25 +347,25 @@ function admin_user() {
mysql_result($Erg, $n, "email") . "< / a > ";
mysql_result($Erg, $n, "email") . "< / a > ";
$html .= '< div class = "hidden" > ' . $title . '< / div > ';
$html .= '< div class = "hidden" > ' . $title . '< / div > ';
$html .= "< / td > \n";
$html .= "< / td > \n";
$html .= "\t< td > " . mysql_result($Erg, $n, "Size") . "< / td > \n";
$Gekommen += mysql_result($Erg, $n, "Gekommen");
$Gekommen += mysql_result($Erg, $n, "Gekommen");
$html .= "\t< td > " . mysql_result($Erg, $n, "Gekommen") . "< / td > \n";
$html .= "\t< td class = \"" . ( mysql_result ( $ Erg , $ n , " Gekommen " ) = = 1 ? ' true ' : ' false ' ) . " \ " > " . mysql_result($Erg, $n, "Gekommen") . "< / td > \n";
$Active += mysql_result($Erg, $n, "Aktiv");
$Active += mysql_result($Erg, $n, "Aktiv");
$html .= "\t< td > " . mysql_result($Erg, $n, "Aktiv") . "< / td > \n";
$html .= "\t< td class = \"" . ( mysql_result ( $ Erg , $ n , " Aktiv " ) = = 1 ? ' true ' : ' false ' ) . " \ " > " . mysql_result($Erg, $n, "Aktiv") . "< / td > \n";
$Tshirt += mysql_result($Erg, $n, "Tshirt");
$Tshirt += mysql_result($Erg, $n, "Tshirt");
$html .= "\t< td > " . mysql_result($Erg, $n, "Tshirt") . "< / td > \n";
$html .= "\t< td class = \"" . ( mysql_result ( $ Erg , $ n , " Tshirt " ) = = 1 ? ' true ' : ' false ' ) . " \ " > " . mysql_result($Erg, $n, "Tshirt") . "< / td > \n";
$html .= "\t< td > " . mysql_result($Erg, $n, "Size") . "< / td > \n";
$last_login = mysql_result($Erg, $n, "lastLogIn");
$last_login = mysql_result($Erg, $n, "lastLogIn");
if($last_login == 0)
if($last_login == 0)
$html .= "< td > never< / td > ";
$html .= "< td > never< / td > ";
else
else
$html .= "< td > " . date("Y-m-d H:i" , $last_login) . "< / td > ";
$html .= "< td > " . date('d.m.&\n\b\s\p; H:i' , $last_login) . "< / td > ";
$html .= "\t< td > " . '< a href = "' . page_link_to(" admin_user " ) . ' & id = ' . mysql_result($Erg, $n, "UID") . ' " > Edit< / a > ' .
$html .= "\t< td > " . '< a href = "' . page_link_to(" admin_user " ) . ' & id = ' . mysql_result($Erg, $n, "UID") . ' " > Edit< / a > ' .
"< / td > \n";
"< / td > \n";
$html .= "< / tr > \n";
$html .= "< / tr > \n";
}
}
$html .= "< tr > " .
$html .= "< tr > " .
"< t d> < / td > < td > < / td > < td > < / td > < td > < / td > < td > < / td > " .
"< t h> Summe< / th > < th > < / th > < th > < / th > < th > < / th > < th > < / th > " .
"< t d> $Gekommen< / td > < td > $Active< / td > < td > $Tshirt< / td > < td > < / td > < td > < / td > < / tr > \n";
"< t h> $Gekommen< / th > < th > $Active< / th > < th > $Tshirt< / th > < th > < / th > < th > < / th > < th > < / th > < / tr > \n";
$html .= "\t< / table > \n";
$html .= "\t< / table > \n";
// Ende Userliste
// Ende Userliste
}
}