add aktive counter

git-svn-id: svn://svn.cccv.de/engel-system@264 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
cookie 2007-12-28 17:30:58 +00:00
parent aa85cbd2b8
commit 4ef096e843
1 changed files with 4 additions and 2 deletions

View File

@ -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");
?>