HB/onyx2/include/game/alliance.php

21 lines
541 B
PHP
Raw Permalink Normal View History

2020-11-15 15:12:30 +00:00
<?php
if (!defined('ONYX')) {
exit;
}
2020-11-15 15:12:30 +00:00
if (!empty($_GET['v'])) {
2020-11-15 15:12:32 +00:00
include('game/alliances/voir.php');
} elseif (!empty($_GET['signer'])) {
2020-11-15 15:12:32 +00:00
include('game/alliances/signer.php');
} elseif (!empty($planete->id_alliance)) {
$SESS->values['idPlan'] = 0;
$SESS->values['idAsteroide'] = $planete->id_alliance;
$SESS->values['isolement'] = 0;
$SESS->put();
redirection("?p=accueil");
} elseif (!empty($_GET['postuler'])) {
2020-11-15 15:12:32 +00:00
include('game/alliances/postuler.php');
} else {
2020-11-15 15:12:32 +00:00
include('game/alliances/sans.php');
}