<?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>
    
<div id="notification">    
<?php if ($error_warning) { ?>
<div class="warning"><?php echo $error_warning; ?></div>
<?php } ?>
<?php if ($success) { ?>
      <div class="success"><?php echo $success; ?></div>
<?php } ?>
</div>
<div class="box">
  <div class="heading">
    <h1><img src="view/template/module/modulo-futura/logo-futura.png" width="20" height="20" style="margin-right:8px;"/><?php echo $heading_title; ?></h1>
   <div class="buttons"><a onclick="$('#form').submit();" class="button" id="salvar"><?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">
		   <td><label><?php echo $text_preco; ?></label></td>
		   <td><textarea name="futura_preco_dinamico_produto" id="preco_id" style="height:100px; width:500px;"><?php echo $futura_preco_dinamico_produto; ?></textarea></td>
		   
		   <td><label><?php echo $text_preco_demais; ?></label></td>
		   <td><textarea name="futura_preco_dinamico_exibicoes" id="preco_id" style="height:100px; width:500px;"><?php echo $futura_preco_dinamico_exibicoes; ?></textarea></td>
		  
		 <tr>
 		   <td><label><?php echo $text_preco_status; ?></label></td>
		   <td>
		    <select name="futura_preco_dinamico_status" id="status">
			   <?php if($futura_preco_dinamico_status===$text_preco_status_habilitado){ ?>
		         <option  value="<?php echo $text_preco_status_habilitado; ?>" selected="selected" ><?php echo $text_preco_status_habilitado; ?> </option>
			     <option  value="<?php echo $text_preco_status_desabilitado; ?>"><?php echo $text_preco_status_desabilitado;?> </option>
			   <?php }else{?>
			     <option  value="<?php echo $text_preco_status_habilitado; ?>"><?php echo $text_preco_status_habilitado; ?> </option>
			     <option  value="<?php echo $text_preco_status_desabilitado;  ?>" selected="selected"><?php echo $text_preco_status_desabilitado;?> </option>
			   <?php } ?>
		   </select> 
		   </td>
		 </tr>  
	  </table>  
    </form>
  </div>
    
</div>

<?php echo $footer; ?>