当前位置: 首页>>代码示例>>PHP>>正文


PHP grid_param类代码示例

本文整理汇总了PHP中grid_param的典型用法代码示例。如果您正苦于以下问题:PHP grid_param类的具体用法?PHP grid_param怎么用?PHP grid_param使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了grid_param类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: uf_cargar_dt_nota

function uf_cargar_dt_nota()
{
    /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    //	     Function: uf_cargar_dt_nota
    //		   Access: public
    //	  Description: Funcion que carga los detalles de la nota
    //	   Creado Por: Ing. Nelson Barraez
    // Fecha Creacin: 29/05/2007 								Fecha Última Modificación : 03/06/2007
    /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    require_once "sigesp_cxp_c_ncnd.php";
    $io_ncnd = new sigesp_cxp_c_ncnd('../../');
    require_once "../../shared/class_folder/sigesp_include.php";
    $io_include = new sigesp_include();
    $io_conexion = $io_include->uf_conectar();
    require_once "../../shared/class_folder/class_sql.php";
    $io_sql = new class_sql($io_conexion);
    require_once "../../shared/class_folder/class_mensajes.php";
    $io_mensajes = new class_mensajes();
    require_once "../../shared/class_folder/class_funciones.php";
    $io_funciones = new class_funciones();
    require_once "../../shared/class_folder/grid_param.php";
    $io_grid = new grid_param();
    $ds_detscg = new class_datastore();
    global $io_funciones_cxp;
    $ls_modalidad = $_SESSION["la_empresa"]["estmodest"];
    $ls_confiva = $_SESSION["la_empresa"]["confiva"];
    $ls_codemp = $io_funciones_cxp->uf_obtenervalor("codemp", "");
    $ls_numncnd = trim($io_funciones_cxp->uf_obtenervalor("numncnd", ""));
    $ls_numord = $io_funciones_cxp->uf_obtenervalor("numord", "");
    $ls_numrecdoc = trim($io_funciones_cxp->uf_obtenervalor("numrecdoc", ""));
    $ls_codtipdoc = $io_funciones_cxp->uf_obtenervalor("codtipdoc", "");
    $ls_tipproben = $io_funciones_cxp->uf_obtenervalor("tipproben", "");
    $ls_codproben = trim($io_funciones_cxp->uf_obtenervalor("codproben", ""));
    $ld_fecha = $io_funciones_cxp->uf_obtenervalor("fecha", "");
    $ls_tiponota = $io_funciones_cxp->uf_obtenervalor("tiponota", "");
    $ldec_totaldebe = 0;
    $ldec_totalhaber = 0;
    $ldec_totalcargo = $ld_montotcre = 0;
    if (isset($_SESSION["la_crenotas"])) {
        unset($_SESSION["la_crenotas"]);
    }
    $ld_montotcre = $io_ncnd->uf_load_creditos_nota($ls_codemp, $ls_numncnd, $ls_numrecdoc, $ls_codtipdoc, $ls_numord, $ls_tiponota, $ls_tipproben, $ls_codproben);
    if ($ls_confiva == 'C') {
        $ldec_totalcargo = $ld_montotcre;
    }
    if ($ls_tipproben == 'P') {
        $ls_aux = " AND cxp.cod_pro='" . $ls_codproben . "' ";
    } elseif ($ls_tipo == 'B') {
        $ls_aux = " AND cxp.ced_bene='" . $ls_codproben . "' ";
    } else {
        $ls_aux = " AND cxp.cod_pro='----------' ";
    }
    if ($_SESSION["ls_gestor"] == "MYSQLT") {
        $ls_codestpro = " CONCAT(spg.codestpro1,spg.codestpro2,spg.codestpro3,spg.codestpro4,spg.codestpro5)";
    } else {
        $ls_codestpro = " (spg.codestpro1||spg.codestpro2||spg.codestpro3||spg.codestpro4||spg.codestpro5)";
    }
    $ls_sql = " SELECT cxp.*,spg.denominacion as dencta,spg.sc_cuenta,scg.denominacion as den_scg,DOC.estcon,DOC.estpre\n\t\t\t\t    FROM cxp_dc_spg cxp,spg_cuentas spg,scg_cuentas scg,cxp_documento DOC\n\t\t\t\t   WHERE cxp.codemp = '" . $ls_codemp . "'\n\t\t\t\t     AND cxp.numdc = '" . $ls_numncnd . "'   \n\t\t\t\t\t AND trim(cxp.numrecdoc) = '" . trim($ls_numrecdoc) . "' \n\t\t\t\t     AND cxp.numsol = '" . $ls_numord . "'\n\t\t\t\t\t AND cxp.codtipdoc='" . $ls_codtipdoc . "' {$ls_aux} \n\t\t\t\t\t AND cxp.codope='" . $ls_tiponota . "' \n\t\t\t\t     AND cxp.spg_cuenta=spg.spg_cuenta \n\t\t\t\t\t AND cxp.codestpro=" . $ls_codestpro . " \n\t\t\t\t\t AND cxp.codemp=scg.codemp \n\t\t\t\t\t AND spg.sc_cuenta=scg.sc_cuenta\n\t\t\t\t\t AND cxp.codtipdoc=DOC.codtipdoc";
    $rs_data = $io_sql->select($ls_sql);
    if ($rs_data === false) {
        $lb_valido = false;
    } else {
        $li = 0;
        $ldec_total = 0;
        $ldec_totalsincargo = 0;
        while ($row = $io_sql->fetch_row($rs_data)) {
            $li++;
            $ls_cuenta = trim($row["spg_cuenta"]);
            $ls_codestpro = $row["codestpro"];
            $ls_codestproaux = $ls_codestpro;
            $io_funciones_cxp->uf_formatoprogramatica($ls_codestpro, &$ls_programatica);
            switch ($ls_modalidad) {
                case "1":
                    // Modalidad por Proyecto
                    $ls_codestpro = substr($ls_codestpro, 0, 29);
                    break;
                case "2":
                    // Modalidad por Programa
                    $ls_codestpro1 = substr(substr($ls_codestpro, 0, 20), -2);
                    $ls_codestpro2 = substr(substr($ls_codestpro, 20, 6), -2);
                    $ls_codestpro3 = substr(substr($ls_codestpro, 26, 3), -2);
                    $ls_codestpro4 = substr($ls_codestpro, 29, 2);
                    $ls_codestpro5 = substr($ls_codestpro, 31, 2);
                    $ls_codestpro = $ls_codestpro1 . "-" . $ls_codestpro2 . "-" . $ls_codestpro3 . "-" . $ls_codestpro4 . "-" . $ls_codestpro5;
                    break;
            }
            $ls_dencuenta = utf8_encode($row["dencta"]);
            $ldec_monto = $row["monto"];
            $ldec_total = $ldec_total + abs($ldec_monto);
            if ($ls_tiponota == 'NC') {
                $ldec_monto = $ldec_monto * -1;
            }
            $ldec_monto = number_format($ldec_monto, 2, ",", ".");
            $ls_scgcuenta = trim($row["sc_cuenta"]);
            $ls_denctascg = $row["den_scg"];
            if ($ls_confiva == 'P') {
                if (uf_check_cargo($ls_numrecdoc, $ls_codtipdoc, $ls_codestproaux, $ls_cuenta, $ls_tipproben, $ls_codproben)) {
                    $ls_cargo = 'C';
                    $ldec_totalcargo += abs($row["monto"]);
                } else {
//.........这里部分代码省略.........
开发者ID:ssolano,项目名称:cafe_sigesp,代码行数:101,代码来源:sigesp_cxp_c_ncnd_ajax.php

示例2: require_once

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("../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_spg_class_apertura.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_class_aper=new sigesp_spg_class_apertura();
$ds_aper=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))
{
  $li_totnum=$_POST["li_totnum"];
}
else
开发者ID:ssolano,项目名称:cafe_sigesp,代码行数:31,代码来源:sigesp_spg_p_apertura.php

示例3: sigesp_include

$li_longestpro1 = 25 - $ls_loncodestpro1 + 1;
$ls_loncodestpro2 = $_SESSION["la_empresa"]["loncodestpro2"];
$li_longestpro2 = 25 - $ls_loncodestpro2 + 1;
$ls_loncodestpro3 = $_SESSION["la_empresa"]["loncodestpro3"];
$li_longestpro3 = 25 - $ls_loncodestpro3 + 1;
if ($li_estmodest == '2') {
    $ls_loncodestpro4 = $_SESSION["la_empresa"]["loncodestpro4"];
    $li_longestpro4 = 25 - $ls_loncodestpro4 + 1;
    $ls_loncodestpro5 = $_SESSION["la_empresa"]["loncodestpro5"];
    $li_longestpro5 = 25 - $ls_loncodestpro5 + 1;
}
$in = new sigesp_include();
$con = $in->uf_conectar();
$dat = $_SESSION["la_empresa"];
$io_msg = new class_mensajes();
$grid = new grid_param();
$io_funcion = new class_funciones();
$io_sql = new class_sql($con);
$io_ds = new class_datastore();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Cat&aacute;logo de Cuentas Presupuestarias</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
a:link {
	color: #006699;
}
开发者ID:ssolano,项目名称:cafe_sigesp,代码行数:31,代码来源:sigesp_spg_cat_ctaspg.php

示例4: sigesp_sno_c_importarprestamos

<script type="text/javascript" language="JavaScript1.2" src="js/stm31.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="js/funcion_nomina.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="../shared/js/number_format.js"></script>
<link href="css/nomina.css" rel="stylesheet" type="text/css">
<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">
</head>

<body>
<?php 
	require_once("sigesp_sno_c_importarprestamos.php");
	$io_importar=new sigesp_sno_c_importarprestamos();
	require_once("../shared/class_folder/grid_param.php");
	$io_grid=new grid_param();
	uf_limpiarvariables();
	switch ($ls_operacion) 
	{
		case "PROCESAR":
			$ls_titletable="Campos";
			$li_widthtable=500;
			$ls_nametable="grid";
			$lo_title[1]="Código";
			$lo_campos[1][1]="";
			$ls_arctxt=$HTTP_POST_FILES["txtarctxt"]["tmp_name"]; 
			$ls_tiparctxt=$HTTP_POST_FILES["txtarctxt"]["type"]; 
			$ls_codarch=$_POST["txtcodarch"];
			$ls_denarch=$_POST["txtdenarch"];
			if($ls_tiparctxt=="text/plain")
			{
开发者ID:ssolano,项目名称:cafe_sigesp,代码行数:31,代码来源:sigesp_sno_p_importarprestamos.php

示例5: uf_calcular_cargo

	function uf_calcular_cargo()
	{
		////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		//	     Function: uf_calcular_cargo
		//		   Access: private
		//	    Arguments: 
		//	  Description: Funcin que obtiene e imprime los resultados de la busqueda del detalle de los cargos de la recepcion y calcula en base a los nuevos montos
		//	   Creado Por: Ing. Nelson Barraez
		// Fecha Creacin:  02/06/2007 								Fecha ltima Modificacin : 03/06/2007
		////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
		global $io_funciones_sob;
		require_once("../../shared/class_folder/class_mensajes.php");
		$io_mensajes=new class_mensajes();		
		require_once("../../shared/class_folder/class_funciones.php");
		$io_funciones=new class_funciones();	
		require_once("../../shared/class_folder/grid_param.php");
		$io_grid=new grid_param();		
        require_once("../../shared/class_folder/evaluate_formula.php");
		$io_formula       = new evaluate_formula();
		$li_total=$io_funciones_sob->uf_obtenervalor("total",0);
		for($li=1;$li<=$li_total;$li++)
		{
			$lb_chk=$io_funciones_sob->uf_obtenervalor("chk".$li,0); 
			$ls_codestpro=$io_funciones_sob->uf_obtenervalor("txtcodestpro".$li,""); 
			$ls_formula=$io_funciones_sob->uf_obtenervalor("txtformula".$li,""); 
			$ls_spgcuenta=$io_funciones_sob->uf_obtenervalor("txtspgcuenta".$li,""); 
			$ls_scgcuenta=$io_funciones_sob->uf_obtenervalor("txtscgcuenta".$li,""); 
			$ls_denscg=$io_funciones_sob->uf_obtenervalor("txtdenscgcuenta".$li,""); 
			$ldec_baseimp=$io_funciones_sob->uf_obtenervalor("txtbaseimp".$li,""); 
			$ls_dencuenta=$io_funciones_sob->uf_obtenervalor("txtdencuenta".$li,"");
			$ldec_baseaux=str_replace(".","",$ldec_baseimp);
			$ldec_baseaux=str_replace(",",".",$ldec_baseaux); 			
			if($lb_chk==1)
			{				
				if ($ldec_baseaux>0)
				{					
				  $ldec_monto = $io_formula->uf_evaluar_formula($ls_formula,$ldec_baseaux);
				}
				else
				{
				  $ldec_monto = 0;
				}
				$ldec_monto=round($ldec_monto,2);
				$lo_object[$li][1]="<input type=checkbox name=chk".$li."      id=chk".$li." class=sin-borde onClick='javascript:ue_calcular($li);' checked>";
			}
			else
			{
				$lo_object[$li][1]="<input type=checkbox name=chk".$li."      id=chk".$li." class=sin-borde onClick='javascript:ue_calcular($li);' >";
				$ldec_monto = 0;
			}
			$lo_object[$li][2]="<input type=text name=txtcodestpro".$li."    class=sin-borde style=text-align:center size=37 value='".$ls_codestpro."'    readonly><input type=hidden name=txtformula".$li."  value='".$ls_formula."'>";
			$lo_object[$li][3]="<input type=text name=txtspgcuenta".$li."    class=sin-borde style=text-align:center size=16  value='".$ls_spgcuenta."'     readonly><input type=hidden name=txtscgcuenta".$li."  value='".$ls_scgcuenta."'><input type=hidden name=txtdenscgcuenta".$li."  value='".$ls_denscg."'>"; 
			$lo_object[$li][4]="<input type=text name=txtbaseimp".$li."        class=sin-borde style=text-align:right  size=20 value='".number_format($ldec_baseaux,2,",",".")."' onBlur='javascript:uf_format(this,true,$li);'  onKeyPress=return(ue_formatonumero(this,'.',',',event));>";
			$lo_object[$li][5]="<input type=text name=txtmonto".$li."        class=sin-borde style=text-align:right  size=20 value='".number_format($ldec_monto,2,",",".")."' readonly>";
			$lo_object[$li][6]="<input type=text name=txtdencuenta".$li."    class=sin-borde style=text-align:left  size=50 value='".$ls_dencuenta."' readonly>";
		}
		if($li==0)
		{
			$io_mensajes->uf_mensajes_ajax("Informacion","No hay datos para mostrar",true,"javascript: ue_close();"); 				
		}
			// Titulos del Grid de Bienes
		$lo_title[1]=" ";
		$lo_title[2]="Codigo Programatico";
		$lo_title[3]="Codigo Estadistico";
		$lo_title[4]="Base Imponible";
		$lo_title[5]="Monto";
		$lo_title[6]="Denominaci&oacute;n";
		print "<input name=totalrows type=hidden id=totalrows value=".($li-1).">";
		print "<input name=selected type=hidden id=selected value=0>";
		$io_grid->makegrid(($li-1),$lo_title,$lo_object,758,"Catalogo de Cargos","grid");
		unset($io_mensajes);
		unset($io_funciones);
		unset($ls_codemp);
	}
开发者ID:ssolano,项目名称:cafe_sigesp,代码行数:74,代码来源:sigesp_sob_c_catalogo_ajax.php

示例6: sigesp_include

  </tr>
</table>
<?php
	require_once("../shared/class_folder/sigesp_include.php");
	require_once("../shared/class_folder/class_sql.php");
	require_once("../shared/class_folder/class_mensajes.php");
	require_once("../shared/class_folder/class_funciones.php");
	require_once("../shared/class_folder/grid_param.php");
	require_once("../shared/class_folder/class_datastore.php");
	$io_include = new sigesp_include();
	$ls_conect  = $io_include->uf_conectar();
	$io_sql     = new class_sql($ls_conect);
	$msg		= new class_mensajes();	
	$fun		= new class_funciones();	
	$lb_guardar	= true;
	$io_grid	= new grid_param();
	$ls_empresa = $_SESSION["la_empresa"]["codemp"];
	
	require_once("sigesp_scb_c_elimin_chq.php");
	$io_cheques=new sigesp_scb_c_elimin_chq($la_seguridad);

	if( array_key_exists("operacion",$_POST))//Cuando aplicamos alguna operacion 
	{
		$ls_operacion= $_POST["operacion"];
		if(array_key_exists("rb_provbene",$_POST))
		{
			$ls_tipo=$_POST["rb_provbene"];			
		}
		else
		{
			$ls_tipo="-";			
开发者ID:ssolano,项目名称:cafe_sigesp,代码行数:31,代码来源:sigesp_scb_p_elimin_chq.php

示例7: require_once

  </tr>
  <tr>
    <td height="20" class="cd-menu"><script type="text/javascript" language="JavaScript1.2" src="js/menu.js"></script></td>
  </tr>
  <tr>
    <td height="13" bgcolor="#FFFFFF" class="toolbar">&nbsp;</td>
  </tr>
  <tr> 
    <td height="20" bgcolor="#FFFFFF" class="toolbar"><a href="javascript:ue_imprimir();"><img src="../shared/imagebank/tools20/imprimir.gif" alt="Imprimir" title="Imprimir" width="20" height="20" border="0"></a><a href="sigespwindow_blank.php"><img src="../shared/imagebank/tools20/salir.gif" alt="Salir" title="Salir" width="20" height="20" border="0"></a><img src="../shared/imagebank/tools20/ayuda.gif" alt="Ayuda" title="Ayuda" width="20" height="20"></td>
  </tr>
</table>
<?php
require_once("../shared/class_folder/grid_param.php");
require_once("../shared/class_folder/sigesp_include.php");

$io_grid	= new grid_param();
$io_include = new sigesp_include();
$ls_conect  = $io_include->uf_conectar();

if (array_key_exists("operacion",$_POST))
   {
	 $ls_operacion=$_POST["operacion"];
   }
else
   {
	 $ls_operacion = "";	
	 $ld_fecha	   = date("d/m/Y");
   }

$object = uf_cargar_conciliacion(&$li_total);
$grid="Grid";
开发者ID:ssolano,项目名称:cafe_sigesp,代码行数:31,代码来源:sigesp_scb_r_conciliacion.php

示例8: uf_print

function uf_print($ls_tipo, &$totrow)
{
    require_once "../shared/class_folder/sigesp_include.php";
    $in = new sigesp_include();
    $con = $in->uf_conectar();
    require_once "../shared/class_folder/class_mensajes.php";
    $io_msg = new class_mensajes();
    require_once "../shared/class_folder/class_datastore.php";
    $ds = new class_datastore();
    require_once "../shared/class_folder/class_sql.php";
    $io_sql = new class_sql($con);
    require_once "../shared/class_folder/class_funciones.php";
    $io_fun = new class_funciones();
    require_once "../shared/class_folder/class_fecha.php";
    $io_fec = new class_fecha();
    $arr = $_SESSION["la_empresa"];
    $ls_codemp = $arr["codemp"];
    require_once "../shared/class_folder/grid_param.php";
    $grid = new grid_param();
    $title[1] = "Todos <input name=chkall type=checkbox id=chkall value=T style=height:15px;width:15px \n\t\t\t\t  onClick=javascript:uf_select_all(); >";
    $title[2] = "Tipo de Material";
    $title[3] = "Código";
    $title[4] = "Denominación del componente";
    $grid1 = "grid";
    $ls_sql = " SELECT saf_componente.*, saf_tipoestructura.dentipest " . "\tFROM saf_componente                                 " . "\tJOIN saf_tipoestructura ON (saf_tipoestructura.codemp=saf_componente.codemp " . "                           AND  saf_tipoestructura.codtipest=saf_componente.codtipest) " . "   ORDER BY saf_componente.codtipest, saf_componente.codcomp";
    $rs_data = $io_sql->select($ls_sql);
    if ($rs_data === false) {
        $io_msg->message("Error en select");
    } else {
        $totrow = $io_sql->num_rows($rs_data);
        if ($totrow > 0) {
            while ($row = $io_sql->fetch_row($rs_data)) {
                $ls_dentipest = $row["dentipest"];
                $ls_codcomp = $row["codcomp"];
                $ls_dencomp = $row["dencomp"];
                $ls_codtipest = $row["codtipest"];
                $z++;
                $object[$z][1] = "<input name=chktip" . $z . " type=checkbox id=chktip" . $z . " value=1 class=sin-borde onClick=javascript:uf_selected('" . $z . "');>";
                $object[$z][2] = "<input type=text name=txtdentipest" . $z . " value='" . $ls_dentipest . "' id=txtdentipest" . $z . " class=sin-borde readonly style=text-align:center size=30 maxlength=30 >\n\t\t\t\t\t<input type=hidden name=txtcodtipest" . $z . " value='" . $ls_codtipest . "' id=txtcodtipest" . $z . " readonly >";
                $object[$z][3] = "<input type=text name=txtcodcomp" . $z . " value='" . $ls_codcomp . "' id=txtcodcomp" . $z . " class=sin-borde readonly style=text-align:left size=12 maxlength=12>";
                $object[$z][4] = "<input type=text name=txtdencomp" . $z . " value='" . $ls_dencomp . "' id=txtdencomp" . $z . " class=sin-borde readonly style=text-align:left size=50 maxlength=50>";
            }
        } else {
            $object[1][1] = "<input name=chktip1 type=checkbox id=chktip1 value=1 class=sin-borde onClick=javascript:uf_selected('1');>";
            $object[1][2] = "<input type=text name=txtdentipest1 value='' id=txtdentipest1 class=sin-borde readonly style=text-alin:center size=30 maxlength=30>\n\t\t\t\t<input type=hidden name=txtcodtipest1 value='' id=txtcodtipest1 readonly >";
            $object[1][3] = "<input type=text name=txtcodcomp1 value='' id=txtcodcomp1 class=sin-borde readonly style=text-align:left size=12 maxlength=12>";
            $object[1][4] = "<input type=text name=txtdencomp1 value='' id=txtdencomp1 class=sin-borde readonly style=text-align:left size=50 maxlength=50>";
        }
        $grid->makegrid($totrow, $title, $object, 500, 'Catalogo de Materiales', $grid1);
        print "</table>";
    }
}
开发者ID:ssolano,项目名称:cafe_sigesp,代码行数:52,代码来源:sigesp_saf_cat_material_edificio.php

示例9: require_once

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/grid_param.php");
require_once("sigesp_spg_class_apertura.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();
$class_aper=new sigesp_spg_class_apertura();
$int_spg=new class_sigesp_int_spg();
$ds_aper=new class_datastore();
$class_grid=new grid_param();

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

if(array_key_exists("li_totnum",$_POST))
{
  $li_totnum=$_POST["li_totnum"];
}
开发者ID:ssolano,项目名称:cafe_sigesp,代码行数:31,代码来源:sigesp_spi_p_apertura_trim.php

示例10: sigesp_include

<?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");
	$io_sql=  new class_sql($con);
	require_once("../shared/class_folder/class_mensajes.php");
	$io_msg= new class_mensajes();
	require_once("../shared/class_folder/class_funciones.php");
	$io_fun= new class_funciones();
	require_once("../shared/class_folder/class_funciones_db.php");
	$io_fundb= new class_funciones_db($con);
	require_once("../shared/class_folder/sigesp_c_generar_consecutivo.php");
	$io_keygen= new sigesp_c_generar_consecutivo();
	require_once("../shared/class_folder/grid_param.php");
	$in_grid= new grid_param();
	require_once("sigesp_scv_c_solicitudviaticos.php");
	$io_scv= new sigesp_scv_c_solicitudviaticos();
	require_once("../shared/class_folder/class_fecha.php");
	$io_fec= new class_fecha();
	$ls_codemp=$_SESSION["la_empresa"]["codemp"];
	$ls_operacion=$io_fun_viaticos->uf_obtenervalor("operacion","NUEVO");
	$lb_cierre=$io_fun_viaticos->uf_select_cierre_presupuestario();
	uf_limpiarvariables();
	if(empty($ls_operacion))
	{
		uf_agregarlineablanca($lo_object,$li_totrows);
		uf_agregarlineablancapersonal($lo_objectpersonal,$li_totrowspersonal);
	}
	$ls_codsolvia= $io_fun_viaticos->uf_obtenervalor("txtcodsolvia","");
	$ld_fecsolvia= $io_fun_viaticos->uf_obtenervalor("txtfecsolvia","");
开发者ID:ssolano,项目名称:cafe_sigesp,代码行数:31,代码来源:sigesp_scv_p_solicitudviaticos.php

示例11: require_once

    <td height="20" class="cd-menu"><script type="text/javascript" language="JavaScript1.2" src="js/menu.js"></script></td>
  </tr>
  <tr>
    <td height="13" bgcolor="#FFFFFF" class="toolbar">&nbsp;</td>
  </tr>
  <tr> 
    <td height="20" bgcolor="#FFFFFF" class="toolbar"><a href="javascript:ue_imprimir();"><img src="../shared/imagebank/tools20/imprimir.gif" alt="Imprimir" title="Imprimir" width="20" height="20" border="0"></a><a href="sigespwindow_blank.php"><img src="../shared/imagebank/tools20/salir.gif" alt="Salir" title="Salir" width="20" height="20" border="0"></a><img src="../shared/imagebank/tools20/ayuda.gif" alt="Ayuda" title="Ayuda" width="20" height="20"></td>
  </tr>
</table>
 <?Php
require_once("../shared/class_folder/grid_param.php");
require_once("../shared/class_folder/class_fecha.php");
require_once("../shared/class_folder/ddlb_meses.php");
require_once("../shared/class_folder/sigesp_include.php");

$io_grid  = new grid_param();
$sig_inc  = new sigesp_include();
$con      = $sig_inc->uf_conectar();
$io_fecha = new class_fecha();
$ddlb_mes = new ddlb_meses();
$la_emp   = $_SESSION["la_empresa"];

if (array_key_exists("operacion",$_POST))
   {
	 $ls_operacion=$_POST["operacion"];
	 $ls_mes=$_POST["mes"];
	 $ls_agno=$_POST["agno"];
   }
else
   {
	$ls_modageret = $_SESSION["la_empresa"]["modageret"];
开发者ID:ssolano,项目名称:cafe_sigesp,代码行数:31,代码来源:sigesp_scb_r_comp_ret_mun.php

示例12: class_mensajes

    <td class="toolbar" width="25"><div align="center"></div></td>
    <td class="toolbar" width="25"><div align="center"></div></td>
    <td class="toolbar" width="530">&nbsp;</td>
  </tr>
</table>
<?php
	require_once("../shared/class_folder/class_mensajes.php");
	$msg=new class_mensajes();	
	require_once("../shared/class_folder/class_funciones.php");
	$fun=new class_funciones();	
	$lb_guardar=true;
    require_once("../shared/class_folder/sigesp_include.php");
    $sig_inc=new sigesp_include();
    $con=$sig_inc->uf_conectar();
	require_once("../shared/class_folder/grid_param.php");
	$io_grid=new grid_param();
	require_once("../shared/class_folder/class_datastore.php");
	$ds_sol=new class_datastore();
	//////////////////////////////////////////////  SEGURIDAD   /////////////////////////////////////////////
	require_once("../shared/class_folder/sigesp_c_seguridad.php");
	$io_seguridad= new sigesp_c_seguridad();
	
	$arre=$_SESSION["la_empresa"];
	$ls_empresa=$arre["codemp"];
	if(array_key_exists("la_logusr",$_SESSION))
	{
		$ls_logusr=$_SESSION["la_logusr"];
	}
	else
	{
		$ls_logusr="";
开发者ID:ssolano,项目名称:cafe_sigesp,代码行数:31,代码来源:sigesp_spg_p_aprob_modpre.php

示例13: require_once

  </tr>
  <tr>
    <td height="13" bgcolor="#FFFFFF" class="toolbar">&nbsp;</td>
  </tr>
  <tr> 
    <td height="20" bgcolor="#FFFFFF" class="toolbar"><a href="javascript:ue_imprimir();"><img src="../shared/imagebank/tools20/imprimir.gif" alt="Imprimir" title="Imprimir" width="20" height="20" border="0"></a><a href="javascript:ue_openexcel();"><img src="../shared/imagebank/tools20/excel.jpg" alt="Excel" title="Excel" width="20" height="20" border="0"></a><a href="sigespwindow_blank.php"><img src="../shared/imagebank/tools20/salir.gif" alt="Salir" title="Salir" width="20" height="20" border="0"></a><img src="../shared/imagebank/tools20/ayuda.gif" alt="Ayuda" title="Ayuda" width="20" height="20"></td>
  </tr>
</table>
  <?Php
require_once("../shared/class_folder/grid_param.php");
require_once("../shared/class_folder/sigesp_include.php");
require_once("../shared/class_folder/class_sql.php");
require_once("../shared/class_folder/class_mensajes.php");
require_once("../shared/class_folder/class_funciones.php");

$io_grid    = new grid_param();
$io_conect  = new sigesp_include();
$con        = $io_conect->uf_conectar();
$io_sql     = new class_sql($con);
$io_msg     = new class_mensajes();
$io_funcion = new class_funciones();
$ls_codemp  = $_SESSION["la_empresa"]["codemp"];

if(array_key_exists("operacion",$_POST))
{
	$ls_operacion = $_POST["operacion"];
	$ls_codban    = $_POST["txtcodban"];;
	$ls_denban    = $_POST["txtdenban"];
	$ls_ctaban    = $_POST["txtcuenta"];
	$ls_denctaban = $_POST["txtdenominacion"];
	$ld_fecdes    = $_POST["txtfecdesde"];
开发者ID:ssolano,项目名称:cafe_sigesp,代码行数:31,代码来源:sigesp_scb_r_documentos.php

示例14: sigesp_include

if (!array_key_exists("la_logusr", $_SESSION)) {
    print "<script language=JavaScript>";
    print "close();";
    print "opener.document.form1.submit();";
    print "</script>";
}
require_once "../../shared/class_folder/sigesp_include.php";
require_once "../../shared/class_folder/class_mensajes.php";
require_once "../../shared/class_folder/grid_param.php";
require_once "../../shared/class_folder/class_funciones.php";
require_once "../../shared/class_folder/class_sql.php";
$in = new sigesp_include();
$con = $in->uf_conectar();
$dat = $_SESSION["la_empresa"];
$io_msg = new class_mensajes();
$grid = new grid_param();
$fun = new class_funciones();
$SQL = new class_sql($con);
$ds = new class_datastore();
$arr = $_SESSION["la_empresa"];
$as_codemp = $arr["codemp"];
$ls_formplan = $arr["formplan"];
require_once "../class_folder/class_funciones_configuracion.php";
$io_fun_cfg = new class_funciones_configuracion();
$ls_destino = $io_fun_cfg->uf_obtenervalor_get("destino", "");
$ls_codestpro1 = $io_fun_cfg->uf_obtenervalor_get("txtcodestpro1", "");
$ls_codestpro2 = $io_fun_cfg->uf_obtenervalor_get("txtcodestpro2", "");
$ls_codestpro3 = $io_fun_cfg->uf_obtenervalor_get("txtcodestpro3", "");
$ls_codestpro4 = $io_fun_cfg->uf_obtenervalor_get("txtcodestpro4", "");
$ls_codestpro5 = $io_fun_cfg->uf_obtenervalor_get("txtcodestpro5", "");
$ls_estcla = $io_fun_cfg->uf_obtenervalor_get("txtestcla", "");
开发者ID:ssolano,项目名称:cafe_sigesp,代码行数:31,代码来源:sigesp_spg_cat_ctaspi.php

示例15: ue_procesar_cobranza

  <tr>
    <td width="780" height="13" colspan="11" class="toolbar"></td>
  </tr>
  <tr>
    <td class="toolbar" width="25"><div align="center"><a href="javascript: ue_procesar_cobranza();"><img src="../shared/imagebank/tools20/ejecutar.gif" alt="Guardar" title="Guardar" width="20" height="20" border="0"></a></div></td>
    <td class="toolbar" width="25"><div align="center"><a href="sigespwindow_blank.php"><img src="../shared/imagebank/tools20/salir.gif"                 alt="Salir" title="Salir" width="20" height="20" border="0"></a></div></td>
    <td class="toolbar" width="25">&nbsp;</td>
    <td class="toolbar" width="705">&nbsp;</td>
  </tr>
</table>
<p>&nbsp;</p>
<?php
require_once("../shared/class_folder/grid_param.php");
require_once("class_folder/sigesp_scb_c_recuperacion_creditos.php");
$io_scb  = new sigesp_scb_c_recuperacion_creditos("../");
$io_grid = new grid_param();

uf_limpiar_variables();
switch ($ls_operacion){
  case 'CARGAR':
	$la_object = $io_scb->uf_load_movimientos_bancarios($ls_rutfil,$li_totrows);
  break;
  case 'PROCESAR':
    uf_load_variables($la_object);
	$lb_valido = $io_scb->uf_procesar_cobranza($ls_rutfil,$li_totrows,$la_seguridad);
	$la_object = $io_scb->uf_load_movimientos_bancarios($ls_rutfil,$li_totrows);
  break;
}
?>
<form id="sigesp_scb_p_recuperacion_creditos.php" name="form1" method="post" action="">
<?php
开发者ID:ssolano,项目名称:cafe_sigesp,代码行数:31,代码来源:sigesp_scb_p_recuperacion_creditos.php


注:本文中的grid_param类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。