$tipo = $_SESSION["itbitipo"]; $cod = @$_SESSION["itbi"]; include "libs/db_stdlib.php"; include "libs/db_sql.php"; include "dbforms/db_funcoes.php"; include "classes/db_itbi_classe.php"; include "classes/db_itburbano_classe.php"; include "classes/db_itbimatric_classe.php"; include "classes/db_itbipropriold_classe.php"; include "classes/db_propri_classe.php"; include "classes/db_itbidadosimovel_classe.php"; include "classes/db_itbinome_classe.php"; include "classes/db_itbinomecgm_classe.php"; $clitbi = new cl_itbi(); $clitburbano = new cl_itburbano(); $clitbimatric = new cl_itbimatric(); $clitbipropriold = new cl_itbipropriold(); $clpropri = new cl_propri(); $clitbidadosimovel = new cl_itbidadosimovel(); $clitbinome = new cl_itbinome(); $clitbinomecgm = new cl_itbinomecgm(); parse_str($HTTP_SERVER_VARS["QUERY_STRING"]); postmemory($HTTP_POST_VARS); //echo "tipo = $tipo "; if ($cod != "") { echo "\n\t\t\t<script>\n \t\tparent.document.form1.disabilitado.value='nao';\n\t\t\t\tparent.trocacor('1');\n\t\t\t</script>\n\t\t"; } if (isset($incluir)) { if ($incluir == "Incluir") { db_inicio_transacao(); // inclui na itbi..................................................
include "classes/db_itbipropriold_classe.php"; include "classes/db_itbicgm_classe.php"; include "classes/db_itbiconstr_classe.php"; include "classes/db_numpref_classe.php"; include "classes/db_itbiconstrespecie_classe.php"; include "classes/db_itbiconstrtipo_classe.php"; include "classes/db_parreciboitbi_classe.php"; include "classes/db_recibo_classe.php"; include "classes/db_arrenumcgm_classe.php"; parse_str($HTTP_SERVER_VARS['QUERY_STRING']); //db_postmemory($HTTP_SERVER_VARS,2); $clitbiavalia = new cl_itbiavalia(); $clitbi = new cl_itbi(); $clitbirural = new cl_itbirural(); $clitbiruralcaract = new cl_itbiruralcaract(); $clitbimatric = new cl_itbimatric(); $clitbilogin = new cl_itbilogin(); $clitburbano = new cl_itburbano(); $clitbinumpre = new cl_itbinumpre(); $clitbinome = new cl_itbinome(); $clitbinomecgm = new cl_itbinomecgm(); $clitbicgm = new cl_itbicgm(); $clitbiconstr = new cl_itbiconstr(); $clitbipropriold = new cl_itbipropriold(); $clitbiconstrespecie = new cl_itbiconstrespecie(); $clitbiconstrtipo = new cl_itbiconstrtipo(); $clnumpref = new cl_numpref(); $clparreciboitbi = new cl_parreciboitbi(); $clrecibo = new cl_recibo(); $clarrenumcgm = new cl_arrenumcgm(); $compradoresm = 0;