in questa pagina html mi esce una line tratteggiata gialla intorno agli elementi della pag. vi posto il codice se potete date un occhiata grazie.
Codice PHP:
<?php
session_start();
header ("cache-control: no-cache, must-revalidate");
header("Cache-control: private");
header ("pragma: no-cache");
error_reporting(0);
if(!isset($_SESSION['login']))
{Header('Location:index.php'); exit; }
$login=$_SESSION["login"];
@require_once("setting.inc.php");
//controllo BANN NICK
@require_once("bann.inc.php");
if(bannnick($login,"ipnondefinito","proxynondefinito",$suff))
{header("location: chat.php");exit;}
if(@file_exists($suff."_deletenick/$login.txt"))
{Header('Location:chat.php'); exit; }
//NEWMP
$nonletto=0;
if(@file_exists($suff."_mp/$login.txt"))
{
$mp=@file($suff."_mp/$login.txt");
$totmp=count($mp);
for($a=($totmp-1); $a>=0; $a--){
$esplodo=explode("||",$mp[$a]);
if($esplodo[2]==0)
{$nonletto=1; break;}
}//end for
}
if($nonletto==1){$newmp="newmail";}else{$newmp="mail";}
if(!@file_exists($suff."_hid/$login.txt"))
{//aggiorno time online
$string=time();
if (@file_exists($suff."_room/$login.txt"))
{$a = @fopen($suff."_online2/$login.txt", "w+");
@fwrite($a, $string);
@fclose($a);}
else{$a = @fopen($suff."_online1/$login.txt", "w+");
@fwrite($a, $string);
@fclose($a);}
//memorizzo azione
$var34=@fopen($suff."_azione/$login.txt","w+");
@fwrite($var34,"CERCA UTENTE");
@fclose($var34);
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="shortcut icon" href="favicon.ico" >
<link rel="icon" href="favicon.ico" >
<META http-equiv="Content-Type" content="text/html; charset=utf-8" >
<link rel="stylesheet" type="text/css" href="stylechatcell.css">
<style type="text/css">
body{
margin-left : 38px;
background-image: url();
background-repeat: repeat-y;
}
div.pic{float:left;margin: 0px;padding:0 0 12px 0;
background: url(shadow.jpg) no-repeat bottom center}
div.pic img{display: block;border: 1px solid;
border-color: #CCC #CCC #AAA #CCC;
padding: 4px;background: #F5F5F5}
.purple #slatenav{position:relative;display:block;height:42px;font-size:11px;font-weight:bold;background:transparent url(purpleslate_background.gif) repeat-x top left;font-family:Arial,Verdana,Helvitica,sans-serif;text-transform:uppercase;}
.purple #slatenav ul{margin:0px;padding:0;list-style-type:none;width:auto;}
.purple #slatenav ul li{display:block;float:left;margin:0 1px 0 0;}
.purple #slatenav ul li a{display:block;float:left;color:#FBDAFA;text-decoration:none;padding:14px 22px 0 22px;height:28px;}
.purple #slatenav ul li a:hover,.purple #slatenav ul li a.current{color:#fff;background:transparent url(purpleslate_backgroundOVER.gif) no-repeat top center;}
.redslate #slatenav{position:relative;display:block;height:42px;font-size:11px;font-weight:bold;background:transparent url(redslate_background.gif) repeat-x top left;font-family:Arial,Verdana,Helvitica,sans-serif;text-transform:uppercase;}
.redslate #slatenav ul{margin:0px;padding:0;list-style-type:none;width:auto;}
.redslate #slatenav ul li{display:block;float:left;margin:0 1px 0 0;}
.redslate #slatenav ul li a{display:block;float:left;color:#FBDAFA;text-decoration:none;padding:14px 22px 0 22px;height:28px;}
.redslate #slatenav ul li a:hover,.redslate #slatenav ul li a.current{color:#fff;background:transparent url(redslate_backgroundOVER.gif) no-repeat top center;}
.greenslate #slatenav{position:relative;display:block;height:42px;font-size:11px;font-weight:bold;background:transparent url(greenslate_background.gif) repeat-x top left;font-family:Arial,Verdana,Helvitica,sans-serif;text-transform:uppercase;}
.greenslate #slatenav ul{margin:0px;padding:0;list-style-type:none;width:auto;}
.greenslate #slatenav ul li{display:block;float:left;margin:0 1px 0 0;}
.greenslate #slatenav ul li a{display:block;float:left;color:#F5F5F5;text-decoration:none;padding:14px 22px 0 22px;height:28px;}
.greenslate #slatenav ul li a:hover,.greenslate #slatenav ul li a.current{color:#fff;background:transparent url(greenslate_backgroundOVER.gif) no-repeat top center;}
</style></head>
<?php if(!isset($_SERVER["HTTP_X_H3G_MSISDN"]) AND !isset($_SERVER["HTTP_X_OPERAMINI_PHONE"]) AND !isset($_SERVER["HTTP_X_MOBILE_GATEWAY"])){ ?>
<script type="text/javascript" src="wz_tooltip.js"></script><?php } ?>
<div class="testataviol"><center>
<?php echo "<strong>jooly</strong>"; ?>
<div class="purple">
<div id="slatenav">
<ul><li>
<div class="pic"></div></li>
<li><a href="opzioni.php" title="Opzioni CHAT">Utente</a></li>
<li><a href='mp.php'><img src='<?php echo $newmp;?>.gif' border='0' alt='MP'></a></li>
<li><a href="chat.php" title="chat">Chat pubblica </a></li>
<li><a href="listapvt.php" title="chat3">Chat privata </a></li>
<li><a href="ricercavanz.php" title="chat3">Cerca utente</a></li>
<li><a href="listasmile.php" title="Lista Smile">Smile</a></li>
<li><a href="gallery.php" title="Gallery CHAT">Gallery</a></li>
<li><a href="esci.php" title="Abbandona la chat">Esci</a></li>
</ul>
</div>
</div>
<div class='title'>
<div class="testatavio2"><center>
<div class="black">
<center>
<?php
if(isset($_GET['cerca']))
{
$cerca=trim(htmlentities($_GET['cerca'],ENT_QUOTES,'utf-8'));
$sesso=trim(htmlentities($_GET['sesso'],ENT_QUOTES,'utf-8'));
$anni=trim(htmlentities($_GET['anni'],ENT_QUOTES,'utf-8'));
$foto="off";
if(isset($_GET['foto']))
{$foto=trim(htmlentities($_GET['foto'],ENT_QUOTES,'utf-8'));}
$regione=trim(htmlentities($_GET['regione'],ENT_QUOTES,'utf-8'));
if(!empty($cerca)){$selezionecerca=1;}else{$selezionecerca=0;}
if($sesso!="qualsiasi"){$selezionesesso=1;}else{$selezionesesso=0;}
if($anni!="qualsiasi"){$selezioneanni=1;}else{$selezioneanni=0;}
if($foto=="on"){$selezionefoto=1;}else{$selezionefoto=0;}
if($regione!="qualsiasi"){$selezioneregione=1;}else{$selezioneregione=0;}
$var = array();
$handler = @opendir($suff."_profili");
while ($file = readdir($handler)) {
if ($file != '.' && $file != '..')
{$fp=@file($suff."_profili/".$file); $riga=trim($fp[0]); $name=str_replace(".txt","",$file); $var[$name] = $riga;}
}
closedir($handler);
$i=count($var);
$result=array();
foreach($var as $chiave => $valore)
{
$passo=0;
$riga=trim($valore);
$dati=explode("||",$riga);
if($selezionecerca==1)
{
$key=stristr($chiave,$cerca);
if(!empty($key)){$passo=1;}else{continue;}
}
if($selezionesesso==1)
{
if($sesso==$dati[1]){$passo=1;}else{continue;}
}
if($selezioneanni==1)
{
if($anni=="minore" AND $dati[2]<18){$passo=1;}
elseif($anni=="1830" AND $dati[2]>=18 AND $dati[2]<=30 ){$passo=1;}
elseif($anni=="over30" AND $dati[2]>30){$passo=1;}else{continue;}
}
if($selezioneregione==1)
{
if($regione==$dati[3]){$passo=1;}else{continue;}
}
if($selezionefoto==1)
{
$numfoto=0;
if(@is_dir("gallery/$chiave"))
{$passo=1;}else{continue;}
}
$result[$chiave]=strtolower($chiave);
}//end foreach
$contarisultati=count($result);
echo "RISULTATI TROVATI: ".$contarisultati."<font><hr size='1'color='#853CFF'></font>";
if($contarisultati>0)
{
arsort($result);
$apri=array();
foreach($result as $chiav => $valor)
{$apri[]=$chiav;}
$totale=count($apri);
$prendi = 15; // intervallo
$npage=ceil($totale/$prendi);
if(is_int($totale/$prendi))
$pagina=$npage;
else
$pagina=floor($totale/$prendi);
if(isset($_GET['page'])){
$page=trim($_GET['page']); // pagina corrente
if(!is_numeric($page)){$page=1;}
if($page==0 OR $page<0){$page=1;}
if($page>$npage)
$page=1;}
else
$page=1;
$start = ($page*$prendi)-$prendi; /* record da cui iniziare ad estrarre */
$estremo=($totale-$start-$prendi);
if ($estremo<0)
$estremo=0;
for($a=($totale-$start-1);$a>=$estremo;$a--)
{
echo ($totale-$a).")<a href='profilo.php?page=ricerca&user=$apri[$a]'>$apri[$a]</a><br/>";
}
// ora stampiamo il numero di pagine
if($page>1)
{echo "<a href='?page=".($page-1)."&cerca=".$cerca."&sesso=".$sesso."&anni=".$anni."®ione=".$regione."&foto=".$foto."'>«</a>";}
for($i=$page;$i<=$npage AND $i<($page+4);$i++){
if($i==$page)
echo " [$i] "; /* la pagina corrente non la linko */
else
echo " <a href='?page=$i&cerca=".$cerca."&sesso=".$sesso."&anni=".$anni."®ione=".$regione."&foto=".$foto."'>$i</a> ";
}
if($page<$npage)
{echo "<a href='?page=".($page+1)."&cerca=".$cerca."&sesso=".$sesso."&anni=".$anni."®ione=".$regione."&foto=".$foto."'>»</a>";}
/*
foreach($result as $chiav => $valor)
{
echo "$num)<a href='profilo.php?page=ricerca&user=$chiav'>$chiav</a><br/>";
$num++;
}
*/
}
echo "<font><hr size='1'color='#853CFF'></font><a href='ricercavanz.php'>NUOVA RICERCA</a>";
exit;}