2026-06-02 6:18:56 am
Arsip lengkap Mozilla
'; $set['title']='Mp3 Search'; $hal=$_GET['get-hal']; // haya ngegrab mp3 aja karena gk repot :D $type=mp3; if(!empty($_GET['get-sort'])){$sort=$_GET['get-sort'];}else{$sort=2;} //sorttype=1 dan sortorder=1 standar pencarian 4shared if( $sort == 1 ) {$sorttype=3;$sortorder=-1;}else{$sorttype=2;$sortorder=1;} if(!empty($_GET['get-q'])){ $kata=substr($_GET['get-q'],0,30); $search=jin_gfile1($kata); $title='Hasil '.jin_gfile($_GET['get-q']).''; $pencarian='untuk '.jin_gfile($search).'.'.$type.' '; }else{ $a='terbaru'; $title=' Free MP3'; } if(!empty($_GET['get-hal'])){ $noPage = $_GET['get-hal']; $isifile='isi file tidak sampai '.$noPage.' halaman'; }else{ $noPage = 1; } if($_GET['get-hal'] > 0) { $page1 = ($_GET['get-hal']-1)*10; } echo ''; echo '
Keyword :

'; echo '
'; //linkx di ambil dari searchxml.jsp karena lebih mudah $grab="http://search.4shared.com/network/searchXml.jsp?sortType=".$sorttype."&sortOrder=".$sortorder."&q=".$search."&searchmode=3&searchDescription=&searchExtention=".$type."&sizeCriteria=atleast&sizevalue=10&start=".$page1.""; $file = file_get_contents($grab) or die('
Error connection, try again a few minutes, or refresh this page.
'); $result = strstr($file, ''); $totalfiles=potong($result,'',''); $resultfiles=potong($result,'',''); $mulai = explode('',$result); if(!empty($resultfiles)){ echo '
Hasil '.$totalfiles.' files '.$a.' '.$pencarian.'
'; }else{ echo '
File tidak ditemukan untuk '.$pencarian.' '.$isifile.'
'; } for($i=1;$i<=10;$i++){ $url=potong($mulai[$i],'',''); $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(!empty($name)){ echo '

'.jin_gfile($name).'[Preview]

Size : '.str_replace(",", '.', $size).'
Total download : '.$count.' kali
Upload : '.$date.'
'; } } $jumlah=ceil($totalfiles/10);// ini untuk paging if(!empty($resultfiles)){ echo '
Page '.$noPage.' from '.$jumlah.'
'; $dataPerPage = 10; $offset = ($noPage - 1) * $dataPerPage; $jumData = $totalfiles; $jumPage1 = ceil($jumData/$dataPerPage); if ($jumPage1 > 90000) { $jumPage =90000;}else{ $jumPage = ceil($jumData/$dataPerPage);} if ($noPage > 1) { echo "[<]";} else{ echo '[<]';} for($page = 1; $page <= $jumPage; $page++) { if ((($page >= $noPage - 2) && ($page <= $noPage + 2)) || ($page == 1) || ($page == $jumPage)) { if (($showPage == 1) && ($page != 2)) echo "..."; if (($showPage != ($jumPage - 1)) && ($page == $jumPage)) echo "..."; if ($page == $noPage) echo " [".$page."] "; else echo " ".$page." "; $showPage = $page; } } if ($noPage < $jumPage) { echo "[>]";} else { echo '[>]';} if($noPage>0){echo '
';} } 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 ''; } } function jin_gfile($txt) { $txt = preg_replace("/[^a-zA-Z0-9.\-]/", " ", trim($txt)); return $txt; } function jin_gfile1($txt) { $txt = preg_replace("/[^a-zA-Z0-9]/", "_", trim($txt)); return $txt; } echo '
'; echo '
'; @require_once('lastsearch.php'); echo '
'; ?>
Share
Online
1
Today
1
Weekly
1
Mnthly
1
Total: 943

XtGem Forum catalog