Ir para conteúdo
Fórum Script Brasil
  • 0

Validação... prosseguindo


Vinny789

Pergunta

Galera, blza?! seguinte...

Estou trabalhando com um sistema de login em php, só que estou fazendo a validação dos campos "caso não estejam preenchidos também em php" e fazendo a validação do campo CNPJ com Jquery.

Quando o cnpj é invalido ele mostra em ajax a escrita cnpj invalido do lado do campo, quando o campo é valido ele mostra um alert com a mensagem "ok".

Só que como estou trabalhando com ifsset e ação de inclusão na mesma pagina, queria saber como proceder com o javascript.

postarei o código abaixo descriminando e no final o código completo ;)

JQUERY VALIDATE

<script type="text/javascript" src="jquery.validate.js"></script>
<script type="text/javascript">
// QUANDO O DOCUMENTO ESTIVER PRONTO
$(document).ready(function(){
   // CONFIGURA A VALIDACAO DO FORMULARIO
   $("#meuForm").validate({
      rules: {
         cnpj: {cnpj: true}
      },
      messages: {
         cnpj: { cnpj: 'CNPJ inválido'}
      }
      ,submitHandler:function(form) {
         alert('ok');
      }
   });

   $('#result').html('jQuery Validate com novos métodos: cpf, cnpj, dateBR, dateTimeBR, notEqual');
});
</script>
CODE COMPLETO "PHP+HTML+JAVA
<?php
                if(isset($_POST['acao']) && $_POST['acao'] == 'cadastrar'):

                if(empty($razaosocial)):
                    echo '<script>alert("Preencha o campo Razão Social")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                elseif(empty($contato)):
                    echo '<script>alert("Preencha o campo Contato")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                elseif(empty($nomefantasia)):
                    echo '<script>alert("Preencha o campo Nome Fantasia")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                elseif(empty($cnpj)):
                    echo '<script>alert("Preencha o campo CNPJ")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                elseif(empty($inscricaoestadual)):
                    echo '<script>alert("Preencha o campo Inscrição Estadual")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                elseif(empty($cep)):
                    echo '<script>alert("Preencha o campo CEP")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                elseif(empty($logradouro)):
                    echo '<script>alert("Preencha o campo Logradouro")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                elseif(empty($numero)):
                    echo '<script>alert("Preencha o campo Número")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                elseif(empty($bairro)):
                    echo '<script>alert("Preencha o campo Bairro")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                elseif(empty($cidade)):
                    echo '<script>alert("Preencha o campo Cidade")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                elseif(empty($estado)):
                    echo '<script>alert("Preencha o campo Estado")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                elseif(empty($ddd1)):
                    echo '<script>alert("Preencha o campo DDD - Telefone 1")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                elseif(empty($telefone1)):
                    echo '<script>alert("Preencha o campo Telefone 1")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                elseif(empty($ddd2)):
                    echo '<script>alert("Preencha o campo DDD - Telefone 2")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                elseif(empty($telefone2)):
                    echo '<script>alert("Preencha o campo Telefone 2")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                elseif(empty($ddd3)):
                    echo '<script>alert("Preencha o campo DDD - FAX")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                elseif(empty($fax)):
                    echo '<script>alert("Preencha o campo FAX")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                elseif(empty($email_user)):
                    echo '<script>alert("Preencha o campo E-MAIL")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                elseif(empty($senha_user)):
                    echo '<script>alert("Preencha o campo SENHA")</script>';
                    echo '<script>history.back()</script>';
                    exit;
                else:
                
                $status  = (!get_magic_quotes_gpc()) ? addslashes($_POST['status']) : $_POST['status'];
                $razaosocial  = (!get_magic_quotes_gpc()) ? addslashes($_POST['razaosocial']) : $_POST['razaosocial'];
                $contato  = (!get_magic_quotes_gpc()) ? addslashes($_POST['contato']) : $_POST['contato'];
                $nomefantasia  = (!get_magic_quotes_gpc()) ? addslashes($_POST['nomefantasia']) : $_POST['nomefantasia'];        
                $cnpj  = (!get_magic_quotes_gpc()) ? addslashes($_POST['cnpj']) : $_POST['cnpj'];
                $inscricaoestadual  = (!get_magic_quotes_gpc()) ? addslashes($_POST['inscricaoestadual']) : $_POST['inscricaoestadual'];
                $cep  = (!get_magic_quotes_gpc()) ? addslashes($_POST['cep']) : $_POST['cep'];
                $logradouro  = (!get_magic_quotes_gpc()) ? addslashes($_POST['logradouro']) : $_POST['logradouro'];                        
                $numero  = (!get_magic_quotes_gpc()) ? addslashes($_POST['numero']) : $_POST['numero'];        
                $bairro  = (!get_magic_quotes_gpc()) ? addslashes($_POST['bairro']) : $_POST['bairro'];
                $cidade  = (!get_magic_quotes_gpc()) ? addslashes($_POST['cidade']) : $_POST['cidade'];
                $estado  = (!get_magic_quotes_gpc()) ? addslashes($_POST['estado']) : $_POST['estado'];
                $ddd1  = (!get_magic_quotes_gpc()) ? addslashes($_POST['ddd1']) : $_POST['ddd1'];                                
                $telefone1  = (!get_magic_quotes_gpc()) ? addslashes($_POST['telefone1']) : $_POST['telefone1'];        
                $ddd2  = (!get_magic_quotes_gpc()) ? addslashes($_POST['ddd2']) : $_POST['ddd2'];
                   $telefone2  = (!get_magic_quotes_gpc()) ? addslashes($_POST['telefone2']) : $_POST['telefone2'];
                $ddd3  = (!get_magic_quotes_gpc()) ? addslashes($_POST['ddd3']) : $_POST['ddd3'];
                $fax  = (!get_magic_quotes_gpc()) ? addslashes($_POST['fax']) : $_POST['fax'];
                $email_user = (!get_magic_quotes_gpc()) ? addslashes($_POST['email_user']) : $_POST['email_user'];
                $senha_user = (!get_magic_quotes_gpc()) ? addslashes($_POST['senha_user']) : $_POST['senha_user'];
                $senha_user = md5($senha_user);
                
                require("conecta.php");

                $sqlc="SELECT * FROM tabela_usuarios WHERE cnpj='$cnpj'";
                $sql_result=mysql_query($sqlc);
                $resultados=mysql_fetch_array($sql_result);
                if(!empty($resultados["cnpj"] )){

                echo '<script>alert("cnpj já cadastrado em nosso sistema!")</script>';
                }else{
                $sql = "INSERT INTO tabela_usuarios (status, razaosocial, contato, nomefantasia, cnpj, inscricaoestadual, cep, logradouro, numero, bairro, cidade, estado, ddd1, telefone1, ddd2, telefone2, ddd3, fax, email, senha)
                                                     VALUES
                                                    ('$status', '$razaosocial', '$contato', '$nomefantasia', '$cnpj', '$inscricaoestadual', '$cep', '$logradouro', '$numero', '$bairro', '$cidade', '$estado', '$ddd1', '$telefone1', '$ddd2', '$telefone2', '$ddd3', '$fax', '$email_user', '$senha_user')";
                $qr  = mysql_query($sql) or die(mysql_error());
                
                    if($qr):
                        echo '<script>alert("Cadastrado com sucesso!")</script>';
                    else:
                        echo '<script>alert("Erro ao cadastrar")</script>';
                    endif;}

             endif;

            endif;

//            endif;




  ?>
<html>
<head>
<title>intro</title>
<script type="text/javascript" src="jquery/jquery-1.3.1.js"></script>
<script type="text/javascript" src="jquery.validate.js"></script>
<script type="text/javascript">
// QUANDO O DOCUMENTO ESTIVER PRONTO
$(document).ready(function(){
   // CONFIGURA A VALIDACAO DO FORMULARIO
   $("#meuForm").validate({
      rules: {
         cnpj: {cnpj: true}
      },
      messages: {
         cnpj: { cnpj: 'CNPJ inválido'}
      }
      ,submitHandler:function(form) {
         [color="#FF0000"]alert('ok');[/color]
      }
   });

   $('#result').html('jQuery Validate com novos métodos: cpf, cnpj, dateBR, dateTimeBR, notEqual');
});
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="Namo WebEditor v5.0">
<style type="text/css">
<!--
body{
   font:7px Arial, Helvetica, sans-serif;
}

label{
   display:block;
   width:100px;
   float:left;
}
input{
   display:block;
}

#result{ margin-bottom:20px; }

.clear{
   clear:both;
   margin-bottom:5px;
}

.bt{ width:auto!important; }

label.error{ font-size:8pt; color:#FF0000; width:250px; }
-->
</style>
<style type="text/css">
.todoform {
        color: #999999;
        BORDER-RIGHT: #003399 1px solid;
        BORDER-TOP: #003399 1px solid;
        FONT-WEIGHT: bold;
        FONT-SIZE: 8pt;
        BORDER-LEFT: #003399 1px solid;
        BORDER-BOTTOM: #003399 1px solid;
        FONT-FAMILY: Verdana;
        BACKGROUND-COLOR: #ffffff;
}
</style>
</head>
<body bgcolor="#E6E6E6" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table id="Tabela_01" width="725" height="631" border="0" cellpadding="0" cellspacing="0" style="margin-top:2;">
    <tr>
        <td>
            <img src="imagens/intro_cima.gif" width="10" height="10" alt=""></td>
        <td>
            <img src="imagens/intro_02.gif" width="705" height="10" alt=""></td>
        <td>
            <img src="imagens/intro_cima2.gif" width="10" height="10" alt=""></td>
    </tr>
    <tr>
        <td background="imagens/intro_04.gif">
            <img src="imagens/intro_04.gif" width="10" height="611" alt=""></td>
        <td width="705" height="611" valign="top" bgcolor="white">
            <table border="0" cellpadding="0" cellspacing="0" width="705">
                <tr>
                    <td style="border-bottom-width:0; border-bottom-color:rgb(2,67,127); border-top-style:none; border-bottom-style:none;" height="5">
                        <p><span style="font-size:2pt;">&nbsp;</span></p>
                    </td>
                </tr>
                <tr>
                    <td style="border-bottom-width:1pt; border-bottom-color:rgb(2,67,127); border-top-style:none; border-bottom-style:solid;">
                        <p align="right"><img src="titulos/tit_cadastro.gif" width="386" height="40" border="0"></p>
                    </td>
                </tr>
                <tr>
                    <td width="705">
<FORM id="meuForm" style="MARGIN: 0px; WORD-SPACING: 0px" name=form method=post>
                            <ul>
                                        <div align="left">
                                    <ul>
                                        <ul>
      <TABLE id=AutoNumber1 style="line-height:100%; margin-top:0; margin-right:0; margin-bottom:0; border-collapse:collapse;" 
      borderColor=#111111 height=200 cellSpacing=0 cellPadding=0 width="540" 
      border=0>
        <tr>
          <TD width="140" height=12 align="center" valign="middle">
            
                    <p style="line-height:100%; margin:0;" align="left"><font face="Verdana" size="1" color="#003399"><b>Razão 
                                                            Social:</b></font><input type="hidden" name="status"  value="0" /></p>
</TD>
          <TD width="400" height=12 align="center" colspan="2">
            
                                            <p style="margin:0;" align="left"><SPAN 
            class="box-header" style="background-color:rgb(102,102,102);"><font face="Verdana" size="1" color="#003399"><b><INPUT class="todoform" maxLength=60 size="40" name="razaosocial"></b></font></SPAN></TD>
        </tr>
        <tr>
          <TD width="140" height="6" align="center" valign="middle">
            
                                                    <p align="left" style="margin-top:0; margin-bottom:0;"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
          <TD width="400" height="6" align="center" colspan="2">
            
                    <p style="line-height:100%; margin:0;" align="left"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
        </tr>
        <tr>
          <TD width="140" height=12 align="center" valign="middle">
            
                    <p style="line-height:100%; margin:0;" align="left"><font face="Verdana" size="1" color="#003399"><b>Contato/Responsável:</b></font></p>
</TD>
          <TD width="400" height=12 align="center" colspan="2">
            
                                            <p style="margin:0;" align="left"><SPAN 
            class="box-header" style="background-color:rgb(102,102,102);"><font face="Verdana" size="1" color="#003399"><b><INPUT class="todoform" size="40" name="contato"></b></font></SPAN></TD>
        </tr>
        <tr>
          <TD width="140" height="6" align="center" valign="middle">
            
                                                    <p align="left" style="margin-top:0; margin-bottom:0;"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
          <TD width="400" height="6" align="center" colspan="2">
            
                    <p style="line-height:100%; margin:0;" align="left"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
        </tr>
        <tr>
          <TD width="140" height=12 align="center" valign="middle">
            
                    <p style="line-height:100%; margin:0;" align="left"><font face="Verdana" size="1" color="#003399"><b>Nome 
                                                            fantasia:</b></font></p>
</TD>
          <TD width="400" height=12 align="center" colspan="2">
            
                                            <p style="margin:0;" align="left"><SPAN 
            class="box-header" style="background-color:rgb(102,102,102);"><font face="Verdana" size="1" color="#003399"><b><INPUT class="todoform" size="40" name="nomefantasia"></b></font></SPAN></TD>
        </tr>
        <tr>
          <TD align="center" width="140" valign="middle" height="6">
                                                    <p><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
          <TD align="center" width="400" valign="top" height="6" colspan="2">
                                                    <p><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
        </tr>
        <tr>
          <TD align="center" width="140" valign="middle">
<p style="line-height:100%; margin:0;" align="left"><font face="Verdana" size="1" color="#003399"><b>CNPJ:</b></font></p>
</TD>
          <TD align="center" width="400" valign="top" colspan="2">
                    <p style="line-height:100%; margin:0;" align="left"><input class="todoform" id="cnpj" name="cnpj" type="text" value="" /></p>
</TD>
        </tr>
        <tr>
          <TD align="center" width="140" height="6" valign="middle">
                                                    <p align="left" style="margin-top:0; margin-bottom:0;"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
          <TD align="center" width="400" height="6" colspan="2">
                    <p style="line-height:100%; margin:0;" align="left"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
        </tr>
        <tr>
          <TD align="center" width="140" valign="middle">
                    <p style="line-height:100%; margin:0;" align="left"><font face="Verdana" size="1" color="#003399"><b>Inscrição 
                                                            Estadual:</b></font></p>
</TD>
          <TD align="center" width="400" colspan="2">
                                <p align="left" style="margin:0;"><SPAN 
            class=box-header><font face="Verdana" size="1" color="#003399"><b><INPUT class="todoform" maxLength=60 size="23" name="inscricaoestadual"></b></font></SPAN></TD>
        </tr>
        <tr>
          <TD align="center" width="140" height="6" valign="middle">
                                                    <p align="left" style="margin-top:0; margin-bottom:0;"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
          <TD align="center" width="400" height="6" colspan="2">
                    <p style="line-height:100%; margin:0;" align="left"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
        </tr>
        <tr>
          <TD align="center" width="140" valign="middle">
                    <p style="line-height:100%; margin:0;" align="left"><font face="Verdana" size="1" color="#003399"><b>CEP:</b></font></p>
</TD>
          <TD align="center" width="400" colspan="2">
                                <p align="left" style="margin:0;"><SPAN 
            class=box-header><font face="Verdana" size="1" color="#003399"><b><INPUT class="todoform" maxLength=60 size="23" name="cep"></b></font></SPAN></TD>
        </tr>
        <tr>
          <TD align="center" width="140" height="6" valign="middle">
                                                    <p align="left" style="margin-top:0; margin-bottom:0;"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
          <TD align="center" width="400" height="6" colspan="2">
                    <p style="line-height:100%; margin:0;" align="left"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
        </tr>
        <tr>
          <TD align="center" width="140" valign="middle">
                    <p style="line-height:100%; margin:0;" align="left"><font face="Verdana" size="1" color="#003399"><b>Logradouro:</b></font></p>
</TD>
          <TD align="center" width="400" colspan="2">
                                            <p style="margin:0;" align="left"><SPAN 
            class="box-header" style="background-color:white;"><font face="Verdana" size="1" color="#003399"><b><INPUT class="todoform" maxLength=60 size="40" name="logradouro"></b></font></SPAN></TD>
        </tr>
        <tr>
          <TD align="center" width="140" height="6" valign="middle">
                                                    <p align="left" style="margin-top:0; margin-bottom:0;"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
          <TD align="center" width="400" height="6" colspan="2">
                    <p style="line-height:100%; margin:0;" align="left"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
        </tr>
        <tr>
          <TD align="center" width="140" valign="middle">
                    <p style="line-height:100%; margin:0;" align="left"><font face="Verdana" size="1" color="#003399"><b>Nº:</b></font></p>
</TD>
          <TD align="center" width="400" colspan="2">
                                            <p style="margin:0;" align="left"><SPAN 
            class="box-header" style="background-color:white;"><font face="Verdana" size="1" color="#003399"><b><INPUT class="todoform" size="4" name="numero"></b></font></SPAN></TD>
        </tr>
        <tr>
          <TD align="center" width="140" height="6" valign="middle">
                                                    <p style="margin-top:0; margin-bottom:0;"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
          <TD align="center" width="400" height="6" colspan="2">
                                                    <p style="margin-top:0; margin-bottom:0;"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
        </tr>
        <tr>
          <TD align="center" width="140" valign="middle">
                    <p style="line-height:100%; margin:0;" align="left"><font face="Verdana" size="1" color="#003399"><b>Bairro:</b></font></p>
</TD>
          <TD align="center" width="400" colspan="2">
                                <p align="left" style="margin:0;"><SPAN 
            class=box-header><font face="Verdana" size="1" color="#003399"><b><INPUT class="todoform" maxLength=60 size="40" name="bairro"></b></font></SPAN></TD>
        </tr>
        <tr>
          <TD align="center" width="540" colspan="3" height="6">
                    <p style="line-height:100%; margin:0;" align="left"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
        </tr>
        <tr>
          <TD align="center" width="140" valign="middle">
                    <p style="line-height:100%; margin:0;" align="left"><font face="Verdana" size="1" color="#003399"><b>Cidade:</b></font></p>
</TD>
          <TD align="center" width="400" colspan="2">
                                <p align="left" style="margin:0;"><SPAN 
            class=box-header><font face="Verdana" size="1" color="#003399"><b><INPUT class="todoform" maxLength=60 size="40" name="cidade"></b></font></SPAN></TD>
        </tr>
        <tr>
          <TD align="center" width="540" colspan="3" height="6">
                                                    <p align="left" style="margin-top:0; margin-bottom:0;"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
        </tr>
        <tr>
          <TD align="center" width="140" valign="middle">
                    <p style="line-height:100%; margin:0;" align="left"><font face="Verdana" size="1" color="#003399"><b>Estado:</b></font></p>
</TD>
          <TD align="center" width="400" colspan="2">
<p align="left" style="margin:0;"><FONT face="Verdana" color="#003399"><SPAN 
                  style="font-size:8pt; background-color:white;"><B><SELECT size=1 
                    name=estado class="todoform" style="color:#999999;"> <OPTION value=AC>AC</OPTION> <OPTION 
                    value=AL>AL</OPTION> <OPTION value=AP>AP</OPTION> <OPTION 
                    value=AM>AM</OPTION> <OPTION value=BA>BA</OPTION> <OPTION 
                    value=CE>CE</OPTION> <OPTION value=DF>DF</OPTION> <OPTION 
                    value=GO>GO</OPTION> <OPTION value=ES>ES</OPTION> <OPTION 
                    value=MA>MA</OPTION> <OPTION value=MT>MT</OPTION> <OPTION 
                    value=MS>MS</OPTION> <OPTION value=MG>MG</OPTION> <OPTION 
                    value=PA>PA</OPTION> <OPTION value=PB>PB</OPTION> <OPTION 
                    value=PR>PR</OPTION> <OPTION value=PE>PE</OPTION> <OPTION 
                    value=PI>PI</OPTION> <OPTION value=RJ>RJ</OPTION> <OPTION 
                    value=RN>RN</OPTION> <OPTION value=RS>RS</OPTION> <OPTION 
                    value=RO>RO</OPTION> <OPTION value=RR>RR</OPTION> <OPTION 
                    value="SP" selected>SP</OPTION> <OPTION value=SC>SC</OPTION> 
                    <OPTION value=SE>SE</OPTION> <OPTION 
                  value=TO>TO</OPTION></SELECT></B></SPAN></FONT></TD>
        </tr>
        <tr>
          <TD align="center" width="540" colspan="3" height="6">
                                                    <p align="left" style="margin-top:0; margin-bottom:0;"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
        </tr>
        <tr>
          <TD align="center" width="140" valign="middle">
                    <p style="line-height:100%; margin:0;" align="left"><font face="Verdana" size="1" color="#003399"><b>Telefone 
                                1:</b></font></p>
</TD>
          <TD align="center" width="40">
                                <p align="left" style="margin:0;"><SPAN 
            class=box-header><font face="Verdana" size="1" color="#003399"><b><INPUT class="todoform" maxLength="2" size="2" name="ddd1"></b></font></SPAN></TD>
          <TD align="center" width="370">
                                <p align="left" style="margin:0;"><SPAN 
            class=box-header><font face="Verdana" size="1" color="#003399"><b><INPUT class="todoform" maxLength="9" size="9" name="telefone1"></b></font></SPAN></TD>
        </tr>
        <tr>
          <TD align="center" width="540" colspan="3" height="6">
                                                    <p style="margin-top:0; margin-bottom:0;"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
        </tr>
        <tr>
          <TD align="center" width="140" valign="middle">
                    <p style="line-height:100%; margin:0;" align="left"><font face="Verdana" size="1" color="#003399"><b>Telefone 
                                2:</b></font></p>
</TD>
          <TD align="center" width="30">
                                <p align="left" style="margin:0;"><SPAN 
            class=box-header><font face="Verdana" size="1" color="#003399"><b><INPUT class="todoform" maxLength="2" size="2" name="ddd2"></b></font></SPAN></TD>
          <TD align="center" width="370">
                                <p align="left" style="margin:0;"><SPAN 
            class=box-header><font face="Verdana" size="1" color="#003399"><b><INPUT class="todoform" maxLength="9" size="9" name="telefone2"></b></font></SPAN></TD>
        </tr>
        <tr>
          <TD align="center" width="540" colspan="3">
                                                    <p style="margin-top:0; margin-bottom:0;"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
        </tr>
        <tr>
          <TD align="center" width="140" valign="middle">
                    <p style="line-height:100%; margin:0;" align="left"><font face="Verdana" size="1" color="#003399"><b>Fax:</b></font></p>
</TD>
          <TD align="center" width="30">
                                <p align="left" style="margin:0;"><SPAN 
            class=box-header><font face="Verdana" size="1" color="#003399"><b><INPUT class="todoform" maxLength="2" size="2" name="ddd3"></b></font></SPAN></TD>
          <TD align="center" width="370">
                                <p align="left" style="margin:0;"><SPAN 
            class=box-header><font face="Verdana" size="1" color="#003399"><b><INPUT class="todoform" maxLength="9" size="9" name="fax"></b></font></SPAN></TD>
        </tr>
        <tr>
          <TD align="center" width="540" valign="middle" colspan="3">
            
                                                    <p align="left" style="margin-top:0; margin-bottom:0;"><span style="font-size:2pt;">&nbsp;&nbsp;</span></p>
</TD>
        </tr>
        <tr>
          <TD align="center" width="140">
            
                                                            <p style="margin-top:0; margin-bottom:0;" align="left">&nbsp;</p>
</TD>
          <TD align="center" width="400" colspan="2">
            
                                                            <p style="margin-top:10; margin-bottom:5;" align="left"><font face="Verdana" color="red"><span style="font-size:9pt; background-color:white;"><b>DADOS 
                                                            PARA ACESSO:</b></span></font></p>
</TD>
        </tr>
        <tr>
          <TD align="center" width="140" valign="middle">
            
                    <p style="line-height:100%; margin:0;" align="left"><font face="Verdana" size="1" color="#003399"><b>E-mail:</b></font></p>
</TD>
          <TD align="center" width="400" colspan="2">
            
                                <p align="left" style="margin:0;"><SPAN 
            class=box-header><font face="Verdana" size="1" color="#003399"><b><INPUT class="todoform" maxLength=60 size="40" name="email_user"></b></font></SPAN></TD>
        </tr>
        <TR>
          <TD align="center" width="540" colspan="3" height="3">
            
                                                    <p align="left" style="margin-top:0; margin-bottom:0;"><span style="font-size:2pt;">&nbsp;</span></p>
</TD>
</TR>
        <tr>
          <TD align="center" width="140" valign="middle">
            
                    <p style="line-height:100%; margin:0;" align="left"><font face="Verdana" size="1" color="#003399"><b>Senha:</b></font></p>
</TD>
          <TD align="center" width="400" colspan="2">
            
                                <p align="left" style="margin:0;"><SPAN 
            class=box-header><font face="Verdana" size="1" color="#003399"><b><INPUT class="todoform" maxLength="12" size="12" name="senha_user" type="password"></b></font></SPAN></TD>
        </tr>
        <TR>
          <TD width="139" height="57" valign="middle">
    
                                                    <p style="line-height:100%; margin-top:0; margin-right:0; margin-bottom:0; border-collapse:collapse;" align="center">&nbsp;</p>
</TD>          <TD width="401" height="57" valign="middle" colspan="2">
    
                                                                    <p style="margin-top:0; margin-bottom:0;" align="left"><input type="hidden" name="acao"  value="cadastrar" /><SPAN
            class=box-header><font face="Verdana" size="1" color="#9FDB07"><input type="submit" value="CADASTRAR" class="todoform" class="bt" /></font></SPAN></p>
</TD></TR>
        </TBODY></TABLE>
                                        </ul>
                                    </ul>
                                        </div>
                            </ul>
</FORM>                                                    
                    </td>
                </tr>
            </table>
</td>
        <td background="imagens/intro_06.gif">
            <img src="imagens/intro_06.gif" width="10" height="611" alt=""></td>
    </tr>
    <tr>
        <td>
            <img src="imagens/intro_07.gif" width="10" height="10" alt=""></td>
        <td>
            <img src="imagens/intro_08.gif" width="705" height="10" alt=""></td>
        <td>
            <img src="imagens/intro_09.gif" width="10" height="10" alt=""></td>
    </tr>
</table>
</body>
</html>

Se puderem me dar uma força agradeceria...

Link para o comentário
Compartilhar em outros sites

0 respostass a esta questão

Posts Recomendados

Até agora não há respostas para essa pergunta

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,3k
    • Posts
      652,3k
×
×
  • Criar Novo...