本文整理汇总了PHP中cHPage::getHeader方法的典型用法代码示例。如果您正苦于以下问题:PHP cHPage::getHeader方法的具体用法?PHP cHPage::getHeader怎么用?PHP cHPage::getHeader使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类cHPage
的用法示例。
在下文中一共展示了cHPage::getHeader方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getSIPAKALPermissions
//=====================================================================================================
include_once "../core/go.login.inc.php";
include_once "../core/core.error.inc.php";
include_once "../core/core.html.inc.php";
include_once "../core/core.init.inc.php";
include_once "../core/core.db.inc.php";
$theFile = __FILE__;
$permiso = getSIPAKALPermissions($theFile);
if ($permiso === false) {
header("location:../404.php?i=999");
}
$_SESSION["current_file"] = addslashes($theFile);
//=====================================================================================================
$xHP = new cHPage();
$xHP->setTitle($xHP->lang(array("imprimir", "solicitud", "de", "credito")));
echo $xHP->getHeader();
?>
<body>
<?php
$idsolicitud = $_GET["solicitud"];
if (!$idsolicitud) {
exit("NO HAY SUFICIENTES DATOS PARA LLEVAR A CABO EL INFORME");
}
// enumera los conceptos a imprimir, por defecto todos estan aceptado.
?>
<fieldset>
<legend>IMPRIMIR SOLICITUD DE CREDITO.- OPCIONES DE IMPRESION</legend>
<form name="frmlist" action="rptsolicitudcredito1.php" method="post">
<table>
<tr>
<td><input name="siavales" type="checkbox" checked>AGREGAR RELACION DE AVALES</td>
示例2: getSIPAKALPermissions
<?php
//=====================================================================================================
//=====> INICIO_H
include_once "../core/go.login.inc.php";
include_once "../core/core.error.inc.php";
include_once "../core/core.html.inc.php";
include_once "../core/core.init.inc.php";
$theFile = __FILE__;
$permiso = getSIPAKALPermissions($theFile);
if ($permiso === false) {
header("location:../404.php?i=999");
}
$_SESSION["current_file"] = addslashes($theFile);
//<===== FIN_H
//=====================================================================================================
$xP = new cHPage("Cobranza.- Efectivo");
$xP->setIncludes();
echo $xP->getHeader();
$xP->setBodyinit();
$xFrm = new cHForm("frmCobrosEnEfectivo", "cobro-efectivo.frm.php");
$xTxt = new cHText("id");
//$xTxt->setIncludeLabel();
$xFrm->addHElem($xTxt->getDeMoneda("iMontoOperacion", "Monto de la Operacion"));
$xFrm->addHElem($xTxt->getDeMoneda("iMontoRecibido", "Monto Recibido"));
$xFrm->addHElem($xTxt->getDeMoneda("iMontoCambio", "Monto de Cambio"));
echo $xFrm->get();
$xP->setBodyEnd();
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:28,代码来源:cobro-cargo-documento.frm.php
示例3: getSIPAKALPermissions
//=====> INICIO_H
include_once "../core/go.login.inc.php";
include_once "../core/core.error.inc.php";
include_once "../core/core.html.inc.php";
include_once "../core/core.init.inc.php";
$theFile = __FILE__;
$permiso = getSIPAKALPermissions($theFile);
if ($permiso === false) {
header("location:../404.php?i=999");
}
$_SESSION["current_file"] = addslashes($theFile);
//<===== FIN_H
$iduser = $_SESSION["log_id"];
//=====================================================================================================
$xPage = new cHPage(HP_FORM, "Admitir Socios");
echo $xPage->getHeader();
?>
<body>
<fieldset>
<legend>SOCIO(S) NO ADMITIDO(S)</legend>
<form name="frmAdmitir" action="frmadmitirsocios.php" method="post">
<?php
$sqlSNA = "SELECT\n\t`socios_general`.`codigo`,\n\t`socios_general`.`nombrecompleto` AS 'nombre',\n\t`socios_general`.`apellidopaterno` AS 'apellido_paterno',\n\t`socios_general`.`apellidomaterno` AS 'apellido_materno',\n\t`socios_general`.`fechaentrevista` AS 'fecha_de_entrevista',\n\t`socios_general`.`sucursal` \nFROM\n\t`socios_general` `socios_general` \nWHERE\n\t(`socios_general`.`estatusactual` =99)\nORDER BY\n\t`socios_general`.`fechaentrevista` DESC\nLIMIT 0,20\t";
$tSoc = new cTabla($sqlSNA);
$tSoc->setWidth();
$tSoc->addEspTool("<input type=\"checkbox\" id=\"chk" . STD_LITERAL_DIVISOR . "_REPLACE_ID_\" />");
$tSoc->setTdClassByType();
$tSoc->Show("", false);
?>
示例4: jsCheckCreditos
}
//$tab -> add(TabSetValue::getBehavior('idnumpagos', $OConv->obj()->pagos_maximo()->v()));
return $tab->getString();
}
function jsCheckCreditos($persona)
{
}
$jxc->exportFunction('jsaPrevalidarCredito', array('idsocio', 'iidsolicitud', 'idnumpagos', 'idperiocidadpagos', 'idtipoconvenio', 'idcontratocorriente', 'idFechaMinistracion', 'idFechaVencimiento', 'idmontosol'), "#idfrmval");
$jxc->exportFunction('jsaGetNumeroDeCredito', array('idsocio'));
$jxc->exportFunction('jsaValidarMontoDeCredito', array('idsocio', 'idtipoconvenio', 'idmontosol'));
$jxc->exportFunction('jsaGetLetrasByNumero', array('idmontosol'), "#idmontoletras");
$jxc->exportFunction('jsRiesgoDelCredito', array("idsocio"), "#informacion");
$jxc->exportFunction('getNombre_FechaDeMinistracion', array("ideldia1", "idelmes1", "idelanno1"), "#swFechaMin");
$jxc->exportFunction('jsaCargarDatosDeConvenio', array("idtipoconvenio"));
$jxc->process();
echo $xHP->getHeader(true);
$xFRM = new cHForm("frm", "./");
$xBtn = new cHButton();
$xTxt = new cHText();
$xDate = new cHDate();
$xSel = new cHSelect();
$xFRM->addJsBasico();
$xFRM->addPersonaBasico();
?>
<body>
<fieldset>
<legend><?php
echo $xHP->getTitle();
?>
</legend>
<form name="frmsolicitud" id="frmsolicitud" action="clssolicitudcredito_v102.php" method="POST" id="idfrmsolicitud">
开发者ID:Cywaithaka,项目名称:S.A.F.E.-Open-Source-Microfinance-Suite,代码行数:31,代码来源:frmsolicitudcredito_v102.php
示例5: setOut
function setOut($out = OUT_HTML)
{
if ($out == SYS_DEFAULT) {
$out = OUT_HTML;
}
$xHP = new cHPage("", HP_REPORT);
$this->mOut = $out;
switch ($out) {
case OUT_EXCEL:
//NADA
break;
case OUT_TXT:
//NADA
break;
default:
$xHP->setTitle($this->mTitulo);
$xHP->setDevice($out);
//setLog($out);
foreach ($this->mCSSList as $key => $file) {
$xHP->addCSS($file);
}
$this->mHeader = $xHP->getHeader() . $this->mHeader;
//$this->mHeader .= "<style>.logo{ margin-left: .5em; max-height: 5em; max-width: 5em; margin-top: 0 !important; border-color: #808080; z-index: 100000 !important;}</style>";
//$this->mHeader .= $xHP->setBodyinit("javascript:window.print();");
$this->mHeader .= "<body>";
$this->mFooter .= "</body></html>";
break;
}
}