<?php 

	require_once 'controls/verifylogin.php';

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
	
		<title>Módulo Financeiro</title>
        
<script src="js/jquery-1.7.2.js" type="text/javascript"></script>
<script src="js/jquery.maskedinput-1.3.min.js" type="text/javascript"></script>
<script>
        jQuery(function($){
		   $("#data_ini").mask("99/99/9999");
		   $("#data_fim").mask("99/99/9999");
		 });
        
</script>
<script type="text/javascript">
$(document).ready(function() {
    var a = 0;
			
			$("#data_ini").keyup(function(){
				var b = 0;
				a = $(this).val();
				$.each( a, function( key, value ) {
					if(value != '_'){
						b = b+1;
					}  
				});
				
				if (b == 10){
					$("#data_fim").focus();
				}
			});
        });
        
</script>
        
		
		<link href="../SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
		<?php include_once('controls/import.php'); ?>
	
	<script src="../SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
	</head>
<body>
	
<?php include_once('controls/header.php'); ?>

	<div class="content">
	
		<div class="form">
		
		<?php include_once('controls/menu.php'); ?>
			
			<div id="conteudo-site">
			
				<div class="titulo-conteudo-site">
					<img src="images/applications.png" title="" alt="" /> Módulo Financeiro  
				</div>
				<p>&nbsp;</p>
			  <p>&nbsp;</p>
                <form id="form1" name="form1" method="get" action="fluxo2.php">
      <table border="1" align="center">
        <tr>
          <td colspan="2">Per&iacute;odo do Fluxo de Caixa</td>
          </tr>
        <tr>
          <td>Data Inicial:</td>
          <td>
          <input type="text" name="data_ini" id="data_ini" />
          </td>
          </tr>
          <tr>
          <td>Data Final:</td>
          <td>
          <input type="text" name="data_fim" id="data_fim" />
          </td>
          </tr>
        <tr>
          <td colspan="2"><input type="submit" name="Ok" id="Ok" value="Vizualizar" /></td>
        </tr>
        </table>
      
    </form>
    
          </div>
			
		</div>
		
	</div>
	
	<?php include_once('controls/footer.php'); ?>
</body>
</html>