forked from halo-battle/game
Version 0.10a
This commit is contained in:
parent
b9c240c781
commit
e391f66774
201 changed files with 5182 additions and 8158 deletions
|
|
@ -53,7 +53,7 @@ else {
|
|||
'root' => array(
|
||||
'temps' => affTemp(floor($temps)),
|
||||
'deblok' => '<b>Nom de la flotte incorrect !</b>',
|
||||
'conso' => separerNombres(floor($conso*($_POST['vitesse']/100)*$nbtrajet))
|
||||
'conso' => separerNombres(ceil($conso*($_POST['vitesse']/100)*$nbtrajet))
|
||||
)
|
||||
);
|
||||
/*elseif (empty($_POST['hyd']) || $_POST['hyd'] < $conso * 2)
|
||||
|
|
@ -67,11 +67,12 @@ else {
|
|||
else {
|
||||
$cds = sha1('flotte'.$conso.'ß10'.time().'|HB;'.rand(10,99).$temps);
|
||||
$_SESSION['flotte_cdsL'] = $cds;
|
||||
if ($id == '46') setHistorique('Rapport Frederic PREP','Génération code : SESSION : '.$_SESSION['flotte_cdsL'].' - cds : '.$cds);
|
||||
$datas = array(
|
||||
'root' => array(
|
||||
'temps' => affTemp(floor($temps)),
|
||||
'deblok' => '<input type="hidden" name="cds" value="'.$cds.'" /><input type="submit" value="Envoyer la flotte" class="bouton" />',
|
||||
'conso' => separerNombres(floor($conso*($_POST['vitesse']/100)*$nbtrajet))
|
||||
'conso' => separerNombres(ceil($conso*($_POST['vitesse']/100)*$nbtrajet))
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue