diff --git a/alliance.php b/alliance.php index 3c90d3c..8229453 100644 --- a/alliance.php +++ b/alliance.php @@ -671,7 +671,6 @@ elseif ($user->getData('ally_id') != 0 && $user->getData('ally_request') == 0) { foreach($ally_ranks as $a => $b) { if ($ally['ally_owner'] == $user->getId()) { $lang['id'] = $a; - $lang['delete'] = "\"{$lang['Delete_range']}\""; $lang['r0'] = $b['name']; $lang['a'] = $a; $lang['r1'] = ""; //{$b[1]} @@ -688,7 +687,6 @@ elseif ($user->getData('ally_id') != 0 && $user->getData('ally_request') == 0) { } else { $lang['id'] = $a; $lang['r0'] = $b['name']; - $lang['delete'] = "\"{$lang['Delete_range']}\""; $lang['a'] = $a; $lang['r1'] = "-"; $lang['r2'] = ""; diff --git a/application/bootstrap.php b/application/bootstrap.php index abd1b68..1981347 100644 --- a/application/bootstrap.php +++ b/application/bootstrap.php @@ -72,6 +72,8 @@ function __autoload($class) { include_once str_replace('_', '/', $class) . '.php'; } +include ROOT_PATH . 'includes/constants.php'; + Wootook_Core_Time::init(); Wootook_Core_ErrorProfiler::register(); Wootook_Core_Model_Config_Events::registerEvents(); @@ -89,7 +91,6 @@ define('DEFAULT_LANG', 'fr'); include(ROOT_PATH . 'includes/debug.class.'.PHPEXT); $debug = new Debug(); -include(ROOT_PATH . 'includes/constants.' . PHPEXT); include(ROOT_PATH . 'includes/functions.' . PHPEXT); include(ROOT_PATH . 'includes/unlocalised.' . PHPEXT); include(ROOT_PATH . 'includes/todofleetcontrol.' . PHPEXT); diff --git a/application/code/core/Wootook.php b/application/code/core/Wootook.php index 1e58ee0..1cee8bd 100644 --- a/application/code/core/Wootook.php +++ b/application/code/core/Wootook.php @@ -315,12 +315,12 @@ class Wootook return $config; } - public static function setConfig($path = null, $value) + public static function setConfig($path, $value) { self::_loadConfig(); if ($path === null || !is_string($path)) { - return self::$_config; + return self::$_config = $value; } $config = &self::$_config; foreach (explode('/', $path) as $chunk) { @@ -334,6 +334,12 @@ class Wootook return true; } + public static function writeConfig(Array $config) + { + file_put_contents(ROOT_PATH . DIRECTORY_SEPARATOR . 'config.php', + '<' . '?p' . 'hp ' . var_export($config, true) . ';'); + } + public static function getBaseUrl() { return self::getConfig('global/web/base_url'); diff --git a/application/code/core/Wootook/Core/Block/Html/Navigation.php b/application/code/core/Wootook/Core/Block/Html/Navigation.php index acc05fe..64fb59b 100644 --- a/application/code/core/Wootook/Core/Block/Html/Navigation.php +++ b/application/code/core/Wootook/Core/Block/Html/Navigation.php @@ -17,7 +17,8 @@ class Wootook_Core_Block_Html_Navigation ), 'label' => $label, 'title' => $title, - 'classes' => $classes + 'classes' => $classes, + 'attributes' => $attributes )); $parent->setPartial($baseName, $child); diff --git a/application/code/core/Wootook/Core/EntityInterface.php b/application/code/core/Wootook/Core/EntityInterface.php index 9843e61..a26e219 100644 --- a/application/code/core/Wootook/Core/EntityInterface.php +++ b/application/code/core/Wootook/Core/EntityInterface.php @@ -1,5 +1,39 @@ + * All rights reserved. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + * --> NOTICE <-- + * This file is part of the core development branch, changing its contents will + * make you unable to use the automatic updates manager. Please refer to the + * documentation for further information about customizing Wootook. + * + */ +/** + * + * Enter description here ... + * @author Greg + * + */ interface Wootook_Core_EntityInterface { public function getId(); diff --git a/application/code/core/Wootook/Core/ErrorProfiler.php b/application/code/core/Wootook/Core/ErrorProfiler.php index 7bc3047..8b3da28 100644 --- a/application/code/core/Wootook/Core/ErrorProfiler.php +++ b/application/code/core/Wootook/Core/ErrorProfiler.php @@ -14,6 +14,8 @@ class Wootook_Core_ErrorProfiler private static $_listen = true; + private $_mute = false; + public static function getSingleton() { if (self::$_singleton === null) { @@ -134,6 +136,10 @@ ERROR_EOF; public function shutdownManager() { + if ($this->_mute === true) { + return; + } + $index = 0; echo '
'; echo '

Debug profiler

'; @@ -173,6 +179,8 @@ ERROR_EOF; set_error_handler(array(self::getSingleton(), 'errorManager')); set_exception_handler(array(self::getSingleton(), 'exceptionManager')); + self::getSingleton()->_mute = false; + if (self::$_isTraceRegistered === false && defined('DEBUG')) { self::$_isTraceRegistered = true; register_shutdown_function(array(self::getSingleton(), 'shutdownManager')); @@ -184,8 +192,10 @@ ERROR_EOF; restore_error_handler(); restore_exception_handler(); - if ((self::$_isTraceRegistered && defined('DEBUG')) || $force) { - self::$_isTraceRegistered = false; + self::getSingleton()->_mute = true; + + if ((self::$_isTraceRegistered === false && defined('DEBUG')) || $force) { + self::$_isTraceRegistered = true; register_shutdown_function(array(self::getSingleton(), 'shutdownManager')); } } diff --git a/application/code/core/Wootook/Core/Form.php b/application/code/core/Wootook/Core/Form.php index 6c7aec1..25d30d7 100644 --- a/application/code/core/Wootook/Core/Form.php +++ b/application/code/core/Wootook/Core/Form.php @@ -59,8 +59,11 @@ class Wootook_Core_Form public function validate() { foreach ($this->_fields as $field) { - $field->validate(); + if (!$field->validate()) { + return false; + } } + return true; } /** diff --git a/application/code/core/Wootook/Core/Layout.php b/application/code/core/Wootook/Core/Layout.php index 15297d9..b1faff0 100644 --- a/application/code/core/Wootook/Core/Layout.php +++ b/application/code/core/Wootook/Core/Layout.php @@ -424,7 +424,7 @@ class Wootook_Core_Layout * * @return Wootook_Core_Block_Messages */ - public function getMessagesblock() + public function getMessagesBlock() { return $this->_messageBlock; } diff --git a/application/code/core/Wootook/Core/Model/Session.php b/application/code/core/Wootook/Core/Model/Session.php index 62f0455..37f80ff 100644 --- a/application/code/core/Wootook/Core/Model/Session.php +++ b/application/code/core/Wootook/Core/Model/Session.php @@ -128,19 +128,26 @@ class Wootook_Core_Model_Session return $this->addMessage(vsprintf($message, $args), self::DEBUG); } + public function initFormKey() + { + $key = $this->getData('form_key'); + $this->setData('form_key', uniqid()); + + return $key; + } + public function getFormKey($reset = true) { if (!$this->getData('form_key')) { - $this->setData('form_key', uniqid()); + $this->initFormKey(); return $this->getData('form_key'); } - $key = $this->getData('form_key'); - if ($reset !== true) { - $this->setData('form_key', uniqid()); + if ($reset === true) { + $this->initFormKey(); } - return $key; + return $this->getData('form_key'); } public function setFormData(Array $data = array()) diff --git a/application/code/core/Wootook/Core/Setup/Updater.php b/application/code/core/Wootook/Core/Setup/Updater.php new file mode 100644 index 0000000..1f8a22a --- /dev/null +++ b/application/code/core/Wootook/Core/Setup/Updater.php @@ -0,0 +1,106 @@ +_setupConnection = Wootook_Database::getConnection($connection); + } else { + $this->_setupConnection = $connection; + } + + return $this; + } + + /** + * + * Enter description here ... + * @return Wootook_Database + */ + public function getSetupConnection() + { + if ($this->_setupConnection === null) { + return Wootook_Database::getSingleton(); + } + return $this->_setupConnection; + } + + public function getTable($tableName) + { + $this->getSetupConnection()->getTable($tableName); + } + + public function grant($tableName, $connectionName, $perms = null) + { + $hostname = Wootook::getConfig("global/database/{$connectionName}/params/hostname"); + $username = Wootook::getConfig("global/database/{$connectionName}/params/username"); + $database = Wootook::getConfig("global/database/{$connectionName}/params/database"); + $password = Wootook::getConfig("global/database/{$connectionName}/params/password"); + + if ($perms === null) { + $perms = 'ALL PRIVILEGES'; + } else if (is_array($perms)) { + $perms = implode(' ', $perms); + } + + $sql =<<getTable($tableName)} +TO '{$username}@{$hostname}' IDENTIFIED BY '$password' +SQL_EOF; + + $this->getSetupConnection()->query($sql); + + return $this; + } + + public function revoke($tableName, $connectionName, $perms = null) + { + $hostname = Wootook::getConfig("global/database/{$connectionName}/params/hostname"); + $username = Wootook::getConfig("global/database/{$connectionName}/params/username"); + $database = Wootook::getConfig("global/database/{$connectionName}/params/database"); + $password = Wootook::getConfig("global/database/{$connectionName}/params/password"); + + if ($perms === null) { + $perms = 'ALL PRIVILEGES'; + } else if (is_array($perms)) { + $perms = implode(' ', $perms); + } + + $sql =<<getTable($tableName)} +FROM '{$username}@{$hostname}' +SQL_EOF; + + $this->getSetupConnection()->query($sql); + + return $this; + } + + public function run($script) + { + include $script; + } + + public function getConfig($path = null) + { + return Wootook::getConfig($path); + } + + public function getGameConfig($path) + { + $config = Wootook_Core_Model_Config::getSingleton(); + + return $config->getData($path); + } +} diff --git a/application/code/core/Wootook/Core/View.php b/application/code/core/Wootook/Core/View.php index 1c75663..cb036de 100644 --- a/application/code/core/Wootook/Core/View.php +++ b/application/code/core/Wootook/Core/View.php @@ -56,11 +56,16 @@ class Wootook_Core_View } } - protected function escape($unescaped) + public function escape($unescaped) { return htmlspecialchars($unescaped, ENT_QUOTES, 'UTF-8'); } + public function escapeJs($unescaped) + { + return addslashes($unescaped); + } + public function __($message, $_ = null) { $args = func_get_args(); diff --git a/application/code/core/Wootook/Core/install/mysql5/install-2011.1.0.php b/application/code/core/Wootook/Core/install/mysql5/install-1.5.0.php similarity index 77% rename from application/code/core/Wootook/Core/install/mysql5/install-2011.1.0.php rename to application/code/core/Wootook/Core/install/mysql5/install-1.5.0.php index 51a956e..ba9fc80 100644 --- a/application/code/core/Wootook/Core/install/mysql5/install-2011.1.0.php +++ b/application/code/core/Wootook/Core/install/mysql5/install-1.5.0.php @@ -2,45 +2,33 @@ /** * This file is part of Wootook * - * @license Modified BSD - * @see https://github.com/gplanchat/one.platform + * @license http://www.gnu.org/licenses/agpl-3.0.txt + * @see http://www.wootook.com/ * - * Copyright (c) 2009-2010, Grégory PLANCHAT + * Copyright (c) 2011-Present, Grégory PLANCHAT * All rights reserved. * - * Redistribution and use in source and binary forms, with or without modification, - * are permitted provided that the following conditions are met: + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * - Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * - Redistributions in binary form must reproduce the above copyright notice, - * this list of conditions and the following disclaimer in the documentation - * and/or other materials provided with the distribution. - * - * - Neither the name of Grégory PLANCHAT nor the names of its - * contributors may be used to endorse or promote products derived from this - * software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR - * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON - * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . * * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing One.Platform. + * documentation for further information about customizing Wootook. * */ -$this->setSetupConnection('legacies_setup'); +$this->setSetupConnection('core_setup'); $sql = <<getTableName('legacies/aks')} ( @@ -59,12 +47,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/aks', 'legacies_read', array('SELECT')) - ->grant('legacies/aks', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/aks', 'legacies_setup') -; - $sql = <<getTableName('legacies/alliance')} ( `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, @@ -88,12 +70,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/alliance', 'legacies_read', array('SELECT')) - ->grant('legacies/alliance', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/alliance', 'legacies_setup') -; - $sql = <<getTableName('legacies/annonce')} ( `id` SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT, @@ -112,12 +88,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/annonce', 'legacies_read', array('SELECT')) - ->grant('legacies/annonce', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/annonce', 'legacies_setup') -; - $sql = <<getTableName('legacies/banned')} ( `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, @@ -134,12 +104,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/banned', 'legacies_read', array('SELECT')) - ->grant('legacies/banned', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/banned', 'legacies_setup') -; - $sql = <<getTableName('legacies/buddy')} ( `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, @@ -153,12 +117,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/buddy', 'legacies_read', array('SELECT')) - ->grant('legacies/buddy', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/buddy', 'legacies_setup') -; - $sql = <<getTableName('legacies/chat')} ( `messageid` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, @@ -171,12 +129,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/chat', 'legacies_read', array('SELECT')) - ->grant('legacies/chat', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/chat', 'legacies_setup') -; - $sql = <<getTableName('legacies/config')} ( `config_name` VARCHAR(64) NOT NULL, @@ -187,12 +139,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/config', 'legacies_read', array('SELECT')) - ->grant('legacies/config', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/config', 'legacies_setup') -; - $sql = <<getTableName('legacies/config')} (`config_name`, `config_value`) VALUES ('game_speed', '2500'), @@ -206,7 +152,7 @@ INSERT INTO {$this->getTableName('legacies/config')} (`config_name`, `config_val ('game_disable', '1'), ('close_reason', 'Le jeu est clos pour le moment!'), ('metal_basic_income', '20'), - ('crystal_basic_income', '10'), + ('cristal_basic_income', '10'), ('deuterium_basic_income', '0'), ('energy_basic_income', '0'), ('BuildLabWhileRun', '0'), @@ -259,12 +205,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/declared', 'legacies_read', array('SELECT')) - ->grant('legacies/declared', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/declared', 'legacies_setup') -; - $sql = <<getTableName('legacies/errors')} ( `error_id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, @@ -278,12 +218,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/errors', 'legacies_read', array('SELECT')) - ->grant('legacies/errors', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/errors', 'legacies_setup') -; - $sql = <<getTableName('legacies/fleets')} ( `fleet_id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, @@ -316,12 +250,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/fleets', 'legacies_read', array('SELECT')) - ->grant('legacies/fleets', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/fleets', 'legacies_setup') -; - $sql = <<getTableName('legacies/galaxy')} ( `galaxy` TINYINT UNSIGNED NOT NULL, @@ -341,12 +269,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/galaxy', 'legacies_read', array('SELECT')) - ->grant('legacies/galaxy', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/galaxy', 'legacies_setup') -; - $sql = <<getTableName('legacies/iraks')} ( `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, @@ -367,12 +289,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/iraks', 'legacies_read', array('SELECT')) - ->grant('legacies/iraks', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/iraks', 'legacies_setup') -; - $sql = <<getTableName('legacies/lunas')} ( `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, @@ -393,12 +309,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/lunas', 'legacies_read', array('SELECT')) - ->grant('legacies/lunas', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/lunas', 'legacies_setup') -; - $sql = <<getTableName('legacies/messages')} ( `message_id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, @@ -415,12 +325,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/messages', 'legacies_read', array('SELECT')) - ->grant('legacies/messages', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/messages', 'legacies_setup') -; - $sql = <<getTableName('legacies/multi')} ( `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, @@ -433,12 +337,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/multi', 'legacies_read', array('SELECT')) - ->grant('legacies/multi', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/multi', 'legacies_setup') -; - $sql = <<getTableName('legacies/notes')} ( `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, @@ -453,12 +351,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/notes', 'legacies_read', array('SELECT')) - ->grant('legacies/notes', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/notes', 'legacies_setup') -; - $sql = <<getTableName('legacies/planets')} ( `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, @@ -489,16 +381,16 @@ CREATE TABLE IF NOT EXISTS {$this->getTableName('legacies/planets')} ( `metal` DECIMAL(65,0) NOT NULL DEFAULT 0, `metal_perhour` DECIMAL(65,0) NOT NULL DEFAULT 0, `metal_max` DECIMAL(65,0) NOT NULL DEFAULT 0, - `crystal` DECIMAL(65,0) NOT NULL DEFAULT 0, - `crystal_perhour` DECIMAL(65,0) NOT NULL DEFAULT 0, - `crystal_max` DECIMAL(65,0) NOT NULL DEFAULT 0, + `cristal` DECIMAL(65,0) NOT NULL DEFAULT 0, + `cristal_perhour` DECIMAL(65,0) NOT NULL DEFAULT 0, + `cristal_max` DECIMAL(65,0) NOT NULL DEFAULT 0, `deuterium` DECIMAL(65,0) NOT NULL DEFAULT 0, `deuterium_perhour` DECIMAL(65,0) NOT NULL DEFAULT 0, `deuterium_max` DECIMAL(65,0) NOT NULL DEFAULT 0, `energy_used` DECIMAL(65,0) NOT NULL DEFAULT 0, `energy_max` DECIMAL(65,0) NOT NULL DEFAULT 0, `metal_mine` SMALLINT UNSIGNED NOT NULL DEFAULT 0, - `crystal_mine` SMALLINT UNSIGNED NOT NULL DEFAULT 0, + `cristal_mine` SMALLINT UNSIGNED NOT NULL DEFAULT 0, `deuterium_sintetizer` SMALLINT UNSIGNED NOT NULL DEFAULT 0, `solar_plant` SMALLINT UNSIGNED NOT NULL DEFAULT 0, `fusion_plant` SMALLINT UNSIGNED NOT NULL DEFAULT 0, @@ -506,7 +398,7 @@ CREATE TABLE IF NOT EXISTS {$this->getTableName('legacies/planets')} ( `nano_factory` SMALLINT UNSIGNED NOT NULL DEFAULT 0, `hangar` SMALLINT UNSIGNED NOT NULL DEFAULT 0, `metal_store` SMALLINT UNSIGNED NOT NULL DEFAULT 0, - `crystal_store` SMALLINT UNSIGNED NOT NULL DEFAULT 0, + `cristal_store` SMALLINT UNSIGNED NOT NULL DEFAULT 0, `deuterium_store` SMALLINT UNSIGNED NOT NULL DEFAULT 0, `laboratory` SMALLINT UNSIGNED NOT NULL DEFAULT 0, `terraformer` SMALLINT UNSIGNED NOT NULL DEFAULT 0, @@ -540,7 +432,7 @@ CREATE TABLE IF NOT EXISTS {$this->getTableName('legacies/planets')} ( `interceptor_misil` SMALLINT NOT NULL DEFAULT 0, `interplanetary_misil` SMALLINT NOT NULL DEFAULT 0, `metal_mine_porcent` TINYINT NOT NULL DEFAULT 10, - `crystal_mine_porcent` TINYINT NOT NULL DEFAULT 10, + `cristal_mine_porcent` TINYINT NOT NULL DEFAULT 10, `deuterium_sintetizer_porcent` TINYINT NOT NULL DEFAULT 10, `solar_plant_porcent` TINYINT NOT NULL DEFAULT 10, `fusion_plant_porcent` TINYINT NOT NULL DEFAULT 10, @@ -552,12 +444,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/planets', 'legacies_read', array('SELECT')) - ->grant('legacies/planets', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/planets', 'legacies_setup') -; - $sql = <<getTableName('legacies/rw')} ( `id_owner1` BIGINT UNSIGNED NOT NULL, @@ -574,12 +460,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/rw', 'legacies_read', array('SELECT')) - ->grant('legacies/rw', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/rw', 'legacies_setup') -; - $sql = <<getTableName('legacies/statpoints')} ( `id_owner` BIGINT UNSIGNED NOT NULL, @@ -617,12 +497,6 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/statpoints', 'legacies_read', array('SELECT')) - ->grant('legacies/statpoints', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/statpoints', 'legacies_setup') -; - $sql = <<getTableName('legacies/users')} ( `id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, @@ -736,57 +610,3 @@ SQL_EOF; $this->query($sql); -$this - ->grant('legacies/users', 'legacies_read', array('SELECT')) - ->grant('legacies/users', 'legacies_write', array('SELECT', 'CREATE', 'UPDATE', 'DELETE')) - ->grant('legacies/users', 'legacies_setup') -; - -$sql = <<getTableName('legacies/alliance')} ( - `id`, `ally_name`, `ally_tag`, `ally_owner`, `ally_register_time`, `ally_description`, - `ally_web`, `ally_text`, `ally_image`, `ally_request`, `ally_request_waiting`, - `ally_request_notallow`, `ally_owner_range`, `ally_ranks`, `ally_members` - ) - VALUES - ('1', 'Admin', 'Admin', 1, NOW(), 'Administrator alliance', 'http://www.xnova-ng.org/', - '', '', '', '', '', '', '', '') -SQL_EOF; - -$this->query($sql); - -$sql = <<getTableName('legacies/users')} ( - `id`, `username`, `password`, `email`, `email_2`, `lang`, `authlevel`, `sex`, - `avatar`, `sign`, `id_planet`, `galaxy`, `system`, `planet`, `current_planet`, - `user_lastip`, `ip_at_reg`, `user_agent`, `current_page`, `register_time`, - `onlinetime`, `dpath`, `design`, `noipcheck`, `planet_sort`, `planet_sort_order`, - `spio_anz`, `settings_tooltiptime`, `settings_fleetactions`, `settings_allylogo`, - `settings_esp`, `settings_wri`, `settings_bud`, `settings_mis`, `settings_rep`, - `urlaubs_modus`, `urlaubs_until`, `db_deaktjava`, `new_message`, `fleet_shortcut`, - `b_tech_planet`, `spy_tech`, `computer_tech`, `military_tech`, `defence_tech`, - `shield_tech`, `energy_tech`, `hyperspace_tech`, `combustion_tech`, - `impulse_motor_tech`, `hyperspace_motor_tech`, `laser_tech`, `ionic_tech`, - `buster_tech`, `intergalactic_tech`, `expedition_tech`, `graviton_tech`, - `ally_id`, `ally_name`, `ally_request`, `ally_request_text`, `ally_register_time`, - `ally_rank_id`, `current_luna`, `kolorminus`, `kolorplus`, `kolorpoziom`, - `rpg_geologue`, `rpg_amiral`, `rpg_ingenieur`, `rpg_technocrate`, `rpg_espion`, - `rpg_constructeur`, `rpg_scientifique`, `rpg_commandant`, `rpg_points`, `rpg_stockeur`, - `rpg_defenseur`, `rpg_destructeur`, `rpg_general`, `rpg_bunker`, `rpg_raideur`, - `rpg_empereur`, `lvl_minier`, `lvl_raid`, `xpraid`, `xpminier`, `raids`, - `p_infligees`, `mnl_alliance`, `mnl_joueur`, `mnl_attaque`, `mnl_spy`, - `mnl_exploit`, `mnl_transport`, `mnl_expedition`, `mnl_general`, `mnl_buildlist`, - `bana`, `multi_validated`, `banaday`, `raids1`, `raidswin`, `raidsloose` - ) - VALUES - ('1', 'Admin', '', '', '', 'fr', '3', NULL, '', '', '1', '1', '1', '1', - '1', '127.0.0.1', '', '', '', '1254743313', '1269391977', '', '1', '1', '0', - '0', '1', '5', '0', '0', '1', '1', '1', '1', '0', '0', '0', '0', '0', '', '0', - '16', '20', '11', '11', '11', '12', '10', '14', '10', '9', '0', '0', '0', '0', - '0', '1', 1, 'Admin', '0', '', NOW(), '0', '0', 'red', '#00FF00', 'yellow', '20', - '20', '10', '10', '0', '3', '3', '0', '27', '2', '2', '0', '0', '0', '0', '0', - '98', '1', '0', '1133583738', '0', '0', '0', '0', '0', '0', '0', '0', '0', - '0', '0', '0', '0', '0', '0', '0', '0') -SQL_EOF; - -$this->query($sql); diff --git a/application/code/core/Wootook/Core/install/mysql5/uninstall-2011.1.0.php b/application/code/core/Wootook/Core/install/mysql5/uninstall-1.5.0.php similarity index 100% rename from application/code/core/Wootook/Core/install/mysql5/uninstall-2011.1.0.php rename to application/code/core/Wootook/Core/install/mysql5/uninstall-1.5.0.php diff --git a/application/code/core/Wootook/Database.php b/application/code/core/Wootook/Database.php index 3ff35f0..2293bb0 100644 --- a/application/code/core/Wootook/Database.php +++ b/application/code/core/Wootook/Database.php @@ -3,9 +3,12 @@ class Wootook_Database extends PDO { - protected static $_singleton = null; + const DEFAULT_CONNECTION_NAME = 'default'; - protected static $_prefix = null; + protected static $_connections = array(); + protected static $_connectionAliases = array(); + + protected $_tablePrefix = null; public static $options = array( PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION @@ -13,39 +16,80 @@ class Wootook_Database public static function getSingleton() { - if (self::$_singleton === null) { - $config = include ROOT_PATH . 'config.php'; - $hostname = $config['global']['database']['options']['hostname']; - $username = $config['global']['database']['options']['username']; - $password = $config['global']['database']['options']['password']; - $database = $config['global']['database']['options']['database']; - $port = 3306; + return self::getConnection(self::DEFAULT_CONNECTION_NAME); + } - if (isset($config['global']['database']['options']['port'])) { - $port = $config['global']['database']['options']['port']; + public static function getConnection($connectionName) + { + if (empty($connectionName) || $connectionName === null) { + return null; + } + + if (!isset(self::$_connections[$connectionName])) { + if (isset(self::$_connectionAliases[$connectionName])) { + return self::$_connectionAliases[$connectionName]; } - $event = Wootook::dispatchEvent('database.prepare-options', array( - 'options' => self::$options - )); + if ($alias = Wootook::getConfig("global/database/{$connectionName}/use")) { + self::$_connectionAliases[$connectionName] = self::getConnection($alias); + } - self::$options = $event->getData('options'); - - self::$_singleton = new self("mysql:dbname={$database};host={$hostname};port={$port}", $username, $password, self::$options); - - Wootook::dispatchEvent('database.init', array( - 'handler' => self::$_singleton - )); + self::$_connections[$connectionName] = self::_initConnection($connectionName); } - return self::$_singleton; + + return self::$_connections[$connectionName]; + } + + private static function _initConnection($connectionName) + { + $hostname = Wootook::getConfig("global/database/{$connectionName}/params/hostname"); + $username = Wootook::getConfig("global/database/{$connectionName}/params/username"); + $password = Wootook::getConfig("global/database/{$connectionName}/params/password"); + $database = Wootook::getConfig("global/database/{$connectionName}/params/database"); + + if (empty($hostname) || empty($username) || empty($database)) { + return null; + } + + if (!($port = Wootook::getConfig("global/database/{$connectionName}/params/port")) || !is_numeric($port)) { + $port = 3306; + } + + $event = Wootook::dispatchEvent('database.prepare-options', array( + 'name' => $connectionName, + 'options' => array_merge(self::$options, Wootook::getConfig("global/database/{$connectionName}/options")) + )); + + $options = $event->getData('options'); + + $connection = new self("mysql:dbname={$database};host={$hostname};port={$port}", $username, $password, $options); + + if (($prefix = Wootook::getConfig("global/database/{$connectionName}/table_prefix")) !== null) { + $connection->setTablePrefix($prefix); + } + + Wootook::dispatchEvent('database.init', array( + 'name' => $connectionName, + 'handler' => $connection + )); + + return $connection; + } + + public function setTablePrefix($prefix) + { + $this->_tablePrefix = $prefix; + + return $this; + } + + public function getTablePrefix() + { + return $this->_tablePrefix; } public function getTable($name) { - if (self::$_prefix === null) { - $config = include ROOT_PATH . 'config.php'; - self::$_prefix = $config['global']['database']['table_prefix']; - } - return self::$_prefix . $name; + return $this->getTablePrefix() . $name; } } \ No newline at end of file diff --git a/application/code/core/Wootook/Empire/Model/Planet.php b/application/code/core/Wootook/Empire/Model/Planet.php index 7cf15bb..7e06d19 100644 --- a/application/code/core/Wootook/Empire/Model/Planet.php +++ b/application/code/core/Wootook/Empire/Model/Planet.php @@ -429,7 +429,7 @@ class Wootook_Empire_Model_Planet ; $options = array( - 'galaxy' => $this->getSystem(), + 'galaxy' => $this->getGalaxy(), 'system' => $this->getSystem(), 'position' => $this->getPosition(), 'planet_type' => $this->getType() diff --git a/application/code/test/LegaciesTest.php b/application/code/test/WootookTest.php similarity index 99% rename from application/code/test/LegaciesTest.php rename to application/code/test/WootookTest.php index d230e54..8962684 100644 --- a/application/code/test/LegaciesTest.php +++ b/application/code/test/WootookTest.php @@ -1,6 +1,6 @@ array( 'type' => 'core/template', - 'template' => 'page/html/header.phtml', - 'children' => array( - 'menu' => array( - 'type' => 'core/html.navigation', - 'template' => 'page/html/navigation.phtml', - ), - 'planet-list' => array( - 'type' => 'empire/planet-list', - 'template' => 'empire/planet-list.phtml', - ) - ) + 'template' => 'page/html/header.phtml' ), 'footer' => array( 'type' => 'core/template', diff --git a/application/design/base/default/scripts/deprecated/alliance_admin_laws.tpl b/application/design/base/default/scripts/deprecated/alliance_admin_laws.tpl index 2935d69..5a82f5a 100644 --- a/application/design/base/default/scripts/deprecated/alliance_admin_laws.tpl +++ b/application/design/base/default/scripts/deprecated/alliance_admin_laws.tpl @@ -8,63 +8,64 @@
-
+ - - - - - - - - - - - + + + + + + + + + +
getData('Range_make')?>
getData('Range_name')?>
getData('Range_make')?>
getData('Range_name')?>
+ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +
getData('Law_leyends')?>
getData('Alliance_dissolve')?>
getData('Expel_users')?>
getData('See_the_requests')?>
getData('See_the_list_members')?>
getData('Check_the_requests')?>
getData('Alliance_admin')?>
getData('See_the_online_list_member')?>
getData('Make_a_circular_message')?>
getData('Left_hand_text')?>
getData('Return_to_overview')?>
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
getData('Law_leyends')?>
getData('Alliance_dissolve')?>
getData('Expel_users')?>
getData('See_the_requests')?>
getData('See_the_list_members')?>
getData('Check_the_requests')?>
getData('Alliance_admin')?>
getData('See_the_online_list_member')?>
getData('Make_a_circular_message')?>
getData('Left_hand_text')?>
getData('Return_to_overview')?>
- - \ No newline at end of file diff --git a/application/design/base/default/scripts/deprecated/alliance_admin_laws_head.tpl b/application/design/base/default/scripts/deprecated/alliance_admin_laws_head.tpl index 131303d..9afc37c 100644 --- a/application/design/base/default/scripts/deprecated/alliance_admin_laws_head.tpl +++ b/application/design/base/default/scripts/deprecated/alliance_admin_laws_head.tpl @@ -3,13 +3,13 @@ getData('Range_name')?> - - - - - - - - - + + + + + + + + + diff --git a/application/design/base/default/scripts/deprecated/alliance_admin_laws_row.tpl b/application/design/base/default/scripts/deprecated/alliance_admin_laws_row.tpl index 014a5c6..781b665 100644 --- a/application/design/base/default/scripts/deprecated/alliance_admin_laws_row.tpl +++ b/application/design/base/default/scripts/deprecated/alliance_admin_laws_row.tpl @@ -1,16 +1,21 @@ -
- - getData('delete')?> -  getData('r0')?>  - - getData('r1')?> - getData('r2')?> - getData('r3')?> - getData('r4')?> - getData('r5')?> - getData('r6')?> - getData('r7')?> - getData('r8')?> - getData('r9')?> - - \ No newline at end of file + + + getData('a') > 0):?> + + <?php echo $this->__('Remove rank')?> + + + + + getData('r0')?> + getData('r1')?> + getData('r2')?> + getData('r3')?> + getData('r4')?> + getData('r5')?> + getData('r6')?> + getData('r7')?> + getData('r8')?> + getData('r9')?> + + \ No newline at end of file diff --git a/application/design/install/default/layouts/install.php b/application/design/install/default/layouts/install.php index 68db3c0..14676bb 100644 --- a/application/design/install/default/layouts/install.php +++ b/application/design/install/default/layouts/install.php @@ -80,5 +80,80 @@ ) ) ) + ), + + 'install.step.database' => array( + 'update' => 'install', + 'reference' => array( + 'content' => array( + 'children' => array( + 'overview' => array( + 'type' => 'core/template', + 'template' => 'step/database.phtml' + ), + ) + ), + 'status' => array( + 'actions' => array( + array( + 'method' => 'setData', + 'params' => array( + 'key' => 'step', + 'value' => 'database' + ) + ) + ) + ) + ) + ), + + 'install.step.universe' => array( + 'update' => 'install', + 'reference' => array( + 'content' => array( + 'children' => array( + 'overview' => array( + 'type' => 'core/template', + 'template' => 'step/universe.phtml' + ), + ) + ), + 'status' => array( + 'actions' => array( + array( + 'method' => 'setData', + 'params' => array( + 'key' => 'step', + 'value' => 'universe' + ) + ) + ) + ) + ) + ), + + 'install.step.profile' => array( + 'update' => 'install', + 'reference' => array( + 'content' => array( + 'children' => array( + 'overview' => array( + 'type' => 'core/template', + 'template' => 'step/profile.phtml' + ), + ) + ), + 'status' => array( + 'actions' => array( + array( + 'method' => 'setData', + 'params' => array( + 'key' => 'step', + 'value' => 'profile' + ) + ) + ) + ) + ) ) ); diff --git a/application/design/install/default/scripts/step/system.phtml b/application/design/install/default/scripts/step/system.phtml index a599a81..eb1371a 100644 --- a/application/design/install/default/scripts/step/system.phtml +++ b/application/design/install/default/scripts/step/system.phtml @@ -4,10 +4,474 @@

__('System Config')?>

getLayout()->getMessagesblock()->renderGroupedHtml()?>
+

+

+ + +

\ No newline at end of file diff --git a/config.php.default b/config.php.default index 8f80dd0..3495cc8 100644 --- a/config.php.default +++ b/config.php.default @@ -11,14 +11,27 @@ 'timezone' => 'Europe/Paris' ), 'database' => array( - 'engine' => 'mysql', - 'options' => array( - 'hostname' => 'localhost', - 'username' => 'root', - 'password' => '', - 'database' => 'db_xnova' + 'default' => array( + 'engine' => 'mysql', + 'options' => array( + ), + 'params' => array( + 'hostname' => 'localhost', + 'username' => 'root', + 'password' => '', + 'database' => 'db_wootook' + ), + 'table_prefix' => 'wtk_', + ), + 'core_setup' => array( + 'use' => 'default' + ), + 'core_read' => array( + 'use' => 'default' + ), + 'core_write' => array( + 'use' => 'default' ), - 'table_prefix' => 'game_', ), 'layout' => array( 'page' => 'page.php', @@ -30,6 +43,9 @@ 'fr_FR' => 'fr_FR', 'en' => 'en_US', 'en_US' => 'en_US' + 'es' => 'es_SP', + 'es_SP' => 'es_SP', + 'es_AR' => 'es_AR' ) ) ); \ No newline at end of file diff --git a/includes/constants.php b/includes/constants.php index fd49aa4..4e3ac62 100644 --- a/includes/constants.php +++ b/includes/constants.php @@ -30,12 +30,14 @@ defined('E_USER_DEPRECATED') || define('E_USER_DEPRECATED', E_USER_WARNING); // Defined in PHP 5.3 core -define('ADMINEMAIL', "moderation@wootook.org"); +define('ADMINEMAIL', "no-reply@wootook.org"); // Definition du monde connu ! -define('MAX_GALAXY_IN_WORLD', 3); -define('MAX_SYSTEM_IN_GALAXY', 100); -define('MAX_PLANET_IN_SYSTEM', 50); +defined('MAX_GALAXY_IN_WORLD') || define('MAX_GALAXY_IN_WORLD', Wootook::getConfig('default/engine/universe/galaxies')); +defined('MAX_SYSTEM_IN_GALAXY') || define('MAX_SYSTEM_IN_GALAXY', Wootook::getConfig('default/engine/universe/systems')); +defined('MAX_PLANET_IN_SYSTEM') || define('MAX_PLANET_IN_SYSTEM', Wootook::getConfig('default/engine/universe/positions')); + +defined('BCNUMBERS') || define('BCNUMBERS', Wootook::getConfig('default/engine/core/use_large_numbers')); /** * User level constants @@ -49,7 +51,7 @@ define('LEVEL_PLAYER', 0); * }}} */ -define('ALLOW_SPY_DRONE_ATTACKS', true); +define('ALLOW_SPY_DRONE_ATTACKS', Wootook::getConfig('default/engine/combat/allow_spy_drone_attacks')); // Nombre de colones pour les rapports d'espionnage define('SPY_REPORT_ROW', 2); diff --git a/includes/functions/MissionCaseAttack.php b/includes/functions/MissionCaseAttack.php index d58dff9..172e914 100644 --- a/includes/functions/MissionCaseAttack.php +++ b/includes/functions/MissionCaseAttack.php @@ -40,425 +40,412 @@ function MissionCaseAttack($FleetRow) $resource = Wootook_Empire_Model_Game_FieldsAlias::getSingleton(); $CombatCaps = Wootook_Empire_Model_Game_Combat::getSingleton(); - if ($FleetRow['fleet_start_time'] <= time()) { - if ($FleetRow['fleet_mess'] == 0) { - if (!isset($CombatCaps[Legacies_Empire::ID_SHIP_LIGHT_TRANSPORT]['sd'])) { - message("" . $lang['sys_no_vars'] . "", $lang['sys_error'], "fleet.php", 2); - } + if ($FleetRow['fleet_mess'] == 0 && $FleetRow['fleet_start_time'] <= time()) { + // refactored parts // {{{ - $planetCollection = new Wootook_Core_Collection(array('planet' => 'planets'), 'Wootook_Empire_Model_Planet'); - $planetCollection - ->where('galaxy=:galaxy') - ->where('system=:system') - ->where('planet=:planet') - ->where('planet_type=:type') - ->limit(1) - ->load(array( - 'galaxy' => $FleetRow['fleet_end_galaxy'], - 'system' => $FleetRow['fleet_end_system'], - 'planet' => $FleetRow['fleet_end_planet'], - 'type' => $FleetRow['fleet_end_type'] - )) - ; - $TargetPlanet = $planetCollection->current(); + $targetPlanet = Wootook_Empire_Model_Planet::factoryFromCoords(array( + 'galaxy' => $FleetRow['fleet_end_galaxy'], + 'system' => $FleetRow['fleet_end_system'], + 'planet' => $FleetRow['fleet_end_planet'], + 'type' => $FleetRow['fleet_end_type'] + )); - /* - * Update planet resources and constructions - */ - Wootook::dispatchEvent('planet.update', array( - 'planet' => $TargetPlanet - )); - $TargetPlanet->save(); + /* + * Update planet resources and constructions + */ + Wootook::dispatchEvent('planet.update', array( + 'planet' => $targetPlanet + )); + $targetPlanet->save(); - $TargetUser = $TargetPlanet->getUser(); - $CurrentUser = Wootook_Empire_Model_User::factory($FleetRow['fleet_owner']); + $TargetUser = $targetPlanet->getUser(); + $CurrentUser = Wootook_Empire_Model_User::factory($FleetRow['fleet_owner']); - $TargetUserID = $TargetUser->getId(); - $CurrentUserID = $CurrentUser->getId(); + $TargetUserID = $TargetUser->getId(); + $CurrentUserID = $CurrentUser->getId(); - $TargetTechno = array( - 'military_tech' => $TargetUser->getData('military_tech'), - 'defence_tech' => $TargetUser->getData('defence_tech'), - 'shield_tech' => $TargetUser->getData('shield_tech') - ); + $TargetTechno = array( + 'military_tech' => $TargetUser->getData('military_tech'), + 'defence_tech' => $TargetUser->getData('defence_tech'), + 'shield_tech' => $TargetUser->getData('shield_tech') + ); - $CurrentTechno = array( - 'military_tech' => $CurrentUser->getData('military_tech'), - 'defence_tech' => $CurrentUser->getData('defence_tech'), - 'shield_tech' => $CurrentUser->getData('shield_tech') - ); + $CurrentTechno = array( + 'military_tech' => $CurrentUser->getData('military_tech'), + 'defence_tech' => $CurrentUser->getData('defence_tech'), + 'shield_tech' => $CurrentUser->getData('shield_tech') + ); // }}} - for ($SetItem = 200; $SetItem < 500; $SetItem++) { - if ($TargetPlanet[$resource[$SetItem]] > 0) { - $TargetSet[$SetItem]['count'] = $TargetPlanet[$resource[$SetItem]]; + for ($SetItem = 200; $SetItem < 500; $SetItem++) { + if ($targetPlanet[$resource[$SetItem]] > 0) { + $TargetSet[$SetItem]['count'] = $targetPlanet[$resource[$SetItem]]; + } + } + + $TheFleet = explode(";", $FleetRow['fleet_array']); + foreach($TheFleet as $a => $b) { + if ($b != '') { + $a = explode(",", $b); + $CurrentSet[$a[0]]['count'] = $a[1]; + } + } + + include_once($xnova_root_path . 'includes/ataki.' . PHPEXT); + // Calcul de la duree de traitement (initialisation) + $mtime = microtime(); + $mtime = explode(" ", $mtime); + $mtime = $mtime[1] + $mtime[0]; + $starttime = $mtime; + + $walka = walka($CurrentSet, $TargetSet, $CurrentTechno, $TargetTechno); + // Calcul de la duree de traitement (calcul) + $mtime = microtime(); + $mtime = explode(" ", $mtime); + $mtime = $mtime[1] + $mtime[0]; + $endtime = $mtime; + $totaltime = ($endtime - $starttime); + // Ce qu'il reste de l'attaquant + $CurrentSet = $walka["atakujacy"]; + // Ce qu'il reste de l'attaqué + $TargetSet = $walka["wrog"]; + // Le resultat de la bataille + $FleetResult = $walka["wygrana"]; + // Rapport long (rapport de bataille detaillé) + $dane_do_rw = $walka["dane_do_rw"]; + // Rapport court (cdr + unitées perdues) + $zlom = $walka["zlom"]; + + $FleetArray = ""; + $FleetAmount = 0; + $FleetStorage = 0; + foreach ($CurrentSet as $Ship => $Count) { + $FleetStorage += $pricelist[$Ship]["capacity"] * $Count['count']; + $FleetArray .= $Ship . "," . $Count['count'] . ";"; + $FleetAmount += $Count['count']; + } + // Au cas ou le p'tit rigolo qu'a envoyé la flotte y avait mis des ressources ... + $FleetStorage -= $FleetRow["fleet_resource_metal"]; + $FleetStorage -= $FleetRow["fleet_resource_crystal"]; + $FleetStorage -= $FleetRow["fleet_resource_deuterium"]; + + $targetPlanetUpd = ""; + if (!is_null($TargetSet)) { + foreach($TargetSet as $Ship => $Count) { + $targetPlanetUpd .= "`" . $resource[$Ship] . "` = '" . $Count['count'] . "', "; + } + } + // Determination des ressources pillées + $Mining['metal'] = 0; + $Mining['crystal'] = 0; + $Mining['deuter'] = 0; + if ($FleetResult == "a") { + if ($FleetStorage > 0) { + $metal = $targetPlanet['metal'] / 2; + $crystal = $targetPlanet['crystal'] / 2; + $deuter = $targetPlanet["deuterium"] / 2; + if (($metal) > $FleetStorage / 3) { + $Mining['metal'] = $FleetStorage / 3; + $FleetStorage = $FleetStorage - $Mining['metal']; + } else { + $Mining['metal'] = $metal; + $FleetStorage = $FleetStorage - $Mining['metal']; + } + + if (($crystal) > $FleetStorage / 2) { + $Mining['crystal'] = $FleetStorage / 2; + $FleetStorage = $FleetStorage - $Mining['crystal']; + } else { + $Mining['crystal'] = $crystal; + $FleetStorage = $FleetStorage - $Mining['crystal']; + } + + if (($deuter) > $FleetStorage) { + $Mining['deuter'] = $FleetStorage; + $FleetStorage = $FleetStorage - $Mining['deuter']; + } else { + $Mining['deuter'] = $deuter; + $FleetStorage = $FleetStorage - $Mining['deuter']; } } + } + $Mining['metal'] = round($Mining['metal']); + $Mining['crystal'] = round($Mining['crystal']); + $Mining['deuter'] = round($Mining['deuter']); + // Mise a jour de l'enregistrement de la planete attaquée + $QryUpdateTarget = "UPDATE {{table}} SET "; + $QryUpdateTarget .= $targetPlanetUpd; + $QryUpdateTarget .= "`metal` = `metal` - '" . $Mining['metal'] . "', "; + $QryUpdateTarget .= "`crystal` = `crystal` - '" . $Mining['crystal'] . "', "; + $QryUpdateTarget .= "`deuterium` = `deuterium` - '" . $Mining['deuter'] . "' "; + $QryUpdateTarget .= "WHERE "; + $QryUpdateTarget .= "`galaxy` = '" . $FleetRow['fleet_end_galaxy'] . "' AND "; + $QryUpdateTarget .= "`system` = '" . $FleetRow['fleet_end_system'] . "' AND "; + $QryUpdateTarget .= "`planet` = '" . $FleetRow['fleet_end_planet'] . "' AND "; + $QryUpdateTarget .= "`planet_type` = '" . $FleetRow['fleet_end_type'] . "' "; + $QryUpdateTarget .= "LIMIT 1;"; + doquery($QryUpdateTarget , 'planets'); + // Mise a jour du champ de ruine devant la planete attaquée + $QryUpdateGalaxy = "UPDATE {{table}} SET "; + $QryUpdateGalaxy .= "`metal` = `metal` + '" . $zlom['metal'] . "', "; + $QryUpdateGalaxy .= "`crystal` = `crystal` + '" . $zlom['crystal'] . "' "; + $QryUpdateGalaxy .= "WHERE "; + $QryUpdateGalaxy .= "`galaxy` = '" . $FleetRow['fleet_end_galaxy'] . "' AND "; + $QryUpdateGalaxy .= "`system` = '" . $FleetRow['fleet_end_system'] . "' AND "; + $QryUpdateGalaxy .= "`planet` = '" . $FleetRow['fleet_end_planet'] . "' "; + $QryUpdateGalaxy .= "LIMIT 1;"; + doquery($QryUpdateGalaxy , 'galaxy'); + // Là on va discuter le bout de gras pour voir s'il y a moyen d'avoir une Lune ! + $FleetDebris = $zlom['metal'] + $zlom['crystal']; + $StrAttackerUnits = sprintf ($lang['sys_attacker_lostunits'], pretty_number ($zlom["atakujacy"])); + $StrDefenderUnits = sprintf ($lang['sys_defender_lostunits'], pretty_number ($zlom["wrog"])); + $StrRuins = sprintf ($lang['sys_gcdrunits'], pretty_number ($zlom["metal"]), $lang['Metal'], pretty_number ($zlom['crystal']), $lang['Crystal']); + $DebrisField = $StrAttackerUnits . "
" . $StrDefenderUnits . "
" . $StrRuins; + $MoonChance = $FleetDebris / 100000; + if ($FleetDebris > 2000000) { + $MoonChance = 20; + } + if ($FleetDebris < 100000) { + $UserChance = 0; + $ChanceMoon = ""; + } elseif ($FleetDebris >= 100000) { + $UserChance = mt_rand(1, 100); + $ChanceMoon = sprintf ($lang['sys_moonproba'], $MoonChance); + } - $TheFleet = explode(";", $FleetRow['fleet_array']); - foreach($TheFleet as $a => $b) { + if (($UserChance > 0) and ($UserChance <= $MoonChance) and $galenemyrow['id_luna'] == 0) { + $targetPlanetName = CreateOneMoonRecord ($FleetRow['fleet_end_galaxy'], $FleetRow['fleet_end_system'], $FleetRow['fleet_end_planet'], $TargetUserID, $FleetRow['fleet_start_time'], '', $MoonChance); + $GottenMoon = sprintf ($lang['sys_moonbuilt'], $targetPlanetName, $FleetRow['fleet_end_galaxy'], $FleetRow['fleet_end_system'], $FleetRow['fleet_end_planet']); + } elseif ($UserChance = 0 or $UserChance > $MoonChance) { + $GottenMoon = ""; + } + + $AttackDate = date("r", $FleetRow["fleet_start_time"]); + $title = sprintf ($lang['sys_attack_title'], $AttackDate); + $raport = "
" . $title . "
"; + $zniszczony = false; + $a_zestrzelona = 0; + $AttackTechon['A'] = $CurrentTechno["military_tech"] * 10; + $AttackTechon['B'] = $CurrentTechno["defence_tech"] * 10; + $AttackTechon['C'] = $CurrentTechno["shield_tech"] * 10; + $AttackerData = sprintf ($lang['sys_attack_attacker_pos'], $CurrentUser["username"], $FleetRow['fleet_start_galaxy'], $FleetRow['fleet_start_system'], $FleetRow['fleet_start_planet']); + $AttackerTech = sprintf ($lang['sys_attack_techologies'], $AttackTechon['A'], $AttackTechon['B'], $AttackTechon['C']); + + $DefendTechon['A'] = $TargetTechno["military_tech"] * 10; + $DefendTechon['B'] = $TargetTechno["defence_tech"] * 10; + $DefendTechon['C'] = $TargetTechno["shield_tech"] * 10; + $DefenderData = sprintf ($lang['sys_attack_defender_pos'], $TargetUser["username"], $FleetRow['fleet_end_galaxy'], $FleetRow['fleet_end_system'], $FleetRow['fleet_end_planet']); + $DefenderTech = sprintf ($lang['sys_attack_techologies'], $DefendTechon['A'], $DefendTechon['B'], $DefendTechon['C']); + + foreach ($dane_do_rw as $a => $b) { + $raport .= "

" . $AttackerData . "
" . $AttackerTech . ""; + if ($b["atakujacy"]['count'] > 0) { + $raport1 = ""; + $raport2 = ""; + $raport3 = ""; + $raport4 = ""; + $raport5 = ""; + foreach ($b["atakujacy"] as $Ship => $Data) { + if (is_numeric($Ship)) { + if ($Data['count'] > 0) { + $raport1 .= ""; + $raport2 .= ""; + $raport3 .= ""; + $raport4 .= ""; + $raport5 .= ""; + } + } + } + $raport1 .= ""; + $raport2 .= ""; + $raport3 .= ""; + $raport4 .= ""; + $raport5 .= ""; + $raport .= $raport1 . $raport2 . $raport3 . $raport4 . $raport5; + } else { + if ($a == 2) { + $a_zestrzelona = 1; + } + $zniszczony = true; + $raport .= "
" . $lang['sys_destroyed']; + } + + $raport .= "
" . $lang['sys_ship_type'] . "
" . $lang['sys_ship_count'] . "
" . $lang['sys_ship_weapon'] . "
" . $lang['sys_ship_shield'] . "
" . $lang['sys_ship_armour'] . "" . $lang["tech_rc"][$Ship] . "" . pretty_number ($Data['count']) . "" . pretty_number (round($Data["atak"] / $Data['count'])) . "" . pretty_number (round($Data["tarcza"] / $Data['count'])) . "" . pretty_number (round($Data["obrona"] / $Data['count'])) . "
"; + $raport .= "

" . $DefenderData . "
" . $DefenderTech . ""; + if ($b["wrog"]['count'] > 0) { + $raport1 = ""; + $raport2 = ""; + $raport3 = ""; + $raport4 = ""; + $raport5 = ""; + foreach ($b["wrog"] as $Ship => $Data) { + if (is_numeric($Ship)) { + if ($Data['count'] > 0) { + $raport1 .= ""; + $raport2 .= ""; + $raport3 .= ""; + $raport4 .= ""; + $raport5 .= ""; + } + } + } + $raport1 .= ""; + $raport2 .= ""; + $raport3 .= ""; + $raport4 .= ""; + $raport5 .= ""; + $raport .= $raport1 . $raport2 . $raport3 . $raport4 . $raport5; + } else { + $zniszczony = true; + $raport .= "
" . $lang['sys_destroyed']; + } + $raport .= "
" . $lang['sys_ship_type'] . "
" . $lang['sys_ship_count'] . "
" . $lang['sys_ship_weapon'] . "
" . $lang['sys_ship_shield'] . "
" . $lang['sys_ship_armour'] . "" . $lang["tech_rc"][$Ship] . "" . pretty_number ($Data['count']) . "" . pretty_number (round($Data["atak"] / $Data['count'])) . "" . pretty_number (round($Data["tarcza"] / $Data['count'])) . "" . pretty_number (round($Data["obrona"] / $Data['count'])) . "
"; + + if (($zniszczony == false) and !($a == 8)) { + $AttackWaveStat = sprintf ($lang['sys_attack_attack_wave'], pretty_number (floor($b["atakujacy"]["atak"])), pretty_number (floor($b["wrog"]["tarcza"]))); + $DefendWavaStat = sprintf ($lang['sys_attack_defend_wave'], pretty_number (floor($b["wrog"]["atak"])), pretty_number (floor($b["atakujacy"]["tarcza"]))); + $raport .= "
" . $AttackWaveStat . "
" . $DefendWavaStat . "
"; + } + } + switch ($FleetResult) { + case "a": + $Pillage = sprintf ($lang['sys_stealed_ressources'], pretty_number ($Mining['metal']), $lang['metal'], pretty_number ($Mining['crystal']), $lang['crystal'], pretty_number ($Mining['deuter']), $lang['Deuterium']); + $raport .= $lang['sys_attacker_won'] . "
" . $Pillage . "
"; + $raport .= $DebrisField . "
"; + $raport .= $ChanceMoon . "
"; + $raport .= $GottenMoon . "
"; + break; + case "r": + $raport .= $lang['sys_both_won'] . "
"; + $raport .= $DebrisField . "
"; + $raport .= $ChanceMoon . "
"; + $raport .= $GottenMoon . "
"; + break; + case "w": + $raport .= $lang['sys_defender_won'] . "
"; + $raport .= $DebrisField . "
"; + $raport .= $ChanceMoon . "
"; + $raport .= $GottenMoon . "
"; + doquery("DELETE FROM {{table}} WHERE `fleet_id` = '" . $FleetRow["fleet_id"] . "';", 'fleets'); + break; + default: + break; + } + $SimMessage = sprintf ($lang['sys_rapport_build_time'], $totaltime); + $raport .= $SimMessage . "
"; + + $rid = md5($raport); + $QryInsertRapport = "INSERT INTO {{table}} SET "; + $QryInsertRapport .= "`time` = UNIX_TIMESTAMP(), "; + $QryInsertRapport .= "`id_owner1` = '" . $FleetRow['fleet_owner'] . "', "; + $QryInsertRapport .= "`id_owner2` = '" . $TargetUserID . "', "; + $QryInsertRapport .= "`rid` = '" . $rid . "', "; + $QryInsertRapport .= "`a_zestrzelona` = '" . $a_zestrzelona . "', "; + $QryInsertRapport .= "`raport` = '" . addslashes ($raport) . "';"; + doquery($QryInsertRapport , 'rw'); + // Colorisation du résumé de rapport pour l'attaquant + $raport = ""; + $raport .= "
"; + if ($FleetResult == "a") { + $raport .= ""; + } elseif ($FleetResult == "r") { + $raport .= ""; + } elseif ($FleetResult == "w") { + $raport .= ""; + } + $raport .= $lang['sys_mess_attack_report'] . " [" . $FleetRow['fleet_end_galaxy'] . ":" . $FleetRow['fleet_end_system'] . ":" . $FleetRow['fleet_end_planet'] . "]

"; + $raport .= "" . $lang['sys_perte_attaquant'] . ": " . pretty_number ($zlom["atakujacy"]) . ""; + $raport .= " " . $lang['sys_perte_defenseur'] . ":" . pretty_number ($zlom["wrog"]) . "
" ; + $raport .= $lang['sys_gain'] . " " . $lang['Metal'] . ":" . pretty_number ($Mining['metal']) . " " . $lang['Crystal'] . ":" . pretty_number ($Mining['crystal']) . " " . $lang['Deuterium'] . ":" . pretty_number ($Mining['deuter']) . "
"; + $raport .= $lang['sys_debris'] . " " . $lang['Metal'] . ":" . pretty_number ($zlom['metal']) . " " . $lang['Crystal'] . ":" . pretty_number ($zlom['crystal']) . "
"; + + $Mining['metal'] = $Mining['metal'] + $FleetRow["fleet_resource_metal"]; + $Mining['crystal'] = $Mining['crystal'] + $FleetRow["fleet_resource_crystal"]; + $Mining['deuter'] = $Mining['deuter'] + $FleetRow["fleet_resource_deuterium"]; + + $QryUpdateFleet = "UPDATE {{table}} SET "; + $QryUpdateFleet .= "`fleet_amount` = '" . $FleetAmount . "', "; + $QryUpdateFleet .= "`fleet_array` = '" . $FleetArray . "', "; + $QryUpdateFleet .= "`fleet_mess` = '1', "; + $QryUpdateFleet .= "`fleet_resource_metal` = '" . $Mining['metal'] . "', "; + $QryUpdateFleet .= "`fleet_resource_crystal` = '" . $Mining['crystal'] . "', "; + $QryUpdateFleet .= "`fleet_resource_deuterium` = '" . $Mining['deuter'] . "' "; + $QryUpdateFleet .= "WHERE fleet_id = '" . $FleetRow['fleet_id'] . "' "; + $QryUpdateFleet .= "LIMIT 1 ;"; + doquery($QryUpdateFleet , 'fleets'); + + SendSimpleMessage ($CurrentUserID, '', $FleetRow['fleet_start_time'], 3, $lang['sys_mess_tower'], $lang['sys_mess_attack_report'], $raport); + // Ajout du petit point raideur + $AddPoint = $CurrentUser['xpraid'] + 1; + + $QryUpdateOfficier = "UPDATE {{table}} SET "; + $QryUpdateOfficier .= "`xpraid` = '" . $AddPoint . "' "; + $QryUpdateOfficier .= "WHERE id = '" . $CurrentUserID . "' "; + $QryUpdateOfficier .= "LIMIT 1 ;"; + doquery($QryUpdateOfficier, 'users'); + // Ajout d'un point au compteur de raids + $RaidsTotal = $CurrentUser['raids'] + 1; + if ($FleetResult == "a") { + $RaidsWin = $CurrentUser['raidswin'] + 1; + $QryUpdateRaidsCompteur = "UPDATE {{table}} SET "; + $QryUpdateRaidsCompteur .= "`raidswin` ='" . $RaidsWin . "', "; + $QryUpdateRaidsCompteur .= "`raids` ='" . $RaidsTotal . "' "; + $QryUpdateRaidsCompteur .= "WHERE id = '" . $CurrentUserID . "' "; + $QryUpdateRaidsCompteur .= "LIMIT 1 ;"; + doquery($QryUpdateRaidsCompteur, 'users'); + } elseif ($FleetResult == "r" || $FleetResult == "w") { + $RaidsLoose = $CurrentUser['raidsloose'] + 1; + $QryUpdateRaidsCompteur = "UPDATE {{table}} SET "; + $QryUpdateRaidsCompteur .= "`raidswin` ='" . $RaidsLoose . "', "; + $QryUpdateRaidsCompteur .= "`raids` ='" . $RaidsTotal . "' "; + $QryUpdateRaidsCompteur .= "WHERE id = '" . $CurrentUserID . "' "; + $QryUpdateRaidsCompteur .= "LIMIT 1 ;"; + doquery($QryUpdateRaidsCompteur, 'users'); + } + // Colorisation du résumé de rapport pour l'attaquant + $raport2 = ""; + $raport2 .= "
"; + if ($FleetResult == "a") { + $raport2 .= ""; + } elseif ($FleetResult == "r") { + $raport2 .= ""; + } elseif ($FleetResult == "w") { + $raport2 .= ""; + } + $raport2 .= $lang['sys_mess_attack_report'] . " [" . $FleetRow['fleet_end_galaxy'] . ":" . $FleetRow['fleet_end_system'] . ":" . $FleetRow['fleet_end_planet'] . "]

"; + + SendSimpleMessage ($TargetUserID, '', $FleetRow['fleet_start_time'], 3, $lang['sys_mess_tower'], $lang['sys_mess_attack_report'], $raport2); + } +// Retour de flotte (s'il en reste) + $fquery = ""; + if ($FleetRow['fleet_end_time'] <= time()) { + if (!is_null($CurrentSet)) { + foreach($CurrentSet as $Ship => $Count) { + $fquery .= "`" . $resource[$Ship] . "` = `" . $resource[$Ship] . "` + '" . $Count['count'] . "', "; + } + } else { + $fleet = explode(";", $FleetRow['fleet_array']); + foreach($fleet as $a => $b) { if ($b != '') { $a = explode(",", $b); - $CurrentSet[$a[0]]['count'] = $a[1]; + $fquery .= "{$resource[$a[0]]}={$resource[$a[0]]} + {$a[1]}, \n"; } } - - include_once($xnova_root_path . 'includes/ataki.' . PHPEXT); - // Calcul de la duree de traitement (initialisation) - $mtime = microtime(); - $mtime = explode(" ", $mtime); - $mtime = $mtime[1] + $mtime[0]; - $starttime = $mtime; - - $walka = walka($CurrentSet, $TargetSet, $CurrentTechno, $TargetTechno); - // Calcul de la duree de traitement (calcul) - $mtime = microtime(); - $mtime = explode(" ", $mtime); - $mtime = $mtime[1] + $mtime[0]; - $endtime = $mtime; - $totaltime = ($endtime - $starttime); - // Ce qu'il reste de l'attaquant - $CurrentSet = $walka["atakujacy"]; - // Ce qu'il reste de l'attaqué - $TargetSet = $walka["wrog"]; - // Le resultat de la bataille - $FleetResult = $walka["wygrana"]; - // Rapport long (rapport de bataille detaillé) - $dane_do_rw = $walka["dane_do_rw"]; - // Rapport court (cdr + unitées perdues) - $zlom = $walka["zlom"]; - - $FleetArray = ""; - $FleetAmount = 0; - $FleetStorage = 0; - foreach ($CurrentSet as $Ship => $Count) { - $FleetStorage += $pricelist[$Ship]["capacity"] * $Count['count']; - $FleetArray .= $Ship . "," . $Count['count'] . ";"; - $FleetAmount += $Count['count']; - } - // Au cas ou le p'tit rigolo qu'a envoyé la flotte y avait mis des ressources ... - $FleetStorage -= $FleetRow["fleet_resource_metal"]; - $FleetStorage -= $FleetRow["fleet_resource_crystal"]; - $FleetStorage -= $FleetRow["fleet_resource_deuterium"]; - - $TargetPlanetUpd = ""; - if (!is_null($TargetSet)) { - foreach($TargetSet as $Ship => $Count) { - $TargetPlanetUpd .= "`" . $resource[$Ship] . "` = '" . $Count['count'] . "', "; - } - } - // Determination des ressources pillées - $Mining['metal'] = 0; - $Mining['crystal'] = 0; - $Mining['deuter'] = 0; - if ($FleetResult == "a") { - if ($FleetStorage > 0) { - $metal = $TargetPlanet['metal'] / 2; - $crystal = $TargetPlanet['crystal'] / 2; - $deuter = $TargetPlanet["deuterium"] / 2; - if (($metal) > $FleetStorage / 3) { - $Mining['metal'] = $FleetStorage / 3; - $FleetStorage = $FleetStorage - $Mining['metal']; - } else { - $Mining['metal'] = $metal; - $FleetStorage = $FleetStorage - $Mining['metal']; - } - - if (($crystal) > $FleetStorage / 2) { - $Mining['crystal'] = $FleetStorage / 2; - $FleetStorage = $FleetStorage - $Mining['crystal']; - } else { - $Mining['crystal'] = $crystal; - $FleetStorage = $FleetStorage - $Mining['crystal']; - } - - if (($deuter) > $FleetStorage) { - $Mining['deuter'] = $FleetStorage; - $FleetStorage = $FleetStorage - $Mining['deuter']; - } else { - $Mining['deuter'] = $deuter; - $FleetStorage = $FleetStorage - $Mining['deuter']; - } - } - } - $Mining['metal'] = round($Mining['metal']); - $Mining['crystal'] = round($Mining['crystal']); - $Mining['deuter'] = round($Mining['deuter']); - // Mise a jour de l'enregistrement de la planete attaquée - $QryUpdateTarget = "UPDATE {{table}} SET "; - $QryUpdateTarget .= $TargetPlanetUpd; - $QryUpdateTarget .= "`metal` = `metal` - '" . $Mining['metal'] . "', "; - $QryUpdateTarget .= "`crystal` = `crystal` - '" . $Mining['crystal'] . "', "; - $QryUpdateTarget .= "`deuterium` = `deuterium` - '" . $Mining['deuter'] . "' "; - $QryUpdateTarget .= "WHERE "; - $QryUpdateTarget .= "`galaxy` = '" . $FleetRow['fleet_end_galaxy'] . "' AND "; - $QryUpdateTarget .= "`system` = '" . $FleetRow['fleet_end_system'] . "' AND "; - $QryUpdateTarget .= "`planet` = '" . $FleetRow['fleet_end_planet'] . "' AND "; - $QryUpdateTarget .= "`planet_type` = '" . $FleetRow['fleet_end_type'] . "' "; - $QryUpdateTarget .= "LIMIT 1;"; - doquery($QryUpdateTarget , 'planets'); - // Mise a jour du champ de ruine devant la planete attaquée - $QryUpdateGalaxy = "UPDATE {{table}} SET "; - $QryUpdateGalaxy .= "`metal` = `metal` + '" . $zlom['metal'] . "', "; - $QryUpdateGalaxy .= "`crystal` = `crystal` + '" . $zlom['crystal'] . "' "; - $QryUpdateGalaxy .= "WHERE "; - $QryUpdateGalaxy .= "`galaxy` = '" . $FleetRow['fleet_end_galaxy'] . "' AND "; - $QryUpdateGalaxy .= "`system` = '" . $FleetRow['fleet_end_system'] . "' AND "; - $QryUpdateGalaxy .= "`planet` = '" . $FleetRow['fleet_end_planet'] . "' "; - $QryUpdateGalaxy .= "LIMIT 1;"; - doquery($QryUpdateGalaxy , 'galaxy'); - // Là on va discuter le bout de gras pour voir s'il y a moyen d'avoir une Lune ! - $FleetDebris = $zlom['metal'] + $zlom['crystal']; - $StrAttackerUnits = sprintf ($lang['sys_attacker_lostunits'], pretty_number ($zlom["atakujacy"])); - $StrDefenderUnits = sprintf ($lang['sys_defender_lostunits'], pretty_number ($zlom["wrog"])); - $StrRuins = sprintf ($lang['sys_gcdrunits'], pretty_number ($zlom["metal"]), $lang['Metal'], pretty_number ($zlom['crystal']), $lang['Crystal']); - $DebrisField = $StrAttackerUnits . "
" . $StrDefenderUnits . "
" . $StrRuins; - $MoonChance = $FleetDebris / 100000; - if ($FleetDebris > 2000000) { - $MoonChance = 20; - } - if ($FleetDebris < 100000) { - $UserChance = 0; - $ChanceMoon = ""; - } elseif ($FleetDebris >= 100000) { - $UserChance = mt_rand(1, 100); - $ChanceMoon = sprintf ($lang['sys_moonproba'], $MoonChance); - } - - if (($UserChance > 0) and ($UserChance <= $MoonChance) and $galenemyrow['id_luna'] == 0) { - $TargetPlanetName = CreateOneMoonRecord ($FleetRow['fleet_end_galaxy'], $FleetRow['fleet_end_system'], $FleetRow['fleet_end_planet'], $TargetUserID, $FleetRow['fleet_start_time'], '', $MoonChance); - $GottenMoon = sprintf ($lang['sys_moonbuilt'], $TargetPlanetName, $FleetRow['fleet_end_galaxy'], $FleetRow['fleet_end_system'], $FleetRow['fleet_end_planet']); - } elseif ($UserChance = 0 or $UserChance > $MoonChance) { - $GottenMoon = ""; - } - - $AttackDate = date("r", $FleetRow["fleet_start_time"]); - $title = sprintf ($lang['sys_attack_title'], $AttackDate); - $raport = "
" . $title . "
"; - $zniszczony = false; - $a_zestrzelona = 0; - $AttackTechon['A'] = $CurrentTechno["military_tech"] * 10; - $AttackTechon['B'] = $CurrentTechno["defence_tech"] * 10; - $AttackTechon['C'] = $CurrentTechno["shield_tech"] * 10; - $AttackerData = sprintf ($lang['sys_attack_attacker_pos'], $CurrentUser["username"], $FleetRow['fleet_start_galaxy'], $FleetRow['fleet_start_system'], $FleetRow['fleet_start_planet']); - $AttackerTech = sprintf ($lang['sys_attack_techologies'], $AttackTechon['A'], $AttackTechon['B'], $AttackTechon['C']); - - $DefendTechon['A'] = $TargetTechno["military_tech"] * 10; - $DefendTechon['B'] = $TargetTechno["defence_tech"] * 10; - $DefendTechon['C'] = $TargetTechno["shield_tech"] * 10; - $DefenderData = sprintf ($lang['sys_attack_defender_pos'], $TargetUser["username"], $FleetRow['fleet_end_galaxy'], $FleetRow['fleet_end_system'], $FleetRow['fleet_end_planet']); - $DefenderTech = sprintf ($lang['sys_attack_techologies'], $DefendTechon['A'], $DefendTechon['B'], $DefendTechon['C']); - - foreach ($dane_do_rw as $a => $b) { - $raport .= "

" . $AttackerData . "
" . $AttackerTech . ""; - if ($b["atakujacy"]['count'] > 0) { - $raport1 = ""; - $raport2 = ""; - $raport3 = ""; - $raport4 = ""; - $raport5 = ""; - foreach ($b["atakujacy"] as $Ship => $Data) { - if (is_numeric($Ship)) { - if ($Data['count'] > 0) { - $raport1 .= ""; - $raport2 .= ""; - $raport3 .= ""; - $raport4 .= ""; - $raport5 .= ""; - } - } - } - $raport1 .= ""; - $raport2 .= ""; - $raport3 .= ""; - $raport4 .= ""; - $raport5 .= ""; - $raport .= $raport1 . $raport2 . $raport3 . $raport4 . $raport5; - } else { - if ($a == 2) { - $a_zestrzelona = 1; - } - $zniszczony = true; - $raport .= "
" . $lang['sys_destroyed']; - } - - $raport .= "
" . $lang['sys_ship_type'] . "
" . $lang['sys_ship_count'] . "
" . $lang['sys_ship_weapon'] . "
" . $lang['sys_ship_shield'] . "
" . $lang['sys_ship_armour'] . "" . $lang["tech_rc"][$Ship] . "" . pretty_number ($Data['count']) . "" . pretty_number (round($Data["atak"] / $Data['count'])) . "" . pretty_number (round($Data["tarcza"] / $Data['count'])) . "" . pretty_number (round($Data["obrona"] / $Data['count'])) . "
"; - $raport .= "

" . $DefenderData . "
" . $DefenderTech . ""; - if ($b["wrog"]['count'] > 0) { - $raport1 = ""; - $raport2 = ""; - $raport3 = ""; - $raport4 = ""; - $raport5 = ""; - foreach ($b["wrog"] as $Ship => $Data) { - if (is_numeric($Ship)) { - if ($Data['count'] > 0) { - $raport1 .= ""; - $raport2 .= ""; - $raport3 .= ""; - $raport4 .= ""; - $raport5 .= ""; - } - } - } - $raport1 .= ""; - $raport2 .= ""; - $raport3 .= ""; - $raport4 .= ""; - $raport5 .= ""; - $raport .= $raport1 . $raport2 . $raport3 . $raport4 . $raport5; - } else { - $zniszczony = true; - $raport .= "
" . $lang['sys_destroyed']; - } - $raport .= "
" . $lang['sys_ship_type'] . "
" . $lang['sys_ship_count'] . "
" . $lang['sys_ship_weapon'] . "
" . $lang['sys_ship_shield'] . "
" . $lang['sys_ship_armour'] . "" . $lang["tech_rc"][$Ship] . "" . pretty_number ($Data['count']) . "" . pretty_number (round($Data["atak"] / $Data['count'])) . "" . pretty_number (round($Data["tarcza"] / $Data['count'])) . "" . pretty_number (round($Data["obrona"] / $Data['count'])) . "
"; - - if (($zniszczony == false) and !($a == 8)) { - $AttackWaveStat = sprintf ($lang['sys_attack_attack_wave'], pretty_number (floor($b["atakujacy"]["atak"])), pretty_number (floor($b["wrog"]["tarcza"]))); - $DefendWavaStat = sprintf ($lang['sys_attack_defend_wave'], pretty_number (floor($b["wrog"]["atak"])), pretty_number (floor($b["atakujacy"]["tarcza"]))); - $raport .= "
" . $AttackWaveStat . "
" . $DefendWavaStat . "
"; - } - } - switch ($FleetResult) { - case "a": - $Pillage = sprintf ($lang['sys_stealed_ressources'], pretty_number ($Mining['metal']), $lang['metal'], pretty_number ($Mining['crystal']), $lang['crystal'], pretty_number ($Mining['deuter']), $lang['Deuterium']); - $raport .= $lang['sys_attacker_won'] . "
" . $Pillage . "
"; - $raport .= $DebrisField . "
"; - $raport .= $ChanceMoon . "
"; - $raport .= $GottenMoon . "
"; - break; - case "r": - $raport .= $lang['sys_both_won'] . "
"; - $raport .= $DebrisField . "
"; - $raport .= $ChanceMoon . "
"; - $raport .= $GottenMoon . "
"; - break; - case "w": - $raport .= $lang['sys_defender_won'] . "
"; - $raport .= $DebrisField . "
"; - $raport .= $ChanceMoon . "
"; - $raport .= $GottenMoon . "
"; - doquery("DELETE FROM {{table}} WHERE `fleet_id` = '" . $FleetRow["fleet_id"] . "';", 'fleets'); - break; - default: - break; - } - $SimMessage = sprintf ($lang['sys_rapport_build_time'], $totaltime); - $raport .= $SimMessage . "
"; - - $rid = md5($raport); - $QryInsertRapport = "INSERT INTO {{table}} SET "; - $QryInsertRapport .= "`time` = UNIX_TIMESTAMP(), "; - $QryInsertRapport .= "`id_owner1` = '" . $FleetRow['fleet_owner'] . "', "; - $QryInsertRapport .= "`id_owner2` = '" . $TargetUserID . "', "; - $QryInsertRapport .= "`rid` = '" . $rid . "', "; - $QryInsertRapport .= "`a_zestrzelona` = '" . $a_zestrzelona . "', "; - $QryInsertRapport .= "`raport` = '" . addslashes ($raport) . "';"; - doquery($QryInsertRapport , 'rw'); - // Colorisation du résumé de rapport pour l'attaquant - $raport = ""; - $raport .= "
"; - if ($FleetResult == "a") { - $raport .= ""; - } elseif ($FleetResult == "r") { - $raport .= ""; - } elseif ($FleetResult == "w") { - $raport .= ""; - } - $raport .= $lang['sys_mess_attack_report'] . " [" . $FleetRow['fleet_end_galaxy'] . ":" . $FleetRow['fleet_end_system'] . ":" . $FleetRow['fleet_end_planet'] . "]

"; - $raport .= "" . $lang['sys_perte_attaquant'] . ": " . pretty_number ($zlom["atakujacy"]) . ""; - $raport .= " " . $lang['sys_perte_defenseur'] . ":" . pretty_number ($zlom["wrog"]) . "
" ; - $raport .= $lang['sys_gain'] . " " . $lang['Metal'] . ":" . pretty_number ($Mining['metal']) . " " . $lang['Crystal'] . ":" . pretty_number ($Mining['crystal']) . " " . $lang['Deuterium'] . ":" . pretty_number ($Mining['deuter']) . "
"; - $raport .= $lang['sys_debris'] . " " . $lang['Metal'] . ":" . pretty_number ($zlom['metal']) . " " . $lang['Crystal'] . ":" . pretty_number ($zlom['crystal']) . "
"; - - $Mining['metal'] = $Mining['metal'] + $FleetRow["fleet_resource_metal"]; - $Mining['crystal'] = $Mining['crystal'] + $FleetRow["fleet_resource_crystal"]; - $Mining['deuter'] = $Mining['deuter'] + $FleetRow["fleet_resource_deuterium"]; - - $QryUpdateFleet = "UPDATE {{table}} SET "; - $QryUpdateFleet .= "`fleet_amount` = '" . $FleetAmount . "', "; - $QryUpdateFleet .= "`fleet_array` = '" . $FleetArray . "', "; - $QryUpdateFleet .= "`fleet_mess` = '1', "; - $QryUpdateFleet .= "`fleet_resource_metal` = '" . $Mining['metal'] . "', "; - $QryUpdateFleet .= "`fleet_resource_crystal` = '" . $Mining['crystal'] . "', "; - $QryUpdateFleet .= "`fleet_resource_deuterium` = '" . $Mining['deuter'] . "' "; - $QryUpdateFleet .= "WHERE fleet_id = '" . $FleetRow['fleet_id'] . "' "; - $QryUpdateFleet .= "LIMIT 1 ;"; - doquery($QryUpdateFleet , 'fleets'); - - SendSimpleMessage ($CurrentUserID, '', $FleetRow['fleet_start_time'], 3, $lang['sys_mess_tower'], $lang['sys_mess_attack_report'], $raport); - // Ajout du petit point raideur - $AddPoint = $CurrentUser['xpraid'] + 1; - - $QryUpdateOfficier = "UPDATE {{table}} SET "; - $QryUpdateOfficier .= "`xpraid` = '" . $AddPoint . "' "; - $QryUpdateOfficier .= "WHERE id = '" . $CurrentUserID . "' "; - $QryUpdateOfficier .= "LIMIT 1 ;"; - doquery($QryUpdateOfficier, 'users'); - // Ajout d'un point au compteur de raids - $RaidsTotal = $CurrentUser['raids'] + 1; - if ($FleetResult == "a") { - $RaidsWin = $CurrentUser['raidswin'] + 1; - $QryUpdateRaidsCompteur = "UPDATE {{table}} SET "; - $QryUpdateRaidsCompteur .= "`raidswin` ='" . $RaidsWin . "', "; - $QryUpdateRaidsCompteur .= "`raids` ='" . $RaidsTotal . "' "; - $QryUpdateRaidsCompteur .= "WHERE id = '" . $CurrentUserID . "' "; - $QryUpdateRaidsCompteur .= "LIMIT 1 ;"; - doquery($QryUpdateRaidsCompteur, 'users'); - } elseif ($FleetResult == "r" || $FleetResult == "w") { - $RaidsLoose = $CurrentUser['raidsloose'] + 1; - $QryUpdateRaidsCompteur = "UPDATE {{table}} SET "; - $QryUpdateRaidsCompteur .= "`raidswin` ='" . $RaidsLoose . "', "; - $QryUpdateRaidsCompteur .= "`raids` ='" . $RaidsTotal . "' "; - $QryUpdateRaidsCompteur .= "WHERE id = '" . $CurrentUserID . "' "; - $QryUpdateRaidsCompteur .= "LIMIT 1 ;"; - doquery($QryUpdateRaidsCompteur, 'users'); - } - // Colorisation du résumé de rapport pour l'attaquant - $raport2 = ""; - $raport2 .= "
"; - if ($FleetResult == "a") { - $raport2 .= ""; - } elseif ($FleetResult == "r") { - $raport2 .= ""; - } elseif ($FleetResult == "w") { - $raport2 .= ""; - } - $raport2 .= $lang['sys_mess_attack_report'] . " [" . $FleetRow['fleet_end_galaxy'] . ":" . $FleetRow['fleet_end_system'] . ":" . $FleetRow['fleet_end_planet'] . "]

"; - - SendSimpleMessage ($TargetUserID, '', $FleetRow['fleet_start_time'], 3, $lang['sys_mess_tower'], $lang['sys_mess_attack_report'], $raport2); } - // Retour de flotte (s'il en reste) - $fquery = ""; - if ($FleetRow['fleet_end_time'] <= time()) { - if (!is_null($CurrentSet)) { - foreach($CurrentSet as $Ship => $Count) { - $fquery .= "`" . $resource[$Ship] . "` = `" . $resource[$Ship] . "` + '" . $Count['count'] . "', "; - } - } else { - $fleet = explode(";", $FleetRow['fleet_array']); - foreach($fleet as $a => $b) { - if ($b != '') { - $a = explode(",", $b); - $fquery .= "{$resource[$a[0]]}={$resource[$a[0]]} + {$a[1]}, \n"; - } - } - } - doquery ("DELETE FROM {{table}} WHERE `fleet_id` = " . $FleetRow["fleet_id"], 'fleets'); - if (!($FleetResult == "w")) { - $QryUpdatePlanet = "UPDATE {{table}} SET "; - $QryUpdatePlanet .= $fquery; - $QryUpdatePlanet .= "`metal` = `metal` + " . $FleetRow['fleet_resource_metal'] . ", "; - $QryUpdatePlanet .= "`crystal` = `crystal` + " . $FleetRow['fleet_resource_crystal'] . ", "; - $QryUpdatePlanet .= "`deuterium` = `deuterium` + " . $FleetRow['fleet_resource_deuterium'] . " "; - $QryUpdatePlanet .= "WHERE "; - $QryUpdatePlanet .= "`galaxy` = " . $FleetRow['fleet_start_galaxy'] . " AND "; - $QryUpdatePlanet .= "`system` = " . $FleetRow['fleet_start_system'] . " AND "; - $QryUpdatePlanet .= "`planet` = " . $FleetRow['fleet_start_planet'] . " AND "; - $QryUpdatePlanet .= "`planet_type` = " . $FleetRow['fleet_start_type'] . " LIMIT 1 ;"; - doquery($QryUpdatePlanet, 'planets'); - } + doquery ("DELETE FROM {{table}} WHERE `fleet_id` = " . $FleetRow["fleet_id"], 'fleets'); + if (!($FleetResult == "w")) { + $QryUpdatePlanet = "UPDATE {{table}} SET "; + $QryUpdatePlanet .= $fquery; + $QryUpdatePlanet .= "`metal` = `metal` + " . $FleetRow['fleet_resource_metal'] . ", "; + $QryUpdatePlanet .= "`crystal` = `crystal` + " . $FleetRow['fleet_resource_crystal'] . ", "; + $QryUpdatePlanet .= "`deuterium` = `deuterium` + " . $FleetRow['fleet_resource_deuterium'] . " "; + $QryUpdatePlanet .= "WHERE "; + $QryUpdatePlanet .= "`galaxy` = " . $FleetRow['fleet_start_galaxy'] . " AND "; + $QryUpdatePlanet .= "`system` = " . $FleetRow['fleet_start_system'] . " AND "; + $QryUpdatePlanet .= "`planet` = " . $FleetRow['fleet_start_planet'] . " AND "; + $QryUpdatePlanet .= "`planet_type` = " . $FleetRow['fleet_start_type'] . " LIMIT 1 ;"; + doquery($QryUpdatePlanet, 'planets'); } } } diff --git a/install/index.php b/install/index.php index 5f58b4a..28c74d5 100644 --- a/install/index.php +++ b/install/index.php @@ -34,8 +34,8 @@ define('IN_INSTALL', true); define('STEP_SYSTEM', 1); define('STEP_DATABASE', 2); -define('STEP_PROFILE', 3); -define('STEP_UNIVERSE', 4); +define('STEP_UNIVERSE', 3); +define('STEP_PROFILE', 4); define('STEP_CONFIG', 5); require_once dirname(dirname(__FILE__)) .'/application/bootstrap.php'; @@ -80,8 +80,7 @@ case 'intro': break; case 'install': - $session->addError('Test %s', 'Hello world!'); - if ($step != $session->getData('step')) { + if ($step > $session->getData('step')) { $session->setData('step', 0); $response->setRedirect("?mode=intro", Wootook_Core_Controller_Response_Http::REDIRECT_TEMPORARY); $response->sendHeaders(); @@ -92,26 +91,52 @@ case 'install': case STEP_SYSTEM: if ($request->isPost()) { $form = new Wootook_Core_Form($session, array( - 'url_path' => 'text' + 'url_path' => 'text', + 'timezone' => 'text' )); - $form->addField('url_path'); $form->setRequest($request); $form->populate(); if (!$form->validate()) { - $session->setData('step', $step); + $session->setData('step', STEP_SYSTEM); $session->setFormData($form->getData()); - var_dump($session); - $response->setRedirect("?mode=install&step={$step}"); + $response->setRedirect(Wootook::getUrl('install/index.php', array('mode' => 'install', 'step' => STEP_SYSTEM))); $response->sendHeaders(); exit(0); } $layout->getMessagesblock()->prepareMessages('install'); - $session->setBaseUrl($request->getPost('url_path')); - $session->setStep(STEP_DATABASE); - $response->setRedirect("?mode=install&step={$nextStep}"); + $config = array( + 'global' => array( + 'storyline' => array( + 'universe' => 'legacies', + 'episode' => 'default', + ), + 'web' => array( + 'base_url' => $request->getPost('url_path') + ), + 'date' => array( + 'timezone' => $request->getPost('timezone') + ), + 'layout' => array( + 'page' => 'page.php', + 'admin' => 'admin.php', + 'empire' => 'empire.php' + ), + 'locales' => array( + 'fr' => 'fr_FR', + 'fr_FR' => 'fr_FR', + 'en' => 'en_US', + 'en_US' => 'en_US' + ) + ), + ); + + Wootook::writeConfig($config); + + $session->setData('step', STEP_DATABASE); + $response->setRedirect(Wootook::getUrl('install/index.php', array('mode' => 'install', 'step' => STEP_DATABASE))); $response->sendHeaders(); exit(0); } @@ -133,43 +158,209 @@ case 'install': $form->populate(); if (!$form->validate()) { - $session->setData('step', $step); - $session->setFormData($request->getPost()); - $response->setRedirect("?mode=install&step={$step}"); + $session->setData('step', STEP_DATABASE); + $session->setFormData($request->getData()); + $response->setRedirect(Wootook::getUrl('install/index.php', array('mode' => 'install', 'step' => STEP_DATABASE))); $response->sendHeaders(); exit(0); } + if ($request->getPost('test')) { + $data = array( + 'status' => 'pending', + 'message' => '' + ); + + try { + $hostname = $request->getPost('host'); + $username = $request->getPost('user'); + $password = $request->getPost('password'); + $database = $request->getPost('dbname'); + $port = $request->getPost('port'); + + $connection = new Wootook_Database("mysql:dbname={$database};host={$hostname};port={$port}", $username, $password); + $data['status'] = 'success'; + } catch (PDOException $e) { + $data['status'] = 'error'; + $data['message'] = $e->getMessage(); + } + + Wootook_Core_ErrorProfiler::unregister(true); + $response->setHeader('Content-Type', 'application/json'); + $response->setBody(json_encode($data)); + + $response->sendHeaders(); + echo $response->sendBody(); + exit(0); + } + $layout->getMessagesblock()->prepareMessages('install'); - $session->setStep(STEP_PROFILE); - $response->setRedirect("?mode=install&step={$nextStep}"); + + $config = Wootook::getConfig(); + $config['database'] = array( + 'core_setup' => array( + 'engine' => 'mysql', + 'options' => array( + ), + 'params' => array( + 'hostname' => $request->getPost('host'), + 'username' => $request->getPost('user'), + 'password' => $request->getPost('password'), + 'database' => $request->getPost('dbname'), + 'port' => $request->getPost('port') + ), + 'table_prefix' => $request->getPost('prefix'), + ), + 'core_read' => array( + 'engine' => 'mysql', + 'options' => array( + ), + 'params' => array( + 'hostname' => $request->getPost('host'), + 'username' => $request->getPost('user'), + 'password' => $request->getPost('password'), + 'database' => $request->getPost('dbname'), + 'port' => $request->getPost('port') + ), + 'table_prefix' => $request->getPost('prefix'), + ), + 'core_write' => array( + 'engine' => 'mysql', + 'options' => array( + ), + 'params' => array( + 'hostname' => $request->getPost('host'), + 'username' => $request->getPost('user'), + 'password' => $request->getPost('password'), + 'database' => $request->getPost('dbname'), + 'port' => $request->getPost('port') + ), + 'table_prefix' => $request->getPost('prefix'), + ), + ); + + Wootook::writeConfig($config); + + $session->setData('step', STEP_UNIVERSE); + $response->setRedirect(Wootook::getUrl('install/index.php', array('mode' => 'install', 'step' => STEP_UNIVERSE))); $response->sendHeaders(); exit(0); } - $layout->load('install.database'); - break; - - case STEP_PROFILE: - if (empty($_POST)) { - $session->setData('step', $step); - $response->setRedirect("?mode=install&step={$nextStep}"); - $response->sendHeaders(); - exit(0); - } - - $layout->load('install.profile'); + $layout->load('install.step.database'); break; case STEP_UNIVERSE: - if (empty($_POST)) { - $session->setData('step', $step); - $response->setRedirect("?mode=install&step={$nextStep}"); + if ($request->isPost()) { + $form = new Wootook_Core_Form($session, array( + 'galaxies' => 'text', + 'systems' => 'text', + 'positions' => 'text', + + 'allow_spy_drone_attacks' => 'text', + 'use_large_numbers' => 'text' + )); + $form->setRequest($request); + $form->populate(); + + if (!$form->validate()) { + $session->setData('step', STEP_UNIVERSE); + $session->setFormData($request->getData()); + $response->setRedirect(Wootook::getUrl('install/index.php', array('mode' => 'install', 'step' => STEP_PROFILE))); + $response->sendHeaders(); + exit(0); + } + + $config = Wootook::getConfig(); + $config['default'] = array( + 'engine' => array( + 'core' => array( + 'use_large_numbers' => (bool) $request->getPost('use_large_numbers') + ), + 'universe' => array( + 'galaxies' => $request->getPost('galaxies'), + 'systems' => $request->getPost('systems'), + 'positions' => $request->getPost('positions') + ), + 'combat' => array( + 'allow_spy_drone_attacks' => (bool) $request->getPost('allow_spy_drone_attacks') + ) + ), + ); + + Wootook::writeConfig($config); + + $scriptPath = APPLICATION_PATH . 'code' . DIRECTORY_SEPARATOR . 'core' + . 'Wootook' . DIRECTORY_SEPARATOR . 'Core' . DIRECTORY_SEPARATOR + . 'install' . DIRECTORY_SEPARATOR . 'mysql5'; + $queue = new Wootook_Core_Setup_Model_Updater_ScriptQueue($scriptPath); + + try { + $updater = new Wootook_Core_Setup_Model_Updater(); + foreach ($queue as $installScript) { + $updater->run($installScript); + } + } catch (Exception $e) { + $session->addSuccess(Wootook::__('An error occured durong game data initialization.')); + $session->setData('step', STEP_SYSTEM); + $response->setRedirect(Wootook::getUrl('install/index.php', array('mode' => 'install', 'step' => STEP_SYSTEM))); + $response->sendHeaders(); + exit(0); + } + + $session->addSuccess(Wootook::__('Game data successfully initialized.')); + } + + $layout->load('install.step.universe'); + break; + + case STEP_PROFILE: + if ($request->isPost()) { + $form = new Wootook_Core_Form($session, array( + 'username' => 'text', + 'email' => 'text', + 'email_confirm' => 'text', + 'password' => 'text', + 'password_confirm' => 'text', + )); + $form->setRequest($request); + $form->populate(); + + if (!$form->validate()) { + $session->setData('step', STEP_PROFILE); + $session->setFormData($request->getData()); + $response->setRedirect(Wootook::getUrl('install/index.php', array('mode' => 'install', 'step' => STEP_PROFILE))); + $response->sendHeaders(); + exit(0); + } + + if ($request->getPost('password') != $request->getPost('password_confirm')) { + $session->setData('step', STEP_PROFILE); + $session->setFormData($request->getData()); + $session->addError(Wootook::__('Passwords does not match.')); + $response->setRedirect(Wootook::getUrl('install/index.php', array('mode' => 'install', 'step' => STEP_PROFILE))); + $response->sendHeaders(); + exit(0); + } + + if ($request->getPost('email') != $request->getPost('email_confirm')) { + $session->setData('step', STEP_PROFILE); + $session->setFormData($request->getData()); + $session->addError(Wootook::__('e-mails does not match.')); + $response->setRedirect(Wootook::getUrl('install/index.php', array('mode' => 'install', 'step' => STEP_PROFILE))); + $response->sendHeaders(); + exit(0); + } + + Wootook_Empire_Model_User::register($request->getPost('username'), $request->getPost('email'), $request->getPost('password')); + + $session->setData('step', STEP_UNIVERSE); + $response->setRedirect(Wootook::getUrl('install/index.php', array('mode' => 'install', 'step' => STEP_UNIVERSE))); $response->sendHeaders(); exit(0); } - $layout->load('install.universe'); + $layout->load('install.step.profile'); break; case STEP_CONFIG: @@ -367,96 +558,10 @@ EOF; $QryAddAdmGlx .= "`id_planet` = '1'; "; doquery($QryAddAdmGlx, 'galaxy'); - doquery("UPDATE {{table}} SET `config_value` = '1' WHERE `config_name` = 'LastSettedGalaxyPos';", 'config'); - doquery("UPDATE {{table}} SET `config_value` = '1' WHERE `config_name` = 'LastSettedSystemPos';", 'config'); - doquery("UPDATE {{table}} SET `config_value` = '1' WHERE `config_name` = 'LastSettedPlanetPos';", 'config'); - doquery("UPDATE {{table}} SET `config_value` = `config_value` + '1' WHERE `config_name` = 'users_amount' LIMIT 1;", 'config'); - $subTpl = gettemplate ('install/ins_acc_done'); - $bloc = $lang; - $bloc['dpath'] = $dpath; - $frame = parsetemplate ( $subTpl, $bloc ); + $frame = parsetemplate ( $subTpl, $lang ); } break; - - case 'goto': - if ($page == 1) { - $subTpl = gettemplate ('install/ins_goto_intro'); - $bloc = $lang; - $bloc['dpath'] = $dpath; - $frame = parsetemplate ( $subTpl, $bloc ); - } elseif ($page == 2) { - if ($_GET['error'] == 1) { - adminMessage ($lang['ins_error1'], $lang['ins_error']); - } - elseif ($_GET['error'] == 2) { - adminMessage ($lang['ins_error2'], $lang['ins_error']); - } - - $subTpl = gettemplate ('install/ins_goto_form'); - $bloc = $lang; - $bloc['dpath'] = $dpath; - $frame = parsetemplate ( $subTpl, $bloc ); - } elseif ($page == 3) { - $host = $_POST['host']; - $user = $_POST['user']; - $pass = $_POST['passwort']; - $prefix = $_POST['prefix']; - $db = $_POST['db']; - - if (!mysql_connect($host, $user, $pass)) { - header("Location: ?mode=goto&page=2&error=1"); - exit(); - } - - if (!mysql_select_db($db)) { - header("Location: ?mode=goto&page=2&error=1"); - exit(); - } - - $dz = fopen("../config.php", "w"); - if (!$dz) { - header("Location: ?mode=ins&page=1&error=2"); - exit(); - } - - $fileData =<< array( - 'database' => array( - 'engine' => 'mysql', - 'options' => array( - 'hostname' => '{$host}', - 'username' => '{$user}', - 'password' => '{$pass}', - 'database' => '{$db}' - ), - 'table_prefix' => '{$prefix}', - ) - ) - ); -EOF; - fwrite($dz, $fileData); - fclose($dz); - - foreach ($QryMigrate as $query) { - doquery($query, $prefix); - } - - $subTpl = gettemplate('install/ins_goto_done'); - $bloc = $lang; - $bloc['dpath'] = $dpath; - $frame = parsetemplate($subTpl, $bloc); - } - break; - - case 'bye': - header("Location: ../"); - break; - - default: - header('Location: ?mode=intro'); - die(); } echo $layout->render(); diff --git a/language/en/admin.mo b/language/en/admin.mo index 7f14b3a..633bed4 100644 --- a/language/en/admin.mo +++ b/language/en/admin.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/admin/Queries.mo b/language/en/admin/Queries.mo index ea66713..bd68d51 100644 --- a/language/en/admin/Queries.mo +++ b/language/en/admin/Queries.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/admin/add_fleet.mo b/language/en/admin/add_fleet.mo index 4f022d8..a51c5d0 100644 --- a/language/en/admin/add_fleet.mo +++ b/language/en/admin/add_fleet.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/admin/addmoon.mo b/language/en/admin/addmoon.mo index 5b72f08..4a532cc 100644 --- a/language/en/admin/addmoon.mo +++ b/language/en/admin/addmoon.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/admin/adminpanel.mo b/language/en/admin/adminpanel.mo index e141fb9..ca99b7b 100644 --- a/language/en/admin/adminpanel.mo +++ b/language/en/admin/adminpanel.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/admin/banned.mo b/language/en/admin/banned.mo index 2b4388c..e8e39c6 100644 --- a/language/en/admin/banned.mo +++ b/language/en/admin/banned.mo @@ -1,4 +1,35 @@ + * Copyright (c) 2011-Present, Wootook Contributors + * All rights reserved. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * --> NOTICE <-- + * This file is part of the core development branch, changing its contents will + * make you unable to use the automatic updates manager. Please refer to the + * documentation for further information about customizing Wootook. + * + */ + + $lang['ip_ban_sys'] = 'IP banning system'; $lang['nr'] = 'Number'; $lang['IP'] = 'IP'; diff --git a/language/en/admin/changepass.mo b/language/en/admin/changepass.mo index e1cb182..6dbdbf7 100644 --- a/language/en/admin/changepass.mo +++ b/language/en/admin/changepass.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/admin/fleets.mo b/language/en/admin/fleets.mo index 9fb91ac..8a56dd7 100644 --- a/language/en/admin/fleets.mo +++ b/language/en/admin/fleets.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/admin/md5enc.mo b/language/en/admin/md5enc.mo index cbc9485..bda2963 100644 --- a/language/en/admin/md5enc.mo +++ b/language/en/admin/md5enc.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/admin/messagelist.mo b/language/en/admin/messagelist.mo index 239a949..7e84df2 100644 --- a/language/en/admin/messagelist.mo +++ b/language/en/admin/messagelist.mo @@ -3,9 +3,10 @@ * This file is part of Wootook * * @license http://www.gnu.org/licenses/gpl-3.0.txt -* @see http://www.wootook.com/ + * @see http://wootook.org/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/admin/multi.mo b/language/en/admin/multi.mo index dfa8bee..c64de64 100644 --- a/language/en/admin/multi.mo +++ b/language/en/admin/multi.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/admin/server.mo b/language/en/admin/server.mo index ee4e5fa..550e7c5 100644 --- a/language/en/admin/server.mo +++ b/language/en/admin/server.mo @@ -1,7 +1,36 @@ - + * Copyright (c) 2011-Present, Wootook Contributors + * All rights reserved. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * --> NOTICE <-- + * This file is part of the core development branch, changing its contents will + * make you unable to use the automatic updates manager. Please refer to the + * documentation for further information about customizing Wootook. + * + */ + $lang['server_information'] = 'Server information'; $lang['serverip'] = 'Server IP address'; $lang['server_software'] ='Server software'; $lang['server_system'] = ' Server operating system'; $lang['php_version'] = 'PHP version'; -?> diff --git a/language/en/admin/settings.mo b/language/en/admin/settings.mo index 644ab03..c18df7b 100644 --- a/language/en/admin/settings.mo +++ b/language/en/admin/settings.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/admin/statconfig.mo b/language/en/admin/statconfig.mo index 3fb2080..6fb9112 100644 --- a/language/en/admin/statconfig.mo +++ b/language/en/admin/statconfig.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/alliance.mo b/language/en/alliance.mo index 3bdc146..92ddbce 100644 --- a/language/en/alliance.mo +++ b/language/en/alliance.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/announce.mo b/language/en/announce.mo index ab1983a..65957fc 100644 --- a/language/en/announce.mo +++ b/language/en/announce.mo @@ -1,4 +1,33 @@ + * Copyright (c) 2011-Present, Wootook Contributors + * All rights reserved. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * --> NOTICE <-- + * This file is part of the core development branch, changing its contents will + * make you unable to use the automatic updates manager. Please refer to the + * documentation for further information about customizing Wootook. + * + */ $lang['add_announce'] = 'Add an trade'; $lang['metal'] = 'Metal'; diff --git a/language/en/banned.mo b/language/en/banned.mo index 58ce54b..1ee7dd1 100644 --- a/language/en/banned.mo +++ b/language/en/banned.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/buddy.mo b/language/en/buddy.mo index 40009ff..1e380c5 100644 --- a/language/en/buddy.mo +++ b/language/en/buddy.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/buildings.mo b/language/en/buildings.mo index d622d95..84740b3 100644 --- a/language/en/buildings.mo +++ b/language/en/buildings.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/changelog.mo b/language/en/changelog.mo index d0a0704..06bc6c0 100644 --- a/language/en/changelog.mo +++ b/language/en/changelog.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/chat.mo b/language/en/chat.mo index b53e3d7..d496a49 100644 --- a/language/en/chat.mo +++ b/language/en/chat.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/contact.mo b/language/en/contact.mo index 66dff24..1508cb2 100644 --- a/language/en/contact.mo +++ b/language/en/contact.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/cookies.mo b/language/en/cookies.mo index 7dd1bd4..3bc88e8 100644 --- a/language/en/cookies.mo +++ b/language/en/cookies.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/credit.mo b/language/en/credit.mo index d451cca..27f5dd7 100644 --- a/language/en/credit.mo +++ b/language/en/credit.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/fleet.mo b/language/en/fleet.mo index fdf06ce..36f84bd 100644 --- a/language/en/fleet.mo +++ b/language/en/fleet.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/galaxy.mo b/language/en/galaxy.mo index 722e9e7..cda2861 100644 --- a/language/en/galaxy.mo +++ b/language/en/galaxy.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/imperium.mo b/language/en/imperium.mo index 8593d23..aa1823e 100644 --- a/language/en/imperium.mo +++ b/language/en/imperium.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/index.mo b/language/en/index.mo index f896e9a..fe00e7f 100644 --- a/language/en/index.mo +++ b/language/en/index.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/infos.mo b/language/en/infos.mo index f2c53b5..600e422 100644 --- a/language/en/infos.mo +++ b/language/en/infos.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/install/install.mo b/language/en/install/install.mo index c1fbdf4..92f647d 100644 --- a/language/en/install/install.mo +++ b/language/en/install/install.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/lang_info.cfg b/language/en/lang_info.cfg index c0a5e13..95101ba 100644 --- a/language/en/lang_info.cfg +++ b/language/en/lang_info.cfg @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/leftmenu.mo b/language/en/leftmenu.mo index 3f4d9b8..8610142 100644 --- a/language/en/leftmenu.mo +++ b/language/en/leftmenu.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/login.mo b/language/en/login.mo index 67bd2df..75bb71f 100644 --- a/language/en/login.mo +++ b/language/en/login.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/logout.mo b/language/en/logout.mo index 8178406..15f4bac 100644 --- a/language/en/logout.mo +++ b/language/en/logout.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/lostpassword.mo b/language/en/lostpassword.mo index d6733b3..399bd29 100644 --- a/language/en/lostpassword.mo +++ b/language/en/lostpassword.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/marchand.mo b/language/en/marchand.mo index 9ba8c83..3cec478 100644 --- a/language/en/marchand.mo +++ b/language/en/marchand.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/messages.mo b/language/en/messages.mo index 6ad2ead..45bf387 100644 --- a/language/en/messages.mo +++ b/language/en/messages.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/news.mo b/language/en/news.mo index 1a28585..806bbaf 100644 --- a/language/en/news.mo +++ b/language/en/news.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/notes.mo b/language/en/notes.mo index fe504dd..e2152f4 100644 --- a/language/en/notes.mo +++ b/language/en/notes.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/officier.mo b/language/en/officier.mo index aae84a9..86ae289 100644 --- a/language/en/officier.mo +++ b/language/en/officier.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/options.mo b/language/en/options.mo index a2204c8..7c408fa 100644 --- a/language/en/options.mo +++ b/language/en/options.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/overview.mo b/language/en/overview.mo index da387df..7187b9b 100644 --- a/language/en/overview.mo +++ b/language/en/overview.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/phalanx.mo b/language/en/phalanx.mo index 4fbb418..16888e4 100644 --- a/language/en/phalanx.mo +++ b/language/en/phalanx.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/player.mo b/language/en/player.mo index 11347cb..d6d07ac 100644 --- a/language/en/player.mo +++ b/language/en/player.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/records.mo b/language/en/records.mo index 3cbcc91..4c6aa33 100644 --- a/language/en/records.mo +++ b/language/en/records.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/reg.mo b/language/en/reg.mo index 85b62ff..0112fba 100644 --- a/language/en/reg.mo +++ b/language/en/reg.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/resources.mo b/language/en/resources.mo index 0a02dca..d52077f 100644 --- a/language/en/resources.mo +++ b/language/en/resources.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/rules.mo b/language/en/rules.mo index 6b333dc..005dfcf 100644 --- a/language/en/rules.mo +++ b/language/en/rules.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/search.mo b/language/en/search.mo index b42dfa1..7964ad4 100644 --- a/language/en/search.mo +++ b/language/en/search.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/stat.mo b/language/en/stat.mo index 9f9af78..d9ccdf2 100644 --- a/language/en/stat.mo +++ b/language/en/stat.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/supp.mo b/language/en/supp.mo index d267938..3ec6ac2 100644 --- a/language/en/supp.mo +++ b/language/en/supp.mo @@ -1,4 +1,34 @@ + * Copyright (c) 2011-Present, Wootook Contributors + * All rights reserved. + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * --> NOTICE <-- + * This file is part of the core development branch, changing its contents will + * make you unable to use the automatic updates manager. Please refer to the + * documentation for further information about customizing Wootook. + * + */ + $lang['supp_header'] = "Suport"; $lang['ticket_id'] = "#Ticket-ID"; $lang['subject'] = "Subject"; @@ -19,4 +49,4 @@ $lang['supp_admin_system'] = "Support System Administration"; $lang['close_ticket'] = "Close Ticket"; $lang['player'] = "Player"; $lang['input_text'] = "Send"; -?> + diff --git a/language/en/system.mo b/language/en/system.mo index 3275b27..e8edaf4 100644 --- a/language/en/system.mo +++ b/language/en/system.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/tech.mo b/language/en/tech.mo index 080236c..935b5bc 100644 --- a/language/en/tech.mo +++ b/language/en/tech.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/en/tradingscrapmetal.mo b/language/en/tradingscrapmetal.mo index 84ced65..d32f733 100644 --- a/language/en/tradingscrapmetal.mo +++ b/language/en/tradingscrapmetal.mo @@ -5,7 +5,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team + * Copyright (c) 2011-Present, Wootook Contributors * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -24,7 +25,7 @@ * --> NOTICE <-- * This file is part of the core development branch, changing its contents will * make you unable to use the automatic updates manager. Please refer to the - * documentation for further information about customizing XNova. + * documentation for further information about customizing Wootook. * */ diff --git a/language/fr/admin.mo b/language/fr/admin.mo index b3ba1e5..6d96510 100644 --- a/language/fr/admin.mo +++ b/language/fr/admin.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/admin/Queries.mo b/language/fr/admin/Queries.mo index c54e083..13facff 100644 --- a/language/fr/admin/Queries.mo +++ b/language/fr/admin/Queries.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/admin/add_fleet.mo b/language/fr/admin/add_fleet.mo index 2b82181..cd4c5b7 100644 --- a/language/fr/admin/add_fleet.mo +++ b/language/fr/admin/add_fleet.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/admin/addmoon.mo b/language/fr/admin/addmoon.mo index 6bfd4ca..9e0b63f 100644 --- a/language/fr/admin/addmoon.mo +++ b/language/fr/admin/addmoon.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/admin/adminpanel.mo b/language/fr/admin/adminpanel.mo index 91b3caf..cde1d23 100644 --- a/language/fr/admin/adminpanel.mo +++ b/language/fr/admin/adminpanel.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/admin/changepass.mo b/language/fr/admin/changepass.mo index 4dfd328..337b709 100644 --- a/language/fr/admin/changepass.mo +++ b/language/fr/admin/changepass.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/admin/fleets.mo b/language/fr/admin/fleets.mo index 1ebd09e..2ab206e 100644 --- a/language/fr/admin/fleets.mo +++ b/language/fr/admin/fleets.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/admin/md5enc.mo b/language/fr/admin/md5enc.mo index 637f1e6..d8f8f63 100644 --- a/language/fr/admin/md5enc.mo +++ b/language/fr/admin/md5enc.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/admin/messagelist.mo b/language/fr/admin/messagelist.mo index 29483b1..396d3a8 100644 --- a/language/fr/admin/messagelist.mo +++ b/language/fr/admin/messagelist.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/admin/multi.mo b/language/fr/admin/multi.mo index 4102e83..01ca35e 100644 --- a/language/fr/admin/multi.mo +++ b/language/fr/admin/multi.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/admin/settings.mo b/language/fr/admin/settings.mo index eb5ec54..3ff2964 100644 --- a/language/fr/admin/settings.mo +++ b/language/fr/admin/settings.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/admin/statconfig.mo b/language/fr/admin/statconfig.mo index 6598c75..a332ec4 100644 --- a/language/fr/admin/statconfig.mo +++ b/language/fr/admin/statconfig.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/alliance.mo b/language/fr/alliance.mo index a8b3ef8..e802d99 100644 --- a/language/fr/alliance.mo +++ b/language/fr/alliance.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/banned.mo b/language/fr/banned.mo index 9f5ec9e..c4a0e72 100644 --- a/language/fr/banned.mo +++ b/language/fr/banned.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/buddy.mo b/language/fr/buddy.mo index 9bd236b..9860969 100644 --- a/language/fr/buddy.mo +++ b/language/fr/buddy.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/buildings.mo b/language/fr/buildings.mo index 4a41f5f..b713ad3 100644 --- a/language/fr/buildings.mo +++ b/language/fr/buildings.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/changelog.mo b/language/fr/changelog.mo index eb05f81..9ffbdbf 100644 --- a/language/fr/changelog.mo +++ b/language/fr/changelog.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/chat.mo b/language/fr/chat.mo index 8390f87..308b4b4 100644 --- a/language/fr/chat.mo +++ b/language/fr/chat.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/contact.mo b/language/fr/contact.mo index 3705124..ba8cb8b 100644 --- a/language/fr/contact.mo +++ b/language/fr/contact.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/cookies.mo b/language/fr/cookies.mo index c6149e5..669bceb 100644 --- a/language/fr/cookies.mo +++ b/language/fr/cookies.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/credit.mo b/language/fr/credit.mo index 243cbff..f9ec103 100644 --- a/language/fr/credit.mo +++ b/language/fr/credit.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/fleet.mo b/language/fr/fleet.mo index d40327f..462a0b1 100644 --- a/language/fr/fleet.mo +++ b/language/fr/fleet.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/galaxy.mo b/language/fr/galaxy.mo index 9de14bb..32b7dab 100644 --- a/language/fr/galaxy.mo +++ b/language/fr/galaxy.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/imperium.mo b/language/fr/imperium.mo index ac47d29..72d8b25 100644 --- a/language/fr/imperium.mo +++ b/language/fr/imperium.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/index.mo b/language/fr/index.mo index 5be13fb..8bff3dc 100644 --- a/language/fr/index.mo +++ b/language/fr/index.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/infos.mo b/language/fr/infos.mo index 9f68143..ef32654 100644 --- a/language/fr/infos.mo +++ b/language/fr/infos.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/install/install.mo b/language/fr/install/install.mo index 2a9c217..7a6818b 100644 --- a/language/fr/install/install.mo +++ b/language/fr/install/install.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/lang_info.cfg b/language/fr/lang_info.cfg index c0a5e13..80425e8 100644 --- a/language/fr/lang_info.cfg +++ b/language/fr/lang_info.cfg @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/leftmenu.mo b/language/fr/leftmenu.mo index 0194cde..14d987c 100644 --- a/language/fr/leftmenu.mo +++ b/language/fr/leftmenu.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/login.mo b/language/fr/login.mo index 741122d..565a56b 100644 --- a/language/fr/login.mo +++ b/language/fr/login.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/logout.mo b/language/fr/logout.mo index e6d6d1d..9aee20d 100644 --- a/language/fr/logout.mo +++ b/language/fr/logout.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/lostpassword.mo b/language/fr/lostpassword.mo index 7df5e78..88e724b 100644 --- a/language/fr/lostpassword.mo +++ b/language/fr/lostpassword.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/marchand.mo b/language/fr/marchand.mo index f73309c..ea6da0b 100644 --- a/language/fr/marchand.mo +++ b/language/fr/marchand.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/messages.mo b/language/fr/messages.mo index 021ab19..848b902 100644 --- a/language/fr/messages.mo +++ b/language/fr/messages.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/news.mo b/language/fr/news.mo index 1a28585..0019baf 100644 --- a/language/fr/news.mo +++ b/language/fr/news.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/notes.mo b/language/fr/notes.mo index 3de865b..ec0c269 100644 --- a/language/fr/notes.mo +++ b/language/fr/notes.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/officier.mo b/language/fr/officier.mo index 49a3fed..28480da 100644 --- a/language/fr/officier.mo +++ b/language/fr/officier.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/options.mo b/language/fr/options.mo index b55c9f3..1b4e0a9 100644 --- a/language/fr/options.mo +++ b/language/fr/options.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/overview.mo b/language/fr/overview.mo index 763ee8d..91460b4 100644 --- a/language/fr/overview.mo +++ b/language/fr/overview.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/phalanx.mo b/language/fr/phalanx.mo index 9f404b7..1a34a2d 100644 --- a/language/fr/phalanx.mo +++ b/language/fr/phalanx.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/player.mo b/language/fr/player.mo index 3fd222e..f2b5bca 100644 --- a/language/fr/player.mo +++ b/language/fr/player.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/records.mo b/language/fr/records.mo index 641a83c..ab5382d 100644 --- a/language/fr/records.mo +++ b/language/fr/records.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/reg.mo b/language/fr/reg.mo index caa39c8..b3a0f95 100644 --- a/language/fr/reg.mo +++ b/language/fr/reg.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/resources.mo b/language/fr/resources.mo index 50447e3..25f6cb8 100644 --- a/language/fr/resources.mo +++ b/language/fr/resources.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/rules.mo b/language/fr/rules.mo index 6b333dc..a200ed4 100644 --- a/language/fr/rules.mo +++ b/language/fr/rules.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/search.mo b/language/fr/search.mo index a2efcd7..3e797c6 100644 --- a/language/fr/search.mo +++ b/language/fr/search.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/stat.mo b/language/fr/stat.mo index 877fd9f..b816934 100644 --- a/language/fr/stat.mo +++ b/language/fr/stat.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/system.mo b/language/fr/system.mo index e0bcc02..fb30282 100644 --- a/language/fr/system.mo +++ b/language/fr/system.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/tech.mo b/language/fr/tech.mo index 479ac0f..926562f 100644 --- a/language/fr/tech.mo +++ b/language/fr/tech.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/fr/tradingscrapmetal.mo b/language/fr/tradingscrapmetal.mo index 3f85d07..2204360 100644 --- a/language/fr/tradingscrapmetal.mo +++ b/language/fr/tradingscrapmetal.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/admin.mo b/language/it/admin.mo index c94e976..191d4aa 100644 --- a/language/it/admin.mo +++ b/language/it/admin.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/admin/Queries.mo b/language/it/admin/Queries.mo index 0779c62..5cd2fc2 100644 --- a/language/it/admin/Queries.mo +++ b/language/it/admin/Queries.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/admin/add_fleet.mo b/language/it/admin/add_fleet.mo index a65bf62..78780fb 100644 --- a/language/it/admin/add_fleet.mo +++ b/language/it/admin/add_fleet.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/admin/addmoon.mo b/language/it/admin/addmoon.mo index 53d10ed..699434d 100644 --- a/language/it/admin/addmoon.mo +++ b/language/it/admin/addmoon.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/admin/adminpanel.mo b/language/it/admin/adminpanel.mo index 8b56cc9..c2ad1e8 100644 --- a/language/it/admin/adminpanel.mo +++ b/language/it/admin/adminpanel.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/admin/changepass.mo b/language/it/admin/changepass.mo index 74e527c..40ecbe4 100644 --- a/language/it/admin/changepass.mo +++ b/language/it/admin/changepass.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/admin/fleets.mo b/language/it/admin/fleets.mo index 3970d0d..c69229d 100644 --- a/language/it/admin/fleets.mo +++ b/language/it/admin/fleets.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/admin/md5enc.mo b/language/it/admin/md5enc.mo index 391af8c..c5c319f 100644 --- a/language/it/admin/md5enc.mo +++ b/language/it/admin/md5enc.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/admin/messagelist.mo b/language/it/admin/messagelist.mo index fa74cc1..101fc17 100644 --- a/language/it/admin/messagelist.mo +++ b/language/it/admin/messagelist.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/admin/multi.mo b/language/it/admin/multi.mo index e12204a..44594e2 100644 --- a/language/it/admin/multi.mo +++ b/language/it/admin/multi.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/admin/settings.mo b/language/it/admin/settings.mo index da53b79..1b23ffe 100644 --- a/language/it/admin/settings.mo +++ b/language/it/admin/settings.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/admin/statconfig.mo b/language/it/admin/statconfig.mo index 283d384..2b56f5c 100644 --- a/language/it/admin/statconfig.mo +++ b/language/it/admin/statconfig.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/alliance.mo b/language/it/alliance.mo index aa81921..b06802e 100644 --- a/language/it/alliance.mo +++ b/language/it/alliance.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/banned.mo b/language/it/banned.mo index 8d488ea..e98ddd9 100644 --- a/language/it/banned.mo +++ b/language/it/banned.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/buddy.mo b/language/it/buddy.mo index a1edba0..263adc9 100644 --- a/language/it/buddy.mo +++ b/language/it/buddy.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/buildings.mo b/language/it/buildings.mo index 983f45b..395c511 100644 --- a/language/it/buildings.mo +++ b/language/it/buildings.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/changelog.mo b/language/it/changelog.mo index 0fc0aa1..30316c7 100644 --- a/language/it/changelog.mo +++ b/language/it/changelog.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/chat.mo b/language/it/chat.mo index 8003f25..34720e0 100644 --- a/language/it/chat.mo +++ b/language/it/chat.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/contact.mo b/language/it/contact.mo index 1824ed4..904f84f 100644 --- a/language/it/contact.mo +++ b/language/it/contact.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/cookies.mo b/language/it/cookies.mo index b0189d3..1c73b2c 100644 --- a/language/it/cookies.mo +++ b/language/it/cookies.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/credit.mo b/language/it/credit.mo index cf64f74..707e1c4 100644 --- a/language/it/credit.mo +++ b/language/it/credit.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/fleet.mo b/language/it/fleet.mo index e1bd56d..500972b 100644 --- a/language/it/fleet.mo +++ b/language/it/fleet.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/galaxy.mo b/language/it/galaxy.mo index c91bea6..3b4e4a9 100644 --- a/language/it/galaxy.mo +++ b/language/it/galaxy.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/imperium.mo b/language/it/imperium.mo index 0c69c2c..30f069d 100644 --- a/language/it/imperium.mo +++ b/language/it/imperium.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/index.mo b/language/it/index.mo index 93ee080..cdb6a15 100644 --- a/language/it/index.mo +++ b/language/it/index.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/infos.mo b/language/it/infos.mo index 239cbe5..c4cac96 100644 --- a/language/it/infos.mo +++ b/language/it/infos.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/admin.mo b/language/it/install/admin.mo index 5cd5cee..b1e6f51 100644 --- a/language/it/install/admin.mo +++ b/language/it/install/admin.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/alliance.mo b/language/it/install/alliance.mo index 7a96b1f..a0eabfc 100644 --- a/language/it/install/alliance.mo +++ b/language/it/install/alliance.mo @@ -7,7 +7,7 @@ * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * diff --git a/language/it/install/banned.mo b/language/it/install/banned.mo index 6660046..2a5010d 100644 --- a/language/it/install/banned.mo +++ b/language/it/install/banned.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/buddy.mo b/language/it/install/buddy.mo index a1edba0..263adc9 100644 --- a/language/it/install/buddy.mo +++ b/language/it/install/buddy.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/buildings.mo b/language/it/install/buildings.mo index 0ca9c0d..9af55cf 100644 --- a/language/it/install/buildings.mo +++ b/language/it/install/buildings.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/changelog.mo b/language/it/install/changelog.mo index 8430818..dd3aa6a 100644 --- a/language/it/install/changelog.mo +++ b/language/it/install/changelog.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/chat.mo b/language/it/install/chat.mo index c4ec203..3053f59 100644 --- a/language/it/install/chat.mo +++ b/language/it/install/chat.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/contact.mo b/language/it/install/contact.mo index 533d956..4679228 100644 --- a/language/it/install/contact.mo +++ b/language/it/install/contact.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/cookies.mo b/language/it/install/cookies.mo index b0189d3..1c73b2c 100644 --- a/language/it/install/cookies.mo +++ b/language/it/install/cookies.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/credit.mo b/language/it/install/credit.mo index 4ea071e..82818da 100644 --- a/language/it/install/credit.mo +++ b/language/it/install/credit.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/fleet.mo b/language/it/install/fleet.mo index e1bd56d..500972b 100644 --- a/language/it/install/fleet.mo +++ b/language/it/install/fleet.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/galaxy.mo b/language/it/install/galaxy.mo index 7178686..8a6bc73 100644 --- a/language/it/install/galaxy.mo +++ b/language/it/install/galaxy.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/imperium.mo b/language/it/install/imperium.mo index 2e4ae05..09f2f55 100644 --- a/language/it/install/imperium.mo +++ b/language/it/install/imperium.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/index.mo b/language/it/install/index.mo index 3bc993e..0b3cef4 100644 --- a/language/it/install/index.mo +++ b/language/it/install/index.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/infos.mo b/language/it/install/infos.mo index cb4c158..1398918 100644 --- a/language/it/install/infos.mo +++ b/language/it/install/infos.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/install.mo b/language/it/install/install.mo index 12dd224..241f497 100644 --- a/language/it/install/install.mo +++ b/language/it/install/install.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/lang_info.cfg b/language/it/install/lang_info.cfg index c0a5e13..80425e8 100644 --- a/language/it/install/lang_info.cfg +++ b/language/it/install/lang_info.cfg @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/leftmenu.mo b/language/it/install/leftmenu.mo index be31eff..ad56f47 100644 --- a/language/it/install/leftmenu.mo +++ b/language/it/install/leftmenu.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/login.mo b/language/it/install/login.mo index 4e02185..d2c5489 100644 --- a/language/it/install/login.mo +++ b/language/it/install/login.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/logout.mo b/language/it/install/logout.mo index 074bda1..c8783df 100644 --- a/language/it/install/logout.mo +++ b/language/it/install/logout.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/lostpassword.mo b/language/it/install/lostpassword.mo index 72e932f..e537175 100644 --- a/language/it/install/lostpassword.mo +++ b/language/it/install/lostpassword.mo @@ -9,7 +9,7 @@ * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. diff --git a/language/it/install/marchand.mo b/language/it/install/marchand.mo index 48f2b53..9a12e3a 100644 --- a/language/it/install/marchand.mo +++ b/language/it/install/marchand.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/messages.mo b/language/it/install/messages.mo index 4fa30cd..01ef0ca 100644 --- a/language/it/install/messages.mo +++ b/language/it/install/messages.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/news.mo b/language/it/install/news.mo index 7fba4b7..bb47eaf 100644 --- a/language/it/install/news.mo +++ b/language/it/install/news.mo @@ -8,7 +8,7 @@ * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. diff --git a/language/it/install/notes.mo b/language/it/install/notes.mo index ab6279c..7f45dab 100644 --- a/language/it/install/notes.mo +++ b/language/it/install/notes.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/officier.mo b/language/it/install/officier.mo index 9182c91..3c4fb1c 100644 --- a/language/it/install/officier.mo +++ b/language/it/install/officier.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/options.mo b/language/it/install/options.mo index 5e6c1c7..e940f59 100644 --- a/language/it/install/options.mo +++ b/language/it/install/options.mo @@ -8,7 +8,7 @@ * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. diff --git a/language/it/install/overview.mo b/language/it/install/overview.mo index caf785d..9469fdd 100644 --- a/language/it/install/overview.mo +++ b/language/it/install/overview.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/phalanx.mo b/language/it/install/phalanx.mo index f62c4d6..30f418c 100644 --- a/language/it/install/phalanx.mo +++ b/language/it/install/phalanx.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/player.mo b/language/it/install/player.mo index 7c971cc..3d23a75 100644 --- a/language/it/install/player.mo +++ b/language/it/install/player.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/records.mo b/language/it/install/records.mo index 41ece8e..21c78ec 100644 --- a/language/it/install/records.mo +++ b/language/it/install/records.mo @@ -9,7 +9,7 @@ * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. diff --git a/language/it/install/reg.mo b/language/it/install/reg.mo index 545312c..84a7be7 100644 --- a/language/it/install/reg.mo +++ b/language/it/install/reg.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/resources.mo b/language/it/install/resources.mo index 07e0b5e..7c511b0 100644 --- a/language/it/install/resources.mo +++ b/language/it/install/resources.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/rules.mo b/language/it/install/rules.mo index 7f587b9..25bf082 100644 --- a/language/it/install/rules.mo +++ b/language/it/install/rules.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/search.mo b/language/it/install/search.mo index 9ee8e4f..3e56b6b 100644 --- a/language/it/install/search.mo +++ b/language/it/install/search.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/stat.mo b/language/it/install/stat.mo index 6edfef4..b24355a 100644 --- a/language/it/install/stat.mo +++ b/language/it/install/stat.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/system.mo b/language/it/install/system.mo index cd3e900..990a1f5 100644 --- a/language/it/install/system.mo +++ b/language/it/install/system.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/tech.mo b/language/it/install/tech.mo index 607488b..9bd8e01 100644 --- a/language/it/install/tech.mo +++ b/language/it/install/tech.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/install/tradingscrapmetal.mo b/language/it/install/tradingscrapmetal.mo index 016e406..ed1fd8d 100644 --- a/language/it/install/tradingscrapmetal.mo +++ b/language/it/install/tradingscrapmetal.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/lang_info.cfg b/language/it/lang_info.cfg index c0a5e13..80425e8 100644 --- a/language/it/lang_info.cfg +++ b/language/it/lang_info.cfg @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/leftmenu.mo b/language/it/leftmenu.mo index 98737cb..abbda1f 100644 --- a/language/it/leftmenu.mo +++ b/language/it/leftmenu.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/login.mo b/language/it/login.mo index e1e3ba7..68703d2 100644 --- a/language/it/login.mo +++ b/language/it/login.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/logout.mo b/language/it/logout.mo index fd7f144..9dbe39b 100644 --- a/language/it/logout.mo +++ b/language/it/logout.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/lostpassword.mo b/language/it/lostpassword.mo index 18b1945..f44a641 100644 --- a/language/it/lostpassword.mo +++ b/language/it/lostpassword.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/marchand.mo b/language/it/marchand.mo index 1ef9628..ebd9890 100644 --- a/language/it/marchand.mo +++ b/language/it/marchand.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/messages.mo b/language/it/messages.mo index 096bed3..ed784b8 100644 --- a/language/it/messages.mo +++ b/language/it/messages.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/news.mo b/language/it/news.mo index 1a28585..0019baf 100644 --- a/language/it/news.mo +++ b/language/it/news.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/notes.mo b/language/it/notes.mo index 370e5aa..bb25c26 100644 --- a/language/it/notes.mo +++ b/language/it/notes.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/officier.mo b/language/it/officier.mo index 9c754c8..065a25a 100644 --- a/language/it/officier.mo +++ b/language/it/officier.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/options.mo b/language/it/options.mo index e422e08..ebf132f 100644 --- a/language/it/options.mo +++ b/language/it/options.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/overview.mo b/language/it/overview.mo index c0027d3..28d7925 100644 --- a/language/it/overview.mo +++ b/language/it/overview.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/phalanx.mo b/language/it/phalanx.mo index 7e40474..a8d0015 100644 --- a/language/it/phalanx.mo +++ b/language/it/phalanx.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/player.mo b/language/it/player.mo index 7c971cc..3d23a75 100644 --- a/language/it/player.mo +++ b/language/it/player.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/records.mo b/language/it/records.mo index 3a18e19..bfc184c 100644 --- a/language/it/records.mo +++ b/language/it/records.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/reg.mo b/language/it/reg.mo index b05b2f0..a7e7209 100644 --- a/language/it/reg.mo +++ b/language/it/reg.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/resources.mo b/language/it/resources.mo index b7b832a..f13c46a 100644 --- a/language/it/resources.mo +++ b/language/it/resources.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/rules.mo b/language/it/rules.mo index 2b78d90..42f9da5 100644 --- a/language/it/rules.mo +++ b/language/it/rules.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/search.mo b/language/it/search.mo index ce62f19..2bef7d1 100644 --- a/language/it/search.mo +++ b/language/it/search.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/settings.mo b/language/it/settings.mo index f0274ca..01dfb1a 100644 --- a/language/it/settings.mo +++ b/language/it/settings.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify @@ -54,23 +54,23 @@ $lang['adm_opt_game_oth_plan'] = "Pianeta"; $lang['adm_opt_btn_save'] = "Salva"; $lang['adm_opt_warning1'] = "libreria GD del server Apache deve essere attivato! " -$lang['adm_opt_menu_link_enable'] = "Abilita link personalizzabile?
(1 = sì, 0 = no)"; +$lang['adm_opt_menu_link_enable'] = "Abilita link personalizzabile?
(1 = s�, 0 = no)"; $lang['adm_opt_menu_link_text'] = "Link
Nome (se abilitato) "; $lang['adm_opt_menu_link_url'] = "Link URL
(se abilitato) "; -$lang['adm_opt_control_pages'] = "Controllare le pagine visualizzate nel menu"; -$lang['enable_the_anounces'] = "Gli annunci di visualizzazione?
(Sì = 1 No = 0)"; -$lang['enable_the_marchand'] ="Mostra il mercante?
(Sì = 1 No = 0)"; -$lang['enable_the_notes'] = "Note Show?
(Sì = 1 No = 0)"; +$lang['adm_opt_control_pages'] = "Controllare le pagine visualizzate nel menu; +$lang['enable_the_anounces'] = "Gli annunci di visualizzazione?
(S� = 1 No = 0)"; +$lang['enable_the_marchand'] ="Mostra il mercante?
(S� = 1 No = 0)"; +$lang['enable_the_notes'] = "Note Show?
(S� = 1 No = 0)"; $lang['multi_bot_settings'] ="Bot Impostazioni anti-multiaccount"; -$lang['bot_name_multi'] = "
Bot Nome (verrì visualizzato dentro il pilori)"; -$lang['bot_adress_multi'] = "Indirizzo di risposta del
bot (verrì visualizzato dentro il pilori)"; +$lang['bot_name_multi'] = "
Bot Nome (verr� visualizzato dentro il pilori); +$lang['bot_adress_multi'] = "Indirizzo di risposta del
bot (verr� visualizzato dentro il pilori)"; $lang['bot_ban_duration'] = "Durata del divieto da parte
bot (in giorni) "; -$lang['bot_active'] = "Attivazione
bot (1 = attiva, 0 = non attiva)
Per impostazione predefinita, il bot ì spento;."; +$lang['bot_active'] = "Attivazione
bot (1 = attiva, 0 = non attiva)
Per impostazione predefinita, il bot � spento;."; $lang['stat_settings_desc'] = "Tuning di statistiche "; $lang['stat_desc'] = "1 Punto= "; $lang['stat_units'] = "Risorse spese "; $lang['banner'] = "Banner"; $lang['source_banner'] = "Fonte PNG il banner "; -$lang['banner_currently_installed'] = "Banner ì attualmente installato "; +$lang['banner_currently_installed'] = "Banner � attualmente installato "; ?> \ No newline at end of file diff --git a/language/it/stat.mo b/language/it/stat.mo index a120545..d698c1d 100644 --- a/language/it/stat.mo +++ b/language/it/stat.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/system.mo b/language/it/system.mo index 05a305d..c7029f5 100644 --- a/language/it/system.mo +++ b/language/it/system.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/tech.mo b/language/it/tech.mo index 854bc15..9033ae7 100644 --- a/language/it/tech.mo +++ b/language/it/tech.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/language/it/tradingscrapmetal.mo b/language/it/tradingscrapmetal.mo index 26cb982..8445e56 100644 --- a/language/it/tradingscrapmetal.mo +++ b/language/it/tradingscrapmetal.mo @@ -5,7 +5,7 @@ * @license http://www.gnu.org/licenses/gpl-3.0.txt * @see http://www.wootook.com/ * - * Copyright (c) 2009-Present, XNova Support Team + * Copyright (c) 2009-2011, XNova Support Team * All rights reserved. * * This program is free software: you can redistribute it and/or modify diff --git a/skin/base/default/css/deprecated/formate.css b/skin/base/default/css/deprecated/formate.css index f9d6ae2..de3d15d 100644 --- a/skin/base/default/css/deprecated/formate.css +++ b/skin/base/default/css/deprecated/formate.css @@ -10,7 +10,7 @@ __ __ _ _ */ -* {font-family:Tahoma,sans-serif;font-size:10px;} +* {font-family:Arial,sans-serif;font-size:10px;} img {border:none;} p table {border:none;} @@ -19,14 +19,14 @@ p td { text-align : center; font-size : 10px; - font-family : Tahoma,sans-serif; + font-family : Arial,sans-serif; } table table {border:0px;} -body {color:#000;margin:1px 0 0 1px;background:#040e1e url(../../graphics/img/background2.jpg) fixed no-repeat top left;} +body {color:#000;margin:1px 0 0 1px;background:#040e1e url("../../graphics/img/background2.jpg") fixed no-repeat top left;} -body.style {background-image:url(../../graphics/img/background1.jpg);} +body.style {background-image:url("../../graphics/img/background1.jpg");} body.style table {margin:0px;border:0 auto} body form table th table input {width: 60px;} @@ -44,7 +44,7 @@ input, select, textarea border : 1px #545454 solid; } -th, td.a,td.b,td.c,td.f,input,select,td.g,td.h,td.i,td.j,td.k,td.m,td.o,td.q,td.r,td.v,td.s,.style td,p td {background:#FFF;filter:alpha(opacity=90);-moz-opacity:0.9;-khtml-opacity:0.9;opacity:0.9;} +th,td.a,td.b,td.c,td.f,input,select,td.g,td.h,td.i,td.j,td.k,td.m,td.o,td.q,td.r,td.v,td.s,.style td,p td {background:#FFF;color:#000;} th { @@ -64,32 +64,15 @@ td.b padding : 3px; } -td.c -{ - font-weight : bold; - color : #FFFFFF; - padding-left : 3px; - background-image : url(img/bg1.gif); - filter : alpha(opacity=90); - -moz-opacity : 0.7; - -khtml-opacity : 0.7; - opacity : 0.7; -} +td.c {font-weight:bold;padding:0 10px;background:#DDD url("../../graphics/img/bg1.gif") repeat-x;color:#FFF;font-size:1.5em;height:30px;} +td.c a,td.c a:visited {color:#FFF;} +td.c a:hover {color:#CDF;} -td.f, input, select, textarea -{ - color : #FFFFFF; - background-color : #1c1c1c; - filter : alpha(opacity=90); - -moz-opacity : 0.7; - -khtml-opacity : 0.7; - opacity : 0.7; -} +td.f{color:#FFF;background-color:#1c1c1c;} -textarea -{ - width : 100%; -} +input,select,textarea {color:#FFF;background-color:#1c1c1c;} + +textarea {width:100%;} td.k input { @@ -133,10 +116,6 @@ td.l color : #FFFFFF; vertical-align : top; padding : 3px; - filter : alpha(opacity=70); - -moz-opacity : 0.7; - -khtml-opacity : 0.7; - opacity : 0.7; } td.m @@ -166,7 +145,7 @@ td.q { font-weight : bold; font-size : 10px; - font-family : Tahoma,sans-serif; + font-family : Arial,sans-serif; text-align : center; vertical-align : middle; color : #FFFFFF; @@ -236,7 +215,7 @@ a:hover color : #FFFFFF; border-top : 0px; font-size : 10px; - font-family : Tahoma,sans-serif; + font-family : Arial,sans-serif; } .style div a @@ -245,7 +224,7 @@ a:hover height : 100%; width : 100%; font-size : 10px; - font-family : Tahoma,sans-serif; + font-family : Arial,sans-serif; } .style div a:link @@ -253,7 +232,7 @@ a:hover height : 100%; width : 100%; font-size : 10px; - font-family : Tahoma,sans-serif; + font-family : Arial,sans-serif; } .style div a:visited @@ -261,19 +240,19 @@ a:hover height : 100%; width : 100%; font-size : 10px; - font-family : Tahoma,sans-serif; + font-family : Arial,sans-serif; } .style div a:hover { - background-image : url(img/link.gif); + background-image : url("../../graphics/img/link.gif"); background-repeat : no-repeat; background-position : left; height : 100%; width : 108px; text-decoration : none; font-size : 10px; - font-family : Tahoma,sans-serif; + font-family : Arial,sans-serif; } .style