Download This video

FileName: $title
Views: $views
Length: $len
Added: $added
Category: $under
Filesize: $size
$tagss
";
echo "
Related Videos
";
$conts=explode("Related Videos",$contents);
$cons=explode("",$contents);
for($i=1; $i<6; $i++){
$length=pick("
","",$cons[$i]);
$views=pick("
"; echo "« All Videos
"; stophtml(); include('counter.php'); die();} $p=(isset($_GET['page']) && is_numeric($_GET['page']) && $_GET['page']>0)? "$_GET[page]" : "1"; if(isset($_GET['search'])){ $contents=getcurlway("http://tube8.com/search.html?q=$_GET[search]&page=$p"); $cons=explode("
"," ",$cons[$i]);
$title=pick("title=\"","\"",$cons[$i]);
$img=explode(";)
\n";}
echo "« $under![]() | $title Views: $views Length: $length |
"; echo "« All Videos
"; stophtml(); include('counter.php'); die();} $p=(isset($_GET['page']) && is_numeric($_GET['page']) && $_GET['page']>0)? "$_GET[page]" : "1"; if(isset($_GET['search'])){ $contents=getcurlway("http://tube8.com/search.html?q=$_GET[search]&page=$p"); $cons=explode("
",$contents);
print_r($cons);
starthtml("Search results for $_GET[search]","$path/style.css");
echo "
\n";
echo "
Results for : $_GET[search]
\n";
if(!substr_count($contents,"We could not find any results")){for($i=1; $i<11; $i++){
$length=pick("","",$cons[$i]);
$views=pick("",$pages);
if($p>1)
echo "Prev ";
foreach($pages as $page){
if(is_numeric(pick("\">","<",$page))){
$ps=pick("\">","<",$page);
if($p!=$ps)
echo "$ps ";}}
echo "Next ";
echo "
\n";}
else{
echo "Sorry your search returned no results, please try again.";}
stophtml();
die();}
$categories=array(
6=>"Amateur",
13=>"Anal",
12=>"Asian",
7=>"Blowjob",
4=>"Ebony",
11=>"Erotic",
5=>"Fetish",
9=>"Gay",
1=>"Hardcore",
14=>"Latina",
8=>"Lesbian",
2=>"Mature",
15=>"Shemale",
10=>"Strip",
3=>"Teen"
);
$categoryname="Latest Update";
$sort=$_GET['view'];
$sortarray=array("mostviewed","top","mostfavourited","mostdiscussed","mostvoted","longest");
if(in_array($sort,$sortarray))
$sort=$sort;
else
$sort="latest";
$category="$sort/page/$p/";
$cat="all";
if(isset($_GET['cat']) && in_array(ucfirst($_GET['cat']),$categories)){
$cat="$_GET[cat]";
foreach($categories as $key=>$cats)
if($cats==ucfirst($_GET['cat']))
$catno=$key;
$categoryname=ucfirst($_GET['cat']);
$category="cat/$_GET[cat]/$catno/page/$p/";}
$contents=file_get_contents_curl("http://www.tube8.com/$category");
$cons=explode(""," ",$cons[$i]);
$title=pick("title=\"","\"",$cons[$i]);
$img=explode(";)
\n";}
$pages=pick("![]() | $title Views: $views Length: $length |
",$contents);
starthtml("Download $categoryname 3gp Videos","$path/style.css");
echo "
Search Videos
";
echo "\n";
echo "All Videos";
foreach($categories as $key=>$cats)
echo "| $cats";
echo "
$categoryname
\n";
for($i=1; $i<11; $i++){
$length=pick("","",$cons[$i]);
$views=pick("",$pages);
if($p>1)
echo "Prev ";
$from=pick("\">","<","$pages[1]");
$till=count($pages);
for($i=$from;$i<=$till;$i++)
if($p==$i)
echo "$i ";
else
echo "$i ";
echo "Next ";
echo "";
echo "
\n";
stophtml();
include('counter.php');
die();
?>
"," ",$cons[$i]);
$title=pick("title=\"","\"",$cons[$i]);
$img=explode(";)
\n";}
$pages=pick("![]() | $title Views: $views Length: $length |