Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * overview.php
- *
- * @version 2.1
- * @copyright 2008 By lucky for XG Proyect
- * @Copyright, XNova Proyect - Xtreme-gameZ.com.ar - XG Proyect
- */
- define('INSIDE' , true);
- define('INSTALL' , false);
- $xnova_root_path = './';
- include($xnova_root_path . 'extension.inc');
- include($xnova_root_path . 'common.' . $phpEx);
- /**
- */
- #inicio raze
- if ($user['Humano'] == 1){
- $razeID = 1;}
- if ($user['Alien'] == 1){
- $razeID = 2;}
- if ($user['Predator'] == 1){
- $razeID = 3;}
- if ($user['Dark'] == 1){
- $razeID = 4;}
- CheckRazeIn($user['id'], $razeID);
- $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);
- CheckPlanetUsedFields ($lunarow);
- $mode = $_GET['mode'];
- $pl = mysql_escape_string($_GET['pl']);
- $_POST['deleteid'] = intval($_POST['deleteid']);
- includeLang('resources');
- includeLang('overview');
- if($game_config['enable_bot'] == 1){
- //robot anti multi -- debut --
- $multi = $user['multi_validated'];
- $ip = $user['user_lastip'];
- $time = time();
- $duree = $time + (stripslashes($game_config['ban_duration']) * 86400);
- $op = stripslashes($game_config['bot_name']);
- $mail = stripslashes($game_config['bot_adress']);
- $sql = mysql_query("SELECT * FROM game_users WHERE `user_lastip`='{$ip}'");
- $boucle = 0;
- $username ='';
- $v =', ';
- while($m = mysql_fetch_array($sql)){
- $username .= $m['username']
Add Comment
Please, Sign In to add comment