51 lines
4.0 KiB
PHP
51 lines
4.0 KiB
PHP
|
<?php /* Smarty version 2.6.19, created on 2008-11-04 03:35:07
|
||
|
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),array('modifier', 'lower', 'game/flotte2.tpl', 18, 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" /><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('output' => $this->_tpl_vars['favorisColonies'],'values' => $this->_tpl_vars['favorisnColonies']), $this);?>
|
||
|
</optgroup><optgroup label="Favoris"><?php echo smarty_function_html_options(array('output' => $this->_tpl_vars['favoris'],'values' => $this->_tpl_vars['favorisn']), $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" />:<input class="dest" type="text" id="ss" name="ss" maxlength="2" />:<input class="dest" type="text" id="plan" name="pos" maxlength="2" /></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']), $this);?>
|
||
|
|
||
|
</select><br />
|
||
|
<span id="tactique"></span>
|
||
|
<label for="metal">Embarquer <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||
|
:</label><input class="text" type="text" id="metal" name="metal" /><br />
|
||
|
<label for="cristal">Embarquer <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||
|
:</label><input class="text" type="text" id="cristal" name="cristal" /><br />
|
||
|
<label for="hydrogene">Embarquer <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||
|
:</label><input class="text" type="text" id="hydrogene" name="hydrogene" /><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="123456" /><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);
|
||
|
?>
|