144
| <![CDATA[<img class="hidden-xs hidden-sm pull-left" style="height: 45px; padding: 0; margin-right: 5px;" src="//siapegov.pindamonhangaba.sp.gov.br/pmpinda/websis/_images/siapegov//cabecalhos/brasao.pmpinda.jpg" border="0" />]]>
|
288
| <![CDATA[<style type="text/css">
.dataTables_wrapper .row:first-child,
.dataTables_wrapper .row:last-child {
background-color: #FFF;
}
</style>]]>
|
42
| <![CDATA[<script type="text/javascript">
window.jQuery || document.write("<script src='//siapegov.pindamonhangaba.sp.gov.br/websis/../siap-lib/ace13/assets/js/jquery.min.js'>" + "<" + "/script>");
</script>]]>
|
66
| <![CDATA[<script type="text/javascript">
//Load content via ajax
var settings = {
WEBSIS_LIB_URL: '//siapegov.pindamonhangaba.sp.gov.br/websis/../siap-lib/',
WEBSIS_URL: '//siapegov.pindamonhangaba.sp.gov.br/pmpinda/websis/'
};
function MM_openBrWindow(theURL, winName = "Prefeitura Municipal de Pindamonhangaba", larg) { //v3.0
if ($('#modal').length == 0) {
$('.page-content').append("<div id='modal' class='modal' tabindex='-1' aria-labelledby='myModalLabel' aria-hidden='false'><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-center' id='myModalLabel'>" + winName + "</h4></div><div id='printSection' class='modal-body'></div><div class='modal-footer no-margin hidden-xs'><button type='button' class='btn btn-default' data-dismiss='modal'>Fechar</button><button class='btn btn-info' aria-hidden='true' id='imprimeModal'><i class='fa fa-print'></i> Imprimir</button></div></div></div></div>");
}
spin = "<div class='text-center'><i class='ace-icon fa fa-circle-o-notch fa-spin blue bigger-250'></i></div>";
$('#modal .modal-body').html(spin);
$('#modal').modal('show');
$.ajax({
type: 'get',
url: theURL,
beforeSend: function( xhr ) {
xhr.overrideMimeType( "text/plain; charset=ISO-8859-1" ); },
success: function(conteudo){
$('#modal .modal-body').html(conteudo);
$('#modal .modal-dialog').css('width', '95%');
$('#modal .modal-body').css('max-height', function () {
return String(($(window).height()) - 200) + 'px';
});
$('#modal .modal-body').css('overflow', 'auto');
}
});
$("#imprimeModal").off();
$("#imprimeModal").on("click", function(){
PrintContent("printSection");
});
}
function PrintContent(div_to_print,css = null) {
if (css === null) {
var css1 = "<link rel='stylesheet' type='text/css' href='"+settings.WEBSIS_LIB_URL+"siap-lib/ace-template/assets/css/bootstrap.min.css' media='all'>\n";
var css2 = "<link rel='stylesheet' type='text/css' href='"+settings.WEBSIS_URL+"_css/egov/print.css' media='all'>\n";
var css = css1 + css2;
}
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 PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html lang=\"en\">\n<head>\n" + css + "</head>\n<body>\n" + DocumentContainer.innerHTML.replace("", "") + "\n</body>\n</html>");
WindowObject.document.close();
WindowObject.focus();
setTimeout(function() {
WindowObject.print()
setTimeout(function() {
WindowObject.close()
}, 1000);
}, 1000);
}
$.ajaxSetup({ // Força os scripts a serem carregados com o encoding ISO-8859-1 (padrão dos fontes do Siap e-Gov), evitando assim, problemas de acentuação.
beforeSend: function(jqXHR) {
jqXHR.overrideMimeType('application/x-www-form-urlencoded; charset=ISO-8859-1');
}
});
</script>]]>
|
210
| <![CDATA[<script type="text/javascript" language="javascript">
$(document).ready(function() {
// $("span#processing1").hide();
// $("input#cpf_cnpj").focus();
/* $("body").delegate("button.print","click",function() {
window.print();
}); */
$("input[radio='dev']").change(function(){
$("input#inscricao").prop("disabled",true);
});
if ($('input:radio').val() === 'imob') {
$("#lbl_documento").prop("hidden", true);
$("#cpf_cnpj").prop("hidden", true);
} else if ($(this).val() === 'mob') {
$("#lbl_documento").prop("hidden", true);
$("#cpf_cnpj").prop("hidden", true);
}
$('input:radio').change(function() {
if ($(this).val() === 'dev') {
$("div#lbl_inscricao").prop("hidden", true);
$("#lbl_documento").prop("hidden", false);
$("#cpf_cnpj").prop("hidden", false);
}
else if ( ( $(this).val() === 'mob' ) || ( $(this).val() === 'imob' ) ) {
$("div#lbl_inscricao").prop("hidden", false);
}
if ($(this).val() === 'imob') {
$("#lbl_documento").prop("hidden", true);
$("#cpf_cnpj").prop("hidden", true);
} else if ($(this).val() === 'mob') {
$("#lbl_documento").prop("hidden", true);
$("#cpf_cnpj").prop("hidden", true);
}
});
$("button[name='Verificar']").click(function() {
$(this).prop("disabled",true);
$("input#cpf_cnpj").prop("disabled",true);
$("input#inscricao").prop("disabled",true);
$("span#idle1").hide();
$("span#processing1").show();
$("#lista_imoveis_empresas").load("ajax_busca_imoveis_empresas.php",{inscricao : $("input#inscricao").val(),cpf_cnpj : $("input#cpf_cnpj").val(),tipo_certidao : $("input:radio:checked").val()},function() {
$("span#processing1").hide();
$("span#idle1").show();
$("button[name='Verificar']").prop("disabled",false);
$("input#cpf_cnpj").prop("disabled",false);
$("input#inscricao").prop("disabled",false);
$("input#inscricao").focus();
});
});
$("input#inscricao").bind("keypress",function(e) {
$("#lista_imoveis_empresas").empty();
if (e.which == 13) {
e.preventDefault();
if ($.trim($("input#inscricao").val()) != "") {
$("button[name='Verificar']").trigger("click");
}
}
});
$("input:radio").click(function(){
$("#lista_imoveis_empresas").empty();
});
});
</script>]]>
|