summaryrefslogtreecommitdiff
path: root/www-ssl
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2007-12-28 17:30:58 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2007-12-28 17:30:58 +0000
commit4ef096e8439bda25ca165e8a1a363040d7e8063d (patch)
tree2585de80afd567e33e4d2227d68a77c43c3cb8b3 /www-ssl
parentaa85cbd2b8fa76b2ceeeaf9352d2d293a9fd1c52 (diff)
add aktive counter
git-svn-id: svn://svn.cccv.de/engel-system@264 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl')
-rwxr-xr-xwww-ssl/admin/aktiv.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/www-ssl/admin/aktiv.php b/www-ssl/admin/aktiv.php
index 51ef8aaa..25162283 100755
--- a/www-ssl/admin/aktiv.php
+++ b/www-ssl/admin/aktiv.php
@@ -58,8 +58,7 @@ $Erg = mysql_query($SQL, $con);
echo mysql_error($con);
$rowcount = mysql_num_rows($Erg);
-echo "Anzahl eintraege: $rowcount<br><br>";
-
+$aktivecount=0;
for ($i=0; $i<$rowcount; $i++)
{
echo "\n\n\t<tr class=\"content\">\n";
@@ -71,6 +70,7 @@ for ($i=0; $i<$rowcount; $i++)
{
if( $_POST["Anzahl"] < mysql_result($Erg, $i, "LEN") )
{
+ $aktivecount++;
if( $_POST["SendType"]=="Show..")
echo "show set";
else
@@ -90,6 +90,8 @@ for ($i=0; $i<$rowcount; $i++)
echo "</table>";
+echo "<br>Anzahl eintraege: $aktivecount / $rowcount (Aktive/Mitschichten)<br><br>";
+
include ("./inc/footer.php");
?>