Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Start Creating Curl Functions
- include'functions.php';
- if(isset($_GET['view'])&&($_GET['id'])){
- $dir = htmlspecialchars($_GET['cat']);
- $nama = htmlspecialchars($_GET['view']);
- $id = htmlspecialchars($_GET['id']);
- $scrid = htmlspecialchars($_GET['scr']);
- $judul = htmlspecialchars($_GET['view']);
- $judul = ucfirst(str_replace('_',' ',$judul));
- $htitle = "".ucwords($judul)." Download - NuDeCitY.Tk";
- // End of Curl Functions!
- include 'head.php';
- // Now Start to Grab!
- $url = 'http://mobile.spankwire.com/video/show/title/'.$nama.'/id/'.$id.'';
- $result = get_contents($url);
- $hasil = cut($result,'<div class="thumb" style="margin-top: 10px;">','<div class="clear"></div>');
- $konten = $hasil[0];
- preg_match("#http://cdn[^\.]+\.image.spankwire.phncdn.com/[^\.]+\.jpg#",$konten,$thumb);
- $img = $thumb[0];
- $scr = str_replace(array('1.jpg', '2.jpg', '3.jpg', '4.jpg', '5.jpg', '6.jpg', '7.jpg', '8.jpg', '9.jpg', '10.jpg'), '', $img);
- $body = explode('</div>',$konten);
- $length = strip_tags($body[1]);
- $rate = strip_tags($body[2]);
- $views = strip_tags($body[3]);
- $mp = explode('<a href="',$body[4]);
- $mpe = explode('"',$mp[1]);
- $gp = explode('<a href="',$body[5]);
- $gpe = explode('"',$gp[1]);
- $link1 = $mpe[0];
- $link2 = $gpe[0];
- if($nama=="")
- {
- header('Location: http://gumchat.net/?ref=ghana');
- }
- elseif("$nama")
- {
- echo '<div class="title" align="center">Download '.$judul.'</div>';
- if($_GET['scr']=="")
- {
- echo '<div class="border" align="center"><img src="'.$thumb[0].'" alt="'.$judul.'" style="border:2px solid #ececec;padding:2px;border-radius:12px;"/></div>';
- }
- $topl=$tops[rand(0,count($tops)-1)];
- echo '<div class="title" align="center">Video Details</div><div class="menu">» '.$rate.'<br/>» '.$length.'<br/>» '.$views.'<br/><center>»Server1(Fast and Secure): <a href="'.$topl.'>Download in 3GP</a> - <a href="'.$topl.'">Download in MP4</a> - <a href="'.$topl.'">Download in HD</a><br/>»Server2(High Resolution): <a href="'.$link2.'">Download in 3GP</a> - <a href="'.$link1.'">Download in MP4</a> - <a href="'.$topl.'">Download in HD</a></center>';
- echo '<center><div class="fb-like" data-href="" data-send="true" data-width="450" data-show-faces="false"></div></center>';
- echo'</div>';
- }
- include 'foot.php';
- }else{
- header('Location: http://gumchat.net/?ref=ghana');
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment