දෑනට ඩවුන්ලෝඩ් වෙන්න තමා දීල තියෙන්නෙ ...කරගන්න ඕනි මෑකයි.ඈ
ඒ ඩවුන්ලෝඩ් ලින්ක් එකම ඔන්ලයින්ෆ්ලෑශ්.. ප්ලයර් එකකට ඔටො සෙට් වෙන්න හදාගන්න ඕනි දක්ශයෙක් ඉන්නවනම් එඩිට් කරලා දෙන්න...බොහෝම පින් අතේ වෑඩක් හොදේ.
ඔන්ලයින් අහන්න පුලුවන් ඩවුන්ලෝඩ් කරගන්නත් පුලුවන් සර්ච් එන්ජින් එකක්.හදාගන්න ට්රයි කොලේ.
මෙන්න මේක තමා ඉන්ඩෙක්ස් ෆයිල් එක..
ඒ ඩවුන්ලෝඩ් ලින්ක් එකම ඔන්ලයින්ෆ්ලෑශ්.. ප්ලයර් එකකට ඔටො සෙට් වෙන්න හදාගන්න ඕනි දක්ශයෙක් ඉන්නවනම් එඩිට් කරලා දෙන්න...බොහෝම පින් අතේ වෑඩක් හොදේ.
<?php
/*
Facebook:
*/
$title = 'Mp3 Search';
include 'header.php';
echo '<div class="title"><table width="200%"><tr><td align="left"><b>Mp3 Search</b></td><td align="right"><a name="top" href="#down"><img src="/images/down.png" /></a></td></tr></table></div> <div class="left">';
$id=$_GET['id'];
$search=$_GET['search'];
$url=' '.$_GET['id'].'';
include 'curl.php';
$page=strip_tags($_GET['page']);
if(empty($page)){$page=1;} $per='25';
$item=($per*$page)-$per;
if($search and $page==1) { $search=str_replace(' ','_',$search); echo '<!-- Meta Refresh Tag --><meta http-equiv="refresh" content="0;url=?id=mp3/'.$search.'.html"/></head>';
echo '<div class="search">SriLankan Music<form method="get" action="index.php"/><input type="text" name="search" value="'.$searchns.'"/><input type="submit" value="Search"/></div>';
}
else { $name_exps=explode("/",$id);
$searchns=str_replace('.html','',$name_exps[count($name_exps)-1]);
$searchns=str_replace('_',' ',$searchns);
echo '</head><div class="search">SriLankan Music<form method="get" action="index.php"/><input type="text" name="search" value="'.$searchns.'"/><input type="submit" value="Search"/></div>';
}
if(!$id) { echo '<div class="pages">Top Downloaded Files</div>';
}
else { $name_exp=explode("/",$id);
$searchn=str_replace('.html','',$name_exp[count($name_exp)-1]);
$searchn=str_replace('_',' ',$searchn); echo '<div class="pages">'.$searchn.'</div>';
}
preg_match_all('~<div id="topright">(.*?)</div>~is',$file,$match,PREG_PATTERN_ORDER);
for($i=0;$i<=20;$i++) {
if(!empty($match[0][$i])) {
$match[0][$i]=str_replace("mp3/","index.php/?id=mp3/",$match[0][$i]);
echo '<div class="content">'.$match[0][$i].'</div>';
}
}
preg_match_all('~<div id="right_song">(.*?)Download</a>~is',$file,$matchs,PREG_PATTERN_ORDER);
$count=count($matchs[0])-1;
$yo=ceil($count/$per);
$dj=$item+$per;
for($i=$item;$i<$dj;$i++) {
if(!empty($matchs[0][$i])) {
$matchs[0][$i]=str_replace('<div id="right_song">','',$matchs[0][$i]);
$matchs[0][$i]=str_replace('<div style="font-size:15px;">','',$matchs[0][$i]);
$matchs[0][$i]=str_replace('<b>','',$matchs[0][$i]);
$matchs[0][$i]=str_replace('</b></div>','',$matchs[0][$i]);
$matchs[0][$i]=str_replace('<div style="clear:both;"></div>','',$matchs[0][$i]);
$matchs[0][$i]=str_replace('<div style="float:left;">','',$matchs[0][$i]);
$matchs[0][$i]=str_replace('<div style="float:left; height:27px; font-size:13px; padding-top:2px;">','',$matchs[0][$i]);
echo '<div class="content2">'.$matchs[0][$i].'</div>';
}
}
$nextpage=$page+1;
$prevpage=$page-1;
if($yo >= $page){$next='<a href="index.php?id='.$id.'&page='.$nextpage.'">Next ></a>';
} else{$next="Next >";
}
$prevpage=$page-1;
if($yo >= $page){$next='<a href="index.php?id='.$id.'&page='.$nextpage.'">Next ></a>';
} else{$next="Next >";
}
$prevpage=$page-1;
if($yo >= $page){$next='<a href="index.php?id='.$id.'&page='.$nextpage.'">Next ></a>';
} else{$next="Next >";
}
$prevpage=$page-1;
if($yo >= $page){$next='<a href="index.php?id='.$id.'&page='.$nextpage.'">Next ></a>';
} else{$next="Next >";
}
if($page > 1){$prev='<a href="index.php?id='.$id.'&page='.$prevpage.'">< Prev</a>';
} else{$prev="< Prev";
}
if($yo >= $page) { echo '<div class="content" align="left">Page ('.$page.'/'.$yo.')<br/>';
echo '<a href="index.php?id='.$id.'&page=1"><< First</a> | '.$prev.' | '.$next.' | <a href="index.php?id='.$id.'&page='.$yo.'">Last >></a></div><div class="pages"><form method="get">Go to Page: <input type="hidden" name="id" value="'.$id.'"/><input type="text" name="page" value="'.$page.'" size="3"/><input type="submit" value="Go »"/></form></div>';
}
echo '</div><div class="footer"><table width="100%"><tr><td align="left"><a href="../index.php"><font color="white">HOME</font></a></td><td align="right"><a name="down" href="#top"><img src="/images/up.png" /></a></td></tr></table></div>
<div align="center"><a href="http://www.facebook.com/">roshan</a> © 2013 <br/>All Rights Reserved</div>';
?>
ඔන්ලයින් අහන්න පුලුවන් ඩවුන්ලෝඩ් කරගන්නත් පුලුවන් සර්ච් එන්ජින් එකක්.හදාගන්න ට්රයි කොලේ.
මෙන්න මේක තමා ඉන්ඩෙක්ස් ෆයිල් එක..