38
| <![CDATA[<form action="login.php" method="post" name="faleCN" id="faleCN" onSubmit="return vazio();" style="margin:0;">
<input name="acao" type="hidden" value="logar" />
<input name="pagina" type="hidden" value="verEdital.php?id=821" />
<p><label for="email">E-mail:</label> <input id="email" name="email" type="text" value="" class="campoMedio" maxlength="255" /></p>
<p><label for="senha">Senha:</label> <input id="senha" name="senha" type="password" value="" class="campoPequeno" maxlength="15" /></p>
<p align="center"><input name="enviar" type="submit" value="Enviar" class="botao" /></p>
</form>]]>
|
47
| <![CDATA[<form action="esqueciSenha.php" name="esqueci" id="esqueci" method="post" onSubmit="return checa();" style="margin:0;">
<input name="email2" id="email2" type="hidden" value="" />
<input name="senha" type="submit" value="Esqueci minha senha" class="botao" />
</form>]]>
|
53
| <![CDATA[<script language="javascript">
function vazio(){
if (document.getElementById('email').value=='' || document.getElementById('senha').value==''){
alert('E-mail e/ou senha vazios!');
return false;
} else
return true;
}
function checa(){
if (document.getElementById('email').value==''){
alert('O campo E-mail deve estar preenchido!');
return false;
} else {
document.getElementById('email2').value=document.getElementById('email').value;
return true;
}
}
</script>]]>
|