HB/onyx2/include/game/jeu/alliance.php

20 lines
592 B
PHP
Raw Normal View History

2020-11-15 15:12:30 +00:00
<?php
if(!defined('INDEX')) { header('Location: ../'); exit; }
if (!empty($_GET['v']))
include('game/jeu/alliances/voir.php');
elseif (!empty($_GET['signer']))
include('game/jeu/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']))
include('game/jeu/alliances/postuler.php');
else
include('game/jeu/alliances/sans.php');
?>