schange output

git-svn-id: svn://svn.cccv.de/engel-system@108 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
cookie 2005-12-25 06:06:54 +00:00
parent f2a7d65540
commit 74804957d6
1 changed files with 3 additions and 4 deletions

View File

@ -128,10 +128,9 @@ function ausgabe_Feld_Inhalt( $SID, $Man )
$SQLerlaubnis = "SELECT Name FROM `EngelType` WHERE TID = '". $TempValue["TID"]. "'";
$Ergerlaubnis = mysql_query( $SQLerlaubnis, $con);
if( mysql_num_rows( $Ergerlaubnis))
if( $_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] == "Y" ||
$_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] == "")
for($i=1; $i<=$TempValue["free"]; $i++ )
$Out.= "free";
if( $_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] == "Y" ||
$_SESSION['CVS'][mysql_result( $Ergerlaubnis, 0, "Name")] == "")
$Out.= $TempValue["free"]. "x free ";
$Out.= "</td>\n";
$Out.= "\t\t\t</tr>\n";