Added Research lab queue manager.
Updated page display for shipyard, defenses and buildings. Moved legacy template files. Added install/migration.mysql to report changes to the database on testing environments. Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
parent
f2d4b0f7e2
commit
ddfb36efa5
341 changed files with 4238 additions and 3259 deletions
|
|
@ -1,32 +1,15 @@
|
|||
<?php
|
||||
/**
|
||||
* This file is part of XNova:Legacies
|
||||
*
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.txt
|
||||
* @see http://www.xnova-ng.org/
|
||||
*
|
||||
* Copyright (c) 2009-Present, XNova Support Team <http://www.xnova-ng.org>
|
||||
* 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 <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* --> 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.
|
||||
*
|
||||
*/
|
||||
/*
|
||||
|
||||
Galacticnova : An open-source web-based game !
|
||||
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
|
||||
|
||||
License: AGPL
|
||||
Author: Vincent Debarre <vinilox@vinilox.eu>
|
||||
Website: http://project.galacticnova.vinilox.eu/
|
||||
Last revision: 13/07/11
|
||||
|
||||
*/
|
||||
|
||||
define('INSIDE' , true);
|
||||
define('INSTALL' , false);
|
||||
|
|
@ -43,10 +26,10 @@ require_once dirname(__FILE__) .'/common.php';
|
|||
$i = 0;
|
||||
|
||||
if ($FleetRow['fleet_owner'] == $user['id']) {
|
||||
if ($FleetRow['fleet_mess'] == 0) {
|
||||
if ($FleetRow['fleet_mess'] == 0 || $FleetRow['fleet_mess'] == 2) {
|
||||
if ($FleetRow['fleet_end_stay'] != 0) {
|
||||
// Faut calculer le temps reel de retour
|
||||
if ($FleetRow['fleet_start_time'] < time()) {
|
||||
if ($FleetRow['fleet_start_time'] > time()) {
|
||||
// On a pas encore entamé le stationnement
|
||||
// Il faut calculer la parcelle de temps ecoulée depuis le lancement de la flotte
|
||||
$CurrentFlyingTime = time() - $FleetRow['start_time'];
|
||||
|
|
@ -87,11 +70,4 @@ require_once dirname(__FILE__) .'/common.php';
|
|||
message ("<font color=\"".$TxtColor."\">". $BoxMessage ."</font>", $BoxTitle, "fleet.". PHPEXT, 2);
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------------
|
||||
// History version
|
||||
// Updated by Chlorel. 22 Jan 2008 (String extraction, bug corrections, code uniformisation
|
||||
// Created by DxPpLmOs. All rights reversed (C) 2007
|
||||
// Updated by -= MoF =- for Deutsches Ugamela Forum
|
||||
// 06.12.2007 - 08:41
|
||||
// Open Source
|
||||
// (c) by MoF
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue