forked from halo-battle/game
20 lines
592 B
PHP
20 lines
592 B
PHP
|
<?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');
|
||
|
?>
|