Ir para conteúdo

POWERED BY:

Arquivado

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

portal33

PROBLEMA: " target="_top"?>" target="_top&#34

Recommended Posts

Seu problema com certeza está no HTML gerado, posta ele para que possamos analisar.

Compartilhar este post


Link para o post
Compartilhar em outros sites
<?

$requiredUserLevel = array(1,2);

$cfgProgDir = 'phpSecurePages/';

include($cfgProgDir . "secure.php");


setcookie("login", $_POST[entered_login]);

setcookie("pass", $_POST[entered_password]);


//include("path.php");

include("config.php");


//$cidade = $_GET[cidade];

?><body bgcolor="#F3F3F3">

<table background="phpSecurePages/images/fundo-topo.png" width="100%" height="40" border="0" cellpadding="0" cellspacing="0" bgcolor="#EEEEEE">

<tr>

<td align="center"><strong><img src="phpSecurePages/images/linha-invisivel-topo-cima.png" width="10" height="20" align="absmiddle" /></strong></td>

</tr>

<tr>

<td><table width="824" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>

<td align="left"><font color="#666666" size="4" face="Geneva, Arial, Helvetica, sans-serif"><font color="#990000" size="2"><a href="index.php"><img title="Ir para a página inicial da administração" src="phpSecurePages/images/logo-admin.png" width="200" height="40" border="0"></a></font></font></td>

<td align="right"><font color="#FFFFFF" size="2" face="Arial, Helvetica, sans-serif">

<? $sql = mysql_query("SELECT * FROM phpsp_users where user='$login'");

$dados = mysql_fetch_array($sql);

$usernivel = "$dados[userlevel]";

$idfranquia = "$dados[id_franquia]";


//echo $idfranquia;

?>

Seja bem vindo <strong><? echo $dados[nome];?></strong></font>   <a href="../" target="_blank"><img src="phpSecurePages/images/home.png" width="25" height="25" border="0" align="absbottom" title="Visitar a página inicial do site" /></a>   </td>

</tr>

</table></td>

</tr>

<tr>

<td align="center"><strong><img src="phpSecurePages/images/linha-invisivel-topo-cima.png" width="10" height="20" align="absmiddle" /></strong></td>

</tr>

</table>


<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">


</table>


<table width="824" border="0" align="center" cellpadding="0" cellspacing="0">

<tr>

<td height="16"></td>

</tr>

</table>

<table width="824" border="0" align="center" cellpadding="0" cellspacing="0">

<tr bgcolor="#FFFFFF">

<td width="177" align="right" valign="top" bgcolor="#FFFFFF"><? include("menu.php");?></td>

<td width="646" height="300" align="center" valign="top" background="phpSecurePages/images/fundo-not.png" bgcolor="#FFFFFF">

<table width="100%" border="0" cellspacing="0" cellpadding="0">

<tr>

<td align="right"> </td>

</tr>

<tr>

<td align="right"><font color="#333333" size="2" face="Arial, Helvetica, sans-serif">Site desenvolvido por<strong> Programador </strong>todos os direitos reservados      </font></td>

</tr>

<tr>

<td align="right"> </td>

</tr>

</table>


<? include("query_string.php");?> </td>

</tr>

</table>

Compartilhar este post


Link para o post
Compartilhar em outros sites

Se você olhar, no código que você postou não tem nenhum _top... imagino que isto esteja dentro do include menu.php.

Compartilhar este post


Link para o post
Compartilhar em outros sites

O problema está ai:

<a href="<? echo "$dados2[url]";?>" target="<? echo $dados2[target]?>"?>" target="<? echo $dados2[target]?>"?>" target="<? echo $dados2[target]?>"?>" target="<? echo $dados2[target]?>"?>" target="<? echo $dados2[target]?>"><font color="<? echo $cortexto?>">

Você está repetindo várias vezes o mesmo trecho de código:

target="<? echo $dados2[target]?>"?>"

Troque por:

<a href="<?php echo $dados2['url']; ?>"  target="<?php echo $dados2['target']; ?>"><font color="<?php echo $cortexto; ?>">

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.