Advertisement
jargon

NenGame PHP 0-46 Video Archives Page Root Script by Nick

Oct 4th, 2016
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.93 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4.     "NenGame PHP 0-46" Video Archives Script by Nick of Neinstar Filmz @ url('http://neinstarfilmz.com/');
  5. */
  6.  
  7. $archive=$_GET['archive'];
  8. $pattern='/(([0-9A-Z][-0-9A-Za-z\'] )*[0-9A-Z][-0-9A-Za-z\']{0,1}( ([\(]([0-9A-Z][-0-9A-Za-z\'] )*[0-9A-Z][-0-9A-Za-z\'][\)]){0,1}){0,1}){0,1}/';
  9. if(!preg_match($pattern,$archive,$matches))
  10. {
  11.     $archive='';
  12.     $path='/v'.((strlen($archive)>0)?'/'.archive:'');
  13. }
  14. if(!is_dir($path))
  15. {
  16.     $archive='';
  17.     $path='/v'.((strlen($archive)>0)?'/'.archive:'');
  18. }
  19.    
  20. if(is_file($path.'/archive.php'))
  21. {
  22.     $archive='';
  23.     $path='/v'.((strlen($archive)>0)?'/'.archive:'');
  24. }  
  25.  
  26. include($path.'/archive.php');
  27. include('/nengame/NenGame PHP 0-46 Video Archives.php');
  28.  
  29. ob_start();
  30.  
  31. if(isset($nenini))
  32.     unset($nenini);
  33. $nenini['about']=
  34.     "NenGame PHP 0-46 by Nick of Neinstar Filmz @ url('http://neinstarfilmz.com/');";
  35.  
  36. ob_flush();
  37. nengame_initialize();
  38. echo nengame_render();
  39. ob_flush();
  40. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement