game/includes/onyx/templates/templates_c/%%57^57D^57D0F479%%flotten.tpl.php

231 lines
7.7 KiB
PHP
Raw Normal View History

2008-12-01 11:00:00 +00:00
<?php /* Smarty version 2.6.19, created on 2008-05-31 01:36:24
compiled from game/flotten.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/flotten.tpl', 147, 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);
?>
<div class="border_top"></div>
<h2>Détails de la flotte : <?php echo $this->_tpl_vars['flotte']['nom']; ?>
</h2>
<form action="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
&amp;n=<?php echo $this->_tpl_vars['n']; ?>
" method="post">
<fieldset class="options">
<label for="nom">Nom de la flotte :</label><input class="text" type="text" id="nom" name="nomflotte" value="<?php echo $this->_tpl_vars['flotte']['nom']; ?>
" /><br />
<input class="submit" type="submit" value="GO" />
</fieldset>
</form>
<h2>Composition de la flotte</h2>
<br /><table style="margin: auto;">
<?php if ($this->_tpl_vars['flotte']['vaisseau_1']): ?>
<tr>
<td><?php echo $this->_tpl_vars['nomvais']['0']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotte']['vaisseau_1']; ?>
</td>
</tr>
<?php endif; ?>
<?php if ($this->_tpl_vars['flotte']['vaisseau_2']): ?>
<tr>
<td><?php echo $this->_tpl_vars['nomvais']['1']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotte']['vaisseau_2']; ?>
</td>
</tr>
<?php endif; ?>
<?php if ($this->_tpl_vars['flotte']['vaisseau_3']): ?>
<tr>
<td><?php echo $this->_tpl_vars['nomvais']['2']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotte']['vaisseau_3']; ?>
</td>
</tr>
<?php endif; ?>
<?php if ($this->_tpl_vars['flotte']['vaisseau_4']): ?>
<tr>
<td><?php echo $this->_tpl_vars['nomvais']['3']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotte']['vaisseau_4']; ?>
</td>
</tr>
<?php endif; ?>
<?php if ($this->_tpl_vars['flotte']['vaisseau_5']): ?>
<tr>
<td><?php echo $this->_tpl_vars['nomvais']['4']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotte']['vaisseau_5']; ?>
</td>
</tr>
<?php endif; ?>
<?php if ($this->_tpl_vars['flotte']['vaisseau_6']): ?>
<tr>
<td><?php echo $this->_tpl_vars['nomvais']['5']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotte']['vaisseau_6']; ?>
</td>
</tr>
<?php endif; ?>
<?php if ($this->_tpl_vars['flotte']['vaisseau_7']): ?>
<tr>
<td><?php echo $this->_tpl_vars['nomvais']['6']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotte']['vaisseau_7']; ?>
</td>
</tr>
<?php endif; ?>
<?php if ($this->_tpl_vars['flotte']['vaisseau_8']): ?>
<tr>
<td><?php echo $this->_tpl_vars['nomvais']['7']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotte']['vaisseau_8']; ?>
</td>
</tr>
<?php endif; ?>
<?php if ($this->_tpl_vars['flotte']['vaisseau_9']): ?>
<tr>
<td><?php echo $this->_tpl_vars['nomvais']['8']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotte']['vaisseau_9']; ?>
</td>
</tr>
<?php endif; ?>
<?php if ($this->_tpl_vars['flotte']['vaisseau_10']): ?>
<tr>
<td><?php echo $this->_tpl_vars['nomvais']['9']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotte']['vaisseau_10']; ?>
</td>
</tr>
<?php endif; ?>
<?php if ($this->_tpl_vars['flotte']['vaisseau_11']): ?>
<tr>
<td><?php echo $this->_tpl_vars['nomvais']['10']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotte']['vaisseau_11']; ?>
</td>
</tr>
<?php endif; ?>
<?php if ($this->_tpl_vars['flotte']['vaisseau_12']): ?>
<tr>
<td><?php echo $this->_tpl_vars['nomvais']['11']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotte']['vaisseau_12']; ?>
</td>
</tr>
<?php endif; ?>
</table><br />
<h2>Contenu de la flotte</h2>
<br /><table style="margin: auto;">
<tr>
<td><?php echo $this->_tpl_vars['nomsressources']['0']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotte']['contenu_metalF']; ?>
</td>
</tr>
<tr>
<td><?php echo $this->_tpl_vars['nomsressources']['1']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotte']['contenu_cristalF']; ?>
</td>
</tr>
<tr>
<td><?php echo $this->_tpl_vars['nomsressources']['2']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotte']['contenu_hydrogeneF']; ?>
</td>
</tr>
<tr>
<td>Maximum</td>
<td><?php echo $this->_tpl_vars['flotte']['contenu_maxF']; ?>
</td>
</tr>
</table><br />
<h2>Détails de la mission</h2>
<table>
<tbody>
<tr>
<td>Mission</td>
<td><?php echo $this->_tpl_vars['flotte']['missionF']; ?>
</td>
</tr>
<?php if ($this->_tpl_vars['flotte']['mission'] == 1): ?>
<tr>
<td>Tactique par défaut</td>
<td><?php echo $this->_tpl_vars['flotte']['tactiqueAtDef']; ?>
</td>
</tr>
<?php if ($this->_tpl_vars['flotte']['tactiqueAT']): ?>
<tr>
<td>Tactique pour le tour suivant</td>
<td><?php echo $this->_tpl_vars['flotte']['tactiqueF']; ?>
</td>
</tr>
<?php else: ?>
<tr>
<td>Tactique pour le tour suivant</td>
<td><?php echo $this->_tpl_vars['flotte']['tactiqueAtDef']; ?>
</td>
</tr>
<?php endif; ?>
<?php endif; ?>
<tr>
<td>Etat de la mission</td>
<?php if ($this->_tpl_vars['flotte']['effectue'] == 2): ?>
<td>En cours</td>
<?php elseif ($this->_tpl_vars['flotte']['effectue'] == 1): ?>
<td>Effectuée</td>
<?php else: ?>
<td>Déplacement</td>
<?php endif; ?>
</tr>
<tr>
<td style="border: none;"></td>
</tr>
<tr>
<td>Plan&egrave;te source</td>
<td>[<?php echo $this->_tpl_vars['flotte']['start_galaxie']; ?>
:<?php echo $this->_tpl_vars['flotte']['start_ss']; ?>
:<?php echo $this->_tpl_vars['flotte']['start_position']; ?>
]</td>
</tr>
<tr>
<td>Date de départ</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['flotte']['start_time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "/%a %d %b %y/ %H%M %S") : smarty_modifier_date_format($_tmp, "/%a %d %b %y/ %H%M %S")); ?>
</td>
</tr>
<tr>
<td style="border: none;"></td>
</tr>
<tr>
<td>Plan&egrave;te de destination</td>
<td>[<?php echo $this->_tpl_vars['flotte']['end_galaxie']; ?>
:<?php echo $this->_tpl_vars['flotte']['end_ss']; ?>
:<?php echo $this->_tpl_vars['flotte']['end_position']; ?>
]</td>
</tr>
<tr>
<td>Temps de déplacement</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['flotte']['end_time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%k:%M:%S") : smarty_modifier_date_format($_tmp, "%k:%M:%S")); ?>
</td>
</tr>
<tr>
<td>Date <?php if ($this->_tpl_vars['flotte']['mission'] != 6): ?>d'arrivée<?php else: ?>de retour<?php endif; ?></td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['flotte']['end_timeT'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "/%a %d %b %y/ %H%M %S") : smarty_modifier_date_format($_tmp, "/%a %d %b %y/ %H%M %S")); ?>
</td>
</tr>
</tbody>
</table>
<?php if ($this->_tpl_vars['flotte']['mission'] != 6): ?><a href="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
&amp;n=<?php echo $this->_tpl_vars['n']; ?>
&amp;a=<?php echo $this->_tpl_vars['ret_fleet']; ?>
">Annuler la mission et rappeler la flotte</a><?php endif; ?>
<div class="border_bt"></div>
<?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);
?>