Advertisement
Guest User

Untitled

a guest
Oct 14th, 2018
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP4 Decoder for eAccelerator & MMCache)
  6. *
  7. * @ Version : 1.1.3.0
  8. * @ Author : DeZender
  9. * @ Release on : 17.05.2011
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. function msec() {
  15. list( $msec, $sec ) = explode( ' ', microtime( ) );
  16. return $sec % 3600 * 1000 + * 1000;
  17. }
  18.  
  19. function gets_ms($a) {
  20. global $load_msec;
  21.  
  22. echo $a . ': ' . ( msec( ) - $load_msec ) . '<br />';
  23. }
  24.  
  25. $load_msec = msec( );
  26. $serverconfigANCassdksdklALJKS = $_SERVER;
  27. $sicherABCdkd8338dJK = 'skjdjhsdudJJJSHdndnjJJSHJKSAHDKJASHDjhz984z45tdshfpsd';
  28. require_once( './include.inc.php' );
  29. $sid = new sid( );
  30.  
  31. if (!( $session = $sid->check_sid( $_COOKIE['session'] )['userid'])) {
  32. header( 'LOCATION: sid_wrong.php' );
  33. exit( );
  34. }
  35.  
  36. $userdatas = new GetUserData( );
  37. $usersql = array( 'villages', 'username', 'ally', 'points', 'rang', 'villages_mode', 'attacks', 'new_report', 'new_mail', 'ally_found', 'ally_lead', 'ally_invite', 'ally_diplomacy', 'ally_mass_mail', 'image', 'password', 'window_width', 'show_toolbar', 'dyn_menu', 'confirm_queue', 'map_size', 'vacation_name', 'vacation_id', 'vacation_accept', 'memo', 'killed_units_def_rank', 'killed_units_altogether_rank', 'killed_units_att_rank', 'graphical_overview', 'do_action', 'labels', '`group`' );
  38. $user = $userdatas->GetById( $session['userid'], $usersql, false );
  39. $user['id'] = $session['userid'];
  40. $db->query( 'UPDATE users SET last_activity=' . time( ) . ' where id=' . $user['id'] . '' );
  41.  
  42. if (!( $sid->is_vacation( ))) {
  43. if ($user['vacation_accept'] == 1) {
  44. if (isset( $_GET['action'] )) {
  45. if ($_GET['action'] == 'logout') {
  46. require( 'actions/logout.php' );
  47. }
  48. }
  49.  
  50. if (isset( $_GET['action'] )) {
  51. ............................................................
  52. .......................................
  53. ................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement