|
|
@ -103,16 +103,27 @@ case 'change':
|
|
|
|
|
|
|
|
|
|
|
|
for ($Uj = 1; $Uj < mysql_num_fields($ERG); $Uj++)
|
|
|
|
for ($Uj = 1; $Uj < mysql_num_fields($ERG); $Uj++)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//sonderfall fuer Default Engel
|
|
|
|
if( mysql_field_name($ERG, $Uj) == "show")
|
|
|
|
if( substr( mysql_field_name($ERG, $Uj), 0, 12) == "DEFAULT_EID_")
|
|
|
|
{
|
|
|
|
$FeldName = "Anzahl ". $EngelTypeID[substr( mysql_field_name($ERG, $Uj), 12)];
|
|
|
|
echo "<tr><td>show</td>".
|
|
|
|
|
|
|
|
"<td>".
|
|
|
|
|
|
|
|
"<input type=\"radio\" name=\"eshow\" value=\"Y\"". (mysql_result($ERG, 0, $Uj)=='Y'? " checked":""). ">Yes".
|
|
|
|
|
|
|
|
"<input type=\"radio\" name=\"eshow\" value=\"N\"". (mysql_result($ERG, 0, $Uj)=='N'? " checked":""). ">No".
|
|
|
|
|
|
|
|
"</td></tr>\n";
|
|
|
|
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
$FeldName = mysql_field_name($ERG, $Uj);
|
|
|
|
{
|
|
|
|
|
|
|
|
if( substr( mysql_field_name($ERG, $Uj), 0, 12) == "DEFAULT_EID_")
|
|
|
|
echo "<tr><td>$FeldName</td>".
|
|
|
|
//sonderfall fuer Default Engel
|
|
|
|
"<td><input type=\"text\" size=\"40\" name=\"e".mysql_field_name($ERG, $Uj)."\" ".
|
|
|
|
$FeldName = "Anzahl ". $EngelTypeID[substr( mysql_field_name($ERG, $Uj), 12)];
|
|
|
|
"value=\"".mysql_result($ERG, 0, $Uj)."\">";
|
|
|
|
else
|
|
|
|
echo"</td></tr>\n";
|
|
|
|
$FeldName = mysql_field_name($ERG, $Uj);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "<tr><td>$FeldName</td>".
|
|
|
|
|
|
|
|
"<td><input type=\"text\" size=\"40\" name=\"e".mysql_field_name($ERG, $Uj)."\" ".
|
|
|
|
|
|
|
|
"value=\"".mysql_result($ERG, 0, $Uj)."\">".
|
|
|
|
|
|
|
|
"</td></tr>\n";
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
echo "</table>\n";
|
|
|
|
echo "</table>\n";
|
|
|
|
echo "<input type=\"hidden\" name=\"eRID\" value=\"". $_GET["RID"]. "\">\n";
|
|
|
|
echo "<input type=\"hidden\" name=\"eRID\" value=\"". $_GET["RID"]. "\">\n";
|
|
|
|