forked from halo-battle/game
59 lines
4.2 KiB
PHP
59 lines
4.2 KiB
PHP
<?php /* Smarty version 2.6.22, created on 2009-10-31 21:37:10
|
|
compiled from game/flotte2.tpl */ ?>
|
|
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
|
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'game/flotte2.tpl', 6, false),)), $this); ?>
|
|
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
|
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
|
$this->_tpl_vars = $_smarty_tpl_vars;
|
|
unset($_smarty_tpl_vars);
|
|
?>
|
|
<form action="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
|
|
" method="post">
|
|
<h2>Paramètres généraux</h2>
|
|
<fieldset class="options">
|
|
<label for="nom">Nom de la flotte :</label><input class="text" type="text" id="nom" name="nomflotte" maxlength="24" value="<?php echo $this->_tpl_vars['restaure']['nom']; ?>
|
|
" /><br />
|
|
<label for="fav_dest">Destination rapide :</label><select name="destin" id="fav_dest"><option value="0">--</option><optgroup label="Colonies"><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['favorisColonies']), $this);?>
|
|
</optgroup><optgroup label="Favoris"><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['favoris']), $this);?>
|
|
</optgroup><option value="edit">Modifier la liste</option></select><br />
|
|
<label for="amas">Destination :</label><span id="destination"><input class="dest" type="text" id="amas" name="amas" maxlength="2" value="<?php echo $this->_tpl_vars['restaure']['end_galaxie']; ?>
|
|
" />:<input class="dest" type="text" id="ss" name="ss" maxlength="2" value="<?php echo $this->_tpl_vars['restaure']['end_systeme']; ?>
|
|
" />:<input class="dest" type="text" id="plan" name="pos" maxlength="2" value="<?php echo $this->_tpl_vars['restaure']['end_position']; ?>
|
|
" /></span><br />
|
|
<label for="vitesse">Vitesse :</label><select name="vitesse" id="vitesse"><option value="100">100%</option><option value="75">75%</option><option value="50">50%</option><option value="25">25%</option></select><br />
|
|
<br /><div id="aide1">Pour vous repérer plus facilement entre vos différentes flottes, donnez-lui un nom.</div>
|
|
</fieldset>
|
|
<h2>Mission et contenu</h2>
|
|
<fieldset class="options">
|
|
<label for="mission">Mission :</label>
|
|
<select name="mission" id="mission" onchange="tempsFlotte();">
|
|
<?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['missions'],'selected' => $this->_tpl_vars['restaure']['mission']), $this);?>
|
|
|
|
</select><br />
|
|
<span id="tactique"></span>
|
|
<label for="metal">Embarquer <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
|
:</label><input class="text" type="text" id="metal" name="metal" value="<?php echo $this->_tpl_vars['restaure']['embarquer']['0']; ?>
|
|
" /><br />
|
|
<label for="cristal">Embarquer <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
|
:</label><input class="text" type="text" id="cristal" name="cristal" value="<?php echo $this->_tpl_vars['restaure']['embarquer']['1']; ?>
|
|
" /><br />
|
|
<label for="hydrogene">Embarquer <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
|
:</label><input class="text" type="text" id="hydrogene" name="hydrogene" value="<?php echo $this->_tpl_vars['restaure']['embarquer']['2']; ?>
|
|
" /><br />
|
|
<label>Places restantes dans les cales :</label><span id="placesRest"></span><br />
|
|
<br /><div id="aide2"></div>
|
|
</fieldset>
|
|
<h2>Envoyer</h2>
|
|
<noscript><span style="color: #FF0000; font-weight: bolder;">Le JavaScript est nécessaire pour envoyer une flotte.</span><br /></noscript>
|
|
<input type="submit" value="GO" class="submit" /><input type="hidden" name="cds" value="<?php echo $this->_tpl_vars['idPrep']; ?>
|
|
" /><br />
|
|
Temps de déplacement : <span id="temps">-</span><br />
|
|
Consomation : <span id="conso">-</span><br />
|
|
<span id="deblok"><b>Complètez les champs ci-dessus</b></span>
|
|
<br /><span id="vp"></span>
|
|
</form>
|
|
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
|
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
|
$this->_tpl_vars = $_smarty_tpl_vars;
|
|
unset($_smarty_tpl_vars);
|
|
?>
|