<?php echo $header; ?>
<div id="content">

  <div class="breadcrumb">

    <?php foreach ($breadcrumbs as $breadcrumb) { ?>

    <?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>

    <?php } ?>

  </div>

  <?php if ($error_warning) { ?>

  <div class="warning"><?php echo $error_warning; ?></div>

  <?php } ?>

<div class="box">
  <div class="heading">
	<h1><img src="view/image/product.png" alt="" /> <?php echo $heading_auction_specifics; ?></h1>
		<div class="buttons"><a onclick="$('#form').submit();" class="button"><span><?php echo $button_save; ?></span></a><a onclick="location = '<?php echo $cancel; ?>';" class="button"><span><?php echo $button_cancel; ?></span></a></div>
  </div>
  <div class="content">
     <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form">

        <table class="form">
		 <?php $i=0; ?>
		 <?php foreach ($names as $aname) { ?>	
		<tr>  
				<td> <input type="hidden" name="specific_name_<?php echo $i; ?>" value="<?php echo  $aname; ?>" /></td>
				<td><?php echo $aname; ?></td>  
				<td><select name="specific_value_<?php echo $i; ?>">	
						 <?php foreach ($specifics[$i] as $aspec) { ?>	
						 		<option value="<?php echo  $aspec; ?>" <?php if( $aspec == html_entity_decode($stored_specifics[$i])) { echo 'selected = "selected"'; } ?>><?php echo $aspec; ?></option>		
				<?php } ?>
				<option value="Other" <?php if( ("Other" == html_entity_decode($stored_specifics[$i])) || !isset($stored_specifics[$i])) { echo 'selected = "selected"'; } ?>>Other</option>		
				</select>	</td>
		</tr>  
				  <?php $i++; } ?>	
		<tr>
			<td> <input type="hidden" name="total_specifics" value="<?php echo  $i; ?>" /></td>
		</tr>
        </table>
     
    </form>
	  </div>
  </div>
</div>



<?php echo $footer; ?>