<?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/customer.png" alt="" /> <?php echo $heading_title; ?></h1>
      <div class="buttons"><a onclick="$('#form').submit();" class="button"><?php echo $button_save; ?></a><a onclick="location = '<?php echo $cancel; ?>';" class="button"><?php echo $button_cancel; ?></a></div>
    </div>
    <div class="content">
      <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form">
        <table class="form">   
               <tr>
                <td><?php echo $entry_country; ?></td>
                <td><select name="country">
                    <?php if ($country=='USA') { ?>
                    <option value="USA" selected="selected"><?php echo $text_usa; ?></option>
                    <option value="AUS"><?php echo $text_australia; ?></option>
                    <option value="Others"><?php echo $text_others; ?></option>
                    <?php } else if($country=='Others')  { ?>                    
                    <option value="Others" selected="selected"><?php echo $text_others; ?></option>
					<option value="USA"><?php echo $text_usa; ?></option>
                    <option value="AUS" ><?php echo $text_australia; ?></option>                   
					<?php } else { ?>
					<option value="AUS" selected="selected"><?php echo $text_australia; ?></option>
                    <option value="USA"><?php echo $text_usa; ?></option>
                    <option value="Others" ><?php echo $text_others; ?></option>                    
                    <?php } ?>
                  </select></td>
                  </tr>			  
			  <tr>
                 <td><span class="required">*</span> <?php echo $entry_ring_size; ?></td>
                 <td><input type="text" name="ring_size" value="<?php echo $ring_size; ?>" />
                 <?php if ($error_ring_size) { ?>
                 <span class="error"><?php echo $error_ring_size; ?></span>
                 <?php  } ?></td>
              </tr>	
			  <tr>
                  <td><?php echo $entry_status; ?></td>
                  <td><select name="status">
                    <?php if ($status) { ?>
                    <option value="Enabled" selected="selected"><?php echo $text_enabled; ?></option>
                    <option value="Disabled"><?php echo $text_disabled; ?></option>
                   
                    <?php } else { ?>
                   
                    <option value="Disabled" selected="selected"><?php echo $text_disabled; ?></option>
                    <option value="Enabled" "><?php echo $text_enabled; ?></option>
                    <?php } ?>
                  </select></td>
              </tr>        
			
																								
        </table>
      </form>
    </div>
  </div>
</div>
<?php echo $footer; ?>