123
| <![CDATA[<body onload="$('#loading').hide();" onunload="">
<script type="text/javascript">
window.jQuery || document.write("<script src='//siapegov.pindamonhangaba.sp.gov.br/websis/../siap-lib/ace-template/assets/js/jquery-2.0.3.min.js'>" + "<" + "/script>");
</script>
<!--[if IE]>
<script type="text/javascript">
window.jQuery || document.write("<script src='//siapegov.pindamonhangaba.sp.gov.br/websis/../siap-lib/ace-template/assets/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
</script>
<![endif]-->
<script src="//siapegov.pindamonhangaba.sp.gov.br/websis/../siap-lib/ace-template/assets/js/bootstrap.min.js"></script>
<script src="//siapegov.pindamonhangaba.sp.gov.br/websis/../siap-lib/ace-template/assets/js/jquery.maskedinput.min.js"></script>
<script src="//siapegov.pindamonhangaba.sp.gov.br/websis/../siap-lib/ace-template/assets/js/uncompressed/jquery.maskMoney-2.1.2.js"></script>
<script src="//siapegov.pindamonhangaba.sp.gov.br/websis/../siap-lib/ace-template/assets/js/uncompressed/date-time/bootstrap-datepicker-br.js"></script>
<script src="//siapegov.pindamonhangaba.sp.gov.br/websis/../siap-lib/ace-template/plugins/tablesorter/js/jquery.tablesorter.js"></script>
<script src="//siapegov.pindamonhangaba.sp.gov.br/websis/../siap-lib/ace-template/plugins/tablesorter/js/jquery.tablesorter.widgets.min.js"></script>
<script type='text/javascript'>
$(document).ready(function() {
$(".voltar").click(function(event) {
history.back();
});
$(".fechar").click(function(event) {
window.close();
});
$("body").delegate("button.fdc,a.fdc","click",function(event) {
event.preventDefault();
$.inscricao = (event.target.nodeName == "A" ? $(this).text() : $(this).attr("inscricao"));
$("#modal_fdc .modal-body").load("itbi_auditor_fiscal.php",{inscricao: $.inscricao,fdc: true});
$("#modal_fdc .modal-dialog").css("width" , "80%");
$("#modal_fdc").modal("show");
});
$("body").delegate("button.guia","click",function(event) {
var link = "itbi_mostra_guia.php?hashing=" + $(this).attr("hashing");
window.open(link,'itbi','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=1000,height=720');
});
$("body").delegate("button.print","click",function() {
window.print();
});
$(".modal").delegate("button.modal-print","click",function() {
PrintContent($(this).parent().parent().parent().parent().attr("id"));
});
function PrintContent(div_to_print) {
/*
* Luciano Mantovani - 26/07/2013
*
* Imprime qualquer DIV da tela separando seu conteúdo em outra janela e executando o comando para impressão.
*/
var css1 = "<link rel='stylesheet' type='text/css' href='//siapegov.pindamonhangaba.sp.gov.br/websis/../siap-lib/ace-template/assets/css/bootswatch-3.0.0/cerulean/bootstrap-print.css' media='all'>\n";
var css2 = "<link rel='stylesheet' type='text/css' href='//siapegov.pindamonhangaba.sp.gov.br/websis/../siap-lib/ace-template/assets/css/font-awesome.min.css' media='all'>\n";
var css3 = "<link rel='stylesheet' type='text/css' href='//siapegov.pindamonhangaba.sp.gov.br/websis/../siap-lib/ace-template/plugins/sb-admin-v2/font-awesome/css/font-awesome.css'>\n";
var css = css1 + css2 + css3;
var DocumentContainer = document.getElementById(div_to_print);
var UniqueName = new Date();
var WindowObject = window.open("", "PrintWindow" + UniqueName.getTime(),
"width=750,height=650,top=50,left=50,toolbars=no,scrollbars=yes,status=no,resizable=yes");
WindowObject.document.writeln("<!DOCTYPE html>\n<html>\n<head>\n" + css + "</head>\n<body>\n" + DocumentContainer.innerHTML + "\n</body>\n</html>");
WindowObject.document.close();
WindowObject.focus();
WindowObject.print();
setTimeout(function(){WindowObject.close()},2000);
}
});
</script>
<div id='modal_fdc' class='modal'>
<div class='modal-dialog'>
<div class='modal-content'>
<div class='modal-header'>
<button type='button' class='close' data-dismiss='modal' aria-hidden='true'>×</button>
<h4 class='modal-title text-success'>Ficha de dados do imóvel (Situação atual)</h4>
</div>
<div class='modal-body'>
<!-- Ficha de Dados Cadastrais -->
</div>
<div class='modal-footer hidden-print'>
<button type='button' class='btn btn-info modal-print'><span class="fa fa-print"></span> Imprimir </button>
<button type='button' class='btn btn-default' data-dismiss='modal'>Fechar</button>
</div>
</div>
</div>
</div>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="#">ITBI Auditor Fiscal</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="itbi_auditor_fiscal.php">Auditar</a></li>
<li><a href="itbi_form_consulta.php" target="_blank">Escrituração</a></li>
<li><a href="?logout=1&x=0.30050700 1696180364">Sair</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
<br class="hidden-print">
<br class="hidden-print">
<br class="hidden-print">
<div id="loading"><img src="//siapegov.pindamonhangaba.sp.gov.br/websis/../siap-lib/ace-template/assets/img/loading-med.gif"></div>
<br>
<div class="row">
<div class="col-md-offset-4 col-md-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Acesso Restrito</h3>
</div>
<div class="panel-body">
<form name="form_login" action="" method="POST">
<fieldset>
<div class="input-group">
<span class="input-group-addon"><span class="fa fa-user"></span></span>
<input class="form-control" placeholder="Usuário" id="usuario" name="usuario" type="text" maxlength="40" value="">
</div>
<div class="input-group">
<span class="input-group-addon"><span class="fa fa-lock"></span></span>
<input class="form-control" placeholder="Senha" id="senha" name="senha" type="password" value="">
</div>
<input class="btn btn-lg btn-primary btn-block" name="login" type="submit" value="Acessar">
</fieldset>
</form>
</div>
</div>
</div>
</div>
<script type='text/javascript'>
$("input[name='usuario']").focus();
$("#usuario").keyup(function() {
$(this).val($(this).val().toLocaleUpperCase());
});
</script>
</body>]]>
|