';
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 '
';
$dataPerPage = 10;
$offset = ($noPage - 1) * $dataPerPage;
$jumData = $totalfiles;
$jumPage1 = ceil($jumData/$dataPerPage);
if ($jumPage1 > 91) {
$jumPage =91;}else{
$jumPage = ceil($jumData/$dataPerPage);}
if ($noPage > 1) {
echo "
« Back";}
else{
echo '
« Back';}
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 "
Next »";}
else {
echo '
Next »';}
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';
?>