Guest User

Untitled

a guest
Jun 19th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. <?php
  2.  
  3. /**
  4. * overview.php
  5. *
  6. * @version 2.1
  7. * @copyright 2008 By lucky for XG Proyect
  8. * @Copyright, XNova Proyect - Xtreme-gameZ.com.ar - XG Proyect
  9. */
  10.  
  11. define('INSIDE' , true);
  12. define('INSTALL' , false);
  13.  
  14. $xnova_root_path = './';
  15. include($xnova_root_path . 'extension.inc');
  16. include($xnova_root_path . 'common.' . $phpEx);
  17. /**
  18. */
  19. #inicio raze
  20. if ($user['Humano'] == 1){
  21. $razeID = 1;}
  22. if ($user['Alien'] == 1){
  23. $razeID = 2;}
  24. if ($user['Predator'] == 1){
  25. $razeID = 3;}
  26. if ($user['Dark'] == 1){
  27. $razeID = 4;}
  28. CheckRazeIn($user['id'], $razeID);
  29.  
  30. $lunarow = doquery("SELECT * FROM {{table}} WHERE `id_owner` = '" . $planetrow['id_owner'] . "' AND `galaxy` = '" . $planetrow['galaxy'] . "' AND `system` = '" . $planetrow['system'] . "' AND `lunapos` = '" . $planetrow['planet'] . "';", 'lunas', true);
  31.  
  32. CheckPlanetUsedFields ($lunarow);
  33.  
  34. $mode = $_GET['mode'];
  35. $pl = mysql_escape_string($_GET['pl']);
  36. $_POST['deleteid'] = intval($_POST['deleteid']);
  37.  
  38. includeLang('resources');
  39. includeLang('overview');
  40.  
  41. if($game_config['enable_bot'] == 1){
  42. //robot anti multi -- debut --
  43. $multi = $user['multi_validated'];
  44. $ip = $user['user_lastip'];
  45. $time = time();
  46. $duree = $time + (stripslashes($game_config['ban_duration']) * 86400);
  47. $op = stripslashes($game_config['bot_name']);
  48. $mail = stripslashes($game_config['bot_adress']);
  49. $sql = mysql_query("SELECT * FROM game_users WHERE `user_lastip`='{$ip}'");
  50. $boucle = 0;
  51. $username ='';
  52. $v =',&nbsp;';
  53. while($m = mysql_fetch_array($sql)){
  54. $username .= $m['username']
Add Comment
Please, Sign In to add comment