Размер файла: 1.78Kb
<?php
include 'data/func.php';
if(!empty($_GET['page'])){
$p=(int)$_GET['page'];
}else{
$p='1';
}
$title="Adult Sex Videos";
include 'data/head.php';
ini_set('default_charset',"UTF-8");
ini_set('user_agent',$uarand."\r\naccept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1\r\naccept_charset: $_SERVER[HTTP_ACCEPT_CHARSET]\r\naccept_language: english");
$f='http://mobile.spankwire.com/video/browse/page/'.$p.'';
$g=file_get_contents($f);
$co=explode('<div class="thumb">',$g);
$files=ngaceng($co[1],'href="/video/show/title/','">');
if(!empty($files)){
echo"<div class='menu'>".$category."</div><div class='title'>New Videos</div>"; }else{
echo"<div class='title'>Error Videos</div><div class='menu'><b>Oopppss..!! File Not Found..</b></div>";
}
for($i=1;$i<=10;$i++){
$url=ngaceng($co[$i],'href="/video/show/title/','">');
$img=ngaceng($co[$i],'src="','"');
$name=ngaceng($co[$i],'alt="','" title="');
$view=ngaceng($co[$i],'<span>Views:</span> ','</p>');
$dura=ngaceng($co[$i],'<span>Length:</span> ','</p>');
if(!empty($url)){
echo '<div class="menu"><table style="width:100%;"><tr><td class="img" style="
width:48px"height:48px"
rowspan="2" valign="top"><img class="thumbnail" src="./img.php?id='.base64_encode($img).'" alt="crot.." /></td></tr><tr><td class="jembut">Name: '.$name.'<br />Views: '.$view.'<br />Duration: '.$dura.'<br /><a href="./file.php?id='.base64_encode($url).'">Download</a><br /><a href="'.$linkads.'">View Detail</a></td></tr></table></div>';
}
}
$prev=$p-1;
$next=$p+1;
if(!empty($files)){
echo'<div class="paginations"><a href="./index.php?page='.$prev.'">« Prev</a> | <a href="./index.php?page='.$next.'">Next »</a></div>';
}
echo $bawah;
?>