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/contato.php

56.56 25 162
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 35 498 556 642 645 691 692 699 715 723 724 729 736 760 774 775 807 808 815 834 843 844 850 883 884 905 912 938 939 946 947 955 962 985 990 994
1.1.4 Presença de CSS(s) interno 1 454
1.1.5 Presença de javascript(s) in-line 2 708 824
1.1.6 Presença de javascript(s) interno 15 19 29 57 121 138 170 224 262 320 379 440 467 474 564 668
498 <![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>]]>
556 <![CDATA[<div style='font-size:16px; '> </div>]]>
642 <![CDATA[<div id='carregandoagendamento' style='display:none'> Carregando aguarde....</div>]]>
645 <![CDATA[<input name="cpfagendamento" id='cpfagendamento' required placeholder="Insira o CPF" type="text" class="input req-same" style='width:130px;'maxlength="14" />]]>
691 <![CDATA[<input name="cpf_login" id='cpf_login' required placeholder="Insira o CPF" type="text" class="input req-same" style='width:130px;'maxlength="14" />]]>
692 <![CDATA[<div id="msg_cpflogin" name='msg_cpflogin' style="color:red;font-size:10px;"></div>]]>
699 <![CDATA[<input name="senha" id='senha' required placeholder="senha" type="password" style='width:130px;'class="input req-same" />]]>
715 <![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>]]>
723 <![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" />]]>
724 <![CDATA[<div id="msg_cpfsenha" name='msg_cpfsenha' style="color:red;font-size:10px;"></div>]]>
729 <![CDATA[<input name="datanascimento" id='datanascimento' required placeholder="__/__/__" type="text" class="input req-same" style='width:130px;'maxlength="14" />]]>
736 <![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>]]>
760 <![CDATA[<div style='font-size:16px; '> &#9745; Acesso as Vagas</br> &#9745; Agendar atendimento</br> &#9745; Cadastra Currículo </div>]]>
774 <![CDATA[<input name="cpf_trabalhador" id='cpf_trabalhador' required placeholder="Insira o CPF" type="text" class="input req-same" style='width:130px;'maxlength="14" />]]>
775 <![CDATA[<div id="msg_cpfcadastro" name='msg_cpfcadastro' style="color:red;font-size:10px;"></div>]]>
807 <![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">]]>
808 <![CDATA[<div id="msg_cnpjlogin" name='msg_cnpjlogin' style="color:red;font-size:10px;"></div>]]>
815 <![CDATA[<input name="senha" required id='senha' placeholder="senha" type="password" style='width:130px;'class="input req-same" />]]>
834 <![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>]]>
843 <![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">]]>
844 <![CDATA[<div id="msg_cnpjsenha" name='msg_cnpjsenha' style="color:red;font-size:10px;"></div>]]>
850 <![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>]]>
883 <![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">]]>
884 <![CDATA[<div id="msg_cnpjcadastro" name='msg_cnpjcadastro' style="color:red;font-size:10px;"></div>]]>
905 <![CDATA[<div style='width:100%;background: url("img/cidade.png") repeat-x scroll center 100% rgba(0, 0, 0, 0);margin-top:50px;' align='center' >]]>
912 <![CDATA[<div style='min-height:400px;'> <h3></h3> <!--<div style='height:225px;border: 3px dotted red;margin:10px;border-radius: 5px;margin-top:10px;color:red;padding:15px;'> <h2>Comunicado Importante!</h2> <p>Informamos que devido mudaça para novo endereço , não haverá atendimento na AGETRAB / Central do Trabalhador de Macaé no dia <b>04/09/2015 sexta-feira.</b> </p> <p> <b>Novo Endereço:<br> Rodovia Amaral Paixoto, S/n<br> Macaé - RJ<br> Ponto de Referência: Em frente ao Estádio Cláudio Moacyr </b> </p> </div> --> <div> <form class="form" method="post" action="" id="cadastro_empresa" name='cadastro_empresa'> <div class="form-row"> <div class="label">NOME<font class='simbolo'>&#10045;</font> </div> <div class="input-container" style='width:546px;'> <input name="nome" id="nome" type='text' required maxlength="18" tabindex="1" style="width:500px;" type="text" class="input req-same"> </div> </div> <div class="form-row"> <div class="label">E-mail<font class='simbolo'>&#10045;</font> </div> <div class="input-container" style='width:546px;'> <input name="email" id="email" type='mail' maxlength="300" required tabindex="1" style="width:500px;" type="text" class="input req-same"> </div> </div> <div class="form-row"> <div class="label">Mensagem<font class='simbolo'>&#10045;</font> </div> <div class="input-container" style='width:546px;'> <textarea width="300px" height='400px' name='mensagem'required class="input req-same" ></textarea> </div> </div> <div class="form-row"> <div class="label"></div> <div class="input-container" style='width:546px;'> <input id="submitBtn2" value="Salvar" type="submit" class="sendBtn" /> <div id="errorDiv2" class="error-div"></div> </div> </div> <form> </div> </td> </tr> </table> </div>]]>
938 <![CDATA[<div class="input-container" style='width:546px;'> <input name="nome" id="nome" type='text' required maxlength="18" tabindex="1" style="width:500px;" type="text" class="input req-same"> </div>]]>
939 <![CDATA[<input name="nome" id="nome" type='text' required maxlength="18" tabindex="1" style="width:500px;" type="text" class="input req-same">]]>
946 <![CDATA[<div class="input-container" style='width:546px;'> <input name="email" id="email" type='mail' maxlength="300" required tabindex="1" style="width:500px;" type="text" class="input req-same"> </div>]]>
947 <![CDATA[<input name="email" id="email" type='mail' maxlength="300" required tabindex="1" style="width:500px;" type="text" class="input req-same">]]>
955 <![CDATA[<div class="input-container" style='width:546px;'> <textarea width="300px" height='400px' name='mensagem'required class="input req-same" ></textarea> </div>]]>
962 <![CDATA[<div class="input-container" style='width:546px;'> <input id="submitBtn2" value="Salvar" type="submit" class="sendBtn" /> <div id="errorDiv2" class="error-div"></div> </div>]]>
985 <![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>]]>
990 <![CDATA[<font style='color:#fff;font-size:15px;line-height:36px;'>Agência de Trabalho, Emprego, Educação Profissional e Renda (AGETRAB)</font>]]>
994 <![CDATA[<a href='interno'style='color:#fff;font-size:15px;line-height:36px;'>Administrativo </a>]]>
454 <![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>]]>
708 <![CDATA[<a href='#' onclick="javascript: exibe('conteudo');">clique aqui</a>]]>
824 <![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>]]>
440 <![CDATA[<script> $(document).ready(function(){ $("#cadastro_empresa").validate(); $.validator.setDefaults({ submitHandler: function() { } }); }); </script>]]>
467 <![CDATA[<script> function Abrir_Pagina(URL) { window.open(URL,'','width=1000,height=500'); } </script>]]>
474 <![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>]]>
564 <![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>]]>
668 <![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>]]>