HB/onyx2/include/game/alliance.php

20 lines
546 B
PHP
Raw Normal View History

2020-11-15 15:12:30 +00:00
<?php
2020-11-15 15:12:32 +00:00
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');
2020-11-15 15:12:30 +00:00
elseif (!empty($_GET['signer']))
2020-11-15 15:12:32 +00:00
include('game/alliances/signer.php');
2020-11-15 15:12:30 +00:00
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');
2020-11-15 15:12:30 +00:00
else
2020-11-15 15:12:32 +00:00
include('game/alliances/sans.php');
2020-11-15 15:12:30 +00:00
?>