<?php 
session_start();
$ruta = '../';
$fecha_actual = date("d/m/Y");

require_once("clases/covensol_fop_c_formulacion.php");
$objfop=new covensol_fop_c_formulacion('');
$resp = $objfop->ValidarSesion();
$objfop->cargar_seguridad("FOP","covensol_fop_r_resumen.php");
$datos=array();

?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>CONSULTA GENERAL DE POA</title>

<link rel="stylesheet" type="text/css" href="../base/librerias/js/ext/resources/css/ext-all.css" />
<script type="text/javascript" src="../base/librerias/js/ext/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="../base/librerias/js/ext/ext-all-debug.js"></script>
<script type="text/javascript" src="../base/librerias/js/ext/locale/ext-lang-es.js"></script>  
<link href="../shared/css/tablas.css" rel="stylesheet" type="text/css">
<link href="../shared/css/ventanas.css" rel="stylesheet" type="text/css">
<link href="../shared/css/cabecera.css" rel="stylesheet" type="text/css">
<link href="../shared/css/general.css" rel="stylesheet" type="text/css">
<link href="../shared/css/catalogos.css" rel="stylesheet" type="text/css"> 
<link rel='stylesheet' type='text/css' href='../base/css/sigesp_css_formulario.css'/>
<link href="../shared/js/css_intra/datepickercontrol.css" rel="stylesheet" type="text/css">
<script src="../base/librerias/js/jquery/jquery.js" type="text/javascript"></script>
<script src="../base/librerias/js/jquery/jquery.ui.draggable.js" type="text/javascript"></script>
<script src="../base/librerias/js/jquery/jquery.alerts.js" type="text/javascript"></script>
<link href="../base/librerias/js/jquery/jquery.alerts.css" rel="stylesheet" type="text/css" media="screen" />
<script language="JavaScript" type="text/JavaScript" src="../shared/js/js_ajax.js"></script>
<script language="JavaScript" src="../shared/js/sigesp_js.js"></script>
<script language="javascript" src="../shared/js/js_intra/datepickercontrol.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="../shared/js/librerias_comunes_covensol_ext.js"></script>
<script type="text/javascript" src="js/covensol_fop_r_resumen.js"></script>

<style type="text/css">
<!--
.add-icon {	background-size: 10px; background-image:url(../shared/imagebank/tools15/actualizar.gif) !important;}
.delete-icon { background-size: 10px; background-image:url(../shared/imagebank/tools15/eliminar.gif) !important;}
.deshacer-icon { background-size: 10px; background-image:url(../shared/imagebank/tools15/deshacer.gif) !important;}
.cajastexto{ font-size:10px;}
.align-right .x-form-item {
		    text-align: right;
		    padding-right:25px;
		}
.align-right label {
				    text-align: left;
}
.alinear-derecha  {
				    text-align: right;
}
.alinear-izquierda  {
				    text-align: left;
}
.fila-tamano-grande  {
		font-size:16px;
}
.alinear-centro  {
				    text-align: center;
					color:#990000;
}
.fondo_grid { 
 background-color:#FFFFCC;
}
.guardar {
    background-image:url(../shared/imagenes/guardar_extjs.gif) !important;
}
.borrar {
    background-image:url(../shared/imagenes/borrar_extjs.gif) !important;
}
.buscar {
    background-image:url(../shared/imagenes/icono_lupa_web2.gif) !important;
}
.nuevo {
    background-image:url(../shared/imagenes/empty.png) !important;
}
.imprimir {
    background-image:url(../shared/imagebank/tools20/imprimir.gif) !important;
}
.imprimir_calc {
    background-image:url(../shared/imagebank/tools20/excel.jpg) !important;
}
.seleccionar {
    background-image:url(../shared/imagebank/tools20/aprobado_transp.gif) !important;
}
-->
</style>
</head>
<body>
<form name="form1" method="post" action="">

<div id="pest1" class="x-hide-display"></div>
<div id="pest2" class="x-hide-display"></div>
<div id="pest3" class="x-hide-display"></div>
<br>
<label>

</label>
<br><br>
<table width="760" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td ><div id="editor-grid"></div></td>
  </tr>
</table>
<div id="formulario" align="center"></div>
<div id="contenedorp"></div>
<div id="errores_ajax" align="center"></div>


<input name="hfechahoy"  type="hidden" id="hfechahoy"  value="<?php echo date('d/m/Y'); ?>">
<input name="hloncodestpro1"  type="hidden" id="hloncodestpro1"  value="<?php echo $_SESSION["la_empresa"]["loncodestpro1"]; ?>">
<input name="hloncodestpro2"  type="hidden" id="hloncodestpro2"  value="<?php echo $_SESSION["la_empresa"]["loncodestpro2"]; ?>">
<input name="hloncodestpro3"  type="hidden" id="hloncodestpro3"  value="<?php echo $_SESSION["la_empresa"]["loncodestpro3"]; ?>">
<input name="hloncodestpro4"  type="hidden" id="hloncodestpro4"  value="<?php echo $_SESSION["la_empresa"]["loncodestpro4"]; ?>">
<input name="hloncodestpro5"  type="hidden" id="hloncodestpro5"  value="<?php echo $_SESSION["la_empresa"]["loncodestpro5"]; ?>">
<input name="hnomestpro1"  type="hidden" id="hnomestpro1"  value="<?php echo $_SESSION["la_empresa"]["nomestpro1"]; ?>">
<input name="hnomestpro2"  type="hidden" id="hnomestpro2"  value="<?php echo $_SESSION["la_empresa"]["nomestpro2"]; ?>">
<input name="hnomestpro3"  type="hidden" id="hnomestpro3"  value="<?php echo $_SESSION["la_empresa"]["nomestpro3"]; ?>">
<input name="hnomestpro4"  type="hidden" id="hnomestpro4"  value="<?php echo $_SESSION["la_empresa"]["nomestpro4"]; ?>">
<input name="hnomestpro5"  type="hidden" id="hnomestpro5"  value="<?php echo $_SESSION["la_empresa"]["nomestpro5"]; ?>">
<input name="hanopresup"  type="hidden" id="hanopresup" value="<?php echo $datos['anopresup'];?>">
<input name="hcodplangob"  type="hidden" id="hcodplangob" value="<?php echo $datos['codplangob'];?>">
<input name="hcodestpro1"  type="hidden" id="hcodestpro1" value="<?php echo $datos['codestpro1']?str_pad($datos['codestpro1'],25,'0',STR_PAD_LEFT):"";?>">
<input name="hcodestpro2"  type="hidden" id="hcodestpro2" value="<?php echo $datos['codestpro2']?str_pad($datos['codestpro2'],25,'0',STR_PAD_LEFT):"";?>">
<input name="hcodestpro3"  type="hidden" id="hcodestpro3" value="<?php echo $datos['codestpro3']?str_pad($datos['codestpro3'],25,'0',STR_PAD_LEFT):"";?>">	
<input name="hestcla"  type="hidden" id="hestcla" value="<?php echo $datos['estcla'];?>">
<input name="hnumniv"  type="hidden" id="hnumniv"  value="<?php echo $_SESSION["la_empresa"]["numniv"]; ?>">
<input name="NOMBRE_FORM"  type="hidden" id="NOMBRE_FORM"  value="covensol_fop_r_resumen">
<?php 
//////////////////////////////////////////////         SEGURIDAD               /////////////////////////////////////////////
	$objfop->imprimir_permisos($objfop->permisos,$objfop->la_permisos,$_SESSION["la_logusr"],"window.close()");
//////////////////////////////////////////////         SEGURIDAD               /////////////////////////////////////////////
?>	  


<div id="resultados" align="center"></div>
</form>
<br><br>

</body>
</html>
