append user flags for DECT calls

git-svn-id: svn://svn.cccv.de/engel-system@334 29ba0400-6e00-0410-a75a-ca02368028f8
main
cookie 16 years ago
parent c38920701f
commit 3b7d279a94

@ -65,13 +65,13 @@ for ($i=0; $i < $Zeilen; $i++)
$SQL_TYPES = "SELECT TID FROM `ShiftEntry` WHERE UID=". mysql_result($Erg, $i, "UID"). " GROUP BY TID;"; $SQL_TYPES = "SELECT TID FROM `ShiftEntry` WHERE UID=". mysql_result($Erg, $i, "UID"). " GROUP BY TID;";
$Erg_TYPES = mysql_query($SQL_TYPES, $con); $Erg_TYPES = mysql_query($SQL_TYPES, $con);
$Zeilen_Typen = mysql_num_rows($Erg_TYPES); $Zeilen_Typen = mysql_num_rows($Erg_TYPES);
for ($i=0; $i < $Zeilen_Typen; $i++) for ($j=0; $j < $Zeilen_Typen; $j++)
{ {
echo "\"TID_". TID2Type( mysql_result($Erg_TYPES, $i, "TID")). "\"=Y\t"; echo "\"TID_". TID2Type( mysql_result($Erg_TYPES, $j, "TID")). "\"=Y\t";
} }
echo "\n"; echo "\n";
echo "<br>"; // echo "<br>";
} }
?> ?>

Loading…
Cancel
Save