<?php session_start();?>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ROL DE PAGOS</title>

<style type="text/css">
BODY{font-family: courier new;}
/* @page { */
/*    size: 7in 9.25in; */
/* 	 top left bott right */
/*    size: 215mm 297mm;  */
/*    margin: 15mm 0mm 0mm 0mm; */
/* } */
</style>	
	
</head>
<body>
<div align="center">
<?php 
require('../cfg/res.php');

$req_ce = '../../_lib/impr_rolxe1.php';

// if(!mb_stristr('clie.prov',substr($_SESSION['user_vcrx_tipo'],0,4)))
// {	
// 	if (mb_stristr('OP.FC.NC.GR.RP.CH',substr($_GET['docu'],0,2)) )
// 	{
// 		$req_cp='../../_lib/'.strtolower(substr($_GET['docu'],0,2)).'_'.$_SESSION['user_vcrx_empr'].'.php';
// 		if(file_exists($req_cp)){$req_ce = $req_cp;}
// 	}
// 	if (mb_stristr('CH',substr($_GET['docu'],0,2)) )
// 	{
// 		$sql_bcos='select * from ctab0 where ctab_codigo in(select ctab from bcos1 where idnum1="'.$_GET['idnum'].'") ';
// 		$res_bcos=mysql_query($sql_bcos,$link_vcrx);
// 		$bcos=mysql_result($res_bcos,0,'ctab_bcos');

// 		$req_cp='../../_lib/'.strtolower(substr($_GET['docu'],0,2)).'_'.$_SESSION['user_vcrx_empr'].'_'.$bcos.'.php';
// 		if(file_exists($req_cp)){$req_ce = $req_cp;}
// 	}
// }
	
require($req_ce); 
$ce=new vrrolxe($_GET['grupo'],$_GET['enti'],$_POST['fecha1'],$_POST['fecha2']);
// $ce=new vrcelec1($_GET['docu'],$_GET['idnum'],$_GET['formato']);
?>
</div>
</body>
</html>