Version 1.9g

This commit is contained in:
nemunaire 2008-11-08 12:00:00 +01:00
commit 4c9814a99c
800 changed files with 237325 additions and 1949 deletions

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 00:05:12
<?php /* Smarty version 2.6.19, created on 2008-10-31 00:41:42
compiled from game/arbre.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
@ -26,25 +26,6 @@ unset($_smarty_tpl_vars);
</a> (<?php echo $this->_tpl_vars['batiment']['niveau']; ?>
) :</td><td><?php echo $this->_tpl_vars['batiment']['etat']; ?>
</td></tr>
<?php endforeach; endif; unset($_from); ?>
</tbody></table></div>
</div>
<div<?php if ($this->_tpl_vars['defaut'] == 'technologies'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;q=technologies&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
">Technologies</a>
<div><table><thead>
<tr><th>Technologies (niveau)</th><th>Technologies nécessaires (niveau actuel)</th></tr>
</thead><tbody>
<?php $_from = $this->_tpl_vars['technologies']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['technologie']):
?>
<tr><td><a href="?p=description&amp;t=<?php echo $this->_tpl_vars['technologie']['id']; ?>
&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
#menu"><?php echo $this->_tpl_vars['technologie']['nom']; ?>
</a> (<?php echo $this->_tpl_vars['technologie']['niveau']; ?>
) :</td><td><?php echo $this->_tpl_vars['technologie']['etat']; ?>
</td></tr>
<?php endforeach; endif; unset($_from); ?>
</tbody></table></div>
</div>

View file

@ -0,0 +1,14 @@
<?php /* Smarty version 2.6.19, created on 2008-10-31 01:49:47
compiled from cms/../cms/vide.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<?php echo $this->_tpl_vars['contenu']; ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -1,7 +1,7 @@
<?php /* Smarty version 2.6.19, created on 2008-09-12 13:31:16
<?php /* Smarty version 2.6.19, created on 2008-11-04 01:05:54
compiled from game/laboratoire.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/laboratoire.tpl', 29, false),)), $this); ?>
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/laboratoire.tpl', 30, false),array('modifier', 'separerNombres', 'game/laboratoire.tpl', 42, 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;
@ -17,7 +17,7 @@ unset($_smarty_tpl_vars);
"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['fbat']['2']; ?>
,'reste<?php echo $this->_tpl_vars['key']; ?>
', <?php if ($this->_tpl_vars['key'] == 0): ?>true<?php else: ?>false<?php endif; ?>);</script> - <a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
&amp;a=<?php echo $this->_tpl_vars['fbat']['0']; ?>
&amp;a=<?php echo $this->_tpl_vars['key']; ?>
">Annuler</a></span>
<?php endforeach; endif; unset($_from); ?>
<?php if ($this->_tpl_vars['Vchaine']): ?><span>Aucune recherche dans la file d'attente</span>
@ -33,8 +33,7 @@ unset($_smarty_tpl_vars);
?>
<tr>
<td>
<a class="bulle" href="?p=description&amp;t=<?php echo $this->_tpl_vars['recherche']['num']; ?>
#menu">
<a class="bulle" href="javascript:alert('Pas de description, arbre en cours de programmation');">
<img width="130" height="132" src="images/technologies/<?php echo $this->_tpl_vars['recherche']['image']; ?>
" alt="<?php echo $this->_tpl_vars['recherche']['nom']; ?>
" />
@ -69,6 +68,14 @@ unset($_smarty_tpl_vars);
</span><br />
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['recherche']['nec_hydrogeneS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['recherche']['nec_credits'] > 0): ?>
<?php if ($this->_tpl_vars['recherche']['nec_credits'] > $this->_tpl_vars['planete']->credits): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['4'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nec_credits'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
</span><br />
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['4'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nec_credits'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
<br /><?php endif; ?>
<?php endif; ?>
Temps de recherche : <?php echo $this->_tpl_vars['recherche']['temps']; ?>
@ -76,6 +83,8 @@ unset($_smarty_tpl_vars);
<?php if ($this->_tpl_vars['recherche']['enfile']): ?><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
&amp;a=<?php echo $this->_tpl_vars['recherche']['num']; ?>
">Arrêter</a>
<?php elseif ($this->_tpl_vars['recherche']['nec_credits'] > $this->_tpl_vars['planete']->credits): ?><span class="lack"><?php echo $this->_tpl_vars['nomsressources']['4']; ?>
insuffisant</span>
<?php elseif ($this->_tpl_vars['recherche']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene): ?><span class="lack" title="manque <?php if ($this->_tpl_vars['recherche']['maq_metal'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_metal']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
; <?php endif; ?><?php if ($this->_tpl_vars['recherche']['maq_cristal'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_cristal']; ?>
@ -99,6 +108,7 @@ unset($_smarty_tpl_vars);
<?php endif; ?>">Ressources insuffisantes</span>
<?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
&amp;t=<?php echo $this->_tpl_vars['recherche']['num']; ?>
&amp;f=<?php echo $this->_tpl_vars['recherche']['file']; ?>
">Construire</a>
<?php endif; ?>
</div>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-09-12 12:24:02
<?php /* Smarty version 2.6.19, created on 2008-11-03 21:44:58
compiled from game/footer.tpl */ ?>
<div class="border_bt"></div></div>
<div id="footer">
@ -10,7 +10,7 @@
">Accueil</a> | <a href="<?php echo $this->_tpl_vars['link']['blog']; ?>
">Blog</a> | <a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
">Forum</a> | <a href="<?php echo $this->_tpl_vars['menu']['chat']; ?>
">Chat</a> | <a href="<?php echo $this->_tpl_vars['link']['faq']; ?>
">Chat</a> | <a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
">F.A.Q.</a> | <a href="<?php echo $this->_tpl_vars['link']['operateur']; ?>
">Nous contacter</a>
<?php echo $this->_tpl_vars['analyst']; ?>

View file

@ -0,0 +1,43 @@
<?php /* Smarty version 2.6.19, created on 2008-10-12 00:30:52
compiled from game/amis.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/amis.tpl', 13, 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);
?>
<h2>Amis existants</h2>
<table>
<thead>
<tr>
<th>Nom du joueur</th>
<th>Supprimer</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['destins']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['destin']):
?>
<tr>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['destin']['1'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</td>
<td><a href="?p=amis&amp;d=<?php echo $this->_tpl_vars['destin']['0']; ?>
&amp;a=<?php echo $this->_tpl_vars['destin']['2']; ?>
">Supprimer</a></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<h2>Ajouter un ami</h2>
<form action="?p=amis" method="post">
<fieldset class="options">
<label for="nom">Nom du joueur</label><input class="text" type="text" id="nom" name="nom" maxlength="32" /><br />
<input class="submit" type="submit" value="Ajouter" />
</fieldset>
</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);
?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 16:45:39
<?php /* Smarty version 2.6.19, created on 2008-11-07 23:33:54
compiled from game/options.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
@ -7,14 +7,14 @@ unset($_smarty_tpl_vars);
?>
<h2>Signature pour forum</h2>
<img src="http://<?php echo $this->_tpl_vars['url_serveur']; ?>
/sign.php?i=<?php echo $this->_tpl_vars['user']['id']; ?>
/sign.php?i=<?php echo $this->_tpl_vars['planete']->id_user; ?>
" alt="Signature" /><br /><a href="http://<?php echo $this->_tpl_vars['url_serveur']; ?>
/sign.php?i=<?php echo $this->_tpl_vars['user']['id']; ?>
/sign.php?i=<?php echo $this->_tpl_vars['planete']->id_user; ?>
">http://<?php echo $this->_tpl_vars['url_serveur']; ?>
/sign.php?i=<?php echo $this->_tpl_vars['user']['id']; ?>
/sign.php?i=<?php echo $this->_tpl_vars['planete']->id_user; ?>
</a><br /><br />
BBcode pour forums : <input value="[url=http://www.halo-battle.fr][img]http://<?php echo $this->_tpl_vars['url_serveur']; ?>
/sign.php?i=<?php echo $this->_tpl_vars['user']['id']; ?>
/sign.php?i=<?php echo $this->_tpl_vars['planete']->id_user; ?>
[/img][/url]" />
<h2>Changer de mot de passe</h2>
<form action="<?php echo $this->_tpl_vars['menu']['options']; ?>
@ -35,13 +35,20 @@ unset($_smarty_tpl_vars);
<b>L'adresse électronique sera modifiée une fois validée depuis votre nouvelle adresse.</b><br /><br />
<input class="submit" type="submit" value="OK" />
</fieldset></form>
<h2>Recevoir des notifications par mail</h2>
<form action="<?php echo $this->_tpl_vars['menu']['options']; ?>
&amp;chg=recmail" method="post">
<fieldset class="options">
<input type="checkbox" name="recmail" id="recmail" value="1" /> <label for="recmail">Recevoir des notifications par mail</label>
</fieldset>
</form>
<h2>Mode vacances</h2>
Si vous devez vous absenter de votre compte pour une durée supérieure à 3 jours, vous pouvez mettre votre compte en mode vacances.<br />Vous ne pouvez pas vous faire attaquer (les attaques déjà lancées ne seront pas annulées !) durant cette période, mais vous ne produirez pas de resources sur vos planètes.<br /><br /><b>Veuillez vider <span style="text-decoration: underline;">toutes</span> vos files d'attentes avant d'activer le mode vacances !</b><br />
<br /><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
&amp;a=mv&amp;n=<?php echo $this->_tpl_vars['idvac']; ?>
">Activer le mode vacances maintenant</a>
<h2>Supprimer son compte</h2>
<?php if ($this->_tpl_vars['user']['mv'] < 0): ?><span style="color: #FF0000;">Vous avez demandé la suppression de votre compte. Il sera supprimé sous 48h.</span>
<?php if ($this->_tpl_vars['planete']->mv < 0): ?><span style="color: #FF0000;">Vous avez demandé la suppression de votre compte. Il sera supprimé sous 48h.</span>
<?php else: ?><br /><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
&amp;a=dl&amp;n=<?php echo $this->_tpl_vars['idvac']; ?>
" onclick="return confirm('Êtes-vous sûr de vouloir supprimer votre compte ?');">Supprimer mon compte</a><?php endif; ?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 16:28:56
<?php /* Smarty version 2.6.19, created on 2008-09-23 19:05:48
compiled from game/caserne.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/caserne.tpl', 28, false),)), $this); ?>
@ -80,7 +80,7 @@ unset($_smarty_tpl_vars);
: <?php echo $this->_tpl_vars['unite']['nec_hydrogeneS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
Temps de construction : <?php echo $this->_tpl_vars['unite']['temps']; ?>
Temps d'entra&icirc;nement : <?php echo $this->_tpl_vars['unite']['temps']; ?>
<br /><br />
<form action="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
&amp;v=<?php echo $this->_tpl_vars['unite']['num']; ?>

View file

@ -0,0 +1,27 @@
<?php /* Smarty version 2.6.19, created on 2008-11-03 22:40:31
compiled from game/rename.tpl */ ?>
<?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);
?>
<img src="images/planetes/<?php echo $this->_tpl_vars['planete']->image; ?>
.jpg" width="200" height="200" alt="planète" />
<h2>Renommer la planète</h2>
<form action="?p=rename" method="post">
<fieldset class="options"><label for="planete">Renommer la planète: (<?php echo $this->_tpl_vars['planete']->galaxie; ?>
:<?php echo $this->_tpl_vars['planete']->ss; ?>
:<?php echo $this->_tpl_vars['planete']->position; ?>
) :</label><input class="text" type="text" name="planete" maxlength="18" value="<?php echo $this->_tpl_vars['planete']->nom_planete; ?>
" id="planete" /><br /><br /><input class="submit" type="submit" value="OK" /></fieldset>
</form>
<h2>Abandonner la planète</h2>
<?php if ($this->_tpl_vars['abandonH']): ?><b>Attention, cette action est irréversible ; vous perdrez tous les batiments, vaisseaux et unités présents sur cette planète, les flottes ayant une mision qui a pour origine votre planète se perdront dans l'espace.</b><br /><br />Si vous êtes sur de vouloir abandonner cette planète : <a href="?p=rename&amp;a=<?php echo $this->_tpl_vars['abandonH']; ?>
&amp;i=<?php echo $this->_tpl_vars['planete']->id; ?>
" onclick="return confirm('Êtes-vous sûr de vouloir abandonner cette planète ?');">cliquez sur ce lien</a>.<br /><br />
<?php else: ?>Vous ne pouvez pas abandonner cette planète car vous n'en avez pas d'autre.<br /><br /><?php endif; ?>
<?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);
?>

View file

@ -1,35 +1,35 @@
<?php /* Smarty version 2.6.19, created on 2008-09-20 00:11:47
<?php /* Smarty version 2.6.19, created on 2008-10-31 01:58:55
compiled from game/classement.tpl */ ?>
<?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);
?>
<h2>Classement</h2>
?>
<h2>Classement</h2>
<form action="<?php echo $this->_tpl_vars['menu']['classement']; ?>
" method="get">
<fieldset>
<input type="hidden" value="classement" name="p" />
<select name="t">
<option value="0"<?php if ($this->_tpl_vars['t'] == '0'): ?>selected="selected"<?php endif; ?>>Pseudo</option>
<option value="1"<?php if ($this->_tpl_vars['t'] == '1'): ?>selected="selected"<?php endif; ?>>Alliance</option>
</select>&nbsp;&nbsp;&nbsp;&nbsp;<select name="e">
<option value="points"<?php if ($this->_tpl_vars['export'] == 'points'): ?> selected="selected"<?php endif; ?>>Points</option>
<option value="batiment"<?php if ($this->_tpl_vars['export'] == 'batiments'): ?> selected="selected"<?php endif; ?>>Bâtiment</option>
<option value="flotte"<?php if ($this->_tpl_vars['export'] == 'flottes'): ?> selected="selected"<?php endif; ?>>Flotte</option>
<option value="recherches"<?php if ($this->_tpl_vars['export'] == 'recherches'): ?> selected="selected"<?php endif; ?>>Recherches</option>
" method="get">
<fieldset>
<input type="hidden" value="classement" name="p" />
<select name="t">
<option value="0"<?php if ($this->_tpl_vars['t'] == '0'): ?>selected="selected"<?php endif; ?>>Pseudo</option>
<option value="1"<?php if ($this->_tpl_vars['t'] == '1'): ?>selected="selected"<?php endif; ?>>Alliance</option>
</select>&nbsp;&nbsp;&nbsp;&nbsp;<select name="e">
<option value="points"<?php if ($this->_tpl_vars['export'] == 'points'): ?> selected="selected"<?php endif; ?>>Points</option>
<option value="batiment"<?php if ($this->_tpl_vars['export'] == 'batiments'): ?> selected="selected"<?php endif; ?>>Bâtiment</option>
<option value="flotte"<?php if ($this->_tpl_vars['export'] == 'flottes'): ?> selected="selected"<?php endif; ?>>Flotte</option>
<option value="recherches"<?php if ($this->_tpl_vars['export'] == 'recherches'): ?> selected="selected"<?php endif; ?>>Recherches</option>
</select>&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->_tpl_vars['q']; ?>
&nbsp;&nbsp;&nbsp;&nbsp;<input class="submit" type="submit" value="GO" />
</fieldset>
</form>
<table class="systeme"><thead>
<?php if ($this->_tpl_vars['t'] == '0'): ?>
<tr><th>Rang</th><th>Evolution</th><th>Pseudo</th><th>Message</th><th>Race</th><th>Alliance</th><th>Points</th></tr></thead><tbody>
&nbsp;&nbsp;&nbsp;&nbsp;<input class="submit" type="submit" value="GO" />
</fieldset>
</form>
<table class="systeme"><thead>
<?php if ($this->_tpl_vars['t'] == '0'): ?>
<tr><th>Rang</th><th>Evolution</th><th>Pseudo</th><th>Message</th><th>Race</th><th>Alliance</th><th>Points</th></tr></thead><tbody>
<?php $_from = $this->_tpl_vars['places']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['place']):
?>
<?php if ($this->_tpl_vars['place']['1'] == $this->_tpl_vars['user']['pseudo']): ?><tr style="background: #E5E5E5;" id="moi"><td><b><?php echo $this->_tpl_vars['place']['0']; ?>
?>
<?php if ($this->_tpl_vars['place']['1'] == $this->_tpl_vars['planete']->pseudo): ?><tr style="background: #E5E5E5;" id="moi"><td><b><?php echo $this->_tpl_vars['place']['0']; ?>
</b></td><td>-</td><td><b><?php echo $this->_tpl_vars['place']['1']; ?>
</b></td><td></td><td><b><?php echo $this->_tpl_vars['place']['2']; ?>
</b></td><td><b><?php if ($this->_tpl_vars['place']['3']): ?>[<?php echo $this->_tpl_vars['place']['3']; ?>
@ -42,27 +42,27 @@ unset($_smarty_tpl_vars);
</td><td><?php if ($this->_tpl_vars['place']['3']): ?>[<?php echo $this->_tpl_vars['place']['3']; ?>
] <?php echo $this->_tpl_vars['place']['4']; ?>
<?php endif; ?></td><td><?php echo $this->_tpl_vars['place']['5']; ?>
</td></tr><?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['t'] == '1'): ?>
<tr><th>Rang</th><th>Alliance</th><th>Membres</th><th>Points</th><th>Points par membres</th></tr></thead><tbody>
</td></tr><?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['t'] == '1'): ?>
<tr><th>Rang</th><th>Alliance</th><th>Membres</th><th>Points</th><th>Points par membres</th></tr></thead><tbody>
<?php $_from = $this->_tpl_vars['places']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['place']):
?>
?>
<tr><td><?php echo $this->_tpl_vars['place']['0']; ?>
</td><td><?php echo $this->_tpl_vars['place']['1']; ?>
</td><td><?php echo $this->_tpl_vars['place']['2']; ?>
</td><td><?php echo $this->_tpl_vars['place']['3']; ?>
</td><td><?php echo $this->_tpl_vars['place']['4']; ?>
</td></tr>
<?php endforeach; endif; unset($_from); ?>
<?php endif; ?>
</tbody></table>
</td></tr>
<?php endforeach; endif; unset($_from); ?>
<?php endif; ?>
</tbody></table>
<?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);
?>
?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 16:39:56
<?php /* Smarty version 2.6.19, created on 2008-11-03 23:08:41
compiled from game/simulateur_combat.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
@ -76,17 +76,7 @@ unset($_smarty_tpl_vars);
<label for="ATtactique">Tactique attaquant :</label><input class="text" maxlength="2" type="text" id="ATtactique" name="ATtactique" /><br />
<label for="ENtactique">Tactique défenseur :</label><input class="text" maxlength="2" type="text" id="ENtactique" name="ENtactique" /><br />
</fieldset>
<fieldset class="options">
<label for="ATarme"><?php echo $this->_tpl_vars['technolo']['2']; ?>
attaquant :</label><input class="text" maxlength="2" type="text" id="ATarme" name="ATarme" /><br />
<label for="ENarme"><?php echo $this->_tpl_vars['technolo']['2']; ?>
défenseur :</label><input class="text" maxlength="2" type="text" id="ENarme" name="ENarme" /><br />
<label for="ATblind"><?php echo $this->_tpl_vars['technolo']['3']; ?>
attaquant :</label><input class="text" maxlength="2" type="text" id="ATblind" name="ATblind" /><br />
<label for="ENblind"><?php echo $this->_tpl_vars['technolo']['3']; ?>
défenseur :</label><input class="text" maxlength="2" type="text" id="ENblind" name="ENblind" /><br />
</fieldset>
<fieldset class="options">
<fieldset class="options">
<label for="ENmetal"><?php echo $this->_tpl_vars['nomressourc']['0']; ?>
sur la planète attaquée :</label><input class="text" maxlength="4" type="text" id="ENmetal" name="ENmetal" /><br />
<label for="ENcristal"><?php echo $this->_tpl_vars['nomressourc']['1']; ?>

View file

@ -1,7 +1,7 @@
<?php /* Smarty version 2.6.19, created on 2008-09-14 19:56:45
<?php /* Smarty version 2.6.19, created on 2008-11-07 23:29:01
compiled from game/accueil.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/accueil.tpl', 8, false),array('modifier', 'upper', 'game/accueil.tpl', 23, false),)), $this); ?>
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/accueil.tpl', 8, false),array('modifier', 'upper', 'game/accueil.tpl', 25, 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;
@ -10,9 +10,9 @@ unset($_smarty_tpl_vars);
<h2>Evénements</h2>
<?php if ($this->_tpl_vars['multi']): ?><strong style="color: #FF0000;"><a href="?p=avertmulti">Multicompte :</a> évitez toute interaction avec <?php $_from = $this->_tpl_vars['multi']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['cmpt']):
?><?php if ($this->_tpl_vars['cmpt']['id_util'] != $this->_tpl_vars['user']['id']): ?><?php if ($this->_tpl_vars['key'] > 0): ?>, <?php endif; ?><?php echo $this->_tpl_vars['cmpt']['pseudo']; ?>
?><?php if ($this->_tpl_vars['cmpt']['id_util'] != $this->_tpl_vars['planete']->id_user): ?><?php if ($this->_tpl_vars['key'] > 0): ?>, <?php endif; ?><?php echo $this->_tpl_vars['cmpt']['pseudo']; ?>
<?php endif; ?><?php endforeach; endif; unset($_from); ?> durant cette session.</strong><br /><?php endif; ?>
<?php if ($this->_tpl_vars['user']['mv'] < 0): ?><strong style="color: #FF0000;">Une demande de suppression de votre compte est en cours. Il sera supprimé sous 48h.<br />Si vous n'avez pas demandé la suppression de votre compte, <a href="<?php echo $this->_tpl_vars['link']['operateur']; ?>
<?php if ($this->_tpl_vars['planete']->mv < 0): ?><strong style="color: #FF0000;">Une demande de suppression de votre compte est en cours. Il sera supprimé sous 48h.<br />Si vous n'avez pas demandé la suppression de votre compte, <a href="<?php echo $this->_tpl_vars['link']['operateur']; ?>
">contactez un opérateur</a> au plus vite.</strong><?php endif; ?>
<em>Heure du serveur: <?php echo $this->_tpl_vars['datehb']; ?>
</em>
@ -57,16 +57,16 @@ unset($_smarty_tpl_vars);
message non lu</a></h4>
<?php endif; ?>
<h3><a href="?p=rename"><?php if (! $this->_tpl_vars['planete']->nom_planete): ?>Sans nom<?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->nom_planete)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a> (<span><?php echo $this->_tpl_vars['user']['pseudo']; ?>
</a> (<span><?php echo $this->_tpl_vars['planete']->pseudo; ?>
</span>)</h3>
<img src="images/planetes/<?php echo $this->_tpl_vars['planete']->image; ?>
.jpg" width="200" height="200" alt="Planète" />
<h2>Infos</h2>
<h4>Diamètre: <?php echo $this->_tpl_vars['diametre']; ?>
km <ins>(<?php echo $this->_tpl_vars['planete']->casesRest; ?>
/<?php echo $this->_tpl_vars['planete']->cases; ?>
cases)</ins></h4>
<h4>Race : <?php echo $this->_tpl_vars['user']['race']; ?>
cases disponibles sur <?php echo $this->_tpl_vars['planete']->cases; ?>
)</ins></h4>
<h4>Race : <?php echo $this->_tpl_vars['planete']->race; ?>
</h4>
<h4>position: <a href="?p=carte&amp;galaxie=<?php echo $this->_tpl_vars['planete']->galaxie; ?>
&amp;ss=<?php echo $this->_tpl_vars['planete']->ss; ?>
@ -74,11 +74,15 @@ unset($_smarty_tpl_vars);
.<?php echo $this->_tpl_vars['planete']->ss; ?>
.<?php echo $this->_tpl_vars['planete']->position; ?>
</a></h4>
<h4>Classement: <a href="?p=classement&amp;j=<?php echo $this->_tpl_vars['user']['id']; ?>
&amp;c=<?php echo $this->_tpl_vars['user']['place_points']; ?>
#moi"><?php echo $this->_tpl_vars['points']; ?>
points (<?php if ($this->_tpl_vars['user']['place_points'] == '0'): ?>non classé<?php else: ?><?php echo $this->_tpl_vars['user']['place_points']; ?>
<?php if ($this->_tpl_vars['user']['place_points'] == '1'): ?>er<?php else: ?>ème<?php endif; ?><?php endif; ?>)</a></h4>
<h4>population: <?php echo $this->_tpl_vars['planete']->population; ?>
</h4>
<h4>crédits: <?php echo $this->_tpl_vars['planete']->credits; ?>
</h4>
<h4>Classement: <a href="?p=classement&amp;j=<?php echo $this->_tpl_vars['planete']->id; ?>
&amp;c=<?php echo $this->_tpl_vars['planete']->place_points; ?>
#moi"><?php if ($this->_tpl_vars['planete']->place_points == '0'): ?>non classé<?php else: ?><?php echo $this->_tpl_vars['planete']->place_points; ?>
<?php if ($this->_tpl_vars['planete']->place_points == '1'): ?>er<?php else: ?>ème<?php endif; ?><?php endif; ?> (<?php echo $this->_tpl_vars['points']; ?>
points)</a></h4>
<?php if ($this->_tpl_vars['alliance']): ?><h4>Alliance: <a href="?p=alliances">[<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
] <?php echo $this->_tpl_vars['alliance']['nom']; ?>
</a></h4><?php endif; ?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-09-19 23:57:45
<?php /* Smarty version 2.6.19, created on 2008-09-23 19:05:56
compiled from game/ressources.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'separernombres', 'game/ressources.tpl', 7, false),)), $this); ?>
@ -46,7 +46,7 @@ unset($_smarty_tpl_vars);
" maxlength="3" size="2" />%</select></td><td>0</td><td>0</td><td class="lack">-<?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_conso']['3'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['4'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td></tr><?php endif; ?>
<tr><td><?php echo $this->_tpl_vars['planete']->batiments['11']; ?>
<tr><td><?php echo $this->_tpl_vars['planete']->batiments['10']; ?>
<?php echo $this->_tpl_vars['nombat']['10']; ?>
</td><td>-</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_silo']['1'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_silo']['1'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>

View file

@ -1,12 +1,25 @@
<?php /* Smarty version 2.6.19, created on 2008-09-20 21:55:01
<?php /* Smarty version 2.6.19, created on 2008-11-03 23:27:56
compiled from game/gestion.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/gestion.tpl', 15, false),array('modifier', 'separernombres', 'game/gestion.tpl', 23, false),)), $this); ?>
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'game/gestion.tpl', 6, false),array('modifier', 'date_format', 'game/gestion.tpl', 7, false),array('modifier', 'escape', 'game/gestion.tpl', 25, false),array('modifier', 'separernombres', 'game/gestion.tpl', 34, 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);
?>
<h2>Politique</h2>
<form action="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
" method="post">
<fieldset class="options">
<label for="politique">Politique actuelle :</label>
<select name="politique" id="politique"><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['politiques'],'selected' => $this->_tpl_vars['planete']->politique), $this);?>
</select><br /><br />
<label>Dernier changement de régime :</label><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->politique_lastchange)) ? $this->_run_mod_handler('date_format', true, $_tmp, "%A %d %B %y") : smarty_modifier_date_format($_tmp, "%A %d %B %y")); ?>
<br /><br />
<label>Moral global de la population :</label>En cours de programmation<br /><br /><br />
<input class="submit" type="submit" value="Ok" />
</fieldset>
</form>
<h2>Gestion</h2>
<div id="gestion">
<table>
@ -39,6 +52,7 @@ unset($_smarty_tpl_vars);
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['plan']):
?>
<?php if ($this->_tpl_vars['plan']['id'] == $this->_tpl_vars['planeteEC']['id']): ?><?php $this->assign('plan', $this->_tpl_vars['planeteEC']); ?><?php endif; ?>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['metal'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td>
<?php endforeach; endif; unset($_from); ?>
@ -49,6 +63,7 @@ unset($_smarty_tpl_vars);
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['plan']):
?>
<?php if ($this->_tpl_vars['plan']['id'] == $this->_tpl_vars['planeteEC']['id']): ?><?php $this->assign('plan', $this->_tpl_vars['planeteEC']); ?><?php endif; ?>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['cristal'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td>
<?php endforeach; endif; unset($_from); ?>
@ -59,6 +74,7 @@ unset($_smarty_tpl_vars);
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['plan']):
?>
<?php if ($this->_tpl_vars['plan']['id'] == $this->_tpl_vars['planeteEC']['id']): ?><?php $this->assign('plan', $this->_tpl_vars['planeteEC']); ?><?php endif; ?>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['hydrogene'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td>
<?php endforeach; endif; unset($_from); ?>
@ -69,8 +85,19 @@ unset($_smarty_tpl_vars);
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['plan']):
?>
<?php if ($this->_tpl_vars['plan']['id'] == $this->_tpl_vars['planeteEC']['id']): ?><?php $this->assign('plan', $this->_tpl_vars['planeteEC']); ?><?php endif; ?>
<td><?php echo $this->_tpl_vars['plan']['energie']; ?>
</td>
<?php endforeach; endif; unset($_from); ?>
</tr>
<tr>
<td class="hightlight">Population</td>
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['plan']):
?>
<?php if ($this->_tpl_vars['plan']['id'] == $this->_tpl_vars['planeteEC']['id']): ?><?php $this->assign('plan', $this->_tpl_vars['planeteEC']); ?><?php endif; ?>
<td><?php echo $this->_tpl_vars['plan']['population']; ?>
</td>
<?php endforeach; endif; unset($_from); ?>
</tr>
</tbody>

View file

@ -1,7 +1,7 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 16:36:47
<?php /* Smarty version 2.6.19, created on 2008-09-21 17:13:59
compiled from game/bourse.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'floor', 'game/bourse.tpl', 22, false),array('modifier', 'escape', 'game/bourse.tpl', 52, false),)), $this); ?>
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'floor', 'game/bourse.tpl', 15, false),array('modifier', 'escape', 'game/bourse.tpl', 48, 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;
@ -18,51 +18,46 @@ unset($_smarty_tpl_vars);
</h4>
<?php endforeach; endif; unset($_from); ?>
<br /><h2>Bourse</h2>
<table class="bourse">
<thead>
<tr>
<th>Action</th>
<th>Evolution</th>
<th>Valeur <?php echo $this->_tpl_vars['nomsressources']['0']; ?>
</th>
<th>Valeur <?php echo $this->_tpl_vars['nomsressources']['1']; ?>
</th>
<th>Acheter</th>
<th>Vendre</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['bourse']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['action']):
?>
<div style="float: left;">
<table>
<tr>
<td><a href="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
&amp;d=<?php echo $this->_tpl_vars['action']['id']; ?>
"><?php echo $this->_tpl_vars['action']['nom']; ?>
</a></td>
<td colspan="3"><img src="bourse.php?a=<?php echo $this->_tpl_vars['action']['id']; ?>
" alt="<?php echo $this->_tpl_vars['action']['nom']; ?>
" /></td>
</tr>
<tr>
<td><?php if ($this->_tpl_vars['action']['evolution'] > 0): ?>FVerte<?php else: ?>FRouge<?php endif; ?></td>
<td><?php if ($this->_tpl_vars['action']['evolution'] > 0): ?>+<?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['action']['evolution'])) ? $this->_run_mod_handler('floor', true, $_tmp) : floor($_tmp)); ?>
%</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['action']['metal'])) ? $this->_run_mod_handler('floor', true, $_tmp) : floor($_tmp)); ?>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['action']['cristal'])) ? $this->_run_mod_handler('floor', true, $_tmp) : floor($_tmp)); ?>
</td>
<td>
<td><?php if ($this->_tpl_vars['action']['evolution'] > 0): ?>+<?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['action']['evolution'])) ? $this->_run_mod_handler('floor', true, $_tmp) : floor($_tmp)); ?>
%</td>
</tr>
<tr>
<td colspan="2">
<form action="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
&amp;a=<?php echo $this->_tpl_vars['action']['id']; ?>
" method="post">
<fieldset>
<input type="text" class="text" name="a<?php echo $this->_tpl_vars['action']['id']; ?>
Acheter : <input type="text" class="text" name="a<?php echo $this->_tpl_vars['action']['id']; ?>
" maxlength="3" value="0" />
<input type="submit" class="submit" value="OK" />
</fieldset>
</form>
</td>
<td>
<td rowspan="2"><strong>Valeur :</strong><br />Métal : <?php echo ((is_array($_tmp=$this->_tpl_vars['action']['metal'])) ? $this->_run_mod_handler('floor', true, $_tmp) : floor($_tmp)); ?>
<br />Cristal : <?php echo ((is_array($_tmp=$this->_tpl_vars['action']['cristal'])) ? $this->_run_mod_handler('floor', true, $_tmp) : floor($_tmp)); ?>
</td>
</tr>
<tr>
<td colspan="2">
<form action="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
&amp;v=<?php echo $this->_tpl_vars['action']['id']; ?>
" method="post">
<fieldset>
<input type="text" class="text" name="a<?php echo $this->_tpl_vars['action']['id']; ?>
Vendre : <input type="text" class="text" name="a<?php echo $this->_tpl_vars['action']['id']; ?>
" maxlength="3" value="0" />/<?php echo $this->_tpl_vars['action']['nbactions']; ?>
<input type="submit" class="submit" value="OK" />
@ -70,12 +65,11 @@ unset($_smarty_tpl_vars);
</form>
</td>
</tr>
</table>
</div>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<?php if ($this->_tpl_vars['auth_level'] >= 3): ?>
<h2>Nouvelle action</h2>
<h2 style="clear: both;">Nouvelle action</h2>
<form action="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
&amp;c=new" method="post">
<fieldset class="options">

View file

@ -0,0 +1,51 @@
<?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&egrave;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);
?>

View file

@ -0,0 +1,30 @@
<?php /* Smarty version 2.6.19, created on 2008-10-31 00:14:53
compiled from admin/print.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'truncate', 'admin/print.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);
?>
<table>
<?php $_from = $this->_tpl_vars['tableau']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['ligne']):
?>
<tr>
<td><a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
&amp;id=<?php echo $this->_tpl_vars['idPlan']; ?>
&amp;key=<?php echo $this->_tpl_vars['key']; ?>
"><?php echo $this->_tpl_vars['key']; ?>
</a></td>
<td><?php if ($this->_tpl_vars['key'] == 'mdp'): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 50) : smarty_modifier_truncate($_tmp, 50)); ?>
<?php else: ?><?php echo $this->_tpl_vars['ligne']; ?>
<?php endif; ?></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
<?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);
?>

View file

@ -0,0 +1,38 @@
<?php /* Smarty version 2.6.19, created on 2008-10-12 00:16:52
compiled from game/bugs.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/bugs.tpl', 5, 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);
?>
<h2>Rapports de bug</h2>
<?php $_from = $this->_tpl_vars['bugs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['bug']):
?>
<dl>
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><?php echo $this->_tpl_vars['bug']['0']; ?>
, le <?php echo $this->_tpl_vars['bug']['1']; ?>
sur <?php echo ((is_array($_tmp=$this->_tpl_vars['bug']['2'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</dt><dd><?php echo $this->_tpl_vars['bug']['3']; ?>
<?php if ($this->_tpl_vars['auth_level'] > 2): ?><div style="text-align: right"><a href="<?php echo $this->_tpl_vars['menu']['bugs']; ?>
&amp;a=del&amp;i=<?php echo $this->_tpl_vars['bug']['4']; ?>
"><i>Supprimer</i></a></div><?php endif; ?></dd>
</dl>
<?php endforeach; endif; unset($_from); ?>
<h2>Ajouter un bug</h2>
<form action="<?php echo $this->_tpl_vars['menu']['bugs']; ?>
&amp;post" method="post"><fieldset class="options">
<strong>Attention : bien lire les bugs deja proposés, l'utilisation abusive ou des bugs ayant non lieus seront sanctionnés.</strong><br /><br />
<strong style="color: #FF0000;">Avant de poster votre bug, vérifiez que la page de contact d'opérateurs (bouton sous la bannière) n'y propose pas de solutions.<br /><br /><b>Les réclamations <span style="text-decoration: blink;">(pertes de vaisseaux, de flottes, ...)</span> ne sont pas des bugs et sont à voir avec les opérateurs (bouton opérateur sous la bannière)</b></strong><br /><br />
<label for="page">Page concernée :</label><input class="text" type="text" name="page" id="page" />
<label for="desc">Description :</label>
<textarea id="desc" name="description" cols="40" rows="10"></textarea><br /><br />
<input class="submit" type="submit" value="OK" />
</fieldset></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);
?>

View file

@ -0,0 +1,27 @@
<?php /* Smarty version 2.6.19, created on 2008-09-28 20:25:24
compiled from game/util.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'game/util.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);
?>
<h2>Détails du joueur : <?php echo $this->_tpl_vars['userD']['pseudo']; ?>
</h2>
<img src="<?php echo $this->_tpl_vars['userD']['image']; ?>
" alt="Image utilisateur" />
<h2>Infos</h2>
<h4>Classement : <a href="?p=classement&amp;j=<?php echo $this->_tpl_vars['userD']['id']; ?>
&amp;c=<?php echo $this->_tpl_vars['userD']['place_points']; ?>
#moi"><?php echo $this->_tpl_vars['userD']['points']; ?>
points (<?php if ($this->_tpl_vars['userD']['place_points'] == '0'): ?>non classé<?php else: ?><?php echo $this->_tpl_vars['userD']['place_points']; ?>
<?php if ($this->_tpl_vars['userD']['place_points'] == '1'): ?>er<?php else: ?>ème<?php endif; ?><?php endif; ?>)</a></h4>
<?php if ($this->_tpl_vars['alliance']): ?><h4>Alliance: <a href="?p=alliances">[<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
] <?php echo $this->_tpl_vars['alliance']['nom']; ?>
</a></h4><?php endif; ?>
<?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);
?>

View file

@ -0,0 +1,48 @@
<?php /* Smarty version 2.6.19, created on 2008-10-11 12:28:01
compiled from game/alliance_nm_fonder.tpl */ ?>
<?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);
?>
<h2>Cr&eacute;ation d'une alliance</h2>
<form id="form2" method="post" action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=fonder">
<table cellpadding="0" cellspacing="0" style="height: 143px; width: 621px;">
<thead>
<tr>
<th width="367" scope="col">
<table width="376" height="159" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td width="113" height="50" align="center" valign="middle" scope="col"><strong>Nom</strong></td>
<td width="242" align="center" valign="middle" scope="col">
<input name="nom" type="text" maxlength="255" />
</td>
</tr>
<tr>
<td height="51" align="center" valign="middle"><strong>Tag</strong></td>
<td align="center" valign="middle">
<input name="tag" type="text" size="15" maxlength="15" />
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="2" align="center" valign="middle"><input type="submit" class="submit" value="Cr&eacute;er " /></td>
</tr>
</tfoot>
</table>
</th>
<th scope="col" style="text-align: justify; vertical-align: middle; width: 254px;">
Rappel : <br />Cr&eacute;er une alliance ne peut pas se faire seul. Une fois que vous aurez lanc&eacute; la proc&eacute;dure, un lien vous sera donn&eacute;. Pour finir la cr&eacute;ation, donnez ce liens &agrave; quatre personnes qui sont sans alliance. &nbsp;
</th>
</tr>
</thead>
</table>
</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);
?>

View file

@ -0,0 +1,44 @@
<?php /* Smarty version 2.6.19, created on 2008-10-11 12:27:50
compiled from game/alliance_nm_accueil.tpl */ ?>
<?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);
?>
<h2>Créer une alliance</h2>
<h3><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=fonder">Fonder une alliance</a></h3>
<h3><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=signerform">Ratifier une alliance</a></h3>
<br />
<h2>Rechercher une alliance</h2>
<form method="post" action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=search">
<table width="355" height="194" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td width="113" align="center" valign="middle">
<select name="by" size="2" id="by">
<option value="tag" selected="selected">Tag</option>
<option value="nom">Nom</option>
</select>
</td>
<td width="242" align="center" valign="middle">
<p>Rechercher les alliances dont le nom/tag contiennent :<br /><input name="search" type="text" id="search" /></p>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="2" align="center" valign="middle">
<input type="submit" class="submit" value="GO" />
</td>
</tr>
</tfoot>
</table>
</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);
?>

View file

@ -0,0 +1,35 @@
<?php /* Smarty version 2.6.19, created on 2008-10-31 00:14:57
compiled from admin/print_key.tpl */ ?>
<?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);
?>
<table>
<tr>
<td><a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
&amp;id=<?php echo $this->_tpl_vars['idPlan']; ?>
"><?php echo $this->_tpl_vars['key']; ?>
</a></td>
</tr>
<tr>
<td>
<form action="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
&amp;id=<?php echo $this->_tpl_vars['idPlan']; ?>
&amp;" method="post">
<?php if ($this->_tpl_vars['type']['0'] == 'text' || $this->_tpl_vars['type']['0'] == 'longtext'): ?><textarea cols="10" rows="10" name="mod"><?php echo $this->_tpl_vars['tableau'][$this->_tpl_vars['key']]; ?>
</textarea><br />
<?php else: ?><input type="text" value="<?php echo $this->_tpl_vars['tableau'][$this->_tpl_vars['key']]; ?>
" name="mod" /><?php endif; ?>
<input type="hidden" value="<?php echo $this->_tpl_vars['key']; ?>
" name="key" />
<input type="submit" class="submit" value="GO" />
</form>
</td>
</tr>
</table>
<?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);
?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-09-19 23:28:08
<?php /* Smarty version 2.6.19, created on 2008-11-08 16:38:05
compiled from game/header.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/header.tpl', 92, false),array('modifier', 'separenombre', 'game/header.tpl', 93, false),)), $this); ?>
@ -34,7 +34,7 @@ smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'g
<div id="header_link"><span id="date"><?php echo $this->_tpl_vars['date']; ?>
</span> | Vous jouez depuis <?php echo $this->_tpl_vars['tpsdejeu']; ?>
| <a href="?p=version">Version <?php echo $this->_tpl_vars['version']; ?>
</a><?php if ($this->_tpl_vars['multi']): ?> | <a href="?p=avertmulti" style="color: #FF0000;">! MULTICOMPTE !</a><?php endif; ?><?php if ($this->_tpl_vars['user']['mv'] < 0): ?> | <a href="?p=accueil" style="color: #FF0000;">Votre compte sera supprimé d'ici 48h</a><?php endif; ?></div><a href="<?php echo $this->_tpl_vars['link']['RSS']; ?>
</a><?php if ($this->_tpl_vars['multi']): ?> | <a href="?p=avertmulti" style="color: #FF0000;">! MULTICOMPTE !</a><?php endif; ?><?php if ($this->_tpl_vars['planete']->mv < 0): ?> | <a href="?p=accueil" style="color: #FF0000;">Votre compte sera supprimé d'ici 48h</a><?php endif; ?></div><a href="<?php echo $this->_tpl_vars['link']['RSS']; ?>
" id="rss">RSS :: s'abonner</a>
<h1><a href="<?php echo $this->_tpl_vars['link']['self']; ?>
<?php echo $this->_tpl_vars['first_page']; ?>
@ -105,9 +105,9 @@ smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'g
<?php else: ?> <a href="<?php echo $this->_tpl_vars['menu']['accueil']; ?>
"<?php if ($this->_tpl_vars['page'] == 'accueil'): ?> class="hightlight"<?php endif; ?>>Accueil</a>
<a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
"<?php if ($this->_tpl_vars['page'] == 'batiments'): ?> class="hightlight"<?php endif; ?>>Batiments</a>
"<?php if ($this->_tpl_vars['page'] == 'batiments'): ?> class="hightlight"<?php endif; ?>>B&acirc;timents</a>
<a href="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
"<?php if ($this->_tpl_vars['page'] == 'caserne'): ?> class="hightlight"<?php endif; ?>>Caserne</a>
"<?php if ($this->_tpl_vars['page'] == 'caserne'): ?> class="hightlight"<?php endif; ?>><?php if ($this->_tpl_vars['race'] == 'covenant'): ?>Caserne<?php else: ?>Ecole militaire<?php endif; ?></a>
<a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
"<?php if ($this->_tpl_vars['page'] == 'chantierspatial'): ?> class="hightlight"<?php endif; ?>>Chantier spatial</a>
<a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
@ -155,18 +155,22 @@ smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'g
<?php if ($this->_tpl_vars['page'] != 'admin' && $this->_tpl_vars['page'] != 'vide' && $this->_tpl_vars['page'] != 'amis' && $this->_tpl_vars['page'] != 'flotten' && $this->_tpl_vars['page'] != 'messagerie' && $this->_tpl_vars['page'] != 'envoyer' && $this->_tpl_vars['page'] != 'bugs' && $this->_tpl_vars['page'] != 'carte' && $this->_tpl_vars['page'] != 'classement' && $this->_tpl_vars['page'] != 'options' && $this->_tpl_vars['page'] != 'simulation' && $this->_tpl_vars['page'] != 'vp' && $this->_tpl_vars['page'] != 'operateur' && $this->_tpl_vars['titre'] != 'Alliance'): ?>
<div id="corps_top">
<div class="border_top"></div>
<img src="images/planetes/<?php echo $this->_tpl_vars['planete']->image; ?>
.jpg" width="70" height="70" alt="planète" />
<div>Bonjour, <span><?php echo $this->_tpl_vars['user']['pseudo']; ?>
<a href="?p=rename"><img src="images/planetes/<?php echo $this->_tpl_vars['planete']->image; ?>
.jpg" width="70" height="70" alt="planète" /></a>
<div>Bonjour, <span><?php echo $this->_tpl_vars['planete']->pseudo; ?>
.</span><br />Votre position actuelle:<br /><br /><form action="<?php echo $this->_tpl_vars['link']['changeplanete']; ?>
" method="post"><fieldset><select onchange="this.form.submit();" name="Cplanete"><?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
" method="post"><fieldset><select onchange="this.form.submit();" name="Cplanete"><optgroup label="Colonies"><?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['plan']):
?><option <?php if ($this->_tpl_vars['plan']['id'] == $this->_tpl_vars['planete']->id): ?>selected="selected" <?php endif; ?>value="<?php echo $this->_tpl_vars['plan']['id']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['nom_planete'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
[<?php echo $this->_tpl_vars['plan']['galaxie']; ?>
:<?php echo $this->_tpl_vars['plan']['ss']; ?>
:<?php echo $this->_tpl_vars['plan']['position']; ?>
]</option><?php endforeach; endif; unset($_from); ?></select><noscript><div><br /><input class="submit" type="submit" value="GO" /></div></noscript></fieldset></form></div>
]</option><?php endforeach; endif; unset($_from); ?></optgroup><?php if ($this->_tpl_vars['asteroide']): ?><optgroup label="Astéroïdes"><option value="A<?php echo $this->_tpl_vars['asteroide']['id']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['asteroide']['nom_asteroide'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
[<?php echo $this->_tpl_vars['asteroide']['galaxie']; ?>
:<?php echo $this->_tpl_vars['asteroide']['ss']; ?>
:A]</option></optgroup><?php endif; ?></select><noscript><div><br /><input class="submit" type="submit" value="GO" /></div></noscript></fieldset></form></div>
<div class="ressource"><span><?php echo $this->_tpl_vars['nomsressources']['3']; ?>
</span><br /><?php if ($this->_tpl_vars['planete']->energieConso >= $this->_tpl_vars['planete']->energie): ?><span class="lack"><?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->energieConso)) ? $this->_run_mod_handler('separenombre', true, $_tmp) : smarty_modifier_separenombre($_tmp)); ?>
/<?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->energie)) ? $this->_run_mod_handler('separenombre', true, $_tmp) : smarty_modifier_separenombre($_tmp)); ?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 16:37:59
<?php /* Smarty version 2.6.19, created on 2008-10-31 17:18:51
compiled from game/flotte1.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/flotte1.tpl', 10, false),array('function', 'html_options', 'game/flotte1.tpl', 46, false),)), $this); ?>
@ -75,9 +75,9 @@ unset($_smarty_tpl_vars);
<form action="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
" method="post">
<fieldset class="options">
<label for="attaque">Attaque :</label><select name="attaque" id="attaque"><?php echo smarty_function_html_options(array('output' => $this->_tpl_vars['tactiques'],'values' => $this->_tpl_vars['tactiquesn'],'selected' => $this->_tpl_vars['attselect']), $this);?>
<label for="attaque">Attaque :</label><select name="attaque" id="attaque"><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['tactiques'],'selected' => $this->_tpl_vars['planete']->combatAT_tactique), $this);?>
</select><br />
<label for="defense">Défense :</label><select name="defense" id="defense"><?php echo smarty_function_html_options(array('output' => $this->_tpl_vars['tactiques'],'values' => $this->_tpl_vars['tactiquesn'],'selected' => $this->_tpl_vars['defselect']), $this);?>
<label for="defense">Défense :</label><select name="defense" id="defense"><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['tactiques'],'selected' => $this->_tpl_vars['planete']->combatDE_tactique), $this);?>
</select><br />
<input class="submit" type="submit" value="Ok" />
</fieldset>

View file

@ -0,0 +1,23 @@
<?php /* Smarty version 2.6.19, created on 2008-10-29 12:29:31
compiled from game/version.tpl */ ?>
<?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);
?>
<h2>Mises à jour</h2>
<table><thead><tr><th>Versions</th><th>Détails</th></tr></thead><tbody>
<?php $_from = $this->_tpl_vars['versions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['version']):
?>
<tr><td><?php echo $this->_tpl_vars['version']['numero']; ?>
<br /><?php echo $this->_tpl_vars['version']['date']; ?>
</td><td><?php echo $this->_tpl_vars['version']['description']; ?>
</td></tr>
<?php endforeach; endif; unset($_from); ?>
</tbody></table>
<?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);
?>