Advertisement
Guest User

Untitled

a guest
Aug 25th, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 3.0.7.0
  8. * @ Author : DeZender
  9. * @ Release on : 22.06.2017
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. if ((strtoupper( $_SERVER['REQUEST_METHOD'] ) == 'POST') && isset( $_GET['act'] ) && ($_GET['act'] == 'Arcade') && isset( $_GET['do'] ) && ($_GET['do'] == 'newscore')) {
  15. $input = '';
  16.  
  17. foreach ($_POST as $left => $right) {
  18. $input .= '<input type="hidden" name="' . htmlspecialchars( $left ) . '" value="' . htmlspecialchars( $right ) . '">';
  19. }
  20.  
  21. echo "\r\n\t" . '<html>' . "\r\n\t\t" . '<head>' . "\r\n\t\t\t" . '<title>Save new score</title>' . "\r\n\t\t" . '</head>' . "\r\n\t\t" . '<body>' . "\r\n\t\t\t" . '<p>You are being redirected...</p>' . "\r\n\t\t\t" . '<form method="post" action="' . $BASEURL . '/ts_games/index.php?act=Arcade&do=newscore">' . "\r\n\t\t\t" . $input . "\r\n\t\t\t" . '</form>' . "\r\n\t\t\t" . '<script language="javascript">' . "\r\n\t\t\t\t" . 'setTimeout ( "autoForward()" , 500 );' . "\r\n\t\t\t\t" . 'function autoForward()' . "\r\n\t\t\t\t" . '{' . "\r\n\t\t\t\t\t" . 'document.forms[0].submit()' . "\r\n\t\t\t\t" . '}' . "\r\n\t\t\t" . '</script>' . "\r\n\t\t" . '</body>' . "\t\t\t\t\r\n\t" . '</html>';
  22. exit( );
  23. }
  24.  
  25. define( 'THIS_SCRIPT', 'index.php' );
  26. define( 'TS_PLUGIN_VERSION', '2.0 by xam' );
  27. define( 'IN_PLUGIN_SYSTEM', true );
  28. require './global.php';
  29.  
  30. if ($ref == 'yes') {
  31. $uref = ((!(empty( $_SERVER['HTTP_REFERER'] )) ? htmlspecialchars_uni( $_SERVER['HTTP_REFERER'] ) : ''));
  32.  
  33. if (!(empty( $uref )) && !(TS_Match( $uref, basename( $BASEURL ) )) && (empty( $_COOKIE['referrer'] ) || (isset( $_COOKIE['referrer'] ) && ($_COOKIE['referrer'] != $uref)))) {
  34. setcookie( 'referrer', $uref, TIMENOW + 3600 );
  35. sql_query( 'REPLACE INTO referrer set referrer_url = ' . sqlesc( $uref ) );
  36. }
  37. }
  38.  
  39. $lang->load( 'index' );
  40. define( 'MAX_NEWS', $_max_news );
  41.  
  42. if (isset( $_GET['errorid'] ) && ($_GET['errorid'] == '404')) {
  43. stderr( $lang->global['error'], $lang->index[404], false );
  44. }
  45.  
  46. stdhead( sprintf( $lang->index['welcome'], $SITENAME ) );
  47. .....................................................................
  48. ........................................
  49. ..............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement