$html.="<h1>Schichtplan</h1> <br />Hier findest du alle bisher eingetragenen Schichten:";
funktion_db_list("Schichtplan");
$html.="<h1>User</h1> <br />";
funktion_db_list("User");
$html.="<h1>News</h1> <br />";
funktion_db_list("News");
$html.="<h1>FAQ</h1> <br />";
funktion_db_list("FAQ");
$html.="Deaktiviert";
*/
$html.="<hr>\n";
$html.=funktion_db_element_list_2row("Tshirt-Size aller engel","SELECT `Size`, COUNT(`Size`) FROM `User` GROUP BY `Size`");
$html.="<br />\n";
$html.=funktion_db_element_list_2row("Tshirt ausgegeben","SELECT `Size`, COUNT(`Size`) FROM `User` WHERE `Tshirt`='1' GROUP BY `Size`");
$html.="<br />\n";
$html.=funktion_db_element_list_2row("Tshirt nicht ausgegeben (Gekommen=1)","SELECT COUNT(`Size`), `Size` FROM `User` WHERE `Gekommen`='1' and `Tshirt`='0' GROUP BY `Size`");
$html.="<hr>\n";
$html.=funktion_db_element_list_2row("Hometown","SELECT COUNT(`Hometown`), `Hometown` FROM `User` GROUP BY `Hometown`");
$html.="<br />\n";
$html.=funktion_db_element_list_2row("Engeltypen","SELECT COUNT(`Art`), `Art` FROM `User` GROUP BY `Art`");
$html.="<hr>\n";
$html.=funktion_db_element_list_2row("Gesamte Arbeit","SELECT COUNT(*) AS `Count [x]`, SUM(Shifts.Len) as `Sum [h]` from Shifts LEFT JOIN ShiftEntry USING(SID)");
$html.=funktion_db_element_list_2row("Geleistete Arbeit","SELECT COUNT(*) AS `Count [x]`, SUM(Shifts.Len) as `Sum [h]` from Shifts LEFT JOIN ShiftEntry USING(SID) WHERE (ShiftEntry.UID!=0)");
$html.=funktion_db_element_list_2row("Gesamte Arbeit (Ohne Raum Aufbau (RID=7)","SELECT COUNT(*) AS `Count [x]`, SUM(Shifts.Len) as `Sum [h]` from Shifts LEFT JOIN ShiftEntry USING(SID) WHERE (Shifts.RID!=7)");
$html.=funktion_db_element_list_2row("Geleistete Arbeit (Ohne Raum Aufbau (RID=7)","SELECT COUNT(*) AS `Count [x]`, SUM(Shifts.Len) as `Sum [h]` from Shifts LEFT JOIN ShiftEntry USING(SID) WHERE (ShiftEntry.UID!=0) AND (Shifts.RID!=7)");