/** * Funcion que Muestra la descripcion de la Cuenta * @param string $params */ function Common_82cbe75762e2714baaf92926f0d26d6b($params) { $datos = explode("|", $params); $xT = new cTipos(0); $idcuenta = isset($datos[0]) ? $xT->cInt($datos[0]) : 0; $txt = ""; if ($idcuenta > 0) { $xC = new cCuentaDeCaptacion($idcuenta); $xC->init(); $txt = $xC->getDescription(); } return $txt; }
$permiso = getSIPAKALPermissions($theFile); if ($permiso === false) { header("location:../404.php?i=999"); } $_SESSION["current_file"] = addslashes($theFile); //<===== FIN_H //===================================================================================================== $xInit = new cHPage("", HP_SERVICE); $txt = ""; $cuenta = parametro("cuenta", false, MQL_INT); $cuenta = parametro("idcuenta", $cuenta, MQL_INT); $rs = array("error" => true); if (setNoMenorQueCero($cuenta) > 0) { $xCta = new cCuentaDeCaptacion($cuenta); if ($xCta->init() == true) { $rs["descripcion"] = $xCta->getDescription(); $rs["error"] = false; } } /*$cp = parametro("cp"); $municipio = parametro("m"); $estado = parametro("e"); $nombre = parametro("n");*/ /*$ByCP = ($cp == "") ? "": " AND (`general_colonias`.`codigo_postal` = $cp) "; $ByMun = ($municipio == "") ? "" : " AND `municipio_colonia` LIKE '%$municipio%' "; //TODO: checar $ByEst = ($estado == "") ? "" : " AND `estado_colonia` LIKE '%$estado%' " ; $ByCol = ($nombre == "") ? "" : " AND ( `nombre_colonia` LIKE '%$nombre%' ) "; $action = "LIST"; $sql = "SELECT `general_colonias`.`idgeneral_colonia` AS `codigo`, `general_colonias`.`codigo_postal` AS `clavepostal`,
function mostrarcuenta($str_pedido) { $datos = explode("|", $str_pedido); $idcuenta = $datos[0]; $xC = new cCuentaDeCaptacion($idcuenta); return $xC->getDescription(); }