X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=php%2Fpanel.php;fp=php%2Fpanel.php;h=21c2fa4f50041e52723f7e020817556fb6c5011d;hb=7e415f0586afe35a45d7fc6c34bfe32f55381096;hp=0000000000000000000000000000000000000000;hpb=c1d939c263d7748af8a126f4fba72972c263561d;p=cl7.git diff --git a/php/panel.php b/php/panel.php new file mode 100644 index 0000000..21c2fa4 --- /dev/null +++ b/php/panel.php @@ -0,0 +1,71 @@ +participant; + } + + function rendre() + { + # selection de tous les participants + $res_SQL = mysql_query("SELECT pseudo FROM participants ORDER BY id"); + + echo '
', mysql_num_rows($res_SQL), ' inscrit', (mysql_num_rows($res_SQL) > 1 ? 's' : ''), '
'; + + # affichage des participants + if (mysql_num_rows($res_SQL) > 0) + echo ''; + + if($this->participant->valide) + { + echo' +
+

+

+
'; + } + else + { + if (isset($log)) echo '[erreur de loggation]'; + + echo' +
+

login / pass

+

+

+

+

+
+ '; + } + } +} +?>