<?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/total.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" enctype="multipart/form-data" id="form">
        <table class="form">
	  <tr>
	  <p>
	  <td valign="top"><b><?php echo $text_st_title; ?></b></td>
	  <td>
	  <?php if ($verificaValue == 1) { ?>
	  <label>
	  <input type="radio" name="futuracalcularst_status" value="1" id="ativaST_1" checked="checked"/>
	  Sim</label>
	  <label>
	  <input type="radio" name="futuracalcularst_status" value="0" id="ativaST_0"/>
	  Nao</label>
	  <?php } else { ?>
	  <label>
	  <input type="radio" name="futuracalcularst_status" value="1" id="ativaST_1"/>
	  Sim</label>
	  <label>
	  <input type="radio" name="futuracalcularst_status" value="0" id="ativaST_0" checked="checked"/>
	  Nao</label>
	  <?php } ?>
	  <br />
      </p>
	  </td>
<table class="form" id="confs">
	  	  
	  <tr>
	    <td><?php echo $text_User_ST; ?></td>		
		<td>
			<input name="futuracalcularst_user" type="text" id="futuracalcularst_user" value="<?php echo $futuracalcularst_user; ?>" class="confsST" />	
	        <?php if ($error_futuracalcularst_user) { ?>
	        <span class="error"><?php echo $error_futuracalcularst_user; ?></span>
	        <?php  } ?>		
		</td>		
	  </tr>
	  
	  <tr>
	    <td><?php echo $text_Senha_ST; ?></td>		
		<td>
			<input name="futuracalcularst_senha" type="text" id="futuracalcularst_senha" value="<?php echo $futuracalcularst_senha; ?>" class="confsST" />
	         <?php if ($error_futuracalcularst_senha) { ?>
	         <span class="error"><?php echo $error_futuracalcularst_senha; ?></span>
	         <?php  } ?>
		</td>		
	  </tr>
	  
	  <tr>
	    <td><?php echo $text_IP_ST; ?></td>		
		<td>
			<input name="futuracalcularst_ip" type="text" id="futuracalcularst_ip" value="<?php echo $futuracalcularst_ip; ?>" class="confsST" />
	         <?php if ($error_futuracalcularst_ip) { ?>
	         <span class="error"><?php echo $error_ip_st; ?></span>
	         <?php  } ?>
		</td>		
	  </tr>
	  
	  <tr>
	    <td><?php echo $text_Porta_ST; ?></td>		
		<td>
			<input name="futuracalcularst_porta" type="text" id="futuracalcularst_porta" value="<?php echo $futuracalcularst_porta; ?>" class="confsST" />
			 <?php if ($error_futuracalcularst_porta) { ?>
	         <span class="error"><?php echo $error_futuracalcularst_porta; ?></span>
	         <?php  } ?>
		</td>		
	  </tr>
	  
	  <tr>
	    <td><?php echo $text_ID_Usuario_ST; ?></td>		
		<td>
			<input name="futuracalcularst_usuario" type="text" id="futuracalcularst_usuario" value="<?php echo $futuracalcularst_usuario; ?>" class="confsST" />
			<?php if ($error_futuracalcularst_usuario) { ?>
	         <span class="error"><?php echo $error_futuracalcularst_usuario; ?></span>
	         <?php  } ?>
		</td>		
	  </tr>
	
	</table>
      </form>
    </div>
  </div>
</div>
<?php echo $footer; ?>