summaryrefslogtreecommitdiff
path: root/www-ssl
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2008-12-28 16:36:05 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2008-12-28 16:36:05 +0000
commitc38920701f2f48a13ad46b0319c4e2ec9f17733e (patch)
treed6ef39fe3a31e7eb0c2658b21b5b5f75420c8423 /www-ssl
parentd2b7899c6046c7c5b0f6c787c316bc3cfb0ebf67 (diff)
append user flags for DECT calls
git-svn-id: svn://svn.cccv.de/engel-system@333 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl')
-rwxr-xr-xwww-ssl/admin/free_DECT.php13
1 files changed, 4 insertions, 9 deletions
diff --git a/www-ssl/admin/free_DECT.php b/www-ssl/admin/free_DECT.php
index 4066d202..531bba5a 100755
--- a/www-ssl/admin/free_DECT.php
+++ b/www-ssl/admin/free_DECT.php
@@ -64,19 +64,14 @@ for ($i=0; $i < $Zeilen; $i++)
// get shift types
$SQL_TYPES = "SELECT TID FROM `ShiftEntry` WHERE UID=". mysql_result($Erg, $i, "UID"). " GROUP BY TID;";
$Erg_TYPES = mysql_query($SQL_TYPES, $con);
- if( mysql_num_rows( $Erg_TYPES) > 0)
+ $Zeilen_Typen = mysql_num_rows($Erg_TYPES);
+ for ($i=0; $i < $Zeilen_Typen; $i++)
{
- $UserTypes = mysql_fetch_array($Erg_TYPES);
- foreach( $UserTypes as $Var => $Value)
- {
- if( is_numeric($Var) === false)
- {
- echo "\"". TID2Type($Value). "\"=Y\t";
- }
- }
+ echo "\"TID_". TID2Type( mysql_result($Erg_TYPES, $i, "TID")). "\"=Y\t";
}
echo "\n";
+ echo "<br>";
}
?>