';
$z = (!empty($_GET["z"])) ? str_replace(' ','%20',$_GET["z"]) : 'main/';
$z .= (!empty($_GET["pg"])) ? '&pg='.$_GET["pg"] : '';
if(!empty($_POST["q"])) $z .= '?&q='.$_POST["q"]; elseif(!empty($_GET["q"])) $z .= '&q='.$_GET["q"];
$z .= (!empty($_POST["qpg"])) ? '&qpg='.$_POST["qpg"] : '';
$host = "fank.mobi";
$pathh = '/'.$z;
$fp = fsockopen($host,80,$errno, $errstr,10);
if(!$fp)
{
echo "$errstr ($errno)
\n";
}
else
{
$headers = "GET $pathh HTTP/1.0\r\n";
$headers .= "Host: $host\r\n";
$headers .= "Accept: *\r\n";
$headers .= "Accept-Charset: UTF-8\r\n";
$headers .= "Accept-Charset: *\r\n";
$headers .= "Accept-Encoding: deflate\r\n";
$headers .= "Accept-Language: ru\r\n";
$headers .= "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; ru) Opera 9.60\r\n";
$headers.="\r\n";
@fwrite($fp, $headers);
$file = '';
while(!feof($fp)) $file .= @fgets($fp, 4096);
@fclose($fp);
}
if($z == 'main/')
{
$a = explode('
',$file);
$b = explode('
',$a[2]);
$file = $b[0];
}
else
{
$a = explode('
',$file);
$b = @explode('
',$a[1]);
$file = $b[0];
$file = preg_replace('#
',$file);
}
$file = str_replace('="/', '="'.$_SERVER["PHP_SELF"].'?z=', $file);
$file = str_replace('Games', 'Games', $file);
$file = str_replace('Video', 'Videos', $file);
$file = str_replace('Pictures', 'Pictures', $file);
$file = str_replace('Ringtones', 'Ringtones', $file);
$file = str_replace('Programs', 'Programs', $file);
$file = str_replace('Themes', 'Themes', $file);
$file = str_replace(' from ', '/', $file);
$file = str_replace('Artist:', 'Artist:', $file);
$file = str_replace('Type:', 'Type:', $file);
$file = str_replace('Size:', 'Zize:', $file);
$file = str_replace('Tags:', 'Tags:', $file);
$file = str_replace('Name:', 'Name:', $file);
$file = str_replace('Year:', 'Year:', $file);
$file = str_replace('Developer:', 'Developer:', $file);
$file = str_replace('Total:', 'Total:', $file);
$file = str_replace('Song:', 'Song:', $file);
$file = str_replace('Length:', 'Length:', $file);
$file = str_replace('Listen', 'Listen', $file);
$file = str_replace('new for a week', 'new for a week', $file);
$file = str_replace('new for days.', 'new for days.', $file);
$file = str_replace('Select size image for preview', 'Select size image for preview', $file);
$file = str_replace('without preview', 'With out preview', $file);
$file = str_replace('__pilih icons', 'Airchiet shemsruleblis pirveli aso', $file);
$file = str_replace(' ', ' ', $file);
$file = str_replace('class="scr" ', '', $file);
$file = str_replace('', '', $file);
$file = str_replace('', '', $file);
$file = str_replace(' columns="5"', '', $file);
$file = str_replace('method="get"', 'method="post"', $file);
$file = str_replace('', '
', $file);
$file = str_replace('">Go:', '"> Go:', $file);
$file = strip_tags($file,'