Added application handler

Fixed fleet bugs
Fixed colonization bug
Updated mail handler support
Fixed galaxy bugs
Updated license block

Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
Gregory PLANCHAT 2012-05-28 23:18:54 +02:00
commit 9e3c1e68bf
89 changed files with 4256 additions and 2168 deletions

View file

@ -36,7 +36,11 @@ require_once dirname(dirname(__FILE__)) .'/application/bootstrap.php';
if (in_array($user['authlevel'], array(LEVEL_ADMIN, LEVEL_OPERATOR))) {
includeLang('admin');
if ($_GET['cmd'] == 'dele') {
DeleteSelectedUser ( $_GET['user'] );
$player = new Wootook_Player_Model_Entity();
$player->load(intval($_GET['user']));
if ($player->getId()) {
$player->delete();
}
}
if ($_GET['cmd'] == 'sort') {
$TypeSort = $_GET['type'];

View file

@ -36,7 +36,11 @@ require_once dirname(dirname(__FILE__)) .'/application/bootstrap.php';
if (in_array($user['authlevel'], array(LEVEL_ADMIN, LEVEL_OPERATOR))) {
includeLang('admin');
if ($_GET['cmd'] == 'dele') {
DeleteSelectedUser ( $_GET['user'] );
$player = new Wootook_Player_Model_Entity();
$player->load(intval($_GET['user']));
if ($player->getId()) {
$player->delete();
}
}
if ($_GET['cmd'] == 'sort') {
$TypeSort = $_GET['type'];