tou tendo erro com query string ... ta incluindo uma pagina dentro da outra .. no artigo.php eu usso isso olha <?php
if($autor=="flavio"){
include "artigos/flavio.php";
} elseif($autor=="claudomiro"){
include "artigos/claudomiro.php";
} elseif($autor=="josue"){
include "jartigos/osue.php";
} elseif($autor=="pablo"){
include "artigos/pablo.php";
} elseif($autor=="joaquim"){
include "artigos/joaquim.php";
} elseif(!$artigo){
header("LOCATION: artigo.php");
}
?>
ai no link eu coloco ... artigo.php?autor=flavio ... até ai tudo bem .. entra normalmente .. ai na pagina flavio.php tem os artigos dele ..
flavio.php eu coloco assim
<?php
if($artigo=="01"){
include "artigos/flavio01.php";
} elseif($artigo=="02"){
include "artigos/flavio02.php";
} elseif($artigo=="03"){
include "artigos/flavio03.php";
} elseif($artigo=="04"){
include "artigos/flavio04.php";
} elseif($artigo=="05"){
include "artigos/flavio05.php";
}
?>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
body{background-attachment:fixed;
background-repeat:no-repeat;}
a:link {text-decoration:none;}
a:visited {text-decoration:none;}
a:hover {text-decoration:underline;}
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body link="#000000" vlink="#000000" alink="#000000" leftmargin="0" topmargin="0" bgproperties="fixed" marginwidth="0" marginheight="0">
<table width="770" height="88" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="432" height="54"><img src="../imagens/topo_r1_c1.gif" width="432" height="65"></td>
<td width="338"><img src="../imagens/topo_r1_c2.gif" width="338" height="65"></td>
</tr>
<tr>
<td height="34"><img src="../imagens/topo_r2_c1.gif" width="432" height="59"></td>
<td><img src="../imagens/topo_r2_c2.gif" width="338" height="59"></td>
</tr>
</table>
<table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="595"><div align="center"><font color="#FFFFFF" size="1">.</font><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">..........................</font><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Bem
Vindo ao site do Curso de Direito da FAL</font></div></td>
</tr>
</table>
<table width="770" height="268" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="159" height="268" valign="top">
<table width="158" height="269" border="0" cellpadding="0" cellspacing="0" style="border: 1 solid #000000">
<tr>
<td height="267" valign="top">
<table width="157" height="29" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="../imagens/menu.gif" width="157" height="29"></td>
</tr>
</table>
<font size="1" face="Verdana, Arial, Helvetica, sans-serif"><br>
</font><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><font size="1"><img src="../imagens/seta.jpg" width="8" height="8"></font></font><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
<a href="../class.php?pagina=01">Home</a><br>
<img src="../imagens/seta.jpg" width="8" height="8"> <a href="../class.php?pagina=02">Diretoria</a><br>
<img src="../imagens/seta.jpg" width="8" height="8"> <a href="../class.php?pagina=02">Centro
Acadêmico</a><br>
<img src="../imagens/seta.jpg" width="8" height="8"> <a href="../class.php?pagina=02">Calendário</a><br>
<img src="../imagens/seta.jpg" width="8" height="8"> <a href="../class.php?pagina=02">Eventos</a><br>
<img src="../imagens/seta.jpg" width="8" height="8"></font> <font size="1" face="Verdana, Arial, Helvetica, sans-serif">
<a href="../class.php?pagina=02">Artigos</a><br>
<img src="../imagens/seta.jpg" width="8" height="8"> <a href="../class.php?pagina=02">Curiosidades</a>
<br>
<img src="../imagens/seta.jpg" width="8" height="8"> <a href="../class.php?pagina=02">Resumo
de Aulas</a><br>
<img src="../imagens/seta.jpg" width="8" height="8"> <a href="../class.php?pagina=02">Links</a><br>
<img src="../imagens/seta.jpg" width="8" height="8"> <a href="../class.php?pagina=02">Chat</a><br>
<img src="../imagens/seta.jpg" width="8" height="8"> <a href="../class.php?pagina=02">Professores</a><br>
</font><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><img src="../imagens/seta.jpg" width="8" height="8">
<a href="../class.php?pagina=02">Coordenação</a><br>
<img src="../imagens/seta.jpg" width="8" height="8"> <a href="../class.php?pagina=02">Acadêmicos</a><br>
<img src="../imagens/seta.jpg" width="8" height="8"> <a href="../class.php?pagina=02">Trabalhos</a><br>
<img src="../imagens/seta.jpg" width="8" height="8"> <a href="../class.php?pagina=02">Biblioteca</a><br>
<img src="../imagens/seta.jpg" width="8" height="8"> <a href="../class.php?pagina=02">Eventos
by Magô</a><br>
<img src="../imagens/seta.jpg" width="8" height="8"> <a href="../class.php?pagina=02">Aniversariantes</a>
</font> </td>
</tr>
</table>
</td>
<td width="452" valign="top" background="../imagens/colunas.gif"><table width="61%" height="100" border="0">
<tr>
<td width="30%"><img src="../imagens/flavio_lucena.jpg" width="74" height="100"></td>
<td width="70%" valign="top"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Flávio
Lucena, Publicitário, poeta, escritor, acadêmico do curso
de Direto da FAL.</font></td>
</tr>
</table>
<table width="75%" border="0">
<tr>
<td><div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>ARTIGOS</strong></font></div></td>
</tr>
<tr>
<td><ul>
<li><a href="artigo.php?autor=flavio&artigo=01">Manhãs e
Solidão</a></li>
</ul></td>
</tr>
</table>
<p> </p></td>
<td width="159" valign="top"><table width="143" height="268" border="0" cellpadding="0" cellspacing="0" style="border: 1 solid #000000">
<tr>
<td height="266" valign="top">
<table width="157" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="136" height="20"><img src="../imagens/webmail.gif" width="157" height="29"></td>
</tr>
</table>
<table width="154" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="154"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Usuário:
</strong></font></td>
</tr>
<tr>
<td height="22"> <form name="form1" method="post" action="">
<div align="left">
<input name="textfield" type="text" style=" font-family: Verdana; font-size: 10 px; color: #FF0000; border: 1 solid #000000" value="Coloque seu login" size="22">
</div>
</form></td>
</tr>
<tr>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Senha:
</strong></font></td>
</tr>
<tr>
<td><form name="form2" method="post" action="">
<div align="left">
<input name="textfield2" type="password" style= " font-family: Verdana; font-size: 10 px; color: #FF0000; border: 1 solid #000000" value="Colque seu senha" size="22">
</div>
</form></td>
</tr>
</table>
<font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
</strong></font>
<table width="157" height="29" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="../imagens/artigos.gif" width="157" height="29"></td>
</tr>
</table>
<font size="2" face="Verdana, Arial, Helvetica, sans-serif"><br>
<font size="1"><img src="../imagens/seta.jpg" width="8" height="8">
<a href="../artigo.php?autor=dorgival">Dorgival</a><br>
<img src="../imagens/seta.jpg" width="8" height="8"><a href="../artigo.php?autor=flavio">
Flávio Lucena</a><br>
<img src="../imagens/seta.jpg" width="8" height="8">
<a href="../artigo.php?autor=joaquim">Joaquim Alves</a><br>
<img src="../imagens/seta.jpg" width="8" height="8">
<a href="../artigo.php?autor=josue">Josué</a><br>
<img src="../imagens/seta.jpg" width="8" height="8">
<a href="../artigo.php?autor=pablo">Pablo Capistrano</a><br>
<font size="2" face="Verdana, Arial, Helvetica, sans-serif"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="../imagens/seta.jpg" width="8" height="8"></font><a href="../artigo.php?autor=claudomiro"><font size="1">Claudomiro</font></a></font>
</font><br>
<font color="#FFFFFF">.</font> </font></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html> e no link do artigo eu coloquei assim artigo.php?autor=flavio&artigo=01 abre a pagina mas abre dentro de flavio.php alguém pode me ajudar? PS... Desculpe pelo codigo grande