<?php session_start();
// require('../cfg/cfg.php');
// require('../cfg/res.php');
// include('../../_lib/php_gene1.php');
?>
<?php 
 include('../_cfg/config.php');
 include('php_gene1.php');
 include('php_session.php');
?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<script type="text/javascript" src="../js/jquery-1.11.1.js"></script>
<script>
<?php include('../../_js/js_gene1.js');?>
<?php include('../../_js/busca_maes3.js');?>
<?php include('../../_js/lista_maes3.js');?>
<?php include('../../_js/fecha_format.js');?>
<?php include('../../_js/hora_format.js');?>
<?php include('../../_js/deledeta.js');?>

</script>
  
  
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>

<body>
<?php $xfecha2=date('Y-m-d',strtotime('now')); ?>
<?php $xfecha1=date('Y-m-01',strtotime ('-90 days')); ?>

   
<form action="/lib/tfle_repo2.php" method="get" target="_blank">
<table>
<tr>
<!-- 	<td>FECHA INI</td> -->
<!--     <td><input type="text" name="fini" id="fini" /></td> -->
      <?php $pidtxt='fini'; $pcaption='Fec. Ini.'; $pdefa=$xfecha1; $psize=$xfontsize; include('vrgetfec.php'); ?>
  
  
    <?php $pcaption='CLIENTE'; $ptabla='enti'; $pidtxt='clie'; $ponblur=''; $ponchange='';$pdefa=$pla_enti;  include('vrgetcod.php'); ?>
  
  
    <!--
    <td>CLIENTE</td>
    <td><input type="text" name="clie" id="clie" /></td>
    -->
<!--   
    <td>REPORTE</td>
    <td>
    <select name="tipo" id="tipo" >
    <option value="plan">PLANIFICACIONES</option>
    <option value="actclie">ACTIVIDADES X CLIENTE</option>
    <option value="actrecu">ACTIVIDADES X RECURSO</option>
    </select>
    </td>

   -->
  <td>
    <?php $pidtxt='tipo'; $pcaption='REPORTE'; $ponclick=''; $psize=$xfontsize; $pdefa=0; 
    $poptions='';
    $pvalo ='';
    $poptions.='plan,PLANIFICACIONES;';
    $poptions.='actclie,ACTIV.X CLIENTE;';
    $poptions.='actrecu,ACTIV.X RECURSO;';
    $poptions.='actcsub,ACTIV.X CENTRO;';
    $poptions.='comp,COMPARATIVO;';
     include('vrselopt.php'); 
    ?>
  </td>
  <td>
      <input type="submit" value="CONSULTAR">
      

  </td>
  
  
  
</tr>
<tr>
<!-- 	<td>FECHA FIN</td> -->
      <?php $pidtxt='ffin'; $pcaption='Fec. Fin.'; $pdefa=$xfecha2; $pvalue=$xfecha2; $psize=$xfontsize; include('vrgetfec.php'); ?>
  
<!--     <td>RECURSO</td> -->
<!--     <td><input type="text" name="recu" id="recu" /></td> -->
                <?php $pidtxt='recu'; $pcaption='RECURSO'; $ptabla='enti'; $pnotob="1"; $psize=$xfontsize;  $pobj=3; 
                   include('vrgetcod.php'); 
  ?>
  
<!--     <td>VALORES</td> -->
<!--     <td><input type="checkbox" name="valo" id="valo" /></td> -->
  <td>
              <?php// $pidtxt='valo'; $pcaption='VALORES'; $ponclick=''; $psize=$xfontsize; $pdefa=''; $pname='valo';include('vrchkbox.php'); ?>
              <input type="checkbox" name="valo"  /><strong>Valores</strong>
              
  </td>

</tr>

</table>
<!--   <input type="submit" value="CONSULTAR"> -->
</form>

</body>
</html>
