Version 1.2

This commit is contained in:
nemunaire 2008-11-22 12:00:00 +01:00
commit 083eb365c5
73 changed files with 1165 additions and 361 deletions

View file

@ -0,0 +1,100 @@
<?php /* Smarty version 2.6.19, created on 2008-05-21 15:50:22
compiled from game/chantierterrestre.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/chantierterrestre.tpl', 29, 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>File d'attente</h2>
<div class="file">
<?php $_from = $this->_tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['fterr']):
?>
<?php if ($this->_tpl_vars['key'] == 0): ?><span><strong>Prochaine unit&eacute; </strong> : <em id="resten"></em>
<script type="text/javascript">reste(<?php echo $this->_tpl_vars['fterr']['2']; ?>
,'resten', true);</script></span><?php endif; ?>
<span><?php echo $this->_tpl_vars['fterr']['1']; ?>
<?php echo $this->_tpl_vars['fterr']['3']; ?>
- <em id="reste<?php echo $this->_tpl_vars['key']; ?>
"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['fterr']['4']; ?>
,'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']['chantierterrestre']; ?>
&amp;a=<?php echo $this->_tpl_vars['fterr']['0']; ?>
">Annuler un</a> - <a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
&amp;a=<?php echo $this->_tpl_vars['fterr']['0']; ?>
&amp;n=<?php echo $this->_tpl_vars['fterr']['1']; ?>
">Annuler tous</a></span>
<?php endforeach; endif; unset($_from); ?>
<?php if ($this->_tpl_vars['Vchaine']): ?><span>Aucune unit&eacute; dans la file d'attente</span><?php endif; ?>
<br />
</div>
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;q=chantierterrestre">Arbre des technologies</a></h3><br />
<h2>Chantier terrestre </h2>
<table class="construction">
<?php $_from = $this->_tpl_vars['unite']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['unite']):
?>
<tr>
<td>
<a class="bulle" href="#">
<img width="130" height="132" src="images/terrestre/<?php echo $this->_tpl_vars['unite']['image']; ?>
" alt="Unit&eacute; terrestre" />
<span><?php echo $this->_tpl_vars['unite']['description']; ?>
</span>
</a>
</td>
<td>
<div>
<strong><?php echo $this->_tpl_vars['unite']['nom']; ?>
<?php if ($this->_tpl_vars['unite']['nombre'] > 0): ?> (<?php echo $this->_tpl_vars['unite']['nombre']; ?>
unite<?php if ($this->_tpl_vars['unite']['nombre'] > 1): ?>x<?php endif; ?>)<?php endif; ?></strong><br /><br />
<?php if ($this->_tpl_vars['unite']['nec_metal'] > 0): ?>
<?php if ($this->_tpl_vars['unite']['nec_metal'] > $this->_tpl_vars['planete']['metal']): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['unite']['nec_metalS']; ?>
</span><br />
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['unite']['nec_metalS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['unite']['nec_cristal'] > 0): ?>
<?php if ($this->_tpl_vars['unite']['nec_cristal'] > $this->_tpl_vars['planete']['cristal']): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['unite']['nec_cristalS']; ?>
</span><br />
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['unite']['nec_cristalS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['unite']['nec_hydrogene'] > 0): ?>
<?php if ($this->_tpl_vars['unite']['nec_hydrogene'] > $this->_tpl_vars['planete']['hydrogene']): ?><span class="lack">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['unite']['nec_hydrogeneS']; ?>
</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['unite']['nec_hydrogeneS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
Temps de construction : <?php echo $this->_tpl_vars['unite']['temps']; ?>
<br /><br />
<form action="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
&amp;v=<?php echo $this->_tpl_vars['unite']['num']; ?>
" method="post">
<fieldset>
<input class="text" type="text" name="nombre" value="0" />
<input class="submit" type="submit" value="OK" />
</fieldset>
</form>
</div>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
<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);
?>

View file

@ -0,0 +1,94 @@
<?php /* Smarty version 2.6.19, created on 2008-05-23 02:23:49
compiled from game/description.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);
?>
<div class="border_top"></div>
<h2>Détails <?php echo $this->_tpl_vars['type']; ?>
: <?php echo $this->_tpl_vars['nom']; ?>
</h2>
<table style="width: 400px;">
<tbody>
<tr>
<td style="width: 120px;"><img src="images/<?php echo $this->_tpl_vars['type']; ?>
/<?php echo $this->_tpl_vars['image']; ?>
" alt="" /></td>
<td><b><?php echo $this->_tpl_vars['nom']; ?>
</b><br />Actuellement : <?php if ($this->_tpl_vars['type'] != 'vaisseaux' && $this->_tpl_vars['type'] != 'terrestre'): ?>niveau<?php endif; ?> <?php echo $this->_tpl_vars['niveau']; ?>
<?php if ($this->_tpl_vars['type'] == 'vaisseaux' || $this->_tpl_vars['type'] == 'terrestre'): ?> unités<?php endif; ?></td>
</tr>
<tr>
<td colspan="2"><?php echo $this->_tpl_vars['description']; ?>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="2">
<table style="margin: auto; width: 100%;">
<thead>
<tr>
<th colspan="2">Coûts <?php if ($this->_tpl_vars['type'] == 'vaisseaux' || $this->_tpl_vars['type'] == 'terrestre'): ?>unité<?php else: ?>prochain niveau<?php endif; ?></th>
</tr>
</thead>
<tbody>
<?php if ($this->_tpl_vars['ressourcesNext']['0']): ?>
<tr>
<th><?php echo $this->_tpl_vars['nomsressources']['0']; ?>
</th>
<td><?php echo $this->_tpl_vars['ressourcesNext']['0']; ?>
</td>
</tr>
<?php endif; ?>
<?php if ($this->_tpl_vars['ressourcesNext']['1']): ?>
<tr>
<th><?php echo $this->_tpl_vars['nomsressources']['1']; ?>
</th>
<td><?php echo $this->_tpl_vars['ressourcesNext']['1']; ?>
</td>
</tr>
<?php endif; ?>
<?php if ($this->_tpl_vars['ressourcesNext']['2']): ?>
<tr>
<th><?php echo $this->_tpl_vars['nomsressources']['2']; ?>
</th>
<td><?php echo $this->_tpl_vars['ressourcesNext']['2']; ?>
</td>
</tr>
<?php endif; ?>
<tr>
<th>Temps</th>
<td><?php echo $this->_tpl_vars['ressourcesNext']['3']; ?>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td colspan="2">
<table style="margin: auto; width: 100%;">
<thead>
<tr>
<th>Requiert</th>
</tr>
</thead>
<tbody>
<tr>
<td><?php echo $this->_tpl_vars['etat']; ?>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tfoot>
</table>
<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);
?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-05-17 12:27:08
<?php /* Smarty version 2.6.19, created on 2008-05-23 02:24:53
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()));
@ -16,7 +16,8 @@ unset($_smarty_tpl_vars);
<?php $_from = $this->_tpl_vars['batiments']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['batiment']):
?>
<tr><td><a href="#"><?php echo $this->_tpl_vars['batiment']['nom']; ?>
<tr><td><a href="?p=description&amp;b=<?php echo $this->_tpl_vars['batiment']['id']; ?>
#menu"><?php echo $this->_tpl_vars['batiment']['nom']; ?>
</a> (<?php echo $this->_tpl_vars['batiment']['niveau']; ?>
) :</td><td><?php echo $this->_tpl_vars['batiment']['etat']; ?>
</td></tr>
@ -32,7 +33,8 @@ unset($_smarty_tpl_vars);
<?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="#"><?php echo $this->_tpl_vars['technologie']['nom']; ?>
<tr><td><a href="?p=description&amp;t=<?php echo $this->_tpl_vars['technologie']['id']; ?>
#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>
@ -48,7 +50,8 @@ unset($_smarty_tpl_vars);
<?php $_from = $this->_tpl_vars['unites']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['unite']):
?>
<tr><td><a href="#"><?php echo $this->_tpl_vars['unite']['nom']; ?>
<tr><td><a href="?p=description&amp;d=<?php echo $this->_tpl_vars['unite']['id']; ?>
#menu"><?php echo $this->_tpl_vars['unite']['nom']; ?>
</a> (<?php echo $this->_tpl_vars['unite']['niveau']; ?>
) :</td><td><?php echo $this->_tpl_vars['unite']['etat']; ?>
</td></tr>
@ -64,7 +67,8 @@ unset($_smarty_tpl_vars);
<?php $_from = $this->_tpl_vars['vaisseaux']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['vaisseau']):
?>
<tr><td><a href="#"><?php echo $this->_tpl_vars['vaisseau']['nom']; ?>
<tr><td><a href="?p=description&amp;v=<?php echo $this->_tpl_vars['vaisseau']['id']; ?>
#menu"><?php echo $this->_tpl_vars['vaisseau']['nom']; ?>
</a> (<?php echo $this->_tpl_vars['vaisseau']['niveau']; ?>
) :</td><td><?php echo $this->_tpl_vars['vaisseau']['etat']; ?>
</td></tr>

View file

@ -0,0 +1,115 @@
<?php /* Smarty version 2.6.19, created on 2008-05-23 02:28:15
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', 30, 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>File d'attente</h2>
<div class="file">
<?php $_from = $this->_tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['flab']):
?>
<span><?php echo $this->_tpl_vars['flab']['3']; ?>
- <em id="reste<?php echo $this->_tpl_vars['key']; ?>
"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['flab']['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['flab']['0']; ?>
">Annuler</a></span>
<?php endforeach; endif; unset($_from); ?>
<?php if ($this->_tpl_vars['Vchaine']): ?><span>Aucune recherche dans la file d'attente</span>
<?php endif; ?>
<br />
</div>
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;q=technologies">Arbre des technologies</a></h3><br />
<h2>Laboratoire</h2>
<table class="construction">
<?php $_from = $this->_tpl_vars['recherches']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['recherche']):
?>
<tr>
<td>
<a class="bulle" href="?p=description&amp;t=<?php echo $this->_tpl_vars['recherche']['num']; ?>
#menu">
<img width="130" height="132" src="images/technologies/<?php echo $this->_tpl_vars['recherche']['image']; ?>
" alt="<?php echo $this->_tpl_vars['recherche']['nom']; ?>
" />
<span><?php echo $this->_tpl_vars['recherche']['description']; ?>
</span>
</a>
</td>
<td>
<div>
<strong><?php echo $this->_tpl_vars['recherche']['nom']; ?>
<?php if ($this->_tpl_vars['recherche']['niveau'] > 0): ?> (Niveau <?php echo $this->_tpl_vars['recherche']['niveau']; ?>
)<?php endif; ?></strong><br /><br />
<?php if ($this->_tpl_vars['recherche']['nec_metal'] > 0): ?>
<?php if ($this->_tpl_vars['recherche']['nec_metal'] > $this->_tpl_vars['planete']['metal']): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['recherche']['nec_metalS']; ?>
</span><br />
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['recherche']['nec_metalS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['recherche']['nec_cristal'] > 0): ?>
<?php if ($this->_tpl_vars['recherche']['nec_cristal'] > $this->_tpl_vars['planete']['cristal']): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['recherche']['nec_cristalS']; ?>
</span><br />
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['recherche']['nec_cristalS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['recherche']['nec_hydrogene'] > 0): ?>
<?php if ($this->_tpl_vars['recherche']['nec_hydrogene'] > $this->_tpl_vars['planete']['hydrogene']): ?><span class="lack">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']; ?>
</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; ?>
Temps de recherche : <?php echo $this->_tpl_vars['recherche']['temps']; ?>
<br /><br />
<?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_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']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
; <?php endif; ?><?php if ($this->_tpl_vars['recherche']['maq_hydrogene'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_hydrogene']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
<?php endif; ?>">Ressources insuffisantes</span>
<?php elseif ($this->_tpl_vars['recherche']['nec_cristal'] > $this->_tpl_vars['planete']['cristal']): ?><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']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
; <?php endif; ?><?php if ($this->_tpl_vars['recherche']['maq_hydrogene'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_hydrogene']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
<?php endif; ?>">Ressources insuffisantes</span>
<?php elseif ($this->_tpl_vars['recherche']['nec_metal'] > $this->_tpl_vars['planete']['metal']): ?><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']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
; <?php endif; ?><?php if ($this->_tpl_vars['recherche']['maq_hydrogene'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_hydrogene']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
<?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']; ?>
">Construire</a>
<?php endif; ?>
</div>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
<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);
?>

View file

@ -1,23 +1,10 @@
<?php /* Smarty version 2.6.19, created on 2008-05-19 19:19:52
<?php /* Smarty version 2.6.19, created on 2008-05-20 22:08:13
compiled from game/footer.tpl */ ?>
</div>
 </div>
<div id="footer">
Réalisé par Halo Battle Staff<br />
Design by <a href="http://nothing-arts.com" onclick="window.open(this.href); return false;"><ins>nothingarts</ins></a><br />
<!-- Site visité 514200 fois depuis sa création<br /> -->
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="business" value="admin@halo-battle.s-fr.com">
<input type="hidden" name="item_name" value="Halo-Battle Dons">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="tax" value="0">
<input type="hidden" name="lc" value="FR">
<input type="hidden" name="bn" value="PP-DonationsBF">
<input type="image" src="https://www.paypal.com/fr_FR/FR/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - la solution de paiement en ligne la plus simple et la plus sécurisée !">
<img alt="" border="0" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
</form>
Actuellement en ligne : <?php echo $this->_tpl_vars['enligne']; ?>
joueurs<br />
<a href="<?php echo $this->_tpl_vars['link']['accueil']; ?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-05-19 00:06:10
<?php /* Smarty version 2.6.19, created on 2008-05-20 00:21:13
compiled from game/envoyer.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
@ -11,7 +11,8 @@ unset($_smarty_tpl_vars);
" method="post"><fieldset class="options">
<label for="nom">Nom du destinataire :</label><input class="text" type="text" name="nom" value="<?php echo $this->_tpl_vars['destinataire']; ?>
" id="nom" />
<label for="objet">Objet :</label><input class="text" type="text" name="objet" id="objet" />
<label for="objet">Objet :</label><input class="text" type="text" name="objet" value="<?php echo $this->_tpl_vars['objet']; ?>
" id="objet" />
<label for="message">Texte :</label>
<textarea id="message" name="message" cols="40" rows="10"></textarea><br /><br />
<input class="submit" type="submit" value="OK" />

View file

@ -1,7 +1,7 @@
<?php /* Smarty version 2.6.19, created on 2008-05-17 14:52:54
<?php /* Smarty version 2.6.19, created on 2008-05-23 01:05:35
compiled from game/alliance_adm_chat.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/alliance_adm_chat.tpl', 20, false),)), $this); ?>
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/alliance_adm_chat.tpl', 20, false),array('modifier', 'escape', 'game/alliance_adm_chat.tpl', 21, 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;
@ -34,7 +34,7 @@ unset($_smarty_tpl_vars);
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['message']['timestamp'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M:%S")); ?>
</td>
<td><?php echo $this->_tpl_vars['message']['message']; ?>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['message']['message'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</td>
<td><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_chat&amp;i=<?php echo $this->_tpl_vars['message']['id']; ?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:58:42
<?php /* Smarty version 2.6.19, created on 2008-05-23 02:26:31
compiled from game/chantierspatial.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/chantierspatial.tpl', 27, false),)), $this); ?>
@ -39,7 +39,8 @@ unset($_smarty_tpl_vars);
?>
<tr>
<td>
<a class="bulle" href="#">
<a class="bulle" href="?p=description&amp;v=<?php echo $this->_tpl_vars['vaisseau']['num']; ?>
#menu">
<img width="130" height="132" src="images/vaisseaux/<?php echo $this->_tpl_vars['vaisseau']['image']; ?>
" alt="Vaisseaux" />
<span><?php echo $this->_tpl_vars['vaisseau']['description']; ?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:58:07
<?php /* Smarty version 2.6.19, created on 2008-05-23 02:27:04
compiled from game/batiments.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/batiments.tpl', 30, false),)), $this); ?>
@ -34,7 +34,8 @@ unset($_smarty_tpl_vars);
?>
<tr>
<td>
<a class="bulle" href="#">
<a class="bulle" href="?p=description&amp;b=<?php echo $this->_tpl_vars['batiment']['num']; ?>
#menu">
<img width="130" height="132" src="images/batiments/<?php echo $this->_tpl_vars['batiment']['image']; ?>
" alt="<?php echo $this->_tpl_vars['batiment']['nom']; ?>
" />
@ -82,21 +83,21 @@ unset($_smarty_tpl_vars);
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
; <?php endif; ?><?php if ($this->_tpl_vars['batiment']['maq_hydrogene'] > 0): ?><?php echo $this->_tpl_vars['batiment']['maq_hydrogene']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
<?php endif; ?>">Ressouces insuffisantes</span>
<?php endif; ?>">Ressources insuffisantes</span>
<?php elseif ($this->_tpl_vars['batiment']['nec_cristal'] > $this->_tpl_vars['planete']['cristal']): ?><span class="lack" title="manque <?php if ($this->_tpl_vars['batiment']['maq_metal'] > 0): ?><?php echo $this->_tpl_vars['batiment']['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['batiment']['maq_cristal'] > 0): ?><?php echo $this->_tpl_vars['batiment']['maq_cristal']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
; <?php endif; ?><?php if ($this->_tpl_vars['batiment']['maq_hydrogene'] > 0): ?><?php echo $this->_tpl_vars['batiment']['maq_hydrogene']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
<?php endif; ?>">Ressouces insuffisantes</span>
<?php endif; ?>">Ressources insuffisantes</span>
<?php elseif ($this->_tpl_vars['batiment']['nec_metal'] > $this->_tpl_vars['planete']['metal']): ?><span class="lack" title="manque <?php if ($this->_tpl_vars['batiment']['maq_metal'] > 0): ?><?php echo $this->_tpl_vars['batiment']['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['batiment']['maq_cristal'] > 0): ?><?php echo $this->_tpl_vars['batiment']['maq_cristal']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
; <?php endif; ?><?php if ($this->_tpl_vars['batiment']['maq_hydrogene'] > 0): ?><?php echo $this->_tpl_vars['batiment']['maq_hydrogene']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
<?php endif; ?>">Ressouces insuffisantes</span>
<?php endif; ?>">Ressources insuffisantes</span>
<?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
&amp;c=<?php echo $this->_tpl_vars['batiment']['num']; ?>
">Construire</a>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:59:00
<?php /* Smarty version 2.6.19, created on 2008-05-23 01:13:38
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()));
@ -20,7 +20,8 @@ unset($_smarty_tpl_vars);
&amp;chg=mail" method="post"><fieldset class="options">
<label>Adresse actuelle :</label><p style="text-align: center;"><?php echo $this->_tpl_vars['mail']; ?>
</p>
<label for="mail">Nouveau mail :</label><input class="text" type="text" id="mail" name="mail" /><br /><br />
<label for="mail">Nouveau mail :</label><input class="text" type="text" id="mail" name="mail" />
<label for="mdp_mail">Mot de passe actuel :</label><input class="text" type="password" id="mdp_mail" name="mdp_mail" /><br /><br />
<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>

View file

@ -0,0 +1,99 @@
<?php /* Smarty version 2.6.19, created on 2008-05-23 02:27:35
compiled from game/defenses.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/defenses.tpl', 27, 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>File d'attente</h2>
<div class="file">
<?php $_from = $this->_tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['fvais']):
?>
<?php if ($this->_tpl_vars['key'] == 0): ?><span><strong>Prochain véhicule</strong> : <em id="resten"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['fvais']['2']; ?>
,'resten', true);</script></span><?php endif; ?>
<span><?php echo $this->_tpl_vars['fvais']['1']; ?>
<?php echo $this->_tpl_vars['fvais']['3']; ?>
- <em id="reste<?php echo $this->_tpl_vars['key']; ?>
"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['fvais']['4']; ?>
,'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']['defenses']; ?>
&amp;a=<?php echo $this->_tpl_vars['fvais']['0']; ?>
">Annuler un</a> - <a href="<?php echo $this->_tpl_vars['menu']['defenses']; ?>
&amp;a=<?php echo $this->_tpl_vars['fvais']['0']; ?>
&amp;n=<?php echo $this->_tpl_vars['fvais']['1']; ?>
">Annuler tous</a></span>
<?php endforeach; endif; unset($_from); ?>
<?php if ($this->_tpl_vars['Vchaine']): ?><span>Aucun véhicule dans la file d'attente</span><?php endif; ?>
<br />
</div>
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;q=chantierterrestre">Arbre des technologies</a></h3><br />
<h2>Défenses</h2>
<table class="construction">
<?php $_from = $this->_tpl_vars['defenses']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['defense']):
?>
<tr>
<td>
<a class="bulle" href="?p=description&amp;d=<?php echo $this->_tpl_vars['defense']['num']; ?>
#menu">
<img width="130" height="132" src="images/terrestre/<?php echo $this->_tpl_vars['defense']['image']; ?>
" alt="Image" />
<span><?php echo $this->_tpl_vars['defense']['description']; ?>
</span>
</a>
</td>
<td>
<div>
<strong><?php echo $this->_tpl_vars['defense']['nom']; ?>
<?php if ($this->_tpl_vars['defense']['nombre'] > 0): ?> (<?php echo $this->_tpl_vars['defense']['nombre']; ?>
defense<?php if ($this->_tpl_vars['defense']['nombre'] > 1): ?>s<?php endif; ?>)<?php endif; ?></strong><br /><br />
<?php if ($this->_tpl_vars['defense']['nec_metal'] > 0): ?>
<?php if ($this->_tpl_vars['defense']['nec_metal'] > $this->_tpl_vars['planete']['metal']): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['defense']['nec_metalS']; ?>
</span><br />
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['defense']['nec_metalS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['defense']['nec_cristal'] > 0): ?>
<?php if ($this->_tpl_vars['defense']['nec_cristal'] > $this->_tpl_vars['planete']['cristal']): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['defense']['nec_cristalS']; ?>
</span><br />
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['defense']['nec_cristalS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['defense']['nec_hydrogene'] > 0): ?>
<?php if ($this->_tpl_vars['defense']['nec_hydrogene'] > $this->_tpl_vars['planete']['hydrogene']): ?><span class="lack">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['defense']['nec_hydrogeneS']; ?>
</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['defense']['nec_hydrogeneS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
Temps de construction : <?php echo $this->_tpl_vars['defense']['temps']; ?>
<br /><br />
<form action="<?php echo $this->_tpl_vars['menu']['defenses']; ?>
&amp;v=<?php echo $this->_tpl_vars['defense']['num']; ?>
" method="post">
<fieldset>
<input class="text" type="text" name="nombre" value="0" />
<input class="submit" type="submit" value="OK" />
</fieldset>
</form>
</div>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
<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);
?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-05-19 02:05:45
<?php /* Smarty version 2.6.19, created on 2008-05-20 00:35:27
compiled from game/accueil.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'game/accueil.tpl', 18, false),)), $this); ?>
@ -53,8 +53,8 @@ unset($_smarty_tpl_vars);
</a></h4>
<h4>Classement: <a href="?p=classement&amp;j=<?php echo $this->_tpl_vars['user']['id']; ?>
"><?php echo $this->_tpl_vars['points']; ?>
points (<?php echo $this->_tpl_vars['user']['place_points']; ?>
<?php if ($this->_tpl_vars['user']['place_points'] == '1'): ?>er<?php else: ?>ème<?php endif; ?>)</a></h4>
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>
<?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-05-18 23:03:52
<?php /* Smarty version 2.6.19, created on 2008-05-23 01:21:07
compiled from game/ressources.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'game/ressources.tpl', 8, false),array('modifier', 'cat', 'game/ressources.tpl', 8, false),)), $this); ?>
@ -47,6 +47,12 @@ unset($_smarty_tpl_vars);
</select></td><td>0</td><td>0</td><td class="lack">-<?php echo $this->_tpl_vars['ressources_conso']['3']; ?>
</td><td><?php echo $this->_tpl_vars['ressources_prod']['4']; ?>
</td></tr><?php endif; ?>
<tr><td><?php echo $this->_tpl_vars['planete']['silo']; ?>
<?php echo $this->_tpl_vars['nombat']['10']; ?>
</td><td>-</td><td><?php echo $this->_tpl_vars['ressources_silo']['1']; ?>
</td><td><?php echo $this->_tpl_vars['ressources_silo']['1']; ?>
</td><td><?php echo $this->_tpl_vars['ressources_silo']['1']; ?>
</td><td>0</td></tr>
<tr><td><strong>Total</strong></td><td>-</td><td><?php echo $this->_tpl_vars['ressources_prod']['0']; ?>
</td><td><?php echo $this->_tpl_vars['ressources_prod']['1']; ?>
</td><td><?php if ($this->_tpl_vars['planete']['mine_h']): ?><?php echo $this->_tpl_vars['ressources_toto']['0']; ?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:58:59
<?php /* Smarty version 2.6.19, created on 2008-05-20 22:09:01
compiled from game/carte.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
@ -8,7 +8,7 @@ unset($_smarty_tpl_vars);
<div class="border_top"></div>
<h2>Navigation</h2>
<form action="<?php echo $this->_tpl_vars['menu']['carte']; ?>
" method="get"><fieldset class="systeme"><label for="galaxie">Galaxie :</label><input type="hidden" value="carte" name="p" /><input class="text" type="text" value="<?php echo $this->_tpl_vars['position']['0']; ?>
" method="get"><fieldset class="systeme"><label for="galaxie">Amas :</label><input type="hidden" value="carte" name="p" /><input class="text" type="text" value="<?php echo $this->_tpl_vars['position']['0']; ?>
" id="galaxie" name="galaxie" /><label for="systeme">Système solaire :</label><input class="text" type="text" value="<?php echo $this->_tpl_vars['position']['1']; ?>
" id="systeme" name="ss" /><div><a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
&amp;galaxie=<?php echo $this->_tpl_vars['position']['4']; ?>

View file

@ -1,7 +1,7 @@
<?php /* Smarty version 2.6.19, created on 2008-05-17 14:24:26
<?php /* Smarty version 2.6.19, created on 2008-05-23 01:02:05
compiled from game/alliance_liste.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/alliance_liste.tpl', 19, false),)), $this); ?>
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/alliance_liste.tpl', 20, 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;
@ -14,7 +14,8 @@ unset($_smarty_tpl_vars);
<tr>
<th>Pseudo</th>
<th>Race</th>
<th>Derni&egrave;re connexion </th>
<th>Derni&egrave;re connexion</th>
<th>Points</th>
<th>Grade</th>
<th>Mp</th>
</tr>
@ -30,6 +31,9 @@ unset($_smarty_tpl_vars);
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['membre']['last_visite'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M:%S")); ?>
</td>
<td><?php echo $this->_tpl_vars['membre']['points']; ?>
(<?php echo $this->_tpl_vars['membre']['place_points']; ?>
)</td>
<td><?php echo $this->_tpl_vars['membre']['id_grade_alliance']; ?>
</td>
<td><a href="?p=envoyer&amp;d=<?php echo $this->_tpl_vars['membre']['pseudo']; ?>

View file

@ -1,7 +1,7 @@
<?php /* Smarty version 2.6.19, created on 2008-05-17 18:51:48
<?php /* Smarty version 2.6.19, created on 2008-05-23 00:59:16
compiled from game/alliance_accueil.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'game/alliance_accueil.tpl', 3, false),array('modifier', 'capitalize', 'game/alliance_accueil.tpl', 3, false),array('modifier', 'nl2br', 'game/alliance_accueil.tpl', 34, false),array('modifier', 'date_format', 'game/alliance_accueil.tpl', 57, false),)), $this); ?>
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'game/alliance_accueil.tpl', 3, false),array('modifier', 'capitalize', 'game/alliance_accueil.tpl', 3, false),array('modifier', 'escape', 'game/alliance_accueil.tpl', 11, false),array('modifier', 'nl2br', 'game/alliance_accueil.tpl', 34, false),array('modifier', 'date_format', 'game/alliance_accueil.tpl', 57, 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;
@ -19,8 +19,8 @@ unset($_smarty_tpl_vars);
</tr>
<tr>
<td style="text-align: right; vertical-align: middle;"><strong>Nom : </strong></td>
<td style="width: 70%;"><?php echo $this->_tpl_vars['alliance']['nom']; ?>
(<?php echo $this->_tpl_vars['alliance']['tag']; ?>
<td style="width: 70%;"><?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['nom'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
(<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
)</td>
</tr>
<tr>
@ -31,7 +31,7 @@ unset($_smarty_tpl_vars);
</tr>
<tr>
<td style="text-align: right;"><strong>Votre grade :</strong></td>
<td><?php if ($this->_tpl_vars['access']['fondateur']): ?>Fondateur<?php else: ?><?php echo $this->_tpl_vars['grade']['nom']; ?>
<td><?php if ($this->_tpl_vars['access']['fondateur']): ?>Fondateur<?php else: ?><?php echo ((is_array($_tmp=$this->_tpl_vars['grade']['nom'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
<?php endif; ?><br /><?php if ($this->_tpl_vars['access']['chat']): ?> <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_chat">Mod&eacute;rer le chat</a> |<?php endif; ?> <?php if ($this->_tpl_vars['access']['membre']): ?> <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_membres">Gestion des membres</a> |<?php endif; ?> <?php if ($this->_tpl_vars['access']['ecriture']): ?> <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
@ -51,7 +51,7 @@ unset($_smarty_tpl_vars);
</tbody>
</table>
<h2>Présentation</h2>
<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['presentation'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['alliance']['presentation'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
<table style="width: 100%;">
<tbody>
@ -64,7 +64,7 @@ unset($_smarty_tpl_vars);
</tbody>
</table>
<h2>Texte interne</h2>
<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['texte_interne'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['alliance']['texte_interne'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
<h2>Chat</h2>
<div style="height: 150px; overflow: auto; width: 99%;" id="chat">
@ -81,7 +81,7 @@ unset($_smarty_tpl_vars);
?>
<tr>
<td>[<?php echo $this->_tpl_vars['message']['emetteur']; ?>
] <i><?php echo ((is_array($_tmp=$this->_tpl_vars['message']['timestamp'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M:%S")); ?>
] <i><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['message']['timestamp'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M:%S")))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</i></td>
<td><?php echo $this->_tpl_vars['message']['message']; ?>
</td>

View file

@ -1,5 +1,7 @@
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:59:08
<?php /* Smarty version 2.6.19, created on 2008-05-23 00:21:44
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', 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;
@ -13,7 +15,7 @@ unset($_smarty_tpl_vars);
<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 $this->_tpl_vars['bug']['2']; ?>
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']; ?>

View file

@ -1,7 +1,7 @@
<?php /* Smarty version 2.6.19, created on 2008-05-17 16:18:47
<?php /* Smarty version 2.6.19, created on 2008-05-23 01:04:47
compiled from game/alliance_adm_grades.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'nl2br', 'game/alliance_adm_grades.tpl', 23, false),)), $this); ?>
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/alliance_adm_grades.tpl', 22, false),array('modifier', 'nl2br', 'game/alliance_adm_grades.tpl', 23, 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;
@ -35,9 +35,9 @@ unset($_smarty_tpl_vars);
<tr>
<td><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_grades&amp;i=<?php echo $this->_tpl_vars['grade']['id']; ?>
"><?php echo $this->_tpl_vars['grade']['nom']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['grade']['nom'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a></td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['grade']['description'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
<td><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['grade']['description'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
</td>
<td><?php if ($this->_tpl_vars['grade']['gest_ecriture']): ?>Oui<?php else: ?>Non<?php endif; ?></td>
<td><?php if ($this->_tpl_vars['grade']['gest_chat']): ?>Oui<?php else: ?>Non<?php endif; ?></td>

View file

@ -1,5 +1,7 @@
<?php /* Smarty version 2.6.19, created on 2008-05-19 18:07:18
<?php /* Smarty version 2.6.19, created on 2008-05-22 23:30:07
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', 45, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
@ -63,6 +65,11 @@
">Vérifier planètes</a><?php endif; ?> <?php if ($this->_tpl_vars['pagea'] == 'vjoueurs'): ?><span>Vérifier joueurs</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['vjoueurs']; ?>
">Vérifier joueurs</a><?php endif; ?> <?php if ($this->_tpl_vars['pagea'] == 'valliances'): ?><span>Vérifier alliances</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['valliances']; ?>
">Vérifier alliances</a><?php endif; ?><div class="space"></div>
<?php if ($this->_tpl_vars['pagea'] == 'sancj'): ?><span>Sanctions joueur</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['sancj']; ?>
">Sanctions joueur</a><?php endif; ?> <?php if ($this->_tpl_vars['pagea'] == 'sancp'): ?><span>Sanctions planète</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['sancp']; ?>
">Sanctions planète</a><?php endif; ?> <?php if ($this->_tpl_vars['pagea'] == 'controle'): ?><span>Prendre le contrôle</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['controle']; ?>
">Prendre le contrôle</a><?php endif; ?> <?php if ($this->_tpl_vars['pagea'] == 'sjoueurs'): ?><span>Supprimer joueurs</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['sjoueurs']; ?>
">Supprimer joueurs</a><?php endif; ?><div class="space"></div>
<?php else: ?> <?php if ($this->_tpl_vars['page'] == 'accueil'): ?><span>Accueil</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['accueil']; ?>
">Accueil</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'batiments'): ?><span>Batiments</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
">Batiments</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'caserne'): ?><span>Caserne</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
@ -99,7 +106,7 @@
" 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)):
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 $this->_tpl_vars['plan']['nom_planete']; ?>
"><?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']; ?>
@ -119,6 +126,6 @@
<div class="border_bt"></div>
</div>
<?php endif; ?>
<div><?php echo $this->_tpl_vars['pub']; ?>
</div>
<?php if ($this->_tpl_vars['page'] != 'admin'): ?><div><?php echo $this->_tpl_vars['pub']; ?>
</div><?php endif; ?>
<div id="corps">

View file

@ -1,5 +1,7 @@
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:58:55
<?php /* Smarty version 2.6.19, created on 2008-05-23 01:11:54
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', 11, 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,17 +20,17 @@ unset($_smarty_tpl_vars);
<tr>
<td><a href="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
&amp;n=<?php echo $this->_tpl_vars['flotteEC']['0']; ?>
"><?php echo $this->_tpl_vars['flotteEC']['1']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['flotteEC']['1'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a></td>
<td><?php echo $this->_tpl_vars['flotteEC']['2']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotteEC']['3']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotteEC']['4']; ?>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['flotteEC']['4'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</td>
<td><?php echo $this->_tpl_vars['flotteEC']['5']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotteEC']['6']; ?>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['flotteEC']['6'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</td>
<td><?php echo $this->_tpl_vars['flotteEC']['7']; ?>
</td>

View file

@ -1,7 +1,7 @@
<?php /* Smarty version 2.6.19, created on 2008-05-19 01:51:56
<?php /* Smarty version 2.6.19, created on 2008-05-20 00:01:48
compiled from game/messagerie.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'nl2br', 'game/messagerie.tpl', 8, false),)), $this); ?>
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'nl2br', 'game/messagerie.tpl', 9, 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;
@ -9,6 +9,8 @@ unset($_smarty_tpl_vars);
?>
<div class="border_top"></div>
<h2>Messages</h2>
<?php echo $this->_tpl_vars['avertissement']; ?>
<h3><a href="<?php echo $this->_tpl_vars['menu']['envoie']; ?>
">Ecrire un message</a></h3>
<form action="<?php echo $this->_tpl_vars['menu']['messagerie']; ?>