Logo CEWEB.br Logo NIC.br Logo CGI.br
Home Sobre o projeto

Sites Pertecentes a (o) RJ

Endereço Nota Erros Avisos

sistemas.macae.rj.gov.br:84/semtre/index.php

55.52 26 147
Recomendações Avaliadas
1.1 Respeitar os Padrões Web.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
1.1.3 Presença de CSS(s) in-line 31 485 543 629 632 678 679 686 702 710 711 716 723 747 761 762 794 795 802 821 830 831 837 870 871 1004 1008 1019 1091 1175 1180 1184
1.1.4 Presença de CSS(s) interno 1 441
1.1.5 Presença de javascript(s) in-line 2 695 811
1.1.6 Presença de javascript(s) interno 16 19 29 57 121 138 170 224 262 320 379 454 461 551 655 894 948
485 <![CDATA[<div style='width:100%;border-top:3px solid #00B8AD; border-bottom:1px solid #D1D8DB;background-color:#FAFAFA;margin-top:20px;' align='center' > <table width='960px' > <tr> <td > <a href='index.php'><img src='img/logo.jpg'/></a> </td> <td> <div id='cssmenu'> <ul> <!-- <li class='has-sub'><a ><span>Agendamento</span></a> <ul> <li class='has-sub'><a title="Candidatar para Vagas de Emprego" data-reveal-id="cadastro_trabalhador"><span> Vagas de Emprego</span></a> </li> <li class='has-sub'><a href='agendamentoonline.php?urlifreme=agendamento/agendamento.php?tipo=D' title="Emissão de Carteira de Identidade" ><span>Emissão RG</span></a> </li> <li class='has-sub'><a href='agendamentoonline.php?urlifreme=agendamento/agendamento.php?tipo=C' title="Emissão de Carteira de Trabalho"><span>Emissão CTPS</span></a> </li> <li class='has-sub'><a href='#' title="Veificar meus agendamento" data-reveal-id='verificaragendamento'><span>Verificar meus agendamento</span></a> </li> </ul> </li>--> <li class='has-sub'><a ><span>Cadastro </span></a> <ul> <li class='has-sub'><a title="Cadastro do Trabalhado" data-reveal-id="cadastro_trabalhador"><span>Cadastro do Trabalhador</span></a> </li> <li class='has-sub'><a title="Cadastro do Empregador" data-reveal-id="cadastro_empresa"><span>Cadastro do Empregador</span></a> </li> </ul> </li> <li class='has-sub'><a ><span>Login </span></a> <ul> <li class='has-sub'><a title="Login do Trabalhado" data-reveal-id="myModal"><span>Login do Trabalhado</span></a> </li> <li class='has-sub'><a title="Login do Empregador" data-reveal-id="myModal2"><span>Login do Empregador</span></a> </li> </ul> </li> <li ><a href='contato.php'><span>Contato</span></a></li> <!--<li ><a href='ajuda.php' ><span>Ajuda</span></a></li>--> </ul> </div> </td> </tr> </table> </div>]]>
543 <![CDATA[<div style='font-size:16px; '> </div>]]>
629 <![CDATA[<div id='carregandoagendamento' style='display:none'> Carregando aguarde....</div>]]>
632 <![CDATA[<input name="cpfagendamento" id='cpfagendamento' required placeholder="Insira o CPF" type="text" class="input req-same" style='width:130px;'maxlength="14" />]]>
678 <![CDATA[<input name="cpf_login" id='cpf_login' required placeholder="Insira o CPF" type="text" class="input req-same" style='width:130px;'maxlength="14" />]]>
679 <![CDATA[<div id="msg_cpflogin" name='msg_cpflogin' style="color:red;font-size:10px;"></div>]]>
686 <![CDATA[<input name="senha" id='senha' required placeholder="senha" type="password" style='width:130px;'class="input req-same" />]]>
702 <![CDATA[<div id="conteudo" style="display: none;"> <form class="form" action='login.php' method='post' id="cpf_loginFemailF" name="cpf_loginFemailF" onSubmit="return cpf_trabalhadorfun_senha()"> <h2>Informa seu CPF Cadastrado</h2> <p>Você recebara um email com a senha!</p> <div class="form-row"> <div class="label">CPF</div> <div class="input-container"><input name="cpf_trabalhador_cadastro" id='cpf_trabalhador_cadastro' required placeholder="Insira o CPF" type="text" class="input req-same" style='width:130px;'maxlength="14" /></div> <div id="msg_cpfsenha" name='msg_cpfsenha' style="color:red;font-size:10px;"></div> </div> <div class="form-row"> <div class="label">Data Nascimento</div> <div class="input-container"><input name="datanascimento" id='datanascimento' required placeholder="__/__/__" type="text" class="input req-same" style='width:130px;'maxlength="14" /></div> </div> <div class="form-row"> <div class="label"></div> <div class="input-container" style='width:246px;'> <input type='hidden' value ='2' name='pass'/> <input id="submitBtn2" value="Enviar" type="submit" class="sendBtn" /> <div id="errorDiv2" class="error-div"></div> </div> </div> </form> </div>]]>
710 <![CDATA[<input name="cpf_trabalhador_cadastro" id='cpf_trabalhador_cadastro' required placeholder="Insira o CPF" type="text" class="input req-same" style='width:130px;'maxlength="14" />]]>
711 <![CDATA[<div id="msg_cpfsenha" name='msg_cpfsenha' style="color:red;font-size:10px;"></div>]]>
716 <![CDATA[<input name="datanascimento" id='datanascimento' required placeholder="__/__/__" type="text" class="input req-same" style='width:130px;'maxlength="14" />]]>
723 <![CDATA[<div class="input-container" style='width:246px;'> <input type='hidden' value ='2' name='pass'/> <input id="submitBtn2" value="Enviar" type="submit" class="sendBtn" /> <div id="errorDiv2" class="error-div"></div> </div>]]>
747 <![CDATA[<div style='font-size:16px; '> &#9745; Acesso as Vagas</br> &#9745; Agendar atendimento</br> &#9745; Cadastra Currículo </div>]]>
761 <![CDATA[<input name="cpf_trabalhador" id='cpf_trabalhador' required placeholder="Insira o CPF" type="text" class="input req-same" style='width:130px;'maxlength="14" />]]>
762 <![CDATA[<div id="msg_cpfcadastro" name='msg_cpfcadastro' style="color:red;font-size:10px;"></div>]]>
794 <![CDATA[<input name="txCNPJ" id="txCNPJ" required value=''maxlength="18" placeholder="Insira o CNPJ" tabindex="1" onkeypress='mascaraMutuario(this,cpfCnpj)' style="width:194px;" type="text" class="input req-same">]]>
795 <![CDATA[<div id="msg_cnpjlogin" name='msg_cnpjlogin' style="color:red;font-size:10px;"></div>]]>
802 <![CDATA[<input name="senha" required id='senha' placeholder="senha" type="password" style='width:130px;'class="input req-same" />]]>
821 <![CDATA[<div id="conteudo_empresa" style="display: none;"> <form class="form" action="login.php"id='lembrasenha' method="post"name='lembrasenha' onSubmit=" return ValidarCNPJ(lembrasenha.txCNPJ);"> <h2>Informa seu CPF/CNPJ Cadastrado</h2> <p>Você recebara um email com a senha!</p> <div class="form-row"> <div class="label">CNPJ</div> <div class="input-container"> <input name="txCNPJ" id="txCNPJ" required value=''maxlength="18" placeholder="Insira o CNPJ" tabindex="1" onkeypress='mascaraMutuario(this,cpfCnpj)' onBlur="ValidarCNPJ(lembrasenha.txCNPJ);" style="width:194px;" type="text" class="input req-same"> <div id="msg_cnpjsenha" name='msg_cnpjsenha' style="color:red;font-size:10px;"></div> </div> </div> <div class="form-row"> <div class="label"></div> <div class="input-container" style='width:246px;'> <input type='hidden' value ='1' name='pass'/> <input id="submitBtn2" value="Enviar" type="submit" class="sendBtn" /> <div id="errorDiv2" class="error-div"></div> </div> </div> </form> </div>]]>
830 <![CDATA[<input name="txCNPJ" id="txCNPJ" required value=''maxlength="18" placeholder="Insira o CNPJ" tabindex="1" onkeypress='mascaraMutuario(this,cpfCnpj)' onBlur="ValidarCNPJ(lembrasenha.txCNPJ);" style="width:194px;" type="text" class="input req-same">]]>
831 <![CDATA[<div id="msg_cnpjsenha" name='msg_cnpjsenha' style="color:red;font-size:10px;"></div>]]>
837 <![CDATA[<div class="input-container" style='width:246px;'> <input type='hidden' value ='1' name='pass'/> <input id="submitBtn2" value="Enviar" type="submit" class="sendBtn" /> <div id="errorDiv2" class="error-div"></div> </div>]]>
870 <![CDATA[<input name="txCNPJ" id="txCNPJ" required value=''maxlength="18" placeholder="Insira o CNPJ" tabindex="1" onkeypress='mascaraMutuario(this,cpfCnpj)' onkeypress='mascaraMutuario(this,cpfCnpj)'style="width:194px;" type="text" class="input req-same">]]>
871 <![CDATA[<div id="msg_cnpjcadastro" name='msg_cnpjcadastro' style="color:red;font-size:10px;"></div>]]>
1004 <![CDATA[<div style='width:100%;background: url("img/cidade.png") repeat-x scroll center 100% rgba(0, 0, 0, 0);height:900px;margin-top:50px;' align='center' > <div id='paginatoda' name='paginatoda' align='left'> <div style='width:100%;' align='center'> <table width='960px' align='center'> <tr> <td width='460'> <div style='height:225px;border: 3px dotted #00B8AD;margin:10px;border-radius: 5px;margin-top:10px;color:#00B8AD;padding:15px;'> <h3><img src='img/traba.png'> Trabalhador</h3> <h2> Procurando uma oportunidade de emprego? </h2> <p>Inscreva-se e participe do processo de intermediação de emprego. Acesse as vagas disponíveis na SEMTRE. Elabore e imprima seu currículo.</p> <form class="form"> <a href="#" class="sendBtn2" data-reveal-id="myModal"> acessar... </a> <a href="#" class="sendBtn" data-reveal-id="cadastro_trabalhador"> Cadastre-se </a> </form> </div> </td> <td width='460'> <div style='height:225px;border: 3px dotted #F36C34;margin:10px;border-radius: 5px;margin-top:10px;color:#F36C34;padding:15px'> <h3><img src='img/empregador.png'> Empregador</h3> <h2> A SEMTRE ajuda você a encontrar e selecionar as pessoas certas </h2> <p> Cadastre-se e disponibilize vagas para os trabalhadores inscritos na SEMTRE . </p> <form class="form"> <a href="#" class="sendBtn2" data-reveal-id="myModal2"> acessar... </a> <a href="#" class="sendBtn" data-reveal-id="cadastro_empresa"> Cadastre-se </a> <a href="#" class="sendBtn" data-reveal-id="ajuda" >Ajuda</a> </form> <div id="ajuda" class="reveal-modal"> <img src='img/cadastrosemtre.jpg' width="500px"> <a class="close-reveal-modal">&#215;</a> </div> </div> </td> </tr> </table> <!-- <h2>Atendimento</h2> <table> <tr> <td> <a href="agendamentoonline.php?urlifreme=agendamento/agendamento.php?tipo=C" title="Agendar atendimento para emissão de CTPS"><img src='img/bt_ctps.png'/></a></td> <td><a href="agendamentoonline.php?urlifreme=agendamento/agendamento.php?tipo=D" title="Agendar atendimento para emissão de RG"><img src='img/bt_detran.png'/></a></td> <td><a href="#" data-reveal-id="cadastro_trabalhador" title="Cadastre-se para acessar todos serviços "><img src='img/bt_vaga.png'/></a></td> </tr> </table> --> <!--<table> <tr> <td> <br> <br> <a href="http://vivaoportunidade.com.br/" target="_blanck"> <img src="viva.jpg" /> </a> </td> </tr> </table>--> </div> </div> </div>]]>
1008 <![CDATA[<div style='width:100%;' align='center'> <table width='960px' align='center'> <tr> <td width='460'> <div style='height:225px;border: 3px dotted #00B8AD;margin:10px;border-radius: 5px;margin-top:10px;color:#00B8AD;padding:15px;'> <h3><img src='img/traba.png'> Trabalhador</h3> <h2> Procurando uma oportunidade de emprego? </h2> <p>Inscreva-se e participe do processo de intermediação de emprego. Acesse as vagas disponíveis na SEMTRE. Elabore e imprima seu currículo.</p> <form class="form"> <a href="#" class="sendBtn2" data-reveal-id="myModal"> acessar... </a> <a href="#" class="sendBtn" data-reveal-id="cadastro_trabalhador"> Cadastre-se </a> </form> </div> </td> <td width='460'> <div style='height:225px;border: 3px dotted #F36C34;margin:10px;border-radius: 5px;margin-top:10px;color:#F36C34;padding:15px'> <h3><img src='img/empregador.png'> Empregador</h3> <h2> A SEMTRE ajuda você a encontrar e selecionar as pessoas certas </h2> <p> Cadastre-se e disponibilize vagas para os trabalhadores inscritos na SEMTRE . </p> <form class="form"> <a href="#" class="sendBtn2" data-reveal-id="myModal2"> acessar... </a> <a href="#" class="sendBtn" data-reveal-id="cadastro_empresa"> Cadastre-se </a> <a href="#" class="sendBtn" data-reveal-id="ajuda" >Ajuda</a> </form> <div id="ajuda" class="reveal-modal"> <img src='img/cadastrosemtre.jpg' width="500px"> <a class="close-reveal-modal">&#215;</a> </div> </div> </td> </tr> </table> <!-- <h2>Atendimento</h2> <table> <tr> <td> <a href="agendamentoonline.php?urlifreme=agendamento/agendamento.php?tipo=C" title="Agendar atendimento para emissão de CTPS"><img src='img/bt_ctps.png'/></a></td> <td><a href="agendamentoonline.php?urlifreme=agendamento/agendamento.php?tipo=D" title="Agendar atendimento para emissão de RG"><img src='img/bt_detran.png'/></a></td> <td><a href="#" data-reveal-id="cadastro_trabalhador" title="Cadastre-se para acessar todos serviços "><img src='img/bt_vaga.png'/></a></td> </tr> </table> --> <!--<table> <tr> <td> <br> <br> <a href="http://vivaoportunidade.com.br/" target="_blanck"> <img src="viva.jpg" /> </a> </td> </tr> </table>--> </div>]]>
1019 <![CDATA[<div style='height:225px;border: 3px dotted #00B8AD;margin:10px;border-radius: 5px;margin-top:10px;color:#00B8AD;padding:15px;'> <h3><img src='img/traba.png'> Trabalhador</h3> <h2> Procurando uma oportunidade de emprego? </h2> <p>Inscreva-se e participe do processo de intermediação de emprego. Acesse as vagas disponíveis na SEMTRE. Elabore e imprima seu currículo.</p> <form class="form"> <a href="#" class="sendBtn2" data-reveal-id="myModal"> acessar... </a> <a href="#" class="sendBtn" data-reveal-id="cadastro_trabalhador"> Cadastre-se </a> </form> </div>]]>
1091 <![CDATA[<div style='height:225px;border: 3px dotted #F36C34;margin:10px;border-radius: 5px;margin-top:10px;color:#F36C34;padding:15px'> <h3><img src='img/empregador.png'> Empregador</h3> <h2> A SEMTRE ajuda você a encontrar e selecionar as pessoas certas </h2> <p> Cadastre-se e disponibilize vagas para os trabalhadores inscritos na SEMTRE . </p> <form class="form"> <a href="#" class="sendBtn2" data-reveal-id="myModal2"> acessar... </a> <a href="#" class="sendBtn" data-reveal-id="cadastro_empresa"> Cadastre-se </a> <a href="#" class="sendBtn" data-reveal-id="ajuda" >Ajuda</a> </form> <div id="ajuda" class="reveal-modal"> <img src='img/cadastrosemtre.jpg' width="500px"> <a class="close-reveal-modal">&#215;</a> </div> </div>]]>
1175 <![CDATA[<div style='width:100%;border-top:1px solid #fff; border-bottom:2px solid #157FCC;background-color: #3892D3;;margin-top:0px;height:38px;' align='center' > <table width='960px'> <tr> <td> <font style='color:#fff;font-size:15px;line-height:36px;'>Agência de Trabalho, Emprego, Educação Profissional e Renda (AGETRAB)</font><br> </td> <td align='rigth'> <a href='interno'style='color:#fff;font-size:15px;line-height:36px;'>Administrativo </a> </td> </tr> </table> </div>]]>
1180 <![CDATA[<font style='color:#fff;font-size:15px;line-height:36px;'>Agência de Trabalho, Emprego, Educação Profissional e Renda (AGETRAB)</font>]]>
1184 <![CDATA[<a href='interno'style='color:#fff;font-size:15px;line-height:36px;'>Administrativo </a>]]>
441 <![CDATA[<style> #loading { background:#000 url(img/carregamento-da-pagina-com-loading.gif) no-repeat center center; height: 50px; width: 250px; position: fixed; left: 50%; top: 50%; margin: -25px 0 0 -25px; z-index: 1000; } </style>]]>
695 <![CDATA[<a href='#' onclick="javascript: exibe('conteudo');">clique aqui</a>]]>
811 <![CDATA[<a href='#' onclick="javascript: exibe('conteudo_empresa');">clique aqui</a>]]>
19 <![CDATA[<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-62329413-1', 'auto'); ga('send', 'pageview'); </script>]]>
29 <![CDATA[<script language="JavaScript"> function Abrir_Pagina(URL,Configuracao) { window.open(URL,'',Configuracao); } </script>]]>
57 <![CDATA[<script language="JavaScript"> function validar_cpf(){ var cpf_busca = document.cadastro.cpf_busca.value; var filtro = /^\d{3}.\d{3}.\d{3}-\d{2}$/i; if(!filtro.test(cpf_busca)){ window.alert("CPF inválido. Tente novamente."); return false; } cpf_busca = remove(cpf_busca, "."); cpf_busca = remove(cpf_busca, "-"); if(cpf_busca.length != 11 || cpf_busca == "00000000000" || cpf_busca == "11111111111" || cpf_busca == "22222222222" || cpf_busca == "33333333333" || cpf_busca == "44444444444" || cpf_busca == "55555555555" || cpf_busca == "66666666666" || cpf_busca == "77777777777" || cpf_busca == "88888888888" || cpf_busca == "99999999999"){ window.alert("cpf inválido. Tente novamente."); return false; } soma = 0; for(i = 0; i < 9; i++) soma += parseInt(cpf_busca.charAt(i)) * (10 - i); resto = 11 - (soma % 11); if(resto == 10 || resto == 11) resto = 0; if(resto != parseInt(cpf_busca.charAt(9))){ window.alert("cpf inválido. Tente novamente."); return false; } soma = 0; for(i = 0; i < 10; i ++) soma += parseInt(cpf_busca.charAt(i)) * (11 - i); resto = 11 - (soma % 11); if(resto == 10 || resto == 11) resto = 0; if(resto != parseInt(cpf_busca.charAt(10))){ window.alert("cpf inválido. Tente novamente."); return false; } return true; } function remove(str, sub) { i = str.indexOf(sub); r = ""; if (i == -1) return str; r += str.substring(0,i) + remove(str.substring(i + sub.length), sub); return r; } </script>]]>
121 <![CDATA[<script type="text/javascript"> $(function() { $("#datanascimento").datepicker({ changeMonth: true, changeYear: true, yearRange: '1900:2020', dateFormat: 'dd/mm/yy', dayNames: ['Domingo','Segunda','Terça','Quarta','Quinta','Sexta','Sábado','Domingo'], dayNamesMin: ['D','S','T','Q','Q','S','S','D'], dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb','Dom'], monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'], monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun','Jul','Ago','Set','Out','Nov','Dez'] }); }); </script>]]>
138 <![CDATA[<script type="text/javascript"> $(document).ready(function(){ $("#cpf_trabalhador").mask("999.999.999-99");}); $(document).ready(function(){ $("#cpf_trabalhadorF").mask("999.999.999-99");}); $(document).ready(function(){ $("#cpf_trabalhador_cadastro").mask("999.999.999-99");}); $(document).ready(function(){ $("#cpfagendamento").mask("999.999.999-99");}); $(document).ready(function(){ $("#cpf_login").mask("999.999.999-99");}); $(document).ready(function(){ $("#cpf").mask("999.999.999-99");}); $(document).ready(function(){ $("#tel1").mask("(99)9999.9999");}); $(document).ready(function(){ $("#tel2").mask("(99)99999.9999");}); $(document).ready(function(){ $("#tel3").mask("(99)9999.9999");}); $(document).ready(function(){ $("#telres").mask("(99)9999.9999");}); $(document).ready(function(){ $("#telrec").mask("(99)9999.9999");}); $(document).ready(function(){ $("#telcel").mask("(99)99999.9999");}); $(document).ready(function(){ $("#datainicio").mask("99/99/9999");}); $(document).ready(function(){ $("#datafinal").mask("99/99/9999");}); $(document).ready(function(){ $("#txvagadata").mask("99/99/9999");}); $(document).ready(function(){ $("#datalimiteencaminhar").mask("99/99/9999");}); $(document).ready(function(){ $("#datanascimento").mask("99/99/9999");}); $(document).ready(function(){ $("#datanascimento1").mask("99/99/9999");}); $(document).ready(function(){ $("#cpf_busca").mask("999.999.999-99");}); $(document).ready(function(){ $("#cep").mask("99999-999");}); $(document).ready(function(){ $("#cepentrevista").mask("99999-999");}); $(document).ready(function(){ $("#ceplocal").mask("99999-999");}); </script>]]>
170 <![CDATA[<script type="text/javascript"> function mascaraMutuario(o,f){ v_obj=o v_fun=f setTimeout('execmascara()',10000) } function execmascara(){ v_obj.value=v_fun(v_obj.value) } function cpfCnpj(v){ //Remove tudo o que não é dígito v=v.replace(/\D/g,"") if (v.length <= 13) { //CPF //Coloca um ponto entre o terceiro e o quarto dígitos v=v.replace(/(\d{3})(\d)/,"$1.$2") //Coloca um ponto entre o terceiro e o quarto dígitos //de novo (para o segundo bloco de números) v=v.replace(/(\d{3})(\d)/,"$1.$2") //Coloca um hífen entre o terceiro e o quarto dígitos v=v.replace(/(\d{3})(\d{1,2})$/,"$1-$2") } else { //CNPJ //Coloca ponto entre o segundo e o terceiro dígitos v=v.replace(/^(\d{2})(\d)/,"$1.$2") //Coloca ponto entre o quinto e o sexto dígitos v=v.replace(/^(\d{2})\.(\d{3})(\d)/,"$1.$2.$3") //Coloca uma barra entre o oitavo e o nono dígitos v=v.replace(/\.(\d{3})(\d)/,".$1/$2") //Coloca um hífen depois do bloco de quatro dígitos v=v.replace(/(\d{4})(\d)/,"$1-$2") } return v } </script>]]>
224 <![CDATA[<script language = "JavaScript"> //valida o CNPJ digitado function ValidarCNPJ(ObjCnpj){ var cnpj = ObjCnpj.value; var valida = new Array(6,5,4,3,2,9,8,7,6,5,4,3,2); var dig1= new Number; var dig2= new Number; exp = /\.|\-|\//g cnpj = cnpj.toString().replace( exp, "" ); var digito = new Number(eval(cnpj.charAt(12)+cnpj.charAt(13))); for(i = 0; i<valida.length; i++){ dig1 += (i>0? (cnpj.charAt(i-1)*valida[i]):0); dig2 += cnpj.charAt(i)*valida[i]; } dig1 = (((dig1%11)<2)? 0:(11-(dig1%11))); dig2 = (((dig2%11)<2)? 0:(11-(dig2%11))); if(((dig1*10)+dig2) != digito){ //alert('CNPJ Invalido!'); document.getElementById("msg_cnpjsenha").innerHTML = "Favor Inserir CNPJ Válido!"; document.getElementById("msg_cnpjcadastro").innerHTML = "Favor Inserir CNPJ Válido!"; document.getElementById("msg_cnpjlogin").innerHTML = "Favor Inserir CNPJ Válido!"; ObjCnpj.focus(); return (false); } document.getElementById("msg_cnpjsenha").innerHTML = "OK"; document.getElementById("msg_cnpjcadastro").innerHTML = "OK"; document.getElementById("msg_cnpjlogin").innerHTML = "OK"; return (true); } </script>]]>
262 <![CDATA[<script language="JavaScript"> function cpf_loginfun(){ var cpf_login = document.cpf_loginF.cpf_login.value; var filtro = /^\d{3}.\d{3}.\d{3}-\d{2}$/i; if(!filtro.test(cpf_login)){ //window.alert("CPF inválido. Tente novamente."); document.getElementById("msg_cpflogin").innerHTML = "CPF INVÁLIDO. TENTE NOVAMENTE."; return false; } cpf_login = remove(cpf_login, "."); cpf_login = remove(cpf_login, "-"); if(cpf_login.length != 11 || cpf_login == "00000000000" || cpf_login == "11111111111" || cpf_login == "22222222222" || cpf_login == "33333333333" || cpf_login == "44444444444" || cpf_login == "55555555555" || cpf_login == "66666666666" || cpf_login == "77777777777" || cpf_login == "88888888888" || cpf_login == "99999999999"){ //window.alert("CPF inválido. Tente novamente."); document.getElementById("msg_cpflogin").innerHTML = "CPF INVÁLIDO. TENTE NOVAMENTE."; return false; } soma = 0; for(i = 0; i < 9; i++) soma += parseInt(cpf_login.charAt(i)) * (10 - i); resto = 11 - (soma % 11); if(resto == 10 || resto == 11) resto = 0; if(resto != parseInt(cpf_login.charAt(9))){ //window.alert("CPF inválido. Tente novamente."); document.getElementById("msg_cpflogin").innerHTML = "CPF INVÁLIDO. TENTE NOVAMENTE."; return false; } soma = 0; for(i = 0; i < 10; i ++) soma += parseInt(cpf_login.charAt(i)) * (11 - i); resto = 11 - (soma % 11); if(resto == 10 || resto == 11) resto = 0; if(resto != parseInt(cpf_login.charAt(10))){ //window.alert("CPF inválido. Tente novamente."); document.getElementById("msg_cpflogin").innerHTML = "CPF INVÁLIDO. TENTE NOVAMENTE."; return false; } return true; } function remove(str, sub) { i = str.indexOf(sub); r = ""; if (i == -1) return str; r += str.substring(0,i) + remove(str.substring(i + sub.length), sub); return r; } </script>]]>
320 <![CDATA[<script language="JavaScript"> function cpf_trabalhadorfun(){ var cpf_trabalhador = document.cpf_trabalhadorF.cpf_trabalhador.value; var filtro = /^\d{3}.\d{3}.\d{3}-\d{2}$/i; if(!filtro.test(cpf_trabalhador)){ //window.alert("CPF inválido. Tente novamente."); document.getElementById("msg_cpfcadastro").innerHTML = "CPF INVÁLIDO. TENTE NOVAMENTE."; return false; } cpf_trabalhador = remove(cpf_trabalhador, "."); cpf_trabalhador = remove(cpf_trabalhador, "-"); if(cpf_trabalhador.length != 11 || cpf_trabalhador == "00000000000" || cpf_trabalhador == "11111111111" || cpf_trabalhador == "22222222222" || cpf_trabalhador == "33333333333" || cpf_trabalhador == "44444444444" || cpf_trabalhador == "55555555555" || cpf_trabalhador == "66666666666" || cpf_trabalhador == "77777777777" || cpf_trabalhador == "88888888888" || cpf_trabalhador == "99999999999"){ //window.alert("CPF inválido. Tente novamente."); document.getElementById("msg_cpfcadastro").innerHTML = "CPF INVÁLIDO. TENTE NOVAMENTE."; return false; } soma = 0; for(i = 0; i < 9; i++) soma += parseInt(cpf_trabalhador.charAt(i)) * (10 - i); resto = 11 - (soma % 11); if(resto == 10 || resto == 11) resto = 0; if(resto != parseInt(cpf_trabalhador.charAt(9))){ document.getElementById("msg_cpfcadastro").innerHTML = "CPF INVÁLIDO. TENTE NOVAMENTE."; return false; } soma = 0; for(i = 0; i < 10; i ++) soma += parseInt(cpf_trabalhador.charAt(i)) * (11 - i); resto = 11 - (soma % 11); if(resto == 10 || resto == 11) resto = 0; if(resto != parseInt(cpf_trabalhador.charAt(10))){ //window.alert("CPF inválido. Tente novamente."); document.getElementById("msg_cpfcadastro").innerHTML = "CPF INVÁLIDO. TENTE NOVAMENTE."; return false; } return true; } function remove(str, sub) { i = str.indexOf(sub); r = ""; if (i == -1) return str; r += str.substring(0,i) + remove(str.substring(i + sub.length), sub); return r; } </script>]]>
379 <![CDATA[<script language="JavaScript"> function cpf_trabalhadorfun_senha(){ var cpf_trabalhadorsenha = document.cpf_loginFemailF.cpf_trabalhador_cadastro.value; var filtro = /^\d{3}.\d{3}.\d{3}-\d{2}$/i; if(!filtro.test(cpf_trabalhadorsenha)){ //window.alert("CPF inválido. Tente novamente."); document.getElementById("msg_cpfsenha").innerHTML = "CPF INVÁLIDO. TENTE NOVAMENTE."; return false; } cpf_trabalhadorsenha = remove(cpf_trabalhadorsenha, "."); cpf_trabalhadorsenha = remove(cpf_trabalhadorsenha, "-"); if(cpf_trabalhadorsenha.length != 11 || cpf_trabalhadorsenha == "00000000000" || cpf_trabalhadorsenha == "11111111111" || cpf_trabalhadorsenha == "22222222222" || cpf_trabalhadorsenha == "33333333333" || cpf_trabalhadorsenha == "44444444444" || cpf_trabalhadorsenha == "55555555555" || cpf_trabalhadorsenha == "66666666666" || cpf_trabalhadorsenha == "77777777777" || cpf_trabalhadorsenha == "88888888888" || cpf_trabalhadorsenha == "99999999999"){ //window.alert("CPF inválido. Tente novamente."); document.getElementById("msg_cpfsenha").innerHTML = "CPF INVÁLIDO. TENTE NOVAMENTE."; return false; } soma = 0; for(i = 0; i < 9; i++) soma += parseInt(cpf_trabalhadorsenha.charAt(i)) * (10 - i); resto = 11 - (soma % 11); if(resto == 10 || resto == 11) resto = 0; if(resto != parseInt(cpf_trabalhadorsenha.charAt(9))){ document.getElementById("msg_cpfsenha").innerHTML = "CPF INVÁLIDO. TENTE NOVAMENTE."; return false; } soma = 0; for(i = 0; i < 10; i ++) soma += parseInt(cpf_trabalhadorsenha.charAt(i)) * (11 - i); resto = 11 - (soma % 11); if(resto == 10 || resto == 11) resto = 0; if(resto != parseInt(cpf_trabalhadorsenha.charAt(10))){ //window.alert("CPF inválido. Tente novamente."); document.getElementById("msg_cpfsenha").innerHTML = "CPF INVÁLIDO. TENTE NOVAMENTE."; return false; } return true; } function remove(str, sub) { i = str.indexOf(sub); r = ""; if (i == -1) return str; r += str.substring(0,i) + remove(str.substring(i + sub.length), sub); return r; } </script>]]>
454 <![CDATA[<script> function Abrir_Pagina(URL) { window.open(URL,'','width=1000,height=500'); } </script>]]>
461 <![CDATA[<script type='text/javascript'> $(document).ready(function(){ // Executa o evento CLICK em todos os links do menu $('#cssmenuee a').live('click',function(){ // Faz o carregamento da página de acordo com o COD da página, que vai pegar os valores da página page.php. $('#paginatoda').load($(this).attr('href')); return false; }); }); </script>]]>
551 <![CDATA[<script> function cancelaagendamento(id) { $.ajax({ url: 'agendamento/script.php?id='+id+'&acao=cancelaagendamento', success: function(data) { if($.trim(data) == 2){ //$("#naoagendamentoexiste" ).show("slow"); //$("#agendamentoexiste" ).hide("hide"); //alert("Agendamento Cancelado!"); //window.location.assign("listaagendamento.php?id=&msg=Agendamento Cancelado!"); buscaagendamento(); } } }); } function buscaagendamento(){ var data = document.getElementById("cpfagendamento").value; document.getElementById("carregandoagendamento").style.display = 'block'; var xmlHttp; try{ xmlHttp=new XMLHttpRequest();// Firefox, Opera 8.0+, Safari } catch (e){ try{ xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); // Internet Explorer } catch (e){ try{ xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ alert("No AJAX!?"); return false; } } } var url = "consultaagendamento.php?id="+data; xmlHttp.onreadystatechange=function(){ if(xmlHttp.readyState==4){ document.getElementById('meusagendamentocadastrado').innerHTML=xmlHttp.responseText; setTimeout('buscaagendamento()',10000); } } xmlHttp.open("GET",url,true); // aqui configuramos o arquivo xmlHttp.send(null); } window.onload=function(){ setTimeout('buscaagendamento()',300000); // aqui o tempo entre uma atualização e outra } </script>]]>
655 <![CDATA[<script type="text/javascript"> function exibe(id) { if(document.getElementById(id).style.display=="none") { document.getElementById(id).style.display = "inline"; } else { document.getElementById(id).style.display = "none"; } } </script>]]>
894 <![CDATA[<script language="JavaScript"> function cpf_loginfuns(){ var cpf_login = document.cpf_loginF.cpf_login.value; var filtro = /^\d{3}.\d{3}.\d{3}-\d{2}$/i; if(!filtro.test(cpf_login)){ window.alert("CPF inválido. Tente novamente."); return false; } cpf_login = remove(cpf_login, "."); cpf_login = remove(cpf_login, "-"); if(cpf_login.length != 11 || cpf_login == "00000000000" || cpf_login == "11111111111" || cpf_login == "22222222222" || cpf_login == "33333333333" || cpf_login == "44444444444" || cpf_login == "55555555555" || cpf_login == "66666666666" || cpf_login == "77777777777" || cpf_login == "88888888888" || cpf_login == "99999999999"){ window.alert("cpf inválido. Tente novamente."); return false; } soma = 0; for(i = 0; i < 9; i++) soma += parseInt(cpf_login.charAt(i)) * (10 - i); resto = 11 - (soma % 11); if(resto == 10 || resto == 11) resto = 0; if(resto != parseInt(cpf_login.charAt(9))){ window.alert("cpf inválido. Tente novamente."); return false; } soma = 0; for(i = 0; i < 10; i ++) soma += parseInt(cpf_login.charAt(i)) * (11 - i); resto = 11 - (soma % 11); if(resto == 10 || resto == 11) resto = 0; if(resto != parseInt(cpf_login.charAt(10))){ window.alert("cpf inválido. Tente novamente."); return false; } return true; } function remove(str, sub) { i = str.indexOf(sub); r = ""; if (i == -1) return str; r += str.substring(0,i) + remove(str.substring(i + sub.length), sub); return r; } </script>]]>
948 <![CDATA[<script language="JavaScript"> function cpf_trabalhadorfuns(){ var cpf_trabalhador = document.cpf_trabalhadorF.cpf_trabalhador.value; var filtro = /^\d{3}.\d{3}.\d{3}-\d{2}$/i; if(!filtro.test(cpf_trabalhador)){ window.alert("CPF inválido. Tente novamente."); return false; } cpf_trabalhador = remove(cpf_trabalhador, "."); cpf_trabalhador = remove(cpf_trabalhador, "-"); if(cpf_trabalhador.length != 11 || cpf_trabalhador == "00000000000" || cpf_trabalhador == "11111111111" || cpf_trabalhador == "22222222222" || cpf_trabalhador == "33333333333" || cpf_trabalhador == "44444444444" || cpf_trabalhador == "55555555555" || cpf_trabalhador == "66666666666" || cpf_trabalhador == "77777777777" || cpf_trabalhador == "88888888888" || cpf_trabalhador == "99999999999"){ window.alert("cpf inválido. Tente novamente."); return false; } soma = 0; for(i = 0; i < 9; i++) soma += parseInt(cpf_trabalhador.charAt(i)) * (10 - i); resto = 11 - (soma % 11); if(resto == 10 || resto == 11) resto = 0; if(resto != parseInt(cpf_trabalhador.charAt(9))){ window.alert("cpf inválido. Tente novamente."); return false; } soma = 0; for(i = 0; i < 10; i ++) soma += parseInt(cpf_trabalhador.charAt(i)) * (11 - i); resto = 11 - (soma % 11); if(resto == 10 || resto == 11) resto = 0; if(resto != parseInt(cpf_trabalhador.charAt(10))){ window.alert("cpf inválido. Tente novamente."); return false; } return true; } function remove(str, sub) { i = str.indexOf(sub); r = ""; if (i == -1) return str; r += str.substring(0,i) + remove(str.substring(i + sub.length), sub); return r; } </script>]]>