Viewing file: boleto_dados_ajax.php (983 B) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include("../../config/config.php");
include(INCLUDES . "conexaoBD.php");
include(INCLUDES . "valida_usuario.inc.php");
include(INCLUDES . "funcoes_uteis.php");
require_once("boletos_class.php");
$boletos = new Boletos();
$num_boleto = $_POST['num_boleto'];
if ($boletos->buscar($num_boleto)) {
$campos = array("SVB_RowID","SVB_Mensalidade_DR","SVB_DataProcessamento","SVB_DataVencimento","SVB_DataPagamento","SVB_Valor","SVB_ValorPago","SVB_AtivoSN","SVB_UsuarioPagto_DR","SRM_RowID","SRM_Oficio_DR","SRM_Valor","SRM_AtivoSN","SRM_MesReferencia","SRM_AnoReferencia","OFI_Descricao","OFI_CNPJ","OFI_CaixaPostal","OFI_Cidades_DR","CID_Descricao","OFI_Estado","OFI_CEP","OFI_Bairro","OFI_Endereco","OFI_ComplEnd","CON_Email","CON_Descricao","SVB_PagoSN","SVB_LinhaDigitavelWS");
for ($i=0;$i<count($campos);$i++) {
echo utf8_encode("<$campos[$i]>".$boletos->get($campos[$i])."</$campos[$i]>");
}
}
else {
die("0");
}
?>
|