<?
#################################################################
## PHP My Auction v6.10															##
##-------------------------------------------------------------##
## Copyright ©2007 PHP Pro Software LTD. All rights reserved.	##
##-------------------------------------------------------------##
#################################################################

if ( !defined('INCLUDED') ) { die("Access Denied"); }
?>
<table width="100%" border="0" cellpadding="3" cellspacing="3" class="fside">
   <form action="custom_fields.php" method="post">
      <input type="hidden" name="page" value="<?=$page_handle;?>" />
      <input type="hidden" name="do" value="<?=$do;?>"  />
      <input type="hidden" name="field_id" value="<?=$field_details['field_id'];?>"  />
      <input type="hidden" name="operation" value="submit" />
      <tr>
         <td colspan="2" class="c4"><b><?=$manage_field_title;?></b></td>
      </tr>
      <tr class="c2">
         <td nowrap><?=AMSG_FIELD_NAME;?></td>
         <td width="100%"><input type="text" name="field_name" value="<?=$field_details['field_name'];?>" size="50" /></td>
      </tr>
      <tr class="c2">
         <td nowrap><?=AMSG_FIELD_DESC;?></td>
         <td width="100%"><input type="text" name="field_description" value="<?=$field_details['field_description'];?>" size="75" /></td>
      </tr>
      <? if ($page_handle == 'auction') { ?>
      <tr class="c2">
         <td nowrap><?=AMSG_CATEGORY;?></td>
         <td width="100%"><input type="hidden" name="category_id" value="0" /><?=categories_list_subcats($field_details['category_id']);?></td>
      </tr>
      <? } ?>
      <tr class="c2">
         <td nowrap><?=AMSG_SECTION;?></td>
         <td width="100%"><?=$sections_list_menu;?></td>
      </tr>
      <tr class="c2">
         <td nowrap colspan="2" class="c3"><img src="admin/images/pixel.gif" width="1" height="1"></td>
      </tr>
      <tr>
         <td colspan="2" align="center"><input type="submit" name="form_save_settings" value="<?=AMSG_SAVE_CHANGES;?>">
         </td>
      </tr>
   </form>
</table>