<p>
    <?php
require_once("../shared/class_folder/sigesp_include.php");
$in = new sigesp_include();
$con= $in-> uf_conectar ();
require_once("../shared/class_folder/class_sql.php");
$SQL=new class_sql($con);
require_once("../shared/class_folder/class_mensajes.php");
$msg=new class_mensajes();
require_once("../shared/class_folder/class_funciones.php");
$fun=new class_funciones();
require_once("../shared/class_folder/class_fecha.php");
require_once("../shared/class_folder/class_sigesp_int.php");
require_once("../shared/class_folder/class_sigesp_int_scg.php");
require_once("sigesp_spg_class_progrep.php");
$class_progrep=new sigesp_spg_class_progrep();
require_once("../shared/class_folder/class_sigesp_int_spg.php");
$int_spg=new class_sigesp_int_spg();
$ds_progrep=new class_datastore();
require_once("../shared/class_folder/grid_param.php");
$class_grid=new grid_param();
$sig_int=new class_sigesp_int();

if(array_key_exists("operacion",$_POST))
{
  $ls_operacion=$_POST["operacion"];
}
else
{
  $ls_operacion="";
}
	require_once("../shared/class_folder/class_mensajes.php");
	require_once("../shared/class_folder/class_fecha.php");
	require_once("../shared/class_folder/class_funciones.php");
	require_once("../shared/class_folder/class_sigesp_int.php");
	require_once("../shared/class_folder/class_sigesp_int_scg.php");
	require_once("../shared/class_folder/class_sigesp_int_spg.php");
	require_once("../shared/class_folder/class_sigesp_int_spi.php");
	require_once("sigesp_spg_class_progrep.php");
	require_once("../shared/class_folder/grid_param.php");
	$io_include = new sigesp_include();
	$io_connect= $io_include->uf_conectar();
	$io_sql=new class_sql($io_connect);
	$io_msg=new class_mensajes();
	$io_function=new class_funciones();
    $io_fecha=new class_fecha();
	$io_class_progrep=new sigesp_spg_class_progrep();
	$sig_int=new class_sigesp_int();
	$int_spg=new class_sigesp_int_spg();
	$ds_progrep=new class_datastore();
	$io_class_grid=new grid_param();

	if(array_key_exists("operacion",$_POST))
	{
	  $ls_operacion=$_POST["operacion"];
	}
	else
	{
	  $ls_operacion="";
	}
	
	if(array_key_exists("li_totnum",$_POST))
	require_once("../shared/class_folder/class_mensajes.php");
	require_once("../shared/class_folder/class_funciones.php");
	require_once("../shared/class_folder/class_fecha.php");
	require_once("../shared/class_folder/class_sigesp_int.php");
	require_once("../shared/class_folder/class_sigesp_int_scg.php");
	require_once("sigesp_spg_class_progrep.php");
	require_once("../shared/class_folder/class_sigesp_int_spg.php");
	require_once("../shared/class_folder/class_sigesp_int_spi.php");
	require_once("../shared/class_folder/grid_param.php");
	$io_include = new sigesp_include();
	$io_connect= $io_include->uf_conectar ();
	$io_sql=new class_sql($io_connect);
	$io_msg=new class_mensajes();
	$io_function=new class_funciones();
    $io_fecha=new class_fecha();
	$io_class_progrep=new sigesp_spg_class_progrep();
	$sig_int=new class_sigesp_int();
	$int_spg=new class_sigesp_int_spg();
	$ds_progrep=new class_datastore();
	$io_class_grid=new grid_param();

	if(array_key_exists("operacion",$_POST))
	{
	  $ls_operacion=$_POST["operacion"];
	}
	else
	{
	  $ls_operacion="";
	}

	if(array_key_exists("li_totnum",$_POST))