summaryrefslogtreecommitdiff
path: root/www-ssl/admin/debug.php
blob: 961a81644b63b7ba63a0580105c5a2cb98540ac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?PHP

$title = "Debug-Liste";
$header = "Datenbank-Auszug";
include ("./inc/header.php");
include ("./inc/funktion_db_list.php");

echo "<h1>Web Counter</h1>";
funktion_db_list("Counter");

/*
echo "<h1>Raeume</h1> <br>";
funktion_db_list("Raeume");

echo "<h1>Schichtbelegung</h1> <br>";
funktion_db_list("Schichtbelegung");

echo "<h1>Schichtplan</h1> <br>Hier findest du alle bisher eingetragenen Schichten:";
funktion_db_list("Schichtplan");

echo "<h1>User</h1> <br>";
funktion_db_list("User");

echo "<h1>News</h1> <br>";
funktion_db_list("News");

echo "<h1>FAQ</h1> <br>";
funktion_db_list("FAQ");

echo "Deaktiviert";
*/


echo "<h1>Tshirt-Size</h1>";
$SQL="SELECT `Size`, COUNT(`Size`) FROM `User` GROUP BY `Size`";
$Erg = mysql_query($SQL, $con);
echo mysql_error($con);
$rowcount = mysql_num_rows($Erg);

for ($i=0; $i<$rowcount; $i++)
	echo mysql_result($Erg, $i, 1). "x '".  mysql_result($Erg, $i, 0). "'<br>\n";


include ("./inc/footer.php");
?>