91){ header( 'location:/' ); } if (!empty($_GET['sort'])){ $sort = $_GET['sort']; }else{ $sort = 2; } if ($sort == 1){ $sorttype = 3; $sortorder = -1; }else{ $sorttype = 2; $sortorder = 1; } if (!empty($_GET['search'])){ $search = hapus1($_GET['search']); $title = 'Result » '.hapus($_GET['search']).''; $pencarian = 'to «'.hapus($_GET['search']).'.'.$type.'»'; }else{ $a = 'to «'.$type.' latest Updates»'; $title = '» Free Mobile Download'; } if (!empty($_GET['hal'])){ $noPage = $_GET['hal']; $isifile = 'isi file tidak sampai '.$noPage.' halaman'; }else{ $noPage = 1; } if($_GET['hal'] > 0) { $page1 = ($_GET['hal']-1)*10; } include 'head.php'; echo '
'; echo ('


'); echo '

'; $grab = "http://search.4shared.com/network/searchXml.jsp?sortType=".$sorttype."&sortOrder=".$sortorder."&sortmode=3&q=".$search."&searchmode=3&searchDescription=&searchExtention=".str_replace("all","",$type)."&sizeCriteria=atleast&sizevalue=10&start=".$page1.""; $file = file_get_contents($grab) or die('
Connection failed please repeat again shortly
'.$copyright.' © '.date(Y).' '.$_SERVER['HTTP_HOST'].'
'); $result = strstr($file, ''); $totalfiles = potong($result,'',''); $resultfiles = potong($result,'',''); $mulai = explode('',$result); if (!empty($resultfiles)){ echo '
Results '.$totalfiles.' files '.$a.''.$pencarian.'
'; }else{ echo '
Error !!! files are not on find '.$pencarian.' '.$isifile.'
'; } echo '
'; echo admob_request($admob_params); for($i = 1; $i <= 10; $i++){ $url = potong($mulai[$i],'',''); $url1 = explode('/',$url); $name = potong($mulai[$i],'',''); $size = potong($mulai[$i],'',''); $count = potong($mulai[$i],'',''); $date = potong($mulai[$i],'',''); $flash = potong($mulai[$i],'',''); $descript = potong($mulai[$i],'',''); $preview = potong($mulai[$i],'',''); if ($url1[3] == video || $url1[3] == photo){ $image = ''; }else{ $image = ''; } if (!empty($name)){ echo ceil(ceil($a / 2) - ($a / 2)) == 0 ? '
' : '
'; echo ''.$image.' '.hapus($name).' ('.str_replace(",", '.', $size).')'; echo '
'; ++$a; } } if(!empty($resultfiles)){ echo ''; } echo '
'; echo admob_request($admob_params); function hapus($txt) { $txt = preg_replace("/[^a-zA-Z0-9\.-]/", " ", trim($txt)); return $txt; } function hapus1($txt) { $txt = preg_replace("/[^a-zA-Z0-9_\-]/", "_", trim($txt)); return $txt; } function potong($content,$start,$end){ if($content && $start && $end) { $r = explode($start, $content); if (isset($r[1])){ $r = explode($end, $r[1]); return $r[0]; } return ''; } } echo '

'; echo '
'; include 'last.php'; echo '

'; include 'foot.php'; ?>
The Soda Pop