Boa Noite pessoal, é minha primeira vez no forum e Gostaria de obter ajuda, pois estou criando colocando um site de jornal no ar, um script de jornal,, www.mtreporter.com, gostaria que vcs pudesse abrir o site que vcs verão como está muito lento, contudo, aparece o seguinte erro na barra de status:
Linha 3715
Caractere: 1
Erro: Constante de seqüência não finalizada
Código: 0
URL: http://www.mtreporter.com
Porém, o index só vai até a linha 478
Ai vai o código da pagina:
<?
$pg = $_GET[pg];
if($pg == "meus_dados" OR $pg == "meus_dados" OR $pg == "evento"){
require "verifica_gal.php";
}
include "config.php";
$pg = $_GET[pg];
$cidade = $_GET[cidade];
if(empty($pg)) {
$pg = "principal";
include "estrutura/estatisticas/contador.php";
}
?>
<? if(empty($pg) OR $pg=="principal"){?>
<!--<div id="BannerFLOAT"><script>exibeFash('images/publicidades/BannerPizza_FLOAT.swf', 300, 210, 0, 0);</SCRIPT></div>-->
<? }?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>MTREPORTER - Onde voce vê a noticia</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>
<body style="text-align: center">
<div align="center">
<table width="780" border="1" align="left" cellpadding="0" cellspacing="0" bordercolor="#FF0000">
<tr>
<td align="center"><div align="center">
<table width="778" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div align="center">
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
<!-- fwtable fwsrc="topo_menu.png" fwbase="layout.jpg" fwstyle="Dreamweaver" fwdocid = "1040125327" fwnested="0" -->
<tr>
<td>
<p align="center"><img src="img_site/spacer.gif" width="286" height="1" border="0" alt="" /></td>
<td>
<p align="center"><img src="img_site/spacer.gif" width="7" height="1" border="0" alt="" /></td>
<td>
<p align="center"><img src="img_site/spacer.gif" width="82" height="1" border="0" alt="" /></td>
<td>
<p align="center"><img src="img_site/spacer.gif" width="392" height="1" border="0" alt="" /></td>
<td>
<p align="center"><img src="img_site/spacer.gif" width="11" height="1" border="0" alt="" /></td>
<td>
<p align="center"><img src="img_site/spacer.gif" width="1" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="4">
<p align="left"><a href="index.php"><img src="img_site/layout_r1_c1.gif" alt="" name="layout_r1_c1" width="311" height="91" border="0" id="layout_r1_c1" /></a></td>
<td colspan="4"> </td>
<td>
<p align="center"><img src="img_site/spacer.gif" width="1" height="13" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="2">
<p align="center"><img src="img_site/layout_r2_c2.jpg" alt="" name="layout_r2_c2" width="89" height="19" border="0" id="layout_r2_c2" /></td>
<td colspan="2"> </td>
<td>
<p align="center"><img src="img_site/spacer.gif" width="1" height="19" border="0" alt="" /></td>
</tr>
<tr>
<td>
<p align="center"><img src="img_site/layout_r3_c2.jpg" alt="" name="layout_r3_c2" width="7" height="65" border="0" id="layout_r3_c2" /></td>
<td colspan="2"><div align="center"><script language=JavaScript1.1 src=http://www.submarino.com.br/afiliados/get_banner.asp?tipo=full&franq=173435></script></div></td>
<td> </td>
<td>
<p align="center"><img src="img_site/spacer.gif" width="1" height="65" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="4"> </td>
<td>
<p align="center"><img src="img_site/spacer.gif" width="1" height="14" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="5">
<p align="center"><img src="img_site/layout_r5_c1.jpg" alt="" name="layout_r5_c1" width="778" height="10" border="0" id="layout_r5_c1" /></td>
<td>
<p align="center"><img src="img_site/spacer.gif" width="1" height="10" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="5">
<p align="center"><img src="img_site/layout_r6_c1.jpg" alt="" name="layout_r6_c1" width="778" height="8" border="0" id="layout_r6_c1" /></td>
<td>
<p align="center"><img src="img_site/spacer.gif" width="1" height="8" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="5">
<p align="center"><img src="img_site/layout_r7_c1.jpg" alt="" name="layout_r7_c1" width="778" height="53" border="0" usemap="#layout_r7_c1Map" id="layout_r7_c1" /></td>
<td>
<p align="center"><img src="img_site/spacer.gif" width="1" height="53" border="0" alt="" /></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td><div align="center">
<table width="778" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="162" valign="top"><? include "estrutura/menu.php";?>
<div align="center"><? // Se usar a enquete o Guia Comercial não funciona
// include "estrutura/enquetes.php"; ?>
<br>
<br>
</div></td>
<td width="616" valign="top"><div align="center">
<? if(empty($pg) OR $pg == "principal"){ }else{?>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="right" class="titulos red"><?
if(empty($pg) OR $pg == "principal") {
echo "Seja Bem Vindo!";
}
if($pg == "conteudo"){
$conte=mysql_fetch_array(mysql_query("SELECT * FROM conteudos where id='$_GET[id]'"));
echo "<font style='text-transform:capitalize;'>$conte[nome]</font>";
}
if($pg == "vip"){
echo "<font style='text-transform:capitalize;'>Área VIP</font>";
} else {
$texto = str_replace("__", " / ", $_GET[pg]);
$texto2 = str_replace("_", " ", $texto);
if($pg != "conteudo"){
echo "<font style='text-transform:capitalize;'>$texto2</font>";
}
}
?></td>
</tr>
<tr>
<td height="1" valign="top" bgcolor="<?=$coronmouse?>">
<p align="center"></td>
</tr>
<tr>
<td height="2" valign="top">
<p align="center"></td>
</tr>
<tr>
<td height="2" valign="top" bgcolor="<?=$corcelula1?>">
<p align="center"></td>
</tr>
<tr>
<td height="10">
<p align="center"></td>
</tr>
</table>
<table border="0" cellpadding="1" cellspacing="0" bgcolor="<?=$corcelula1?>">
<tr>
<td><table border="0" cellspacing="0" cellpadding="3">
<tr>
<td bgcolor="#FFFFFF"><?
$acao = "exibe";
$formato = 572;
$posicao = 1;
include "estrutura/publicidades/exibe.php";
?></td>
</tr>
</table></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="10">
<p align="center"></td>
</tr>
</table>
<? }
if($pg == "erro" OR $pg == "classificados" OR $pg == "meus_dados" OR $pg == "meu_anuncio" OR $pg == "cadastro" ){
include "form_login.php";
}
$var = "estrutura/principal.php";
$filename = "estrutura/$_GET[pg].php";
if(file_exists($filename)){
$pg = "estrutura/$_GET[pg].php";
} else {
$pg = "estrutura/pagina_nao_existe.php";
}
if(empty($_SERVER["QUERY_STRING"])) {
include($var);
} else {
include("$pg");
}
?>
<br />
</div></td>
</tr>
</table>
<table width="778" height="19" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="img_site/linha_fundo.jpg"><div align="center"><img src="img_site/linha_fundo.jpg" width="9" height="7" /></div></td>
</tr>
<tr>
<td><div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div align="center"><strong><a href="index.php">home</a></strong> | <strong><a href="?pg=mais_notícias">notícias</a></strong> | <strong><a href="?pg=esportes">esportes</a></strong> | <strong><a href="?pg=eventos">galeria de fotos</a></strong> | <strong><a href="?pg=anuncie">anuncie</a></strong> | <strong><a href="?pg=fale_conosco">fale conosco</a></strong> </div></td>
</tr>
<tr>
<td><div align="center"> <br />
<table width="99%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="48%"><div align="center">2009
- 2009 mtreporter.com - Todos os direitos
reservados</div></td>
<td width="52%"><div align="center"></div></td>
</tr>
</table>
</div></td>
</tr>
</table>
<br />
</div></td>
</tr>
</table>
</div></td>
</tr>
</table>
</div></td>
</tr>
</table>
<script>
if (window.screen.width >= 1024) {
document.write ('<div style="position:absolute; left:800px; top:10px; border=1; #91C2E2;"><iframe frameborder=0 scrolling=no style="width:200px; height:900px;" src="banners_1024.php" marginheight="0" marginwidth="0"></iframe></div>');
}
</script>
</div>
<map name="layout_r7_c1Map">
<area shape="rect" coords="21,23,83,48" href="index.php">
<area shape="rect" coords="103,25,214,47" href="?pg=mais_notícias">
<area shape="rect" coords="231,25,337,48" href="?pg=esportes">
<area shape="rect" coords="355,25,488,48" href="?pg=eventos">
<area shape="rect" coords="503,24,637,47" href="?pg=anuncie">
<area shape="rect" coords="652,25,765,46" href="?pg=fale_conosco">
</map></body>
</html>