get_input('fid'); $fid = mysql_escape($fid); $query = $db->simple_select("files", "*", "fid={$fid}"); $file = $db->fetch_array($query); if(!$file) { exit; } $time = $file['time']; $added = date("d/m/Y", $time); $name = $file['name']; $imgname = $name; $file_id = $file['fid']; $filepath = $file['path']; $view = $file['view']; $server = $file['server']; $mlink = $file['link']; $moblink = $file['moblink']; $duration = $file['duration']; $format = $file['format']; $srtchk = strtolower($format); $videosize = $file['vsize']; $name = str_replace('.mp4','',$name); $name = str_replace('.3gp','',$name); $name = str_replace('.mkv','',$name); $title = "$name Download"; $findserver = substr($server,0,1); $link = $server . ".uptofiles.net"; if($view == 1) { if(!isAND()) { echo "404 Not Found Error"; echo "

404 Not Found Error

"; exit; } } $vscr = $file_id . "-" . $imgname; $vscr = str_replace(" ", "-", $vscr); $vscr_path = "./shots/view/" . $vscr . ".jpg"; $downloadhits = $db->simple_select("downloads", "fid", "fid='{$fid}'"); $checkhits = $db->num_rows($downloadhits); if($checkhits == 0) { $db->insert_query("downloads", array('fid' => $db->escape_string($fid), 'hits' => 1)); } else { $db->query("UPDATE downloads SET hits=hits+1 WHERE fid=".$fid.""); } include_once('./header.php'); if (file_exists($vscr_path)) { $img_url = "/shots/view/" . $vscr . ".jpg"; }else { $img_url = "/img/default.jpg"; } echo'
'; echo '
Video Information
'; echo '
'.$name.' Screen Shot JPG
File Name: '.$imgname.'
File Size: '.convertsize($file['size']).'
'; if(!empty($duration) && !empty($videosize)){ echo 'Video Size: '.$videosize.'
Format: '.$file['format'].'
Duration: '.$duration.' min
'; } echo 'Added On: '.$added.'
Facebook Page:
'; if(is_admin()) { $query2 = $db->simple_select("downloads", "hits", "fid={$fid}"); $hits = $db->fetch_array($query2); $hits = $hits['hits']; echo'
Total Hits: '.$hits.''; echo '
Add Random Links'; } $dlink = $link . "/" . $filepath; $dlink2 = $link . "/" . $filepath; if(strlen($mlink)>10){ if (preg_match("/@@/i", $mlink)) { $getlink = explode("@@", $mlink); $count = (count($getlink)-1); $rand = rand(0,$count); $randlink = $getlink[$rand]; $mlink = $randlink; } $dlink = $mlink; $dlink2 = $mlink; } if(in_array($srtchk, array('srt','txt','sub'))) { $ssurl = $_SERVER['HTTP_HOST']; $dlink = "$ssurl/srt.php?id=$fid"; $dlink2 = "$ssurl/srt.php?id=$fid"; } //Mobile Users if(strlen($moblink)>10){ $mobilink = $moblink; } $furl = "adscafe.xyz/dfile.php?id=$fid"; echo '
'; echo '
'; echo '
Download Server-1
'; echo '
'; include($ads1); echo '
'; if(strlen($moblink)>10){ ?> Download Server [UC Browser]
'; echo '
'; //include($ads2); echo '
'; echo '
Download Server [UC Mini]
'; echo '
'; include ($ads2); echo '
'; echo '
Download Server-2
'; echo '
'; include ("./ads/aff.php"); echo '
'; echo ''; echo ''; include_once('./share.php'); include_once('./footer.php'); ?>