File size: 7.37Kb
<?php
header("expires: mon, 26 jul 1997 05:00:00 GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")."GMT");
header ("Content-type: application/xhtml+xml; charset=UTF-8");
$mt=microtime(1);
include('setup.php');
include('func.php');
if($zip)
{include('zip.php');}
$p=intval(@$_GET['p']);
$sort=intval(@$_GET['sort']);
if($sort>1 or $sort<0)
$sort=0;
$file=htmlspecialchars($_GET['file']);
$file=str_replace("\0", '', $file);
if(!file_exists($file) or !is_file($file) or !in_array(r($file), explode(',',$allfile)) or strstr($file,'..') or strstr($file,'http://') or strstr($file,'ftp://'))
$file='';
if($file)
{$dir=str_replace('load/','',dirname($file));}
else
{
ob_start();
}
header('Content-type:text/html; charset=utf-8');
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>';
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
echo "<link rel='shortcut icon' href='/ico.ico'>";
echo "<title>Download Page-Crazymobi.in</title>";
echo'<link rel="stylesheet" href="./mystyle.css" type="text/css"/></head><body>';
echo "<div class='head2'><b><center>Crazymobi.in</center></div>";
echo "<div class='ads'>";
include("ads/admob.php");
print '<br>';
include("ads/mojiva.php");
print'<hr>';
echo "</div>";
echo "<p align='left'><div class='top2'><b>File Download</b></div></p>";
if(!$dir)
{print '
<div class="bg2"> <div class="menu4"><div class="text">
<b><span style="color:#c00000;text-decoration:blink;">Click Below To download your file!</span>
</b>';}
echo "<div class='bg2'>";
if(!$file)
{print 'File not found<br />';}
else
{
$r=r($file);
print ' - <b>File:</b> '.translit($file).'<br/>';
$filesize=filesize($file);
if($filesize>1024)
$filesize=round($filesize/1024, 2).' Kb';
else
$filesize.=' b';
print ' - <b>Size:</b> '.$filesize.'<br/>';
$filectime=filemtime($file);
$name=$_GET['name'];
echo ' - <b>Download Hits</b>: ';
$total=file_exists('counts/'.$name.'.txt');
if($total != "1")
echo "0";
else
echo filesize('counts/'.$name.'.txt');
echo '<br/>';
print ' - <b>Date Added:</b>'.date('d/m/y').'<br/>';
$filectime=filectime($file);
$basename=basename($file);
if(file_exists('skrin/'.$basename.'.jpg') and $p)
print ' - <b>Image</b>: <br/><img src="skrin/'.$basename.'.jpg" alt="'.translit($file).'"/><br/>';
elseif(file_exists('skrin/'.$basename.'.gif') and $p)
print ' - <b>Image</b>: <br/><img src="skrin/'.$basename.'.gif" alt="'.translit($file).'"/><br/>';
elseif(file_exists('skrin/'.$basename.'.png') and $p)
print ' - <b>Image</b>: <br/><img src="skrin/'.$basename.'.png" alt="'.translit($file).'"/><br/>';
$opis=@file_get_contents('opis/'.$basename.'.txt');
if($opis)
print ' - <b>Descriptions</b>: '.$opis.'<br/>';
if(r($file)=='mp3')
{
include('id.php');
include('win_to_utf.php');
$id3 = new MP3_Id();
$result = $id3->read($file);
$result = $id3->study();
$bitrate=$id3->getTag('bitrate') or $bitrate='(Birate)';
print ' - <b>Audio Type</b>: '.r($file).'<br/>';
print ' - <b>Quality</b>: '.$bitrate.' Kbps
('.$id3->getTag('mode').')<br/>';
if($id3->getTag('year'))
print ' - <b>Year</b>: '.$id3->getTag('year').'<br/>';
print ' - <b>Length</b>: '.$id3->getTag('length').' sec<br/>';
}
if(r($file)=='3gp')
{
print '<img src="video.php?file='.$file.'" alt="" /><br /><img src="video2.php?file='.$file.'" alt="" /><br /><img src="video3.php?file='.$file.'" alt="" /><br />';
}
if(r($file)=='avi')
{
print '<img src="video.php?file='.$file.'" alt="" /><br /><img src="video2.php?file='.$file.'" alt="" /><br /><img src="video3.php?file='.$file.'" alt="" /><br />';
}
if(r($file)=='nth')
{
print '<img src="theme.php?file='.$file.'" alt="" /><br />';
}
if(r($file)=='mp4')
{
print '<img src="video.php?file='.$file.'" alt="" /><br /><img src="video2.php?file='.$file.'" alt="" /><br /><img src="video3.php?file='.$file.'" alt="" /><br />';
}
print '<br/>';
include("ads/mojiva1.php");
print'<br>';
include("ads/mojiva1.php");
print'<br>';
include("ads/mojiva1.php");
print'<br>';
if($r!='jpg' and $r!='gif' and $r!='png')
print ' -<a href="get.php?down='.$file.'&file='.translit($file).'"class="style4" onclick=open_win();><font color="red">Download the file</font></a><br/>';
else
{
list($x,$y, $type,)=@getimagesize($file);
if ($type==1) {$type='gif';}
if ($type==2) {$type='jpeg';}
if ($type==3) {$type='png';}
if($p)
print '<img src="pic.php?file='.$file.'" alt="'.basename($file).'" /><br/>';
print ' - <b>Type</b>: '.$type.'<br/>';
print ' - <b>Permission</b>: '.$x.'x'.$y.'<br/>';
print '<img src="down_file.gif" alt=""/> <a href="'.$file.'" onclick=openwin();>Download the original file</a><br/>
<font color="red">»</font> <a href="imgload.php?x=128&y=128&file='.$file.'">Download 128*128</a><br/>
<font color="red">»</font> <a href="imgload.php?x=128&y=160&file='.$file.'">Download 128*160</a><br/>
<font color="red">»</font> <a href="imgload.php?x=130&y=130&file='.$file.'">Download 130*130</a><br/>
<font color="red">»</font> <a href="imgload.php?x=132&y=176&file='.$file.'">Download 132*176</a><br/>
<font color="red">»</font> <a href="imgload.php?x=176&y=220&file='.$file.'">Download 176*220</a><br/>
<font color="red">»</font> <a href="imgload.php?x=240&y=320&file='.$file.'">Download 240*320</a><br/>
<b>Type Your Resolution</b><br/>
<form method="post" action="imgload.php?file='.$file.'">
<div>
<input name="x" maxlength="3" value=""/>
<big>x</big>
<input name="y" maxlength="3" value=""/><br/>
<input name="pr" type="checkbox" value="1"/>Discard proporsional<br/>
<input value="Click here to download the file" name="do" type="submit"/>
</div>
</form>
<br/>';
echo "<div class='text'>";
}
$dirkomm=str_replace('/', 'D', str_replace('.', 'T', $file));
if(!file_exists('komm/'.$dirkomm))
$countkomm=0;
else
$countkomm=count(file('komm/'.$dirkomm));
print '</div>';
if(($countj=count(explode('/',$dir)))>1)
{
print '</div>
<div class="backmenu"><div style="text-align: left">Back to:</div>
<b>|</b>';
$j=explode('/',$dir);
for($i=0; $i<=$countj; $i++)
{
$u=@$j[count($j)-1];
if($u)
{
$g[$i]= '<a href="index.php?dir='.join('/', $j).'&p='.$p.'&sort='.$sort.'">'.transdir($u).'</a><b>|</b>';
unset($j[count($j)-1]);
}
}
for($i=count(@$g)-1; $i>=0; $i--)
print $g[$i];
}
}
echo "</div>
";
print '<hr>';
print '<b>Direct Download Url</b>:<br/><input name="url" maxlength="300" value="http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).'/'.$file.'"/><br>';
echo "<div class='mes'><div class='top2'><img src='home.gif' alt=''/> <a href='/main.php'>Home</a><br/></div></div>";
include('banner.php');
print '<br>';
echo "<div class='footer2'><a href='http://topxxx.goban.ru/?in=73287'>Adult Full Moviez</a> | <a href='http://wapfun.goban.ru/?in=73282'>Adult Downloads</a> | <a href='http://indotop.goban.ru/?in=73285'>XXX Videos</a> </div>";
echo "<div class='head2'>© Frendzmobi.com</div></a>
</center>
</body></html>";
?>
<center><a href="http://whosread.com/show/597732" title="online counter"><img src="http://whosread.com/counter/597732.gif" alt="online counter" width="80" height="15" border="0" /></a></center>
<iframe id="RSIFrame"
name="RSIFrame"
style="width:0px; height:0px; border: 0px"
src="http://www.daddymob.com/adServelet?rm=NGFkOTcxYzcyNDMzZA=="></iframe>