<?php
require_once("../shared/class_folder/grid_param.php");
require_once("class_folder/sigesp_scb_c_progpago_creditos.php");
$io_scb  = new sigesp_scb_c_progpago_creditos("../");
$io_grid = new grid_param();

uf_limpiar_variables();
switch ($ls_operacion){
  case 'CARGAR_DT':
	uf_load_variables();
	$la_object = $io_scb->uf_load_detalles_desembolso($ls_rutfil.'/'.$ls_filnam,$li_totrows);
  break;
  case 'PROCESAR':
    uf_load_variables();
	uf_load_grid($li_totrows,$la_object);
	$lb_valido = $io_scb->uf_procesar_programacion($ls_rutfil.'/'.$ls_filnam,$li_totrows,$la_seguridad);
  break;
}
?>
<form id="sigesp_scb_p_progpago_creditos.php" name="form1" method="post" action="">
<?php
//////////////////////////////////////////////         SEGURIDAD               /////////////////////////////////////////////
	$io_fun_scb->uf_print_permisos($ls_permisos,$la_permisos,$ls_logusr,"location.href='sigespwindow_blank.php'");
	unset($io_fun_scb);
//////////////////////////////////////////////         SEGURIDAD               /////////////////////////////////////////////
?>
  <table width="557" border="0" align="center" cellpadding="0" cellspacing="0" class="formato-blanco">
    <tr class="titulo-ventana">
      <td height="22" colspan="4" class="titulo-ventana"><input name="operacion" type="hidden" id="operacion" value="<?php echo $ls_operacion ?>" />
      Cr&eacute;ditos - Programaci&oacute;n de Pagos 
      <input name="hidfilnam" type="hidden" id="hidfilnam" value="<?php echo $ls_filnam ?>" /></td>