Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Bruno Conte

Cadastro

Recommended Posts

Olha fiz um esquema rapidiho aqui....... tá funcionando direito

cadastra o usuario e tudo.........

 

logar.php

<form name="frmBusca" method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>?a=cadastrar" >
    <input type="text" name="login" />
    <input type="text" name="senha" />
	<input type="submit" value="logar" />
</form>
<?php
$conexao = mysql_connect("localhost", "root", "");
$banco = mysql_select_db("teste");
     if(!empty($_GET["a"])) {
$a = $_GET['a'];
 
// Verificamos se a ação é de busca
if ($a == "cadastrar") {
$usuario = $_POST['login'];
$senha = $_POST['senha'];             
//Aqui veificamos se o usuario e senha digitados no formulário existem e estão corretos
$sql = @mysql_query("SELECT * FROM tb_users WHERE login='".$usuario."' and senha='".$senha."'")
or die ("".@mysql_error());
$qregistro = @mysql_num_rows($sql);

if($qregistro<1){
    echo "<script>alert('erro usuario inexistente...')
      ;top.location.href='a.php';</script>";
   //echo "Login ou senha errado(s)!!";
}
else{
   //Apos verificado ele grava o usuario e senha no vetor $_session[]   
   session_start();
   $_SESSION['login']=$usuario;
   $_SESSION['senha']=$senha;
   header("Location: login.php");
}

}
}
?>

login.php

<?php 
$conexao = mysql_connect("localhost", "root", "");
$banco = mysql_select_db("teste");
session_start();
//coletamos os dados existentes no vetor...
if(IsSet($_SESSION['login']))
   $login=$_SESSION['login'];
   //aqui vamos verificar se temos algo registrado
   if(!(empty($nome_usuario) OR empty($senha_usuario)))
   {         if($senha_usuario != mysql_result($sql,0,"senha"))
         {  unset($_SESSION['login']);
            unset($_SESSION['senha']);
            echo "<script>alert('você não efetuou o login!')
      ;top.location.href='a.php';</script>";
            exit;
         }  }
      ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<table width="100%" border="0">
  <tr>
    <td><form action="enviar.php" method="post" name="rg">
        <input type="hidden" name="usuario" value="<?php echo $login ; ?>" />
      <table width="100%" border="0">
        <tr>
          <td>Chassi:</td>
        </tr>
        <tr>
          <td><input type="text" name="chassi" size="12" /></td>
        </tr>
        <tr>
          <td><input type="submit" value="Cadastrar" /></td>
        </tr>
      </table>
    </form></td>
  </tr>
  <tr>
    <td></td>
  </tr>
</table>
</body>
</html>

enviar.php

<?php 
$conexao = mysql_connect("localhost", "root", "");
$banco = mysql_select_db("teste");
?>
<?php 
session_start();
$usuario = $_SESSION['login']; 
$chassi = $_POST['chassi'];
if (isset($usuario) && isset($chassi)) {
$sql = mysql_query("insert into pdi (usuario, chassi) VALUES ('$usuario', '$chassi')") or die (mysql_error());
echo "<p align=\"center\">Veículo cadastrado com sucesso.</p>";
}else{
echo "<p align=\"center\"><font color='red'>Favor preencher todos os dados os dados. <a href=\"cadastro_etapa1.php\">clique aqui</a></font></p>";
}
?>

testa aeee.......... http://forum.imasters.com.br/public/style_emoticons/default/joia.gif/>

Compartilhar este post


Link para o post
Compartilhar em outros sites

quando loguei na tela logar.php deu o seguinte erro:

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/pdimidi/public_html/logar.php:1) in /home/pdimidi/public_html/logar.php on line 28

Warning: Cannot modify header information - headers already sent by (output started at /home/pdimidi/public_html/logar.php:1) in /home/pdimidi/public_html/logar.php on line 31

Compartilhar este post


Link para o post
Compartilhar em outros sites

na parte de cima coloque essa função

 

OB_START();
http://forum.imasters.com.br/public/style_emoticons/default/joia.gif/>

 

 

exemplo.......

<form name="frmBusca" method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>?a=cadastrar" >
    <input type="text" name="login" />
    <input type="text" name="senha" />
        <input type="submit" value="logar" />
</form>
<?php
OB_START();
$conexao = mysql_connect("localhost", "root", "");
$banco = mysql_select_db("teste");
     if(!empty($_GET["a"])) {
$a = $_GET['a'];
 
// Verificamos se a ação é de busca
if ($a == "cadastrar") {
$usuario = $_POST['login'];
$senha = $_POST['senha'];             
//Aqui veificamos se o usuario e senha digitados no formulário existem e estão corretos
$sql = @mysql_query("SELECT * FROM tb_users WHERE login='".$usuario."' and senha='".$senha."'")
or die ("".@mysql_error());
$qregistro = @mysql_num_rows($sql);

if($qregistro<1){
    echo "<script>alert('erro usuario inexistente...')
      ;top.location.href='a.php';</script>";
   //echo "Login ou senha errado(s)!!";
}
else{
   //Apos verificado ele grava o usuario e senha no vetor $_session[]   
   session_start();
   $_SESSION['login']=$usuario;
   $_SESSION['senha']=$senha;
   header("Location: login.php");
}

}
}
?>

Compartilhar este post


Link para o post
Compartilhar em outros sites

coloquei e manteve o erro:

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/pdimidi/public_html/logar.php:1) in /home/pdimidi/public_html/logar.php on line 29

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/pdimidi/public_html/logar.php:1) in /home/pdimidi/public_html/logar.php on line 29

Warning: Cannot modify header information - headers already sent by (output started at /home/pdimidi/public_html/logar.php:1) in /home/pdimidi/public_html/logar.php on line 32

Compartilhar este post


Link para o post
Compartilhar em outros sites

faz assim tire o header e coloque......

 

no LOGAR.PHP

retire...

header("Location: login.php");
e coloque

echo '<meta HTTP-EQUIV="Refresh" CONTENT="2; URL=login.php">';

faça as mesmas modifcações nas outras paginas .......... http://forum.imasters.com.br/public/style_emoticons/default/joia.gif/>

Compartilhar este post


Link para o post
Compartilhar em outros sites

ele continua dando erro. o meu problema talves e simples, o que preciso fazer e so puxar o login e colocar quando cadastrar para mostrar qual login esta cadastrando sako???

Compartilhar este post


Link para o post
Compartilhar em outros sites

olha Tó postando outro exemplo aqui.....................

 

esse tá testado e funcionando direitinho..........

testei varias vezes aqui e tá funcionando beleza... http://forum.imasters.com.br/public/style_emoticons/default/joia.gif/>

 

SQL.SQL

CREATE TABLE IF NOT EXISTS `pdi` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `usuario` varchar(255) DEFAULT NULL,
  `chassi` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

CREATE TABLE IF NOT EXISTS `tb_users` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `login` varchar(255) DEFAULT NULL,
  `senha` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

INSERT INTO `tb_users` (`id`, `login`, `senha`) VALUES
(1, 'maciel', '2202');

Index.php

<form name="frmBusca" method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>?a=cadastrar" >
    <input type="text" name="login" />
    <input type="text" name="senha" />
        <input type="submit" value="logar" />
</form>
<?php
$conexao = mysql_connect("localhost", "root", "");
$banco = mysql_select_db("teste");
     if(!empty($_GET["a"])) {
$a = $_GET['a'];
 
// Verificamos se a ação é de busca
if ($a == "cadastrar") {
$usuario = $_POST['login'];
$senha = $_POST['senha'];             
//Aqui veificamos se o usuario e senha digitados no formulário existem e estão corretos
$sql = @mysql_query("SELECT * FROM tb_users WHERE login='".$usuario."' and senha='".$senha."'")
or die ("".@mysql_error());
$qregistro = @mysql_num_rows($sql);

if($qregistro<1){
    echo "<script>alert('erro usuario inexistente...')
      ;top.location.href='a.php';</script>";
   //echo "Login ou senha errado(s)!!";
}
else{
   //Apos verificado ele grava o usuario e senha no vetor $_session[]   
   session_start();
   $_SESSION['login']=$usuario;
   $_SESSION['senha']=$senha;
   echo '<meta HTTP-EQUIV="Refresh" CONTENT="2; URL=login.php">';
}

}
}
?>

Login.php

<?php 
$conexao = mysql_connect("localhost", "root", "");
$banco = mysql_select_db("teste");
session_start();
//coletamos os dados existentes no vetor...
if(IsSet($_SESSION['login']))
   $login=$_SESSION['login'];
   //aqui vamos verificar se temos algo registrado
   if(!(empty($nome_usuario) OR empty($senha_usuario)))
   {         if($senha_usuario != mysql_result($sql,0,"senha"))
         {  unset($_SESSION['login']);
            unset($_SESSION['senha']);
            echo "<script>alert('você não efetuou o login!')
      ;top.location.href='logar.php';</script>";
            exit;
         }  }
      ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<table width="100%" border="0">
  <tr>
    <td><form action="enviar.php" method="post" name="rg">
        <input type="hidden" name="usuario" value="<?php echo $login ; ?>" />
      <table width="100%" border="0">
        <tr>
          <td>Chassi:</td>
        </tr>
        <tr>
          <td><input type="text" name="chassi" size="12" /></td>
        </tr>
        <tr>
          <td><input type="submit" value="Cadastrar" /></td>
        </tr>
      </table>
    </form></td>
  </tr>
  <tr>
    <td></td>
  </tr>
</table>
</body>
</html>

Enviar.php

<?php 
$conexao = mysql_connect("localhost", "root", "");
$banco = mysql_select_db("teste");
?>
<?php 
session_start();
$usuario = $_SESSION['login']; 
$chassi = $_POST['chassi'];
if (isset($usuario) && isset($chassi)) {
$sql = mysql_query("insert into pdi (usuario, chassi) VALUES ('$usuario', '$chassi')") or die (mysql_error());
echo "<p align=\"center\">Veículo cadastrado com sucesso.</p>";
}else{
echo "<p align=\"center\"><font color='red'>Favor preencher todos os dados os dados. <a href=\"cadastro_etapa1.php\">clique aqui</a></font></p>";
}
?>

Se der erro Poste o erro que apareçe......... http://forum.imasters.com.br/public/style_emoticons/default/joia.gif/>

Compartilhar este post


Link para o post
Compartilhar em outros sites

funciono beleza so que da o seguinte erro quando vai logar, so que esta logando, fiz o teste cadastrando mostrou que quem cadastrou foi o maciel mais da esse erro quando loga:

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/pdimidi/public_html/index.php:1) in /home/pdimidi/public_html/index.php on line 28

e quando entro na pagina meusite.com/login.php ele entra sem pedir login, o que devo fazer????

Compartilhar este post


Link para o post
Compartilhar em outros sites

Então é por que já existe uma sessão sendo usanda.......

 

kkkkkkkkkk

então você terá que quando terminar deslogar...... expirar fechar esta sessão......

 

Então execulte esse codigo......

deslogar.php

<?php
session_start(); //iniciamos a sessão que foi aberta

session_destroy(); //pei!!! destruimos a sessão ;)/>
session_unset(); //limpamos as variaveis globais das sessões

echo '<script>alert("Voce saiu do Sistema.!\n Ate mais!")
      ;top.location.href="index.php";</script>';
 
?>

e modifique isso...... nas paginas.........

 

LOGIN.php

troque isso......

<?php 
$conexao = mysql_connect("localhost", "root", "");
$banco = mysql_select_db("teste");
session_start();
//coletamos os dados existentes no vetor...
if(IsSet($_SESSION['login']))
   $login=$_SESSION['login'];
   //aqui vamos verificar se temos algo registrado
   if(!(empty($nome_usuario) OR empty($senha_usuario)))
   {         if($senha_usuario != mysql_result($sql,0,"senha"))
         {  unset($_SESSION['login']);
            unset($_SESSION['senha']);
            echo "<script>alert('você não efetuou o login!')
      ;top.location.href='logar.php';</script>";
            exit;
         }  }
      ?>
por isso......

<?php 
$conexao = mysql_connect("localhost", "root", "");
$banco = mysql_select_db("teste");
if (!isset($_SESSION)) {
session_start();
//coletamos os dados existentes no vetor...
if(IsSet($_SESSION['login']))
   $login=$_SESSION['login'];
   //aqui vamos verificar se temos algo registrado
   if(!(empty($nome_usuario) OR empty($senha_usuario)))
   {         if($senha_usuario != mysql_result($sql,0,"senha"))
         {  unset($_SESSION['login']);
            unset($_SESSION['senha']);
            echo "<script>alert('você não efetuou o login!')
      ;top.location.href='logar.php';</script>";
            exit;
         }  }
      }?>

Enviar.php

troque isso......

<?php 
session_start();
$usuario = $_SESSION['login']; 
$chassi = $_POST['chassi'];
if (isset($usuario) && isset($chassi)) {
$sql = mysql_query("insert into pdi (usuario, chassi) VALUES ('$usuario', '$chassi')") or die (mysql_error());
echo "<p align=\"center\">Veículo cadastrado com sucesso.</p>";
}else{
echo "<p align=\"center\"><font color='red'>Favor preencher todos os dados os dados. <a href=\"cadastro_etapa1.php\">clique aqui</a></font></p>";
}
?>
Por isso.....

 

<?php 
if (!isset($_SESSION)) {
session_start();
$usuario = $_SESSION['login']; 
$chassi = $_POST['chassi'];
if (isset($usuario) && isset($chassi)) {
$sql = mysql_query("insert into pdi (usuario, chassi) VALUES ('$usuario', '$chassi')") or die (mysql_error());
echo "<p align=\"center\">Veículo cadastrado com sucesso.</p>";
echo '<a href="deslogar.php">Sair</a> ';
}else{
echo "<p align=\"center\"><font color='red'>Favor preencher todos os dados os dados. <a href=\"cadastro_etapa1.php\">clique aqui</a></font></p>";
}
}
?>
http://forum.imasters.com.br/public/style_emoticons/default/joia.gif/>

 

 

Tomara que agora dê certo...... kkkkkkkkkkkkk :lol:/> :lol:/> :lol:/> :lol:/>

Compartilhar este post


Link para o post
Compartilhar em outros sites

opa!!!

 

Apesar de estar logando esta dando o seguinte erro:

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/pdimidi/public_html/index.php:6) in /home/pdimidi/public_html/index.php on line 89

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/pdimidi/public_html/index.php:6) in /home/pdimidi/public_html/index.php on line 89

Compartilhar este post


Link para o post
Compartilhar em outros sites

cara de tanto endoidar já sei qual o problema... kkkkkkkkkkkk

 

 

faça assim

 

a INDEX.PHP

 

<form name="frmBusca" method="post" action="logando.php" >
    <input type="text" name="login" />
    <input type="text" name="senha" />
        <input type="submit" value="logar" />
</form>

crie a pagina logando.php

 

logando.php

<?php
$conexao = mysql_connect("localhost", "root", "");
$banco = mysql_select_db("teste");
     if(!empty($_GET["a"])) {
$a = $_GET['a'];
 
// Verificamos se a ação é de busca
if ($a == "cadastrar") {
$usuario = $_POST['login'];
$senha = $_POST['senha'];             
//Aqui veificamos se o usuario e senha digitados no formulário existem e estão corretos
$sql = @mysql_query("SELECT * FROM tb_users WHERE login='".$usuario."' and senha='".$senha."'")
or die ("".@mysql_error());
$qregistro = @mysql_num_rows($sql);

if($qregistro<1){
    echo "<script>alert('erro usuario inexistente...')
      ;top.location.href='a.php';</script>";
   //echo "Login ou senha errado(s)!!";
}
else{
   //Apos verificado ele grava o usuario e senha no vetor $_session[]   
   session_start();
   $_SESSION['login']=$usuario;
   $_SESSION['senha']=$senha;
   echo '<meta HTTP-EQUIV="Refresh" CONTENT="2; URL=login.php">';
}

}
}
?>

 

pronto agora funciona........ kkkkkkkkkkkkkk

Compartilhar este post


Link para o post
Compartilhar em outros sites

mais funciona beleza fora isso ?

 

Se sim no começo dos codigos PHP coloque

 

OB_START();

 

beleza, agora deu, agora uma duvida, eu acrescentei o campo data date no cadastro, agora na hora de gerar um relatorio gostaria que o administrador acesse os cadastros efetuados numa certa data. so quando o admin fazer uma busca de cadastro por exemplo dia 01/04/2010 ele busque o que foi cadastrado no dia buscado, o que devo fazer pra fazer essa busca por data???

 

so que temos que tbem pensar na conversao da data:

 

data >= '".date("Y-m-d")."'

Compartilhar este post


Link para o post
Compartilhar em outros sites

chama.html

<form name="frmBusca" method="post" action="verifica.php" >
DATA:<input type="text" name="data" />( 00/00/0000 )<br/>
<input type="submit" value="logar" />
</form>

verifica.php

<?php
$conexao = mysql_connect("localhost", "root", "");
$banco = mysql_select_db("teste");

$data = $_POST['data'];
            
//Aqui veificamos se o usuario e senha digitados no formulário existem e estão corretos
$sql = @mysql_query("SELECT * FROM tb_users WHERE data='".$data."'")
or die ("".@mysql_error());
$qregistro = @mysql_num_rows($sql);

if($qregistro<1){
    echo "nenhum registro encontrado...";
   //echo "Login ou senha errado(s)!!";
}
else{
 $produto = mysql_fetch_object($sql); 
$nome = $produto->nome;
$valor = $produto->valor; 
echo $nome;
}

?>
http://forum.imasters.com.br/public/style_emoticons/default/joia.gif/>

Compartilhar este post


Link para o post
Compartilhar em outros sites

cara de tanto endoidar já sei qual o problema... kkkkkkkkkkkk

 

 

faça assim

 

a INDEX.PHP

 

<form name="frmBusca" method="post" action="logando.php" >
    <input type="text" name="login" />
    <input type="text" name="senha" />
        <input type="submit" value="logar" />
</form>

crie a pagina logando.php

 

logando.php

<?php
$conexao = mysql_connect("localhost", "root", "");
$banco = mysql_select_db("teste");
     if(!empty($_GET["a"])) {
$a = $_GET['a'];
 
// Verificamos se a ação é de busca
if ($a == "cadastrar") {
$usuario = $_POST['login'];
$senha = $_POST['senha'];             
//Aqui veificamos se o usuario e senha digitados no formulário existem e estão corretos
$sql = @mysql_query("SELECT * FROM tb_users WHERE login='".$usuario."' and senha='".$senha."'")
or die ("".@mysql_error());
$qregistro = @mysql_num_rows($sql);

if($qregistro<1){
    echo "<script>alert('erro usuario inexistente...')
      ;top.location.href='a.php';</script>";
   //echo "Login ou senha errado(s)!!";
}
else{
   //Apos verificado ele grava o usuario e senha no vetor $_session[]   
   session_start();
   $_SESSION['login']=$usuario;
   $_SESSION['senha']=$senha;
   echo '<meta HTTP-EQUIV="Refresh" CONTENT="2; URL=login.php">';
}

}
}
?>

 

pronto agora funciona........ kkkkkkkkkkkkkk

 

deste jeito ele vai para a pagina logando.php e fica nela, ele nao direciona para a pagina cadastro.php e outra coisa que vem acontecendo que ja quebrei a cabeça com alguns metodos aqui e bloquer as paginas que devem estar lgoadas.

 

o cadastro.php você desloga e tenta entrar nela ela entra sem bloquear

Compartilhar este post


Link para o post
Compartilhar em outros sites

Foi mal errei este script ,

 

tem que ser assim........

logando.php

<?php
$conexao = mysql_connect("localhost", "root", "");
$banco = mysql_select_db("teste");
 
$usuario = $_POST['login'];
$senha = $_POST['senha'];             
//Aqui veificamos se o usuario e senha digitados no formulário existem e estão corretos
$sql = @mysql_query("SELECT * FROM tb_users WHERE login='".$usuario."' and senha='".$senha."'")
or die ("".@mysql_error());
$qregistro = @mysql_num_rows($sql);

if($qregistro<1){
    echo "<script>alert('erro usuario inexistente...')
      ;top.location.href='a.php';</script>";
   //echo "Login ou senha errado(s)!!";
}
else{
   //Apos verificado ele grava o usuario e senha no vetor $_session[]   
   session_start();
   $_SESSION['login']=$usuario;
   $_SESSION['senha']=$senha;
   echo '<meta HTTP-EQUIV="Refresh" CONTENT="2; URL=login.php">';
}
?>

Pronto testa aeeeee

Compartilhar este post


Link para o post
Compartilhar em outros sites

agora que fui terminar de vez o sistema, colocando tudo no form ta dando alguns erros:

 

quando efetuo o login ta beleza, mais quando direciona a pagina cadastro.php da o seguinte erro:

 

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/pdimidi/public_html/cadastro.php on line 15

vai o codigo completo do cadastro.php

 

<?
$data = date("Y-m-d"); // Essa parte do código determina o formato da data
$hora = date("H:i:s"); // Aqui é determinado o formato da hora
$novadata = substr($data,8,2) . "/" .substr($data,5,2) . "/" . substr($data,0,4);// Essa variável recebe a data atual que será mostrada entre barras
$novahora = substr($hora,0,2) . "h" .substr($hora,3,2) . "min";// Essa variável recebe a nova hora que será mostrada com as configurações de horas e minutos
include"includes/conecta.php";
$sql_destino = mysql_query("select * from destino", $db); 
if (!isset($_SESSION)) {
session_start();
//coletamos os dados existentes no vetor...
if(IsSet($_SESSION['login']))
   $login=$_SESSION['login'];
   //aqui vamos verificar se temos algo registrado
   if(!(empty($login) OR empty($senha)))
   {         if($senha != mysql_result($sql,0,"senha"))
         {  unset($_SESSION['login']);
            unset($_SESSION['senha']);
            echo "<script>alert('você não efetuou o login!')
      ;top.location.href='index.php';</script>";
            exit;
         }  }
      }

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>RG Service Automotiva</title>
<script language="javascript" type="text/javascript" src="jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
	mode : "textareas"
});
</script>
<style type="text/css">
<!--
body {
	background-image: url(imgs/fundo.jpg);
}
.style1 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #FF6600;
}
.style6 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #003366; }
.style9 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
}
.style16 {color: #CCCCCC}
.style18 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #000000; }
.style29 {color: #003366}
.style46 {color: #ECE9D8}
-->
</style></head>

<body>
<table width="800" border="0" align="center">
  <tr>
    <td><img border="0" src="imgs/logo.jpg" width="250" height="180"></td>
  </tr>
  <tr>
    <td bgcolor="#FF9933">
	<table border="0" width="100%">
		<tr>
			<td width="102"><font face="Verdana" size="2" color="#003399">Pagina 
			inicial</font></td>
			<td width="144"><font face="Verdana" size="2" color="#003399">
			Cadastrar Veículo</font></td>
			<td><font face="Verdana" size="2" color="#003399">Logout</font></td>
		</tr>
	</table>
	</td>
  </tr>
  <tr>
    <td>
	<table border="0" width="100%">
		<tr>
		  <td><div align="center"><span class="style1">REVISÃO PDI HYUNDAI</span></div></td>
	    </tr>
		<tr></tr>
		<tr bgcolor="#E8E8E8">
			<td><div align="center">
			  <table width="100%" border="0">
                <tr>
                  <td width="25%"><div align="left"><span class="style6">NBX = Nivel Baixo</span></div></td>
                  <td width="40%"><div align="left"><span class="style6">NFA = Não Funciona adequadamente</span></div></td>
                  <td width="22%"><div align="left"><span class="style6">PF = Peça faltante</span></div></td>
                  <td width="13%"><div align="left"><span class="style6">A = Ajustes</span></div></td>
                </tr>
                <tr>
                  <td><div align="left"><span class="style6">VZ = Vazamento</span></div></td>
                  <td><div align="left"><span class="style6">DF = Deformado</span></div></td>
                  <td><div align="left"><span class="style6">AVD = Avariado</span></div></td>
                  <td><div align="left"><span class="style6">ST = Solto</span></div></td>
                </tr>
                <tr>
                  <td><div align="left"><span class="style6">TRV = Travamento</span></div></td>
                  <td><div align="left"><span class="style6">NF = Não Funciona</span></div></td>
                  <td><div align="left"><span class="style6">NE = Não Equipado</span></div></td>
                  <td><div align="left"><span class="style6">OK = OK</span></div></td>
                </tr>
              </table>
			</div></td>
		</tr>
		<tr>
			<td><form action="enviar.php" method="post" name="rg">
			  <table width="100%" border="0">
                <tr bgcolor="#CCCCCC">
                  <td><span class="style9">IDENTIFICÃO DO VEÍCULO</span></td>
                </tr>
                <tr>
                  <td><table width="100%" border="0">
                    <tr><input type="hidden" name="usuario" value="<?php echo $login ; ?>" />
                      <td width="15%"><span class="style6">Chassi:</span></td>
                      <td width="34%"><input type="text" name="email" size="25" id="email" /></td>
                      <td width="14%"><span class="style6">Ano/Modelo:</span></td>
                      <td width="37%"><span class="style6">
                        <select name="anomodelo" id="versao2">
                          <option value="Azera" selected="selected">Azera</option>
                          <option value="HR">HR</option>
                          <option value="HR100">HR100</option>
                          <option value="I30">I30</option>
                          <option value="Santa Fé">Santa Fé</option>
                          <option value="Tucson">Tucson</option>
                          <option value="Vera Cruz">Vera Cruz</option>
                        </select>
                      </span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Combustivel:</span></td>
                      <td><span class="style6">
                        <select name="combustivel" id="comb">
                          <option value="Gasolina">Gasolina</option>
                          <option value="Diesel">Diesel</option>
                          <option value="Flexível">Flexível</option>
                          </select>
                      </span></td>
                      <td><span class="style6">Versão</span></td>
                      <td><span class="style6">
                        <select name="versao" id="versao">
                          <option value="Automática" selected="selected">Automática</option>
                          <option value="Mecânica">Mecânica</option>
                          </select>
                      </span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Cor:</span></td>
                      <td><span class="style6">
                        <select name="cor" id="cor">
                          <option value="Preta">Preta</option>
                          <option value="Prata">Prata</option>
                          <option value="Branca">Branca</option>
                           </select>
                      </span></td>
                      <td><span class="style6">Destino</span></td>
                      <td><select name="destino" id="destino">
                        <option value="0"><
                        <Selecione o tipo>
  ></option>
                        <?php while($array = mysql_fetch_array($sql_destino)) {?>
                        <option value="<?php echo $array['1']; ?>"><?php echo $array['1']; ?></option>
                        <?php } ?>
                      </select></td>
                    </tr>
                  </table></td>
                </tr>
                <tr bgcolor="#CCCCCC">
                  <td><span class="style9">REVISÃO ELÉTRICA</span></td>
                </tr>
                <tr>
                  <td><table width="100%" border="0">
                    <tr>
                      <td width="24%"><span class="style6">Ind. de Combustivel, Temperatura e Tacômetro</span></td>
                      <td width="23%"><div align="left">
                        <select name="pdi1" id="pdi1">
                          <option value="NBX">NBX</option>
                                  <option value="VZ">VZ</option>
                                  <option value="TRV">TRV</option>
                                  <option value="NFA">NFA</option>
                                  <option value="DF">DF</option>
                                  <option value="NF">NF</option>
                                  <option value="PF">PF</option>
                                  <option value="AVD">AVD</option>
                                  <option value="NE">NE</option>
                                  <option value="A">A</option>
                                  <option value="ST">ST</option>
                                  <option value="OK">OK</option>
                                </select>
                      </div></td>
                      <td width="30%"><span class="style6">Limp. Vidro Dianteiro(Palheta/Fixação dos Braços)</span></td>
                      <td width="23%">
                        <div align="left">
                          <select name="pdi2" id="pdi2">
                            <option value="NBX">NBX</option>
                            <option value="VZ">VZ</option>
                            <option value="TRV">TRV</option>
                            <option value="NFA">NFA</option>
                            <option value="DF">DF</option>
                            <option value="NF">NF</option>
                            <option value="PF">PF</option>
                            <option value="AVD">AVD</option>
                            <option value="NE">NE</option>
                            <option value="A">A</option>
                            <option value="ST">ST</option>
                            <option value="OK">OK</option>
                          </select>
                          </div></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Painel de instrumentos / Luzes</span></td>
                      <td><div align="center" class="style6">
                        <div align="left">
                          <select name="pdi3" id="pdi3">
                            <option value="NBX">NBX</option>
                            <option value="VZ">VZ</option>
                            <option value="TRV">TRV</option>
                            <option value="NFA">NFA</option>
                            <option value="DF">DF</option>
                            <option value="NF">NF</option>
                            <option value="PF">PF</option>
                            <option value="AVD">AVD</option>
                            <option value="NE">NE</option>
                            <option value="A">A</option>
                            <option value="ST">ST</option>
                            <option value="OK">OK</option>
                          </select>
                          </div>
                      </div></td>
                      <td><span class="style6">Limp. Vigia Traseiro (Palheta / Fixação dos Braços)</span></td>
                      <td><div align="center" class="style6">
                        <div align="left">
                          <select name="pdi4" id="pdi4">
                            <option value="NBX">NBX</option>
                            <option value="VZ">VZ</option>
                            <option value="TRV">TRV</option>
                            <option value="NFA">NFA</option>
                            <option value="DF">DF</option>
                            <option value="NF">NF</option>
                            <option value="PF">PF</option>
                            <option value="AVD">AVD</option>
                            <option value="NE">NE</option>
                            <option value="A">A</option>
                            <option value="ST">ST</option>
                            <option value="OK">OK</option>
                          </select>
                          </div>
                      </div></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificação de Códigos de defeitos com o Hi-Scan</span></td>
                      <td><div align="left"><span class="style6">
                        <select name="pdi5" id="pdi5">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></div></td>
                      <td><span class="style6">Relogio de Horas / Buzina</span></td>
                      <td><div align="left"><span class="style6">
                        <select name="pdi6" id="pdi6">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></div></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Indicadores de Direção e Pisca Alerta</span></td>
                      <td><div align="left"><span class="style6">
                        <select name="pdi7" id="pdi7">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></div></td>
                      <td><span class="style6">Iluminação Interna (Luzes de leitura/Cortesia/Teto)</span></td>
                      <td><div align="left"><span class="style6">
                        <select name="pdi8" id="pdi8">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></div></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Interruptor Multifunções</span></td>
                      <td><div align="left"><span class="style6">
                        <select name="pdi9" id="pdi9">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></div></td>
                      <td><span class="style6">Iluminação Externa (Luzes de Feio / Ré / Placa)</span></td>
                      <td><div align="left"><span class="style6">
                        <select name="pdi10" id="pdi10">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></div></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Sistema de Audio / Auto Falantes e Antena / Cabo USB)</span></td>
                      <td><div align="left"><span class="style6">
                        <select name="pdi11" id="pdi11">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></div></td>
                      <td><p class="style6">Reposicionar Reês e Fusiveis na Caixa do Motor e Habitáculos (fusiveis Reservas)</p>                        </td>
                      <td><div align="left"><span class="style6">
                        <select name="pdi12" id="pdi12">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></div></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Piloto Automatico (Control cruiser)</span></td>
                      <td><div align="left"><span class="style6">
                        <select name="pdi13" id="pdi13">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></div></td>
                      <td><span class="style6">Carga de bateria (tensão inferior a 12v recarregar) fixação Suporte e Terminais (+ / -)</span></td>
                      <td><div align="left"><span class="style6">
                        <select name="pdi14" id="pdi14">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></div></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Acendedor de cigarros / tomanda Extra 12v</span></td>
                      <td><div align="left"><span class="style6">
                        <select name="pdi15" id="pdi15">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></div></td>
                      <td><span class="style6">Verificar Eficiência do sistema de Ar-condicionado</span></td>
                      <td><div align="left"><span class="style6">
                        <select name="pdi16" id="pdi16">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></div></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Difusores e Registros de ar (Todos)</span></td>
                      <td><div align="left"><span class="style6">
                        <select name="pdi17" id="pdi17">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></div></td>
                      <td><span class="style6">Desembaçador de Vigia Traseiro</span></td>
                      <td><div align="left"><span class="style6">
                        <select name="pdi18" id="pdi18">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></div></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Interruptor Multifunções (1º, 2º Vel. Temporizador</span></td>
                      <td><div align="left"><span class="style6">
                        <select name="pdi19" id="pdi19">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></div></td>
                      <td> </td>
                      <td> </td>
                    </tr>
                  </table></td>
                </tr>
                <tr bgcolor="#CCCCCC">
                  <td><span class="style16"><span class="style18">REVISÃO DE TAPEÇARIA (EXTERNA / INTERNA)</span></span></td>
                </tr>
                <tr>
                  <td><table width="100%" border="0">
                    <tr>
                      <td width="24%"><span class="style6">Para-Sóis e Espelhos de Cortesia</span></td>
                      <td width="23%"><span class="style29"><span class="style6">
                        <select name="pdi20" id="pdi20">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td width="30%"><span class="style6">Verificar Estado dos Bancos (Costuras Mal Feitas/ Enrrugados/Soltos)</span></td>
                      <td width="23%"><span class="style6">
                        <select name="pdi21" id="pdi21">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Comando Manual dos Espelhos Externos</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi22" id="pdi22">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Estado dos Painéis das Portas (Todas)</span></td>
                      <td><span class="style6">
                        <select name="pdi23" id="pdi23">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Fixação do Retrovisor Interno</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi24" id="pdi24">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Estado Geral do Painel, Acionamento Porta Luvas / Copos / objetos / Cinzeiros</span></td>
                      <td><span class="style6">
                        <select name="pdi25" id="pdi25">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Mecanismo das maçanetas Internas e Externas</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi26" id="pdi26">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Estado Geral da Forração do Teto</span></td>
                      <td><span class="style6">
                        <select name="pdi27" id="pdi27">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Acionamento dos Cilindros de porta, Fechadura, Dobradiças e Limitadores</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi28" id="pdi28">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Estado Geral do Carpete ou Forração</span></td>
                      <td><span class="style6">
                        <select name="pdi29" id="pdi29">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Acionamento Manual das Travas Portas / Abastecimento</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi30" id="pdi30">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Defeitos Visuais no Acabamento do Volante e no painel de Instrumentos</span></td>
                      <td><span class="style6">
                        <select name="pdi31" id="pdi31">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Acionamento e Mecanismo dos Bancos (Todas as Funções)</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi32" id="pdi32">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Instalação do Suporte do Extintor de Incêndio / Furação p/ Lacres</span></td>
                      <td><span class="style6">
                        <select name="pdi33" id="pdi33">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Pontos de Fixação dos Bancos na Carroceria</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi34" id="pdi34">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Molduras / Guarnições / Frisos / Soleiras / Console</span></td>
                      <td><span class="style6">
                        <select name="pdi35" id="pdi35">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Pontos de Fixação dos Cintos de Segurança Dianteiro e Traseiro</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi36" id="pdi36">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Etip. Rev. OK / Opacidade / Assist. 24H / Radiador / Vaso Expansão</span></td>
                      <td><span class="style6">
                        <select name="pdi37" id="pdi37">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificação dos Engates das Fivelas dos Cintos de Segurança</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi38" id="pdi38">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Funcionamento do Macaco / Chave de Roda / Ferramentas</span></td>
                      <td><span class="style6">
                        <select name="pdi39" id="pdi39">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Defeitos nos Cintos (Limpeza no Tecido ou Torcidos)</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi40" id="pdi40">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Colocar Triangulo</span></td>
                      <td><span class="style6">
                        <select name="pdi41" id="pdi41">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Acionamento e Fixação do Pneu Sobressalente</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi42" id="pdi42">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Colocar Manuais de Proprietário / Garantia / Condutor / Assist. 24H</span></td>
                      <td><span class="style6">
                        <select name="pdi43" id="pdi43">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Estado dos Bancos (Manchado / Sujo / Rasgado)</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi44" id="pdi44">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style29"></span></td>
                      <td> </td>
                    </tr>
                  </table></td>
                </tr>
                <tr bgcolor="#CCCCCC">
                  <td><span class="style16"><span class="style18">REVISÃO DE MECÂNICA 1° FASE (SOB A TAMPA DO COMPARTIMENTO DO MOTOR)</span></span></td>
                </tr>
                <tr>
                  <td><table width="100%" border="0">
                    <tr>
                      <td width="24%"><span class="style6">Operação de Trava de segurança da Tampa do Comp Motor</span></td>
                      <td width="23%"><span class="style29"><span class="style6">
                        <select name="pdi45" id="pdi45">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td width="30%"><span class="style6">Verificar Nível de Óleo Transmissão Automática</span></td>
                      <td width="23%"><span class="style29"><span class="style6">
                        <select name="pdi46" id="pdi46">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Haste de Sustentação da Tampa do Motor</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi47" id="pdi47">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Nível de Óleo Transmissão Manual</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi48" id="pdi48">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Trava de Segurança da Tampa do Motor</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi49" id="pdi49">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Nível de Óleo Diferencial Traseiro</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi50" id="pdi50">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Estanqueidade do Motor</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi51" id="pdi51">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Nível de Óleo Caixa de Transferência</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi52" id="pdi52">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Estanqueidade do Líquido de Arrefecimento</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi53" id="pdi53">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><p class="style6">Verificar Nível de Fluído de Freio</p>                        </td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi54" id="pdi54">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Estado Geral das Mangueiras</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi55" id="pdi55">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Nível do Reservatório do Fluído da Embreagem</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi56" id="pdi56">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Estado Geral das Correias (Alternador / Dir. Hidráulica)</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi57" id="pdi57">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Nível de Reservatório do Fluído da Dir. Hidráulica</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi58" id="pdi58">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Compontentes do Sistema de Emissão Quanto a Falta mangueiras Desconectadas</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi59" id="pdi59">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Nível do Líquido de Arrefecimento</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi60" id="pdi60">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Mangueiras e Tomadas de Vácuo</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi61" id="pdi61">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Nível do Lavador de Vidros e Faróis</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi62" id="pdi62">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Contaminação no Purificador e Filtro de Ar</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi63" id="pdi63">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Nível Calibragem dos Pneus e Estepe</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi64" id="pdi64">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Nível de Oleo Motor</span></td>
                      <td><span class="style29"></span><span class="style6">
                        <select name="pdi65" id="pdi65">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></td>
                      <td><span class="style6">Verificar Rodas e Calotas e Torquear as Porcas</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi66" id="pdi66">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Abastecer com 5 Litros de Combustivel</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi67" id="pdi67">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style29"></span></td>
                      <td><span class="style29"></span></td>
                    </tr>
                  </table></td>
                </tr>
                <tr bgcolor="#CCCCCC">
                  <td><span class="style18">REVISÃO DE MECÂNICA 2° FASE (VEÍCULOS NO ELEVADOR)</span></td>
                </tr>
                <tr>
                  <td><table width="100%" border="0">
                    <tr>
                      <td width="24%"><span class="style6">Verificar Estado geral dos Pneus</span></td>
                      <td width="23%"><span class="style29"><span class="style6">
                        <select name="pdi68" id="pdi68">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td width="30%"><span class="style6">Verificar Acionamento do Pedal de Freio</span></td>
                      <td width="23%"><span class="style29"><span class="style6">
                        <select name="pdi69" id="pdi69">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Nível de Óleo do Diferencial Traseiro</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi70" id="pdi70">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Acionamento do Pedal de Acelerador</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi71" id="pdi71">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Fixação Sistema de Escapamento, Danos e Vasamentos</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi72" id="pdi72">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar e Reapertar os Parafusos de Fixação do Sub Chassi Diant.</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi73" id="pdi73">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Mangueiras e Tubos de Freio, Danos e Vazamentos</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi74" id="pdi74">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar e Reapertar os Parafusos de Fixação do Sub Chassi Tras.</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi75" id="pdi75">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Caixa de Direção (Acionamento / Fixação / Coifas / Folga)</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi76" id="pdi76">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar as Tubulações e Fixações do Tanque de Combustivel</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi77" id="pdi77">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Articulações Sistema Direção e Suspensão (Reapertar)</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi78" id="pdi78">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Coifas dos Semi Eixos</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi79" id="pdi79">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Fixações Amortecedores Diant. e Traseiros (Reapertar)</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi80" id="pdi80">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Estanqueidade do Motor / Transmissão / Freio / Combustivel</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi81" id="pdi81">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Fixações das Pinças de Freios (Reapertar)</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi82" id="pdi82">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Estanqueidade de Caixa de Dir. e Mangueiras Sist. Hidraulico</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi83" id="pdi83">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar e Ajustar a Alavanca do Freio de Estacionamento</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi84" id="pdi84">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Verificar Cardan</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi85" id="pdi85">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Acionamento do Pedal da Embreagem (Equipado c/TM</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi86" id="pdi86">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Fixação do Suporte das Placas</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi87" id="pdi87">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                  </table></td>
                </tr>
                <tr bgcolor="#CCCCCC">
                  <td><span class="style46"><span class="style18">TESTE DE RODAGEM</span></span></td>
                </tr>
                <tr>
                  <td><table width="100%" border="0">
                    <tr>
                      <td width="24%"><span class="style6">Verificar Centralização do Volante</span></td>
                      <td width="23%"><span class="style29"><span class="style6">
                        <select name="pdi88" id="pdi88">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td width="30%"><span class="style6">Verificar Estado Geral da Pintura / Polimento / Limpeza / Acabamento</span></td>
                      <td width="23%"><span class="style29"><span class="style6">
                        <select name="pdi89" id="pdi89">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Eficiência do Pedal de Freio</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi90" id="pdi90">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Velocimetro (Hodômetro Total e Parcial)</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi91" id="pdi91">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                    <tr>
                      <td><span class="style6">Verificar Engate Alavanca do Câmbio / Altura Pedal Embreagem TM</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi92" id="pdi92">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                      <td><span class="style6">Direcionamento Lavadores do Parabrisa e Faróis</span></td>
                      <td><span class="style29"><span class="style6">
                        <select name="pdi93" id="pdi93">
                          <option value="NBX">NBX</option>
                          <option value="VZ">VZ</option>
                          <option value="TRV">TRV</option>
                          <option value="NFA">NFA</option>
                          <option value="DF">DF</option>
                          <option value="NF">NF</option>
                          <option value="PF">PF</option>
                          <option value="AVD">AVD</option>
                          <option value="NE">NE</option>
                          <option value="A">A</option>
                          <option value="ST">ST</option>
                          <option value="OK">OK</option>
                        </select>
                      </span></span></td>
                    </tr>
                  </table></td>
                </tr>
                <tr bgcolor="#CCCCCC">
                  <td><span class="style46"><span class="style18">OBSERVAÇÕES</span></span></td>
                </tr>
                <tr>
                  <td><textarea name="observacoes" cols="110" rows="15"></textarea></td>
                </tr>
                <tr>
                  <td> </td>
                </tr>
                <tr>
                  <td><span class="style6"><?php echo "Data: $novadata - Hora: $novahora<br>"; ?></span></td>
                </tr>
                <tr>
                  <td> </td>
                </tr>
                <tr>
                  <td><div align="center">
                    <input type="submit" value="Cadastrar Veículo" style="background-color: #EFEFEF; color: #333333; border: 1 solid #666666" />
  
<input type="reset" value="Limpar Dados" name="B2" style="background-color: #EFEFEF; color: #333333; border: 1 solid #333333" />
                  </div></td>
                </tr>
              </table>
			</form></td>
		</tr>
	</table>
	</td>
  </tr>
</table>
</body>
</html>

ele e muito grande, pois sao muitas infos:

 

e o enviar.php ficou assim:

 

<?php 
if (!isset($_SESSION)) {
session_start();

$usuario = $_SESSION['login']; 
$chassi = $_POST['chassi'];
$anomodelo = $_POST['anomodelo'];
$data = date("Y-m-d");
$hora = date("H:i:s");
$combustivel = $_POST['combustivel'];
$versao = $_POST['versao'];
$cor = $_POST['cor'];
$destino = $_POST['destino'];
$pdi1 = $_POST['pdi1'];
$pdi1 = $_POST['pdi2'];
$pdi1 = $_POST['pdi3'];
$pdi1 = $_POST['pdi4'];
$pdi1 = $_POST['pdi5'];
$pdi1 = $_POST['pdi6'];
$pdi1 = $_POST['pdi7'];
$pdi1 = $_POST['pdi8'];
$pdi1 = $_POST['pdi9'];
$pdi1 = $_POST['pdi10'];
$pdi1 = $_POST['pdi11'];
$pdi1 = $_POST['pdi12'];
$pdi1 = $_POST['pdi12'];
$pdi1 = $_POST['pdi13'];
$pdi1 = $_POST['pdi14'];
$pdi1 = $_POST['pdi15'];
$pdi1 = $_POST['pdi16'];
$pdi1 = $_POST['pdi17'];
$pdi1 = $_POST['pdi18'];
$pdi1 = $_POST['pdi19'];
$pdi1 = $_POST['pdi20'];
$pdi1 = $_POST['pdi21'];
$pdi1 = $_POST['pdi22'];
$pdi1 = $_POST['pdi23'];
$pdi1 = $_POST['pdi24'];
$pdi1 = $_POST['pdi25'];
$pdi1 = $_POST['pdi26'];
$pdi1 = $_POST['pdi27'];
$pdi1 = $_POST['pdi28'];
$pdi1 = $_POST['pdi29'];
$pdi1 = $_POST['pdi30'];
$pdi1 = $_POST['pdi31'];
$pdi1 = $_POST['pdi32'];
$pdi1 = $_POST['pdi33'];
$pdi1 = $_POST['pdi34'];
$pdi1 = $_POST['pdi35'];
$pdi1 = $_POST['pdi36'];
$pdi1 = $_POST['pdi37'];
$pdi1 = $_POST['pdi38'];
$pdi1 = $_POST['pdi39'];
$pdi1 = $_POST['pdi40'];
$pdi1 = $_POST['pdi41'];
$pdi1 = $_POST['pdi42'];
$pdi1 = $_POST['pdi43'];
$pdi1 = $_POST['pdi44'];
$pdi1 = $_POST['pdi45'];
$pdi1 = $_POST['pdi46'];
$pdi1 = $_POST['pdi47'];
$pdi1 = $_POST['pdi48'];
$pdi1 = $_POST['pdi49'];
$pdi1 = $_POST['pdi50'];
$pdi1 = $_POST['pdi51'];
$pdi1 = $_POST['pdi52'];
$pdi1 = $_POST['pdi53'];
$pdi1 = $_POST['pdi54'];
$pdi1 = $_POST['pdi55'];
$pdi1 = $_POST['pdi56'];
$pdi1 = $_POST['pdi57'];
$pdi1 = $_POST['pdi58'];
$pdi1 = $_POST['pdi59'];
$pdi1 = $_POST['pdi60'];
$pdi1 = $_POST['pdi61'];
$pdi1 = $_POST['pdi62'];
$pdi1 = $_POST['pdi63'];
$pdi1 = $_POST['pdi64'];
$pdi1 = $_POST['pdi65'];
$pdi1 = $_POST['pdi66'];
$pdi1 = $_POST['pdi67'];
$pdi1 = $_POST['pdi68'];
$pdi1 = $_POST['pdi69'];
$pdi1 = $_POST['pdi70'];
$pdi1 = $_POST['pdi71'];
$pdi1 = $_POST['pdi72'];
$pdi1 = $_POST['pdi73'];
$pdi1 = $_POST['pdi74'];
$pdi1 = $_POST['pdi75'];
$pdi1 = $_POST['pdi76'];
$pdi1 = $_POST['pdi77'];
$pdi1 = $_POST['pdi78'];
$pdi1 = $_POST['pdi79'];
$pdi1 = $_POST['pdi80'];
$pdi1 = $_POST['pdi81'];
$pdi1 = $_POST['pdi82'];
$pdi1 = $_POST['pdi83'];
$pdi1 = $_POST['pdi84'];
$pdi1 = $_POST['pdi85'];
$pdi1 = $_POST['pdi86'];
$pdi1 = $_POST['pdi87'];
$pdi1 = $_POST['pdi88'];
$pdi1 = $_POST['pdi89'];
$pdi1 = $_POST['pdi90'];
$pdi1 = $_POST['pdi91'];
$pdi1 = $_POST['pdi92'];
$pdi1 = $_POST['pdi93'];
$observacoes = $_POST['observacoes'];
if (isset($usuario) && isset($chassi)) {
$sql = mysql_query("insert into pdi (usuario, chassi, anomodelo, data, hora, combustivel, versao, cor, destino, pdi1, pdi2, pdi3, pdi4, pdi5, pdi6, pdi7, pdi8, pdi9, pdi10, pdi11, pdi12, pdi13, pdi14, pdi15, pdi16, pdi17, pdi18, pdi19, pdi20, pdi21, pdi22, pdi23, pdi24, pdi25, pdi26, pdi27, pdi28, pdi29, pdi30, pdi31, pdi32, pdi33, pdi34, pdi35, pdi36, pdi37, pdi38, pdi39, pdi40, pdi41, pdi42, pdi43, pdi44, pdi45, pdi46, pdi47, pdi48, pdi49, pdi50, pdi51, pdi52, pdi53, pdi54, pdi55, pdi56, pdi57, pdi58, pdi59, pdi60, pdi61, pdi62, pdi63, pdi64, pdi65, pdi66, pdi67, pdi68, pdi69, pdi70, pdi71, pdi72, pdi73, pdi74, pdi75, pdi76, pdi77, pdi78, pdi79, pdi80, pdi81, pdi82, pdi83, pdi84, pdi85, pdi86, pdi87, pdi88, pdi89, pdi90, pdi91, pdi92, pdi93, observacoes) VALUES ('$usuario', '$chassi', '$anomodelo', '$data', '$hora', '$combustivel', '$versao', '$cor', '$destino', '$pdi1', '$pdi2', '$pdi3', '$pdi4', '$pdi5', '$pdi6', '$pdi7', '$pdi8', '$pdi9', '$pdi10', '$pdi11', '$pdi12', '$pdi13', '$pdi14', '$pdi15', '$pdi16', '$pdi17', '$pdi18', '$pdi19', '$pdi20', '$pdi21', '$pdi22', '$pdi23', '$pdi24', '$pdi25', '$pdi26', 'pdi$27', 'pdi$28', 'pdi$29', '$pdi30', '$pdi31', '$pdi32', '$pdi33', '$pdi34', '$pdi35', '$pdi36', '$pdi37', '$pdi38', '$pdi39', '$pdi40', '$pdi41', '$pdi42', '$pdi43', '$pdi44', '$pdi45', '$pdi46', '$pdi47', '$pdi48', '$pdi49', '$pdi50', '$pdi51', '$pdi52', '$pdi53', '$pdi54', '$pdi55', '$pdi56', '$pdi57', '$pdi58', '$pdi59', '$pdi60', '$pdi61', '$pdi62', '$pdi63', '$pdi64', '$pdi65', '$pdi66', '$pdi67', '$pdi68', '$pdi69', '$pdi70', '$pdi71', '$pdi72', '$pdi73', '$pdi74', '$pdi75', '$pdi76', '$pdi77', '$pdi78', '$pdi79', '$pdi80', '$pdi81', '$pdi82', '$pdi83', '$pdi84', '$pdi85', '$pdi86', '$pdi87', '$pdi88', '$pdi89', '$pdi90', '$pdi91', '$pdi92', '$pdi93', '$observacoes')") or die (mysql_error());
echo "<p align=\"center\">Veículo cadastrado com sucesso.</p>";
}else{
echo "<p align=\"center\"><font color='red'>Favor preencher todos os dados os dados. <a href=\"cadastro.php\">clique aqui</a></font></p>";
}
?>

muito grande tbem, mais queria saber o que pode estar acontecendo agora, pois nao mudei nada!!!

Compartilhar este post


Link para o post
Compartilhar em outros sites

Então veja essa parte do seu codigo..........

<?
$data = date("Y-m-d"); // Essa parte do código determina o formato da data
$hora = date("H:i:s"); // Aqui é determinado o formato da hora
$novadata = substr($data,8,2) . "/" .substr($data,5,2) . "/" . substr($data,0,4);// Essa variável recebe a data atual que será mostrada entre barras
$novahora = substr($hora,0,2) . "h" .substr($hora,3,2) . "min";// Essa variável recebe a nova hora que será mostrada com as configurações de horas e minutos
include"includes/conecta.php";
$sql_destino = mysql_query("select * from destino", $db); 
if (!isset($_SESSION)) {
session_start();
//coletamos os dados existentes no vetor...
if(IsSet($_SESSION['login']))
   $login=$_SESSION['login'];
   //aqui vamos verificar se temos algo registrado
   if(!(empty($login) OR empty($senha)))
   {         if($senha != mysql_result($sql,0,"senha"))
         {  unset($_SESSION['login']);
            unset($_SESSION['senha']);
            echo "<script>alert('você não efetuou o login!')
      ;top.location.href='index.php';</script>";
            exit;
         }  }
      }

?>

o problema que você retiou a variavel $sql que faz a consulta pra verificar se o usuario está logado ou não.........

 

então faça assim........

 

<?
$data = date("Y-m-d"); // Essa parte do código determina o formato da data
$hora = date("H:i:s"); // Aqui é determinado o formato da hora
$novadata = substr($data,8,2) . "/" .substr($data,5,2) . "/" . substr($data,0,4);// Essa variável recebe a data atual que será mostrada entre barras
$novahora = substr($hora,0,2) . "h" .substr($hora,3,2) . "min";// Essa variável recebe a nova hora que será mostrada com as configurações de horas e minutos
include"includes/conecta.php";
$sql_destino = mysql_query("select * from destino", $db); 
$sql = @mysql_query("SELECT * FROM tb_users WHERE login='".$usuario."' ");
//coletamos os dados existentes no vetor...
if(IsSet($_SESSION['login']))
   $login=$_SESSION['login'];
   //aqui vamos verificar se temos algo registrado
   if(!(empty($login) OR empty($senha)))
   {         if($senha != mysql_result($sql,0,"senha"))
         {  unset($_SESSION['login']);
            unset($_SESSION['senha']);
            echo "<script>alert('você não efetuou o login!')
      ;top.location.href='index.php';</script>";
            exit;
         }  }}

?>

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.