コード例 #1
0
$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("../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");
require_once("sigesp_spi_class_apertura.php");
$class_aper=new sigesp_spi_class_apertura();
$ds_aper=new class_datastore();
$class_grid=new grid_param();
$la_empresa =  $_SESSION["la_empresa"];
$li_estpreing = $la_empresa["estpreing"];

if(array_key_exists("operacion",$_POST))
{
    $ls_operacion=$_POST["operacion"];
    if($li_estpreing=='1')
	 {
		$ls_mostrar_estruc = 'style="display:compact"';
	 }
	 else
	 { 
		$ls_mostrar_estruc = 'style="display:none"';
コード例 #2
0
$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("../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");
require_once("sigesp_spi_class_apertura.php");
$class_aper=new sigesp_spi_class_apertura();
$ds_aper=new class_datastore();
$class_grid=new grid_param();
//
require_once("class_folder/class_funciones_spi.php");
$io_class_spi = new class_funciones_spi();
//
$la_empresa =  $_SESSION["la_empresa"];
$li_estpreing = $la_empresa["estpreing"];

if (array_key_exists("operacion",$_POST))
   {
     $ls_operacion    = $_POST["operacion"];
     $li_totnum       = $_POST["li_totnum"];
     $ldt_fecha		  = $_POST["txtFecha"];
     $ls_distribucion = $_POST["radiobutton"];