<input type="text" name="mes_vcto" id="mes_vcto" size="2" maxlength="2" value="<?php echo date('m'); ?> "> <input type="text" name="ano_vcto" id="ano_vcto" size="4" maxlength="4" value="<?php echo date('Y'); ?> "> <input type="button" value="Voltar" onclick="js_voltar();" class="botao"> <input type="button" name="enviar" id="enviar" value="Emite Recibo" class="botao" onClick="return js_emiterecibo();" disabled > <input type='hidden' name='debito' id='debito' value=''> <input type="hidden" value="" name="numpres" id ="numpres" size="60"> </td> </tr> </table> </center> <?php require_once "classes/db_configdbpref_classe.php"; $clconfigdbpref = new cl_configdbpref(); $rs_agrupadebitos = $clconfigdbpref->sql_record($clconfigdbpref->sql_query_file(db_getsession('DB_instit'), "w13_agrupadebrecibos")); if ($clconfigdbpref->numrows > 0) { db_fieldsmemory($rs_agrupadebitos, 0); if ($w13_agrupadebrecibos == 't') { ?> <script type="text/javascript"> agrupadebrecibos = true; </script> <?php } }
require_once "libs/db_barras.php"; require_once "libs/db_utils.php"; require_once "classes/db_db_bancos_classe.php"; require_once "model/regraEmissao.model.php"; require_once "model/convenio.model.php"; db_postmemory($HTTP_SERVER_VARS); $matricularecibo = @$j01_matric; $inscricaorecibo = @$q02_inscr; $numcgmrecibo = @$z01_numcgm; db_postmemory($HTTP_POST_VARS); if (isset($tipo) && $tipo != "") { $tipo_debito = $tipo; } $instit = db_getsession('DB_instit'); $cldb_bancos = new cl_db_bancos(); $clconfigdbpref = new cl_configdbpref(); $sqluf = "select db12_uf,db12_extenso,db21_usasisagua from db_config inner join db_uf on db12_uf=uf where codigo = " . $instit; $resultuf = db_query($sqluf); db_fieldsmemory($resultuf, 0); try { $oRegraEmissao = new regraEmissao($tipo_debito, 2, db_getsession('DB_instit'), date("Y-m-d", db_getsession("DB_datausu")), db_getsession('DB_ip')); } catch (Exception $eExeption) { db_redireciona("db_erros.php?fechar=true&db_erro={$eExeption->getMessage()}"); exit; } /* * Verificamos se a regra de emissão configurada para o tipo de débito se trata de cobrança registrada * Caso seja cobrança registrada então bloqueamos a emissão do recibo */ $sSqlCadTipoConvenio = "select ar11_cadtipoconvenio from cadconvenio where ar11_sequencial = {$oRegraEmissao->getConvenio()}"; $rsCadTipoConvenio = db_query($sSqlCadTipoConvenio);
* licenca/licenca_pt.txt */ session_start(); include "libs/db_conecta.php"; include "libs/db_stdlib.php"; include "libs/db_sql.php"; include "libs/db_utils.php"; include "classes/db_imobil_classe.php"; include "classes/db_iptubase_classe.php"; require_once "classes/db_configdbpref_classe.php"; parse_str(base64_decode($HTTP_SERVER_VARS["QUERY_STRING"])); $oPost = db_utils::postMemory($_POST, 0); $oGet = db_utils::postMemory($_GET, 0); $climobil = new cl_imobil(); $cliptubase = new cl_iptubase(); $clconfigdbpref = new cl_configdbpref(); $iInstit = db_getsession("DB_instit"); $iLogin = db_getsession("DB_login"); //$sqlMenupref = " select distinct m_publico, // m_arquivo, // m_descricao // from db_menupref // where m_arquivo = 'digitamatricula.php' // order by m_descricao "; ////die($sqlMenupref); //$result = db_query($sqlMenupref); //$iMenupref = pg_numrows($result); // //if ($iMenupref > 0) { //db_fieldsmemory($result,0); //}
* licenca/licenca_pt.txt */ set_time_limit(0); include "db_conecta.php"; global $configsite; //die("select * from confsite where w01_cod = $configsite and w01_instit = ".db_getsession("DB_instit")); $result = db_query("select * from confsite where w01_cod = {$configsite} and w01_instit = " . db_getsession("DB_instit")); db_fieldsmemory($result, 0); $result2 = db_query("select\ncodigo ,\nnomeinst ,\nender ,\nmunic ,\nuf ,\ntelef ,\nemail ,\nident ,\ntx_banc ,\nnumbanco ,\nurl ,\nlogo ,\nfigura ,\ndtcont ,\ndiario ,\npref ,\nvicepref ,\nfax ,\ncep ,\nbairro ,\ntpropri ,\nprefeitura,\ntsocios\nfrom db_config where codigo = " . db_getsession('DB_instit')); db_fieldsmemory($result2, 0); if (file_exists("classes/db_configdbpref_classe.php")) { require_once "classes/db_configdbpref_classe.php"; } else { require_once "../classes/db_configdbpref_classe.php"; } $clconfigdbpref = new cl_configdbpref(); $result3 = $clconfigdbpref->sql_record($clconfigdbpref->sql_query(db_getsession("DB_instit"), "*")); db_fieldsmemory($result3, 0); function db_geratexto($texto) { $texto .= "#"; $txt = split("#", $texto); $texto1 = ''; for ($x = 0; $x < sizeof($txt); $x++) { if (substr($txt[$x], 0, 1) == "\$") { $txt1 = substr($txt[$x], 1); global ${$txt1}; $texto1 .= ${$txt1}; } else { if (substr($txt[$x], 0, 2) == '\\n') { $texto1 .= "\n";
session_start(); if (isset($outro)) { setcookie("cookie_codigo_cgm"); header("location:digitamatricula.php"); } require_once "libs/db_conecta.php"; require_once "libs/db_stdlib.php"; require_once "libs/db_sql.php"; require_once "libs/db_utils.php"; require_once "db_funcoes.php"; require_once "classes/db_imobil_classe.php"; require_once "classes/db_iptubase_classe.php"; require_once "classes/db_configdbpref_classe.php"; $climobil = new cl_imobil(); $cliptubase = new cl_iptubase(); $clconfigdbpref = new cl_configdbpref(); parse_str(base64_decode($HTTP_SERVER_VARS["QUERY_STRING"])); $rsParametro = $clconfigdbpref->sql_record($clconfigdbpref->sql_query_file(db_getsession("DB_instit"), "w13_exigecpfcnpjmatricula")); $oRetorno = db_utils::fieldsMemory($rsParametro, 0); if ($oRetorno->w13_exigecpfcnpjmatricula == "t") { /* * Esta mensagem deve ser alterada diretamente no banco de dados * db_confmensagem * cod: imovel_cab_cpfcnpj */ $sMensagem = "imovel_cab_cpfcnpj"; } else { $sMensagem = "imovel_cab"; } db_mensagem($sMensagem, ""); $result = db_query(" select distinct m_publico,m_arquivo,m_descricao\n from db_menupref\n\t\t\t\t\t\t\t\t\t\t\twhere m_arquivo = 'digitamatricula.php'\n\t\t\t\t\t\t\t\t\t\t\torder by m_descricao ");