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

brownser não reconhece, porque?


Guest --André --

Pergunta

Guest --André --

Galera joguei meu site todo na net...

e simplesmente o browser não reconhece...

Entaum pelo Zend passei um debug...

mas como não sou expert em php...queria uma ajuda de vocês ae....

Debug session started.

Notice: C:\Arquivos de programas\wamp\www\central2\index.php line 68 - Undefined variable: codigo_noticia

Notice: C:\Arquivos de programas\wamp\www\central2\index.php line 72 - Undefined variable: busca

Notice: C:\Arquivos de programas\wamp\www\central2\index.php line 104 - Use of undefined constant codigo_noticia - assumed 'codigo_noticia'

Notice: C:\Arquivos de programas\wamp\www\central2\index.php line 108 - Use of undefined constant codigo_noticia - assumed 'codigo_noticia'

Notice: C:\Arquivos de programas\wamp\www\central2\index.php line 198 - Undefined variable: codigo_noticia

Notice: C:\Arquivos de programas\wamp\www\central2\index.php line 202 - Undefined variable: busca

Notice: C:\Arquivos de programas\wamp\www\central2\index.php line 234 - Use of undefined constant codigo_noticia - assumed 'codigo_noticia'

Notice: C:\Arquivos de programas\wamp\www\central2\index.php line 238 - Use of undefined constant codigo_noticia - assumed 'codigo_noticia'

Debug session ended.

Código abaixo...

<?
include "admin/conn.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>::: Central Park - Sua Agência de Viagens desde 1988 :::</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
td img {display: block;}body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}
.style1 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #999999;
}
</style>
<!--Fireworks 8 Dreamweaver 8 target.  Created Fri Oct 03 10:57:21 GMT-0300 (Hora oficial do Brasil) 2008-->
</head>
<body bgcolor="#ffffff">
<br />
<table width="662" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
  <tr>
    <th width="658" scope="col"><table width="655" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <th width="205" height="166" align="center" valign="top" scope="col"><a href="index.php"><img src="logo.jpg" width="192" height="153" border="0" /></a></th>
        <th width="4" align="left" valign="top" scope="col"> </th>
        <th width="446" align="left" valign="top" scope="col"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="446" height="166">
            <param name="movie" value="topo2.swf" />
            <param name="quality" value="high" />
            <embed src="topo2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="446" height="166"></embed>
        </object></th>
      </tr>
      <tr>
        <td colspan="2"></td>
      </tr>
      <tr>
        <td colspan="3" align="center"><img src="sua_agencia.jpg" width="605" height="19" /></td>
      </tr>
      <tr>
        <td colspan="3" align="center" valign="top"><img src="menu.jpg" width="650" height="25" border="0" usemap="#Map" /></td>
      </tr>
      <tr>
        <td colspan="3"> </td>
      </tr>
      <tr>
        <td colspan="3" align="left" valign="top"><table width="645" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <th width="486" height="614" scope="col"><table width="413" border="0" align="left" cellpadding="0" cellspacing="0">
                  <tr>
                    <th width="31" scope="col"></th>
                    <th width="382" align="right" scope="col"><div align="right"><img src="destaque.jpg" width="382" height="25" /></div></th>
                  </tr>
                  <tr>
                    <td align="right" valign="top"><img src="pacotes_inter.jpg" width="27" height="283" /></td>
                    <td align="left" valign="top"><table width="447" height="282" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
                        <tr>
                          <th height="280" scope="col"><table width="441" height="280" border="0" cellpadding="0" cellspacing="0">
                              <tr>
                                <th width="107" align="left" valign="top" scope="col"> <?              
    
    if($codigo_noticia==NULL)

    {
    
     if($busca==NULL)

     {

      $busca_noticia="select * from noticias where ativado = '1' and tipo='Internacional' order by codigo_noticia desc limit 0,1;";

     }

     else

     {

      $busca_noticia="select * from noticias where ativado = '1' and tipo='Internacional' order by codigo_noticia desc  limit 0,1;";

     }

     $res_busca_noticia=mysql_query($busca_noticia,$conn);
     $num_noticia=mysql_num_rows($res_busca_noticia);
     if($num_noticia>0)

     {

      $col=3;

      $lin=$num_noticia/$col;

      for($x=0;$x<$num_noticia;$x++)

      {

       $campo_noticia=mysql_fetch_array($res_busca_noticia);

       if($campo_noticia[codigo_noticia]!=NULL)

       {

        $busca_foto="select * from foto_noticias where codigo_noticia = '".$campo_noticia[codigo_noticia]."' order by rand();";

        $res_busca_foto=mysql_query($busca_foto,$conn);

        $num_foto=mysql_num_rows($res_busca_foto);

        if($num_foto>0)

        {

         $campo_foto=mysql_fetch_array($res_busca_foto);

         $imagem_noticia="<a href='noticia.php?codigo_noticia=$campo_noticia[codigo_noticia]'><img src=admin/$campo_foto[foto] name=PictureBox width=120 height=90 border=0><BR> ";

       
       
    
     ?><? echo $imagem_noticia; ?></th>
                                <th width="338" scope="col"><table width="95%" height="54" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <th height="19" scope="col"><img src="plane_01.jpg" width="280" height="30" align="right" /></th>
                                    </tr>
                                    <tr>
                                      <th align="left" valign="top" scope="col"> <?     echo "<b>$campo_noticia[nome_noticia]</b></b></font><BR>    $campo_noticia[desc_not]<br>    <a href=#>Detalhes</a> <BR>

        

        
        <br>";  
  ?></th>
                                    </tr>
                                </table></th>
                              </tr>
                              <tr>
                                <td align="left" valign="top"><img src="img_02.jpg" width="128" height="90" /></td>
                                <td align="center"><table width="95%" height="54" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <th height="19" scope="col"><img src="plane_02.jpg" width="280" height="30" align="absmiddle" /></th>
                                    </tr>
                                    <tr>
                                      <td align="left" valign="top" scope="col"><img src="preço.jpg" width="203" height="53" /></td>
                                    </tr>
                                </table></td>
                              </tr>
                              <tr>
                                <td height="90" align="left" valign="top"><img src="img_03.jpg" width="128" height="90" /></td>
                                <td align="center"><table width="95%" height="83" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <th height="19" scope="col"><img src="plane_03.jpg" width="280" height="30" align="absmiddle" /></th>
                                    </tr>
                                    <tr>
                                      <td height="53" align="left" valign="top" scope="col"><img src="preço.jpg" width="203" height="53" /></td>
                                    </tr>
                                </table></td>
                              </tr>
                          </table></th>
                        </tr>
                    </table></td>
                  </tr>
                </table>
                  <br />
                  <br />
                  <br />
                  <br />
                  <br />
                  <br />
                  <br />
                  <br />
                  <br />
                  <br />
                  <br />
                  <br />
                  <br />
                  <br />
                  <br />
                  <br />
                  <br />
                  <table width="413" border="0" align="left" cellpadding="0" cellspacing="0">

                    <tr>
                      <td width="413" align="right" valign="top"><table width="413" border="0" align="left" cellpadding="0" cellspacing="0">

                        <tr>
                          <td width="31" align="right" valign="top"><img src="pacotes_nac.jpg" width="27" height="283" /></td>
                          <td width="382" align="left" valign="top"><table width="447" height="282" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
                              <tr>
                                <th height="280" scope="col"><table width="441" height="280" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <th width="107" align="left" valign="top" scope="col"><?              
    
    if($codigo_noticia==NULL)

    {
    
     if($busca==NULL)

     {

      $busca_noticia="select * from noticias where ativado = '1' and tipo='Nacional' order by codigo_noticia desc limit 0,1;";

     }

     else

     {

      $busca_noticia="select * from noticias where ativado = '1' and tipo='Nacional' order by codigo_noticia desc  limit 0,1;";

     }

     $res_busca_noticia=mysql_query($busca_noticia,$conn);
     $num_noticia=mysql_num_rows($res_busca_noticia);
     if($num_noticia>0)

     {

      $col=3;

      $lin=$num_noticia/$col;

      for($x=0;$x<$num_noticia;$x++)

      {

       $campo_noticia=mysql_fetch_array($res_busca_noticia);

       if($campo_noticia[codigo_noticia]!=NULL)

       {

        $busca_foto="select * from foto_noticias where codigo_noticia = '".$campo_noticia[codigo_noticia]."' order by rand();";

        $res_busca_foto=mysql_query($busca_foto,$conn);

        $num_foto=mysql_num_rows($res_busca_foto);

        if($num_foto>0)

        {

         $campo_foto=mysql_fetch_array($res_busca_foto);

         $imagem_noticia="<a href='noticia.php?codigo_noticia=$campo_noticia[codigo_noticia]'><img src=admin/$campo_foto[foto] name=PictureBox width=120 height=90 border=0><BR> ";

       
       
    
     ?>
                                        <? echo $imagem_noticia; ?></th>
                                      <th width="338" scope="col"><table width="95%" height="54" border="0" cellpadding="0" cellspacing="0">
                                          <tr>
                                            <th height="19" scope="col"><img src="planenacional_01.jpg" width="279" height="29" align="right" /></th>
                                          </tr>
                                          <tr>
                                            <th align="left" valign="top" scope="col"><?     echo "<b>$campo_noticia[nome_noticia]</b></b></font><BR><a href=#>Detalhes</a> <BR>

        

        
        <br>";  
  ?></th>
                                          </tr>
                                      </table></th>
                                    </tr>
                                    <tr>
                                      <td align="left" valign="top"><img src="img_05.jpg" width="128" height="90" /></td>
                                      <td align="center"><table width="95%" height="54" border="0" cellpadding="0" cellspacing="0">
                                          <tr>
                                            <th height="19" scope="col"><img src="planenacional_02.jpg" width="279" height="29" align="absmiddle" /></th>
                                          </tr>
                                          <tr>
                                            <td align="left" valign="top" scope="col"><img src="preço.jpg" width="203" height="53" /></td>
                                          </tr>
                                      </table></td>
                                    </tr>
                                    <tr>
                                      <td height="90" align="left" valign="top"><img src="img_06.jpg" width="128" height="90" /></td>
                                      <td align="center"><table width="95%" height="83" border="0" cellpadding="0" cellspacing="0">
                                          <tr>
                                            <th height="19" scope="col"><img src="planenacional_03.jpg" width="279" height="29" align="absmiddle" /></th>
                                          </tr>
                                          <tr>
                                            <td height="53" align="left" valign="top" scope="col"><img src="preço.jpg" width="203" height="53" /></td>
                                          </tr>
                                      </table></td>
                                    </tr>
                                </table></th>
                              </tr>
                          </table></td>
                        </tr>
                      </table></td>
                    </tr>
                </table></th>
              <td width="159" align="center" valign="top" scope="col"><table width="150" height="478" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <th height="19" align="center" scope="col"><table width="160" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <th align="center" scope="col"><img src="destaque_cru.jpg" width="160" height="25" /></th>
                        </tr>
                    </table></th>
                  </tr>
                  <tr>
                    <td height="453" align="center" valign="top"><table width="180" height="452" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <th width="10" height="452" scope="col"> </th>
                          <th width="170" align="left" valign="top" scope="col"><table width="160" height="452" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
                              <tr>
                                <th height="450" align="center" scope="col"><table width="176" height="431" border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <th width="176" height="121" align="center" scope="col"><p><img src="cru_01.jpg" width="168" height="121" /></p>                                        </th>
                                    </tr>
                                    <tr>
                                      <td height="103" align="center"><p class="style1">O Melhor navio que já passou pela costa brasileira, um magnífico transatlântico com roteiros variados. Sem mencionar o luxo em seu interior.</p>                                        </td>
                                    </tr>
                                    <tr>
                                      <td height="121" align="center"><img src="cru_02.jpg" width="168" height="121" /></td>
                                    </tr>
                                    <tr>
                                      <td height="86" align="center"><p class="style1"><br />
                                        Pacotes especiais de<br />
                                          até 15 dias navegando<br />
                                        sobre vários lugares.</p>
                                        <p class="style1"> </p></td>
                                    </tr>
                                </table>
                                  <br />
                                  <table width="160" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
                                    <tr>
                                      <td align="center"><img src="visa.jpg" width="118" height="68" /></td>
                                    </tr>
                                  </table>
                                  <table width="160" border="0" align="center" cellpadding="0" cellspacing="0">
                                    <tr>
                                      <td><span class="style1"><img src="formas_pag.jpg" width="160" height="25" align="absmiddle" /></span></td>
                                    </tr>
                                  </table></th>
                              </tr>
                          </table></th>
                        </tr>
                    </table></td>
                  </tr>
              </table>
                <br />
                <br /></td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td colspan="3" align="right"><img src="head.jpg" width="30" height="30" /></td>
      </tr>
    </table></th>
  </tr>
</table>
<map name="Map" id="Map"><area shape="rect" coords="8,2,71,23" href="empresa.php" target="_parent" />
<area shape="rect" coords="107,3,170,23" href="pacotes.php" target="_parent" />
<area shape="rect" coords="209,2,339,24" href="cursos.php" target="_parent" />
<area shape="rect" coords="378,2,446,23" href="cruzeiros.php" target="_parent" />
<area shape="rect" coords="486,3,548,23" href="galerias.php" target="_parent" />
<area shape="rect" coords="578,3,642,23" href="contato.php" target="_parent" />
</map></body>
</html>
<?       }
 }

       $imagem_noticia=NULL;

      }

     }
     
     } ?><?       }
 }

       $imagem_noticia=NULL;

      }

     }
     
     } ?>

Link para o comentário
Compartilhar em outros sites

1 resposta a esta questão

Posts Recomendados

Participe da discussão

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

Visitante
Responder esta pergunta...

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

  Apenas 75 emoticons são permitidos.

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

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

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



  • Estatísticas dos Fóruns

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