本文整理汇总了PHP中grid_param::makegrid方法的典型用法代码示例。如果您正苦于以下问题:PHP grid_param::makegrid方法的具体用法?PHP grid_param::makegrid怎么用?PHP grid_param::makegrid使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类grid_param
的用法示例。
在下文中一共展示了grid_param::makegrid方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
$object[$z][1]="<input type=checkbox name=chkaprob".$z." value=0 style=text-align:center class=sin-borde>";
$object[$z][2]="<input type=text name=txtnumrecdoc".$z." value='' style=text-align:center class=sin-borde readonly>";
$object[$z][3]="<input type=text name=txtnompro".$z." value='' style=text-align:center class=sin-borde readonly>";
$object[$z][4]="<input type=text name=txtestapro".$z." value='' style=text-align:center class=sin-borde readonly>";
$object[$z][5]="<input type=text name=txtfecapro".$z." value='' style=text-align:center class=sin-borde readonly>";
$object[$z][6]="<input type=text name=txtmonto".$z." value='' style=text-align:right class=sin-borde readonly>";
}//2
$totrow=1;
}
}
}
}
?>
<span>
<?php
$io_grid->makegrid($totrow,$title,$object,765,'Recepciones de Documentos',$grid);
?>
</span>
<input name="operacion" type="hidden" id="operacion" value="<?php print $ls_operacion;?>">
<input name="totrows" type="hidden" id="totrows" value="<?php print $totrow?>">
<input name="rowselec" type="hidden" id="rowselec" value="<?php print $ls_seleccionado ?>">
<input name="evento" type="hidden" id="evento" value="<?php print $ls_evento ?>">
</p>
</div> </td>
</tr>
</table>
<p> </p>
<p align="center"> </p>
<p> </p>
<p> </p>
<p> </p>
示例2:
<input name="txtprocede" type="text" id="txtprocede" value="<?php print $ls_procede;?>" style="text-align:center" readonly >
</div> </tr>
<tr>
<td height="22" align="center"> <div align="right">Total Retenido </div>
<td height="22" align="center"> <div align="left">
<input name="txttotal" type="text" id="txttotal" value="<?php print number_format($ldec_totret,2,',','.');?>" style="text-align:right" readonly>
</div> </tr>
<tr>
<td height="22" align="center"><p align="right"> </p>
<td height="22" align="center"><div align="left"> <a href="javascript: uf_aceptar();"><img src="../shared/imagebank/tools20/aprobado.gif" alt="Aceptar" width="20" height="20" border="0"></a> <a href="javascript: uf_aceptar();">Procesar deducciones </a> </div> </tr>
</table>
<p align="center">
<?php
$grid->makegrid($totrow,$title,$object,520,'Catalogo de Retenciones',$grid1);
?>
<span class="Estilo1"></span>
<input name="operacion" type="hidden" id="operacion">
<input name="opener" type="hidden" id="opener" value="<?php print $ls_opener;?>">
<input name="mov_document" type="hidden" id="mov_document" value="<?php print $ls_mov_document;?>">
<input name="procede" type="hidden" id="procede" value="<?php print $ls_mov_procede;?>">
<input name="total" type="hidden" id="total" value="<?php print $totrow;?>">
<input name="fecha" type="hidden" id="fecha" value="<?php print $ld_fecha;?>">
<input name="provbene" type="hidden" id="provbene" value="<?php print $ls_provbene;?>">
<input name="tipo" type="hidden" id="tipo" value="<?php print $ls_tipo;?>">
<input name="descripcion" type="hidden" id="descripcion" value="<?php print $ls_mov_descripcion;?>">
<input name="codban" type="hidden" id="codban" value="<?php print $ls_codban;?>">
<input name="ctaban" type="hidden" id="ctaban" value="<?php print $ls_ctaban;?>">
<input name="cuenta_scg" type="hidden" id="cuenta_scg" value="<?php print $ls_cuenta_scg;?>">
示例3:
$object[$z][4] = "<input type=text name=txtcuentascg" . $z . " value='" . $cuentascg . "' id=txtcuentascg" . $z . " class=sin-borde readonly style=text-align:center size=16 maxlength=25>";
} else {
$object[$z][1] = "<input name=status" . $z . " type=hidden id=status" . $z . " value='" . $status . "'> ";
$object[$z][4] = "<input type=text name=txtcuentascg" . $z . " value='' id=txtcuentascg" . $z . " class=sin-borde readonly style=text-align:center size=16 maxlength=25>";
}
$object[$z][2] = "<input type=text name=txtcuenta" . $z . " value='" . $cuenta . "' id=txtcuenta" . $z . " class=sin-borde readonly style=text-align:center size=16 maxlength=20 >";
$object[$z][3] = "<input type=text name=txtdencuenta" . $z . " value='" . $denominacion . "' id=txtdencuenta" . $z . " class=sin-borde readonly style=text-align:left size=50 maxlength=254>";
}
} else {
$object[1][1] = "<input name=chkcta1 type=checkbox id=chkcta1 value=1>";
$object[1][2] = "<input type=text name=txtcuenta1 value='' id=txtcuenta1 class=sin-borde readonly style=text-align:center size=16 maxlength=20>";
$object[1][3] = "<input type=text name=txtdencuenta1 value='' id=txtdencuenta1 class=sin-borde readonly style=text-align:center size=50 maxlength=254>";
$object[1][4] = "<input type=text name=txtcuentascg1 value='' id=txtcuentascg1 class=sin-borde readonly style=text-align:center size=16 maxlength=25>";
$totrow = 0;
}
$grid->makegrid($totrow, $title, $object, 400, 'Plan de Cuentas de Presupuesto de Gasto', $grid1);
} else {
$io_msg->message("No se han creado cuentas para la programatica seleccionada");
}
}
}
print "</table>";
?>
<input name="total" type="hidden" id="total" value="<?php
print $totrow;
?>
">
</div>
</form>
<p> </p>
<p> </p>
示例4:
<p align="right">Código/Cédula</p></td>
<td>
<input name="txtprovbene" type="text" id="txtprovbene" style="text-align:center" value="<? print $ls_provbene?>" <? print $readonly;?>>
<a href="javascript:catprovbene()"><img src="../shared/imagebank/tools15/buscar.gif" alt="Catalogo Proveedores/Beneficiarios" width="15" height="15" border="0"></a>
<input name="txtdesproben" type="text" id="txtdesproben" size="42" maxlength="250" class="sin-borde" value="<? print $ls_desproben;?>" ></td>
<td> </td>
</tr>
<tr >
<td height="22" colspan="3"><div align="center"></div></td>
</tr>
<tr >
<td height="22" colspan="3"> <a href="javascript: uf_agregar_dting();"><img src="../shared/imagebank/tools/nuevo.gif" width="15" height="15" border="0">Agregar detalle Ingresos </a> </td>
</tr>
<tr>
<td height="22" colspan="3">
<div align="center"><? $io_grid->makegrid($totalpre,$title,$object,770,'Detalles Presupuestarios',$grid1);?>
<input name="totpre" type="hidden" id="totpre" value="<? print $totalpre?>">
</div></td>
</tr>
<tr>
<td height="17" colspan="3"><table width="777" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="607" height="22"><div align="right">Total Ingresos </div></td>
<td width="170"><div align="center">
<input name="txttotspi" type="text" id="txttotspi" value="<? print number_format($ldec_totspi,2,",",".");?>" size="28" style="text-align:right">
</div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="22" colspan="3"><p> <a href="javascript: uf_agregar_dtcon();"><img src="../shared/imagebank/tools/nuevo.gif" width="15" height="15" border="0"></a><a href="javascript: uf_agregar_dtcon();">Agregar detalle Contable </a> </p> </td>
示例5:
<tr class="formato-blanco">
<td height="22"><div align="right"></div></td>
<td height="22"><div align="right">Observacion</div></td>
<td colspan="4"><textarea name="txtobsval" cols="80" rows="2" id="txtobsval" onKeyPress="return(validaCajas(this,'x',event))" onKeyDown="textCounter(this,254)" ><?php print $ls_obsval; ?></textarea></td>
</tr>
<tr class="formato-blanco">
<td colspan="6"></td>
</tr>
<tr class="formato-blanco">
<td colspan="6"><table width="610" border="0" align="center" cellpadding="0" cellspacing="0">
<tr class="formato-blanco">
<td width="15" height="13"> </td>
<td width="593"><div align="left"></div></td>
</tr>
<tr align="center" class="formato-blanco">
<td colspan="2"><?php $io_grid->makegrid($li_filaspartidas,$la_columpartidas,$la_objectpartidas,$li_anchopartidas,$ls_titulopartidas,$ls_nametable);?> </td>
</tr>
<input name="filaspartidas" type="hidden" id="filaspartidas" value="<?php print $li_filaspartidas;?>">
<tr class="formato-blanco">
<td height="18" colspan="2"> </td>
</tr>
</table></td>
</tr>
<tr class="formato-blanco">
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td><div align="right">Total Partidas</div></td>
<td><input name="txtsubtotpar" type="text" id="txtsubtotpar" size="20" maxlength="20" readonly="true" value="<?php print $ls_subtotpar?>" style="text-align:right "></td>
</tr>
示例6:
<tr>
<td height="13" colspan="5"> </td>
</tr>
<tr>
<td height="13"> </td>
<td height="13"> </td>
<td height="13"> </td>
<td height="13"> </td>
<td height="13"><a href="javascript:uf_modificar();">Modificar Programación</a></td>
</tr>
<tr>
<td height="13" colspan="5"> </td>
</tr>
<tr>
<td height="13" colspan="5"> <div align="center">
<?php $io_grid->makegrid($ls_fila,$title,$ls_object,770,'Listados de Periodos Mensuales Modificados',$grid1);?>
<input name="fila" type="hidden" id="fila" value="<?php print $ls_fila;?>"> </td>
</tr>
<tr>
<td height="13" colspan="5"> </td>
</tr>
</table>
<div align="center">
<input name="operacion" type="hidden" id="operacion">
<input name="estmodest" type="hidden" id="estmodest" value="<?php print $li_estmodest; ?>">
<input name="mes1" type="hidden" id="mes1" value="<?php print $li_mes1; ?>">
<input name="mes2" type="hidden" id="mes2" value="<?php print $li_mes2; ?>">
<input name="monto" type="hidden" id="monto">
<input name="cuenta" type="hidden" id="cuenta">
<input name="existe" type="hidden" id="existe" value="<?php print $li_existe; ?>">
<input name="estcla" type="hidden" id="estcla" value="<?php print $li_estcla; ?>">
示例7:
$ls_codcar = $data["codcar"][$z];
$ls_dencar = $data["dencar"][$z];
$ld_porcar = $data["porcar"][$z];
$object[$z][1] = "<input name=chk" . $z . " type=checkbox id=chk" . $z . " value=1 class=sin-borde>";
$object[$z][2] = "<input type=text name=txtcodcar" . $z . " value='" . $ls_codcar . "' id=txtcodcar" . $z . " class=sin-borde readonly style=text-align:center size=15 maxlength=10 >";
$object[$z][3] = "<input type=text name=txtdencar" . $z . " value='" . $ls_dencar . "' id=txtdencar" . $z . " class=sin-borde readonly style=text-align:left size=60 maxlength=254>";
$object[$z][4] = "<input type=text name=txtporcar" . $z . " value='" . $ld_porcar . "' id=txtporcar" . $z . " class=sin-borde readonly style=text-align:right size=10 maxlength=20>";
}
} else {
$object[1][1] = "<input name=chk1 type=checkbox id=chk1 value=1>";
$object[1][2] = "<input type=text name=txtcodcar value='' id=txtcodcar class=sin-borde readonly style=text-align:center size=15 maxlength=10>";
$object[1][3] = "<input type=text name=txtdencar value='' id=txtdencar class=sin-borde readonly style=text-align:left size=25 maxlength=254>";
$object[1][4] = "<input type=text name=txtporcar value='' id=txtporcar class=sin-borde readonly style=text-align:right size=10 maxlength=20>";
$totrow = 1;
}
$grid->makegrid($totrow, $title, $object, 520, 'Catálogo de Cargos', $grid1);
} else {
?>
<script language="javascript">
alert("No se han creado Cargos !!!");
close();
</script>
<?php
}
}
}
?>
<input name="total" type="hidden" id="total" value="<?php
print $totrow;
?>
">
示例8: close
$previsto = $data["previsto"][$z];
if ($status == 'C') {
$object[$z][1] = "<input name=chkcta" . $z . " type=checkbox id=chkcta" . $z . " value=1 class=sin-borde><input name=status" . $z . " type=hidden id=status" . $z . " value='" . $status . "'> ";
} else {
$object[$z][1] = "<input name=status" . $z . " type=hidden id=status" . $z . " value='" . $status . "'> ";
}
$object[$z][2] = "<input type=text name=txtcuenta" . $z . " value='" . $cuenta . "' id=txtcuenta" . $z . " class=sin-borde readonly style=text-align:center size=20 maxlength=20 >";
$object[$z][3] = "<input type=text name=txtdencuenta" . $z . " value='" . $denominacion . "' id=txtdencuenta" . $z . " class=sin-borde readonly style=text-align:left size=100 maxlength=254>";
}
} else {
$object[1][1] = "<input name=chkcta1 type=checkbox id=chkcta1 value=1>";
$object[1][2] = "<input type=text name=txtcuenta1 value='' id=txtcuenta1 class=sin-borde readonly style=text-align:center size=20 maxlength=20>";
$object[1][3] = "<input type=text name=txtdencuenta1 value='' id=txtdencuenta1 class=sin-borde readonly style=text-align:center size=100 maxlength=254>";
$totrow = 0;
}
$grid->makegrid($totrow, $title, $object, 400, 'Plan de Cuentas de Ingreso', $grid1);
} else {
$io_msg->message("No se han creado cuentas de Ingreso");
print "<script language=JavaScript>";
print " close();";
print "</script>";
}
}
}
print "</table>";
?>
<input name="total" type="hidden" id="total" value="<?php
print $totrow;
?>
">
</div>
示例9:
<tr>
<td width="100" height="22"><div align="right">Procede</div></td>
<td colspan="2"><input name="txtprocede" type="text" id="txtprocede" value="<?php print $ls_procede;?>"></td>
<td width="267"> </td>
</tr>
<tr>
<td height="22" colspan="4"> </td>
</tr>
<tr>
<td height="22"> </td>
<td height="22"> <a href="javascript: uf_cargar_dt();"><img src="../shared/imagebank/tools15/buscar.gif" alt="Cargar Comprobantes" width="15" height="15" border="0">Cargar Comprobantes</a></td>
<td height="22"> </td>
<td height="22"> </td>
</tr>
<tr>
<td height="22" colspan="4"><div align="center"><?php $io_grid->makegrid($li_row,$titleProg,$object,770,'Comprobantes',$gridProg);?>
<input name="totcomprobantes" type="hidden" id="totcomprobantes" value="<?php print $li_row?>">
<input name="fila" type="hidden" id="fila">
</div></td>
</tr>
<tr>
<td height="22"> </td>
<td width="276" height="22"> </td>
<td width="135" height="22"> </td>
<td height="22"> </td>
</tr>
</table>
<p><input name="operacion" type="hidden" id="operacion">
</p>
</form>
</body>
示例10: ue_imprimir
Acumulada</label></td>
<td width="122"><input name="opcion" type="radio" class="sin-borde" value="D">
Detallada</td>
</tr>
</table></td>
</tr>
<tr>
<td height="22" style="text-align:right">Fecha</td>
<td width="379" height="22" style="text-align:left"><input name="txtfecha" type="text" id="txtfecha" style="text-align:left" value="<?php print $ld_fecha;?>" size="12" maxlength="10" onKeyPress="currencyDate(this);" datepicker="true"> </td>
</tr>
<tr>
<td height="13" colspan="2" align="center"> </td>
</tr>
<tr>
<td height="50" colspan="2" align="center">
<?php $io_grid->makegrid($li_total,$title,$object_bancos,400,'Bancos ',$grid);?></td>
</tr>
</table>
</table>
<input name="total" type="hidden" id="total" value="<?php print $li_total;?>">
</p>
</form>
<p> </p>
<p> </p>
<p> </p>
</body>
<script language="JavaScript">
function ue_imprimir(ls_reporte)
{
f = document.form1;
ld_fecha = f.txtfecha.value
示例11:
<a href="javascript:buscar_unidad();"><img src="../shared/imagebank/tools15/buscar.gif" width="15" height="15" border="0" alt="Catálogo de Estructura Programatica 1"></a>
<input name="txtdenuni" type="text" id="txtdenuni" class="sin-borde" value="<? print $ls_denuniadm ?>" readonly style="text-align:center" maxlength="120" size="50">
</select>
</span></label></td>
<td height="22"> </td>
</tr>
<tr >
<td height="22" colspan="3"><div align="center"></div></td>
</tr>
<tr >
<td height="22" colspan="3"> <a href="javascript: uf_agregar_dtpre();"><img src="../shared/imagebank/tools20/nuevo.gif" width="20" height="20" border="0">Agregar detalle Gastos</a> </td>
</tr>
<tr>
<td height="22" colspan="3">
<div align="center"><?php $io_grid->makegrid($totalpre,$title,$object,770,'Detalles Presupuestarios',$grid1);?>
<input name="totpre" type="hidden" id="totpre" value="<?php print $totalpre?>">
</div></td>
</tr>
<br>
<tr>
<td height="25" colspan="3" valign="top" bordercolor="#FFFFFF"><table width="777" height="22" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="607" height="22"><div align="right">Total gasto </div></td>
<td width="170"><div align="center">
<input name="txttotspg" type="text" id="txttotspg" value="<?php print number_format($ldec_totspg,2,",",".");?>" size="28" style="text-align:right">
</div></td>
</tr>
</table></td>
</tr>
</table>
示例12:
<input name="txtuniadm" type="text" id="txtuniadm" value="<? print $ls_coduniadm ?>" style="text-align:center" >
<a href="javascript:buscar_unidad();"><img src="../shared/imagebank/tools15/buscar.gif" width="15" height="15" border="0" alt="Catálogo de Estructura Programatica 1"></a>
<input name="txtdenuni" type="text" id="txtdenuni" class="sin-borde" value="<? print $ls_denuniadm ?>" readonly style="text-align:center" maxlength="120" size="50">
</select>
</span></label></td>
<td height="22"> </td>
</tr>
<tr >
<td height="12" colspan="3"><div align="center"></div></td>
</tr>
<tr>
<td height="20" colspan="3"> <a href="javascript: uf_agregar_disminucion();"><img src="../shared/imagebank/tools/nuevo.gif" width="20" height="20" border="0">Partidas Cedentes </a> </td>
</tr>
<tr>
<td height="17" colspan="3">
<div align="center"><?php $io_grid->makegrid($totalDI,$title,$objectDI,770,'Partidas Cedentes',$grid1);?>
<input name="totDI" type="hidden" id="totDI" value="<?php print $totalDI?>">
</div></td>
</tr>
<br>
<tr>
<td height="18" colspan="3"><table width="777" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="607" style="text-align:right">Total Partidas Cedentes </td>
<td width="170"><div align="center">
<input name="txttotspg" type="text" id="txttotspg" value="<?php print number_format($ldec_totdi,2,",",".");?>" size="28" style="text-align:right">
</div></td>
</tr>
</table></td>
</tr>
<tr>
示例13:
}
?>
<tr>
<td height="13" colspan="3"> </td>
</tr>
<tr>
<td height="22" colspan="3"><div align="center">
<?php
//Titulos de la tabla
$title[1]="Cuenta"; $title[2]="Denominación"; $title[3]="Asignación";
$title[4]="Distribucion"; $ls_nombre="grid_progrep";
if($ls_operacion == "")
{
$li_total=0;
$object="";
$io_class_grid->makegrid($li_total,$title,$object,800,' PROGRAMACION DE REPORTES ',$ls_nombre);
}//$ls_operacion == ""
if($ls_operacion == "RECARGAR")
{
$ls_codrep = $_POST["cmbrep"];
$ls_codestpro1 = $_POST["codestpro1"];
$ls_codestpro2 = $_POST["codestpro2"];
$ls_codestpro3 = $_POST["codestpro3"];
$li_estmodest = $la_empresa["estmodest"];
if($li_estmodest==2)
{
$ls_codestpro1=$io_function->uf_cerosizquierda($ls_codestpro1,25); // CAMBIO DE TAMAÑO DE LA ESTRUCTURA PROGRAMATICA
$ls_codestpro2=$io_function->uf_cerosizquierda($ls_codestpro2,25); // CAMBIO DE TAMAÑO DE LA ESTRUCTURA PROGRAMATICA
$ls_codestpro3=$io_function->uf_cerosizquierda($ls_codestpro3,25); // CAMBIO DE TAMAÑO DE LA ESTRUCTURA PROGRAMATICA
$ls_codestpro4=$io_function->uf_cerosizquierda($ls_codestpro4,25); // CAMBIO DE TAMAÑO DE LA ESTRUCTURA PROGRAMATICA
示例14:
<a href="javascript:buscar_unidad();"><img src="../shared/imagebank/tools15/buscar.gif" width="15" height="15" border="0" alt="Catálogo de Estructura Programatica 1"></a>
<input name="txtdenuni" type="text" id="txtdenuni" class="sin-borde" value="<? print $ls_denuniadm ?>" readonly style="text-align:center" maxlength="120" size="50">
</select>
</span></label></td>
<td height="22"> </td>
</tr>
<tr >
<td height="12" colspan="3"><div align="center"></div></td>
</tr>
<tr >
<td height="20" colspan="3"> <a href="javascript: uf_agregar_dtspg();"><img src="../shared/imagebank/tools/nuevo.gif" width="20" height="20" border="0">Agregar detalles de Gasto</a> </td>
</tr>
<tr>
<td height="17" colspan="3">
<div align="center"><?php $io_grid->makegrid($totalspg,$title,$object,820,'Detalles de Gasto',$grid1);?>
<input name="totspg" type="hidden" id="totspg" value="<?php print $totalspg?>">
</div></td>
</tr>
<br>
<tr>
<td height="20" colspan="3"><table width="805" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="607"><div align="right">Total Cuentas de Rectificaciones </div></td>
<td width="170"><div align="center">
<input name="txttotspg" type="text" id="txttotspg" value="<?php print number_format($ldec_totalspg,2,",",".");?>" size="28" style="text-align:right" readonly="true">
</div></td>
</tr>
</table></td>
</tr>
<tr>
示例15:
<td height="20"> </td>
</tr>
<tr class="formato-blanco">
<td height="17"> </td>
<td colspan="3" align="left">
<input name="rdtipodespacho" type="radio" class="sin-borde" value="1" onClick="ue_completa();" <?php print $ls_checkedcomp; ?>>
Completa
<input name="rdtipodespacho" type="radio" class="sin-borde" value="0" onClick="ue_parcial();" <?php print $ls_checkedparc; ?>>
Parcial
<input name="txtestsol" type="hidden" id="txtestsol" value="<?php print $ls_estsol; ?>"></td>
</tr>
<tr class="formato-blanco">
<td height="28" colspan="4">
<div align="center">
<?php
$in_grid->makegrid($li_totrows,$lo_title,$lo_object,$li_widthtable,$ls_titletable,$ls_nametable);
?>
</div></td>
</tr>
<?php
if($li_value==1)
{
?>
<tr class="formato-blanco">
<td height="28" colspan="4"><div align="center">
<input name="btngenerar" type="button" class="boton" id="btngenerar" value="Generar Detalle Contables" onClick="javascript: ue_contable();" <?php print $ls_disable ?>>
</div></td>
</tr>
<tr class="formato-blanco">
<td height="28" colspan="4"><p align="center">
<?php