|
|
@ -54,6 +54,16 @@ case 'new':
|
|
|
|
echo "<table>\n";
|
|
|
|
echo "<table>\n";
|
|
|
|
|
|
|
|
|
|
|
|
for( $Uj = 1; $Uj < mysql_num_fields($Erg); $Uj++ )
|
|
|
|
for( $Uj = 1; $Uj < mysql_num_fields($Erg); $Uj++ )
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if( (mysql_field_name($Erg, $Uj) == "show") || (mysql_field_name($Erg, $Uj) == "FromPentabarf") )
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
echo "<tr><td>show</td>".
|
|
|
|
|
|
|
|
"<td>".
|
|
|
|
|
|
|
|
"<input type=\"radio\" name=\"e". mysql_field_name($Erg, $Uj). "\" value=\"Y\">Yes".
|
|
|
|
|
|
|
|
"<input type=\"radio\" name=\"e". mysql_field_name($Erg, $Uj). "\" value=\"N\">No".
|
|
|
|
|
|
|
|
"</td></tr>\n";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//sonderfall fuer Default Engel
|
|
|
|
//sonderfall fuer Default Engel
|
|
|
|
if( substr( mysql_field_name($Erg, $Uj), 0, 12) == "DEFAULT_EID_")
|
|
|
|
if( substr( mysql_field_name($Erg, $Uj), 0, 12) == "DEFAULT_EID_")
|
|
|
@ -65,6 +75,7 @@ case 'new':
|
|
|
|
"<td><input type=\"text\" size=\"40\" name=\"".mysql_field_name($Erg, $Uj)."\">";
|
|
|
|
"<td><input type=\"text\" size=\"40\" name=\"".mysql_field_name($Erg, $Uj)."\">";
|
|
|
|
echo "</td></tr>\n";
|
|
|
|
echo "</td></tr>\n";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
echo "</table>\n";
|
|
|
|
echo "</table>\n";
|
|
|
|
echo "<input type=\"hidden\" name=\"action\" value=\"newsave\">\n";
|
|
|
|
echo "<input type=\"hidden\" name=\"action\" value=\"newsave\">\n";
|
|
|
|
echo "<input type=\"submit\" value=\"sichern...\">\n";
|
|
|
|
echo "<input type=\"submit\" value=\"sichern...\">\n";
|
|
|
@ -103,12 +114,12 @@ case 'change':
|
|
|
|
|
|
|
|
|
|
|
|
for ($Uj = 1; $Uj < mysql_num_fields($ERG); $Uj++)
|
|
|
|
for ($Uj = 1; $Uj < mysql_num_fields($ERG); $Uj++)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if( mysql_field_name($ERG, $Uj) == "show")
|
|
|
|
if( (mysql_field_name($ERG, $Uj) == "show") || (mysql_field_name($ERG, $Uj) == "FromPentabarf") )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
echo "<tr><td>show</td>".
|
|
|
|
echo "<tr><td>show</td>".
|
|
|
|
"<td>".
|
|
|
|
"<td>".
|
|
|
|
"<input type=\"radio\" name=\"eshow\" value=\"Y\"". (mysql_result($ERG, 0, $Uj)=='Y'? " checked":""). ">Yes".
|
|
|
|
"<input type=\"radio\" name=\"e". mysql_field_name($ERG, $Uj). "\" 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".
|
|
|
|
"<input type=\"radio\" name=\"e". mysql_field_name($ERG, $Uj). "\" value=\"N\"". (mysql_result($ERG, 0, $Uj)=='N'? " checked":""). ">No".
|
|
|
|
"</td></tr>\n";
|
|
|
|
"</td></tr>\n";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|