Compare commits
41 Commits
Author | SHA1 | Date |
---|---|---|
nemunaire | 85d59f7a65 | |
Nigel Sheldon | 9805b58f2b | |
Nigel Sheldon | 4d61e17021 | |
Nigel Sheldon | 984c35ee64 | |
Nigel Sheldon | f5fd9cab58 | |
Nigel Sheldon | 9902dc3638 | |
Nigel Sheldon | 2a3a98f42c | |
Nigel Sheldon | f46379bd8f | |
Nigel Sheldon | 295add63bc | |
Nigel Sheldon | fca32002e5 | |
Nigel Sheldon | 5184b511f2 | |
Nigel Sheldon | 4f1f6a1ef3 | |
Nigel Sheldon | f69d4bf376 | |
Nigel Sheldon | aff1550919 | |
Nigel Sheldon | 067b45bdfd | |
Nigel Sheldon | ea3860f79d | |
Nigel Sheldon | ff69ed0d54 | |
Nigel Sheldon | 6d8bf942db | |
Nigel Sheldon | 28b0ceeee8 | |
Nigel Sheldon | cfa44975d3 | |
Nigel Sheldon | 93dd3e187a | |
Nigel Sheldon | 16c71524b1 | |
Nigel Sheldon | 541a0e009c | |
Nigel Sheldon | 9e9a4344f2 | |
Nigel Sheldon | b0e5c7dea5 | |
Nigel Sheldon | 2269a56ce5 | |
Nigel Sheldon | 4fedde4cf9 | |
Nigel Sheldon | 81cb1e9660 | |
Nigel Sheldon | bd5e4c75c1 | |
Nigel Sheldon | 9a14ddcd8d | |
Nigel Sheldon | b7ab2b3640 | |
Nigel Sheldon | eea4226991 | |
Nigel Sheldon | 3191822644 | |
Nigel Sheldon | c1bac50417 | |
Nigel Sheldon | ba1de13034 | |
Nigel Sheldon | e4219f493d | |
Nigel Sheldon | b1e1cc6117 | |
nemunaire | a9afd5ea68 | |
Nigel Sheldon | 1072d78ae7 | |
Nigel Sheldon | d72e495f59 | |
Nigel Sheldon | 5334b1877d |
|
@ -64,6 +64,7 @@ steps:
|
|||
|
||||
trigger:
|
||||
event:
|
||||
- cron
|
||||
- push
|
||||
- tag
|
||||
|
||||
|
|
|
@ -9,12 +9,12 @@ require_once("Class/JSON.php");
|
|||
require_once("Class/flotte.php");
|
||||
require_once("Class/planete.php");
|
||||
|
||||
if (isset($SESS) && isset($SESS->values['connected']) && $SESS->values['connected'] && !empty($SESS->values['id']) && !empty($SESS->level) && !empty($SESS->values['idPlan'])) {
|
||||
if (isset($SESS) && isset($SESS->values['connected']) && $SESS->values['connected'] && !empty($SESS->values['id']) && !empty($SESS->values['idPlan'])) {
|
||||
$idPrep = gpc("cds_temp", "post");
|
||||
$json = new Services_JSON();
|
||||
$nbtrajet = 2;
|
||||
|
||||
if (empty($config['flottes']) && $SESS->level <= 1) {
|
||||
if (empty($VAR['flottes']) && $SESS->level <= 1) {
|
||||
$datas = array(
|
||||
'root' => array(
|
||||
'destination' => '<input class="dest" type="text" id="amas" name="amas" maxlength="2" value="'.gpc('galaxie', 'post').'" />:<input class="dest" type="text" id="ss" name="ss" maxlength="2" value="'.gpc('ss', 'post').'" />:<input class="dest" type="text" id="plan" name="pos" maxlength="2" value="'.gpc('pos', 'post').'" />',
|
||||
|
@ -107,7 +107,8 @@ if (isset($SESS) && isset($SESS->values['connected']) && $SESS->values['connecte
|
|||
$places -= ($met+$cri+$hyd);
|
||||
}
|
||||
$tactique = '';
|
||||
if ($_POST['mission'] == '1') {
|
||||
// si la mission est une mission d'attaque
|
||||
if ($_POST['mission'] == '3') {
|
||||
$tactique = '<label for="selecttactique">Tactique d\'attaque :</label><select id="selecttactique" name="tactique">';
|
||||
//On récupère le niveau actuel de la technologie Commandement militaire
|
||||
$id_user = $SESS->values['id'];
|
||||
|
|
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 34 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 29 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 28 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 22 KiB |
After Width: | Height: | Size: 23 KiB |
After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 22 KiB |