diff --git a/www-ssl/admin/room.php b/www-ssl/admin/room.php index 9b3dce1a..8f2f08f7 100755 --- a/www-ssl/admin/room.php +++ b/www-ssl/admin/room.php @@ -103,16 +103,27 @@ case 'change': for ($Uj = 1; $Uj < mysql_num_fields($ERG); $Uj++) { - //sonderfall fuer Default Engel - if( substr( mysql_field_name($ERG, $Uj), 0, 12) == "DEFAULT_EID_") - $FeldName = "Anzahl ". $EngelTypeID[substr( mysql_field_name($ERG, $Uj), 12)]; + if( mysql_field_name($ERG, $Uj) == "show") + { + echo "show". + "". + "Yes". + "No". + "\n"; + } else - $FeldName = mysql_field_name($ERG, $Uj); - - echo "$FeldName". - ""; - echo"\n"; + { + if( substr( mysql_field_name($ERG, $Uj), 0, 12) == "DEFAULT_EID_") + //sonderfall fuer Default Engel + $FeldName = "Anzahl ". $EngelTypeID[substr( mysql_field_name($ERG, $Uj), 12)]; + else + $FeldName = mysql_field_name($ERG, $Uj); + + echo "$FeldName". + "". + "\n"; + } } echo "\n"; echo "\n";