<?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/module.png" alt="" /> <?php echo $heading_title; ?></h1>
      <div class="buttons"><a onclick="$('#form').submit();" class="button"><?php echo $button_save; ?></a><a href="<?php echo $cancel; ?>" class="button"><?php echo $button_cancel; ?></a></div>
    </div>
    <div class="content">
      <form action="<?php echo $action; ?>" method="post" id="form">
      <div id="tab-general">
        <table id="module" class="form">
            <tr>
              <td class="left"><?php echo $text_inventory_emails; ?></td>
              <td class="left"><input type='text' name="config_inventory_emails" value="<?php echo $config_inventory_emails; ?>" size=100></td>              
           </tr>
            <tr>
              <td class="left"><?php echo $text_inventory_count; ?></td>
              <td class="left">
		<select name='config_inventory_count' id='config_inventory_count'>
			<option value=1 <?php if($config_inventory_count == 1 || $config_inventory_count == ''){ echo "selected";}?>>1</option>
			<option value=2 <?php if($config_inventory_count == 2 ){ echo "selected";}?>>2</option>
			<option value=3 <?php if($config_inventory_count == 3 ){ echo "selected";}?>>3</option>
			<option value=4 <?php if($config_inventory_count == 4 ){ echo "selected";}?>>4</option>
			<option value=5 <?php if($config_inventory_count == 5 ){ echo "selected";}?>>5</option>
			<option value=6 <?php if($config_inventory_count == 6 ){ echo "selected";}?>>6</option>
		</select>
		<!--<input type='text' name="config_inventory_count" value="<?php echo $config_inventory_count; ?>">-->
	      </td>              
           </tr>
	</table>
      </div>
      </form>
    </div>
  </div>
</div>
<?php echo $footer; ?>