<HTML><HEAD></HEAD><BODY BACKGROUND=background.gif>
<CENTER>
<FONT SIZE=-3 COLOR=BLUE><A HREF=mailto:admin.bigbrain@gmail.com><I>Contatta l'admin</I></A><BR><BR>
</FONT>
<BR>
<H2>Ecco i Risultati della tua ricerca</H2>
<HR>
<TABLE BORDER=0 width=95% spacing=0 CELLPADDING=0 CELLSPACING=0>
<TR><TD background=topbg.gif><BR></TD></TR>
<?Php
error_reporting(0);
$timex=time();
$timey=0;
$bgchange="FFFFFC";
$fchek=0;
$command[0]="0";
$dirtest="false";
#subfolder search options setup starts here
if($where=="Latino"){
$dirtest="true";
$linkdir="Latino/";
chdir('/membri/bigbrain/Latino');
$handle=opendir('.');
} elseif($where=="Storia"){
$linkdir="Storia/";
chdir('/membri/bigbrain/Storia');
$handle=opendir('.');
}elseif($where=="Italiano"){
$linkdir="Italiano/";
chdir('/membri/bigbrain/Italiano');
$handle=opendir('.');
}elseif($where=="Altro"){
$linkdir="Altro/";
chdir('/membri/bigbrain/Altro');
$handle=opendir('.');
} else {
$dirtest="true";
$linkdir="";
$handle=opendir('.');
}
#thats it, nothing else should be changed do not edit below this line.
while (($file = readdir($handle))!==false){
if (eregi("[a-zA-Z0-p_-]*.doc",$file) or eregi("[a-zA-Z0-p_-]*.rtf",$file)or eregi("[a-zA-Z0-p_-]*.txt",$file)or eregi("[a-zA-Z0-p_-]*.zip",$file)){
$fchek=$fchek+1;
$sizer=filesize($file);
$sizer=($sizer/1000);
$sizer=round($sizer,1);
$file=trim($file);
$file=chop($file);
$filed=file($file);
$fileold=$file;
$count = count($filed);
$i = $count;
$zt = 0;
$clt=0;
$found=0;
$stringer=0;
for($j=$zt;$j<$i;$j++){
$string=$filed[$j];
$stringer=$filed[$j];
$num = "regPLACE hold";
$string=strtolower($string);
$stringer=strtolower($stringer);
$whatdoreplace=strtolower($whatdorep
lace);
$string = ereg_replace($whatdoreplace, $num, $string);
if($string!=$stringer){
$found=$found+1;
$abby=$found;
$show[$found]=$stringer;
}
}
$dircount=count($file);
echo "<FONT SIZE=-1>";
if($found>0){
$command[0]=($command[0]+10);
if(eregi("[a-zA-Z0-p_-]*.txt",$file)){
$fileold=$file;
$file="$file";
if($dirtest=="true"){
$file=$fileold;
}
}
if($file=="index.html"){
if($bgchange=="EEEEEE"){
$bgchange="FFFFFF";
echo "</TD></TR><TR><TD BGCOLOR=$bgchange><BR><A HREF=\"$linkdir$file\" target=_new><FONT SIZE=+2>$file</A><BR>$data</FONT> Size: $sizer Kb<BR><UL>";
} else {
$bgchange="EEEEEE";
echo "</TD></TR><TR><TD BGCOLOR=$bgchange><BR><A HREF=\"$linkdir$file\" target=_new><FONT SIZE=+2>$fileold</A> </FONT> Size: $sizer Kb<BR><UL>";
}
} elseif($bgchange=="EEEEEE"){
$bgchange="FFFFFF";
echo "</TD></TR><TR><TD BGCOLOR=$bgchange><BR><A HREF=\"$linkdir$file\"><FONT SIZE=+2>$fileold</A></FONT> Size: $sizer Kb<BR>";
} else {
$bgchange="EEEEEE";
echo "</TD></TR><TR><TD BGCOLOR=$bgchange><BR><A HREF=\"$linkdir$file\"><FONT SIZE=+2>$fileold</A></FONT> Size: $sizer Kb<BR><UL>";
}
$file=$fileold;
for($new=1;$new<=$found;$new++)
echo "</UL></FONT></TD></TR>";
}
}
}
if($command[0]==0){
echo "<BR></TD></TR><TR><TD bgcolor=000000><CENTER><B><FONT SIZE=+2 COLOR=RED>Nessun risultato trovato!";
}
echo "<BR></TD></TR><TR><TD BGCOLOR=AAAAFF><CENTER><FONT SIZE=-1>Sono stati trovati $fchek file(s) in soli ";
$timey=time();
$timea=($timey-$timex);
echo " $timea secondi";
?>
<TD/></TD></TR></TABLE><BR><CENTER><IMG SRC=http://www.bigbrain.altervista.org/_altervista_ht/logo.GIF><TABLE>
</HTML>