Version 1.9a

This commit is contained in:
nemunaire 2008-09-20 12:00:00 +02:00
commit d028822d0b
437 changed files with 27543 additions and 81793 deletions

View file

@ -0,0 +1,101 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 16:17:29
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', 28, 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>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']['4']; ?>
,'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']['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']['chantierterrestre']; ?>
&amp;a=<?php echo $this->_tpl_vars['fterr']['0']; ?>
&amp;w=<?php echo $this->_tpl_vars['key']; ?>
">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']; ?>
&amp;w=<?php echo $this->_tpl_vars['key']; ?>
">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['unites']; 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="?p=description&amp;d=<?php echo $this->_tpl_vars['unite']['num']; ?>
#menu">
<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']; ?>
unité<?php if ($this->_tpl_vars['unite']['nombre'] > 1): ?>s<?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>
<?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,129 @@
<?php /* Smarty version 2.6.19, created on 2008-09-12 13:32:11
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);
?>
<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' && $this->_tpl_vars['type'] != 'caserne'): ?>niveau<?php endif; ?> <?php echo $this->_tpl_vars['niveau']; ?>
<?php if ($this->_tpl_vars['type'] == 'vaisseaux' || $this->_tpl_vars['type'] == 'terrestre' || $this->_tpl_vars['type'] == 'caserne'): ?> 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' || $this->_tpl_vars['type'] == 'caserne'): ?>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>
<?php if ($this->_tpl_vars['caract']): ?>
<tr>
<td colspan="2">
<table style="margin: auto; width: 100%;">
<thead>
<tr>
<th colspan="2">Caractéristiques</th>
</tr>
</thead>
<tbody>
<tr>
<th>Attaque</th>
<td><?php echo $this->_tpl_vars['caract']['0']; ?>
</td>
</tr>
<tr>
<th>Bouclier</th>
<td><?php echo $this->_tpl_vars['caract']['1']; ?>
</td>
</tr>
<tr>
<th>Points de vie</th>
<td><?php echo $this->_tpl_vars['caract']['2']; ?>
</td>
</tr>
<?php if ($this->_tpl_vars['caract']['3']): ?>
<tr>
<th>Capacité de transport</th>
<td><?php echo $this->_tpl_vars['caract']['3']; ?>
</td>
</tr>
<?php endif; ?>
</tbody>
</table>
</td>
</tr>
<?php endif; ?>
<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>
<?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,52 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 22:55:04
compiled from admin/vflotte.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'admin/vflotte.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);
?>
<h2>Vérification des flottes</h2>
<table style="text-align: center; margin: auto;">
<thead>
<tr>
<th>Utilisateurs</th>
<th>Départ<br />Arrivé<br />Retour</th>
<th>Durées</th>
<th>Vaisseaux<br />Vitesse</th>
<th>Contenu</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['flottes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['flotte']):
?>
<tr<?php if ($this->_tpl_vars['flotte']['6']): ?> style="background-color: #<?php echo $this->_tpl_vars['ip']['6']; ?>
;"<?php endif; ?>>
<td><?php echo $this->_tpl_vars['flotte']['0']; ?>
<br /><?php echo $this->_tpl_vars['flotte']['2']; ?>
</td>
<td><?php echo $this->_tpl_vars['flotte']['3']; ?>
<?php echo $this->_tpl_vars['flotte']['4']; ?>
<br /><?php echo $this->_tpl_vars['flotte']['5']; ?>
<?php echo $this->_tpl_vars['flotte']['6']; ?>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['flotte']['7'])) ? $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['flotte']['8']; ?>
<br /><?php echo $this->_tpl_vars['flotte']['9']; ?>
</td>
<td>Métal : <?php echo $this->_tpl_vars['flotte']['10']; ?>
<br />Cristal : <?php echo $this->_tpl_vars['flotte']['11']; ?>
<br />Hydrogène : <?php echo $this->_tpl_vars['flotte']['12']; ?>
</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);
?>

View file

@ -0,0 +1,13 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 16:39:57
compiled from game/prochainement.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="error">Prochainement sur Halo-Battle.</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,113 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 00:05:12
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()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<h2>Arbre Technologique <?php echo $this->_tpl_vars['raceAff']; ?>
</h2>
Race : <a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;r=humain">Humains</a> - <a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;r=covenant">Covenants</a>
<div class="techno">
<div<?php if ($this->_tpl_vars['defaut'] == 'batiments'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;q=batiments&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
">Bâtiments</a>
<div><table><thead>
<tr><th>Batiments (niveau)</th><th>Technologies nécessaires (niveau actuel)</th></tr>
</thead><tbody>
<?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="?p=description&amp;b=<?php echo $this->_tpl_vars['batiment']['id']; ?>
&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
#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>
<?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>
<div<?php if ($this->_tpl_vars['defaut'] == 'caserne'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;q=caserne&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
">Caserne</a>
<div><table><thead>
<tr><th>Unité</th><th>Technologies nécessaires (niveau actuel)</th></tr>
</thead><tbody>
<?php $_from = $this->_tpl_vars['caserne']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['unite']):
?>
<tr><td><a href="?p=description&amp;c=<?php echo $this->_tpl_vars['unite']['id']; ?>
&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
#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>
<?php endforeach; endif; unset($_from); ?>
</tbody></table></div>
</div>
<div<?php if ($this->_tpl_vars['defaut'] == 'chantierterrestre'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;q=chantierterrestre&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
">Chantier terrestre</a>
<div><table><thead>
<tr><th>Véhicules/Défenses</th><th>Technologies nécessaires (niveau actuel)</th></tr>
</thead><tbody>
<?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="?p=description&amp;d=<?php echo $this->_tpl_vars['unite']['id']; ?>
&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
#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>
<?php endforeach; endif; unset($_from); ?>
</tbody></table></div>
</div>
<div<?php if ($this->_tpl_vars['defaut'] == 'vaisseaux'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;q=vaisseaux&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
">Chantier spatial</a>
<div><table><thead>
<tr><th>Vaisseaux</th><th>Technologies nécessaires (niveau actuel)</th></tr>
</thead><tbody>
<?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="?p=description&amp;v=<?php echo $this->_tpl_vars['vaisseau']['id']; ?>
&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
#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>
<?php endforeach; endif; unset($_from); ?>
</tbody></table></div>
</div>
</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,113 @@
<?php /* Smarty version 2.6.19, created on 2008-09-12 13:31:16
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); ?>
<?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>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['fbat']):
?>
<span><?php echo $this->_tpl_vars['fbat']['3']; ?>
- <em id="reste<?php echo $this->_tpl_vars['key']; ?>
"></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']; ?>
">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>
<?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-09-20 00:10:35
compiled from game/alliance_donner.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'separernombres', 'game/alliance_donner.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>Donner des ressources &agrave; l'alliance</h2>
<form method="post" action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=donner">
<fieldset class="options">
<label for="metal"><?php echo $this->_tpl_vars['nomsressources']['0']; ?>
(max : <?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->metal)) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
) :</label><input type="text" class="text" id="metal" name="metal" maxlength="5" /><br />
<label for="cristal"><?php echo $this->_tpl_vars['nomsressources']['1']; ?>
(max : <?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->cristal)) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
) :</label><input type="text" class="text" id="cristal" name="cristal" maxlength="5" /><br />
<label for="hydrogene"><?php echo $this->_tpl_vars['nomsressources']['2']; ?>
(max : <?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->hydrogene)) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
) :</label><input type="text" class="text" id="hydrogene" name="hydrogene" maxlength="5" /><br />
<br /><input type="submit" class="submit" value="Donner" />
</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,26 @@
<?php /* Smarty version 2.6.19, created on 2008-09-12 12:24:02
compiled from game/footer.tpl */ ?>
<div class="border_bt"></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 />
<br />Actuellement en ligne : <?php echo $this->_tpl_vars['enligne']; ?>
joueurs<br />
<a href="<?php echo $this->_tpl_vars['link']['accueil']; ?>
">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']; ?>
">F.A.Q.</a> | <a href="<?php echo $this->_tpl_vars['link']['operateur']; ?>
">Nous contacter</a>
<?php echo $this->_tpl_vars['analyst']; ?>
</div>
</div>
</div>
<div id="cornerbt"></div>
<?php echo $this->_tpl_vars['script']; ?>
<!-- \\******* By Phantom *******// Halo-Battle, Tous droits réservés -->
</body>
</html>

View file

@ -0,0 +1,28 @@
<?php /* Smarty version 2.6.19, created on 2008-09-14 16:38:22
compiled from game/aide/commentjouer.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>Aide de Halo-Battle :: Comment jouer</h2>
<h3>Astuces à l'intention des nouveaux administrateurs coloniaux</h3>
Vous voilà inscrit et connecté sur votre compte ; si vous pensez que le plus difficile est maintenant derrière-vous, vous vous trompez lourdement. De lourdes tâches vous attendent désormais, et il va vous falloir tout votre sang-froid et votre maîtrise pour triompher des épreuves qui jalonneront votre route.<br /><br />
Si vous êtes aguerri dans l'art de gérer et d'administrer à la perfection des colonies, ce chapitre ne vous concerne donc pas à priori. Dans le cas contraire, sans nul doute qu'il vous sera utile pour apprendre, du moins, les théories de votre métier.<br />
<br /><h3>Que devez-vous savoir dès le départ ?</h3>
La chose la plus importante à savoir dès le départ est que... cela sera très difficile, quelles que soient les circonstances. Cela ne vous rassure pas ? Tant pis. L'univers de Halo-Battle est une vaste jungle sauvage, où vous devrez trouver vous-mêmes vos repères et survivre. A vous de vous forger votre propre tactique, sinon quoi n'espèrez pas vivre longtemps. Surtout, rappelez-vous bien ceci : il existe plusieurs moyens d'atteindre votre but, quel qu'il soit.<br /><br />
Si vous êtes novice dans ce type de jeux, vous devez certainement vous sentir quelque peu perdu : que faire, et comment le faire ?<br /><br />
Le plus important pour le moment est de développer vos différentes mines, afin de faire fructifier vos ressources : celles-ci sont en effet le moteur de vos colonies, et n'espérez pas accomplir grand chose sans elles. N'oubliez pas non plus de construire des centrales d'énergie afin d'approvisionner vos bâtiments, qui eux aussi ont besoin de ressources énergétiques pour fonctionner.<br /><br />
D'autre part, c'est au tout début que vous devrez définir une tactique de jeu, s'étalant sur le long terme, comprenez donc toute la période où vous jouerez sur votre compte. On fait généralement la distinction entre deux grands courants : les Mineurs et les Raideurs. Tandis que les premiers cherchent à développer leurs mines et leurs défenses coloniales, les seconds visent la création d'une flotte imposante pour percer les défenses ennemies et piller les ressources des autres joueurs. Notez que des intermédiaires ou des courants mineurs existent entre ces deux catégories.<br /><br />
Dans le cas d'une stratégie axée sur le minage, sachez que vos débuts seront plus lents et laborieux qu'un joueur raideur. Vous devrez principalement augmenter le niveau de vos mines d'extraction et construire des vaisseaux de transport pour évacuer vos ressources dans le cas où une attaque imminente aurait lieue sur l'une de vos colonies. N'oubliez pas non plus de vous confectionner un « rideau de fer », une ligne de défense pour dissuader les raideurs que vous attaquer n'est absolument pas rentable pour eux.<br /><br />
Si les ravages vous semblent plus intéressants et que vous vous définissez une stratégie axée sur le raid, abandonnez l'idée d'économies de ressources pour augmenter le niveau de vos mines et troquez vos défenses planétaires contre plusieurs flottes de vaisseaux. Ici, il s'agira d'attaquer plusieurs fois par jours différents joueurs dans l'objectif d'amasser des ressources. Ne laissez jamais votre flotte stationnée sur une colonie : un autre raideur pourrait très bien vous attaquer et la détruire. Faites voyager vos flottes entre colonies. Cette tactique offre l'avantage d'être propulsé rapidement dans un bon classement, le seul inconvénient (et de taille !) est que si jamais vous venez à perdre votre flotte, la dégringolade va être rude. Reste encore à vous demander si un bon classement signifie quelque chose pour vous...<br /><br />
La recherche technologique, disponible via votre laboratoire, est une composante essentielle du développement de vos institutions. encore, vous devrez investir nombre de ressources pour avoir accès à de nouveaux types de bâtiments, d'armements ou de technologies susceptibles de vous apporter un avantage certain. Ne négligez jamais cet aspect sous peine d'être irrémédiablement distancé par vos adversaires.<br />
Bien d'autres éléments utiles gagnent à être connus pour que vous puissiez jouer dans des conditions optimales. Reportez-vous aux différents chapitres du manuel pour en prendre connaissance.<br />
<br /><h3>Exemple : la colonie Reach</h3>
Voici un petit tutorial pour commencer à jouer dans le jeu. Ici, nous aborderons les différents aspects élémentaires pour développer notre planète principale : Reach. Ce tutorial utilise la race Humaine ; toutefois, les données demeurent les mêmes pour la race Covenante. Notez enfin que parfois, les ressources indiquées dans les illustrations diffèrent avec les coûts réels.<br /><br />
[...]
<?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-09-14 10:53:18
compiled from admin/sanctionU_choix.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><?php echo $this->_tpl_vars['titre']; ?>
</h2>
<form action="admin.php" method="get">
<table>
<tr>
<td>
Temps de vacances forcées : <input type="text" value="" name="sanc" /> jours ("d" pour définitif, -3 pour réactiver le compte tout de suite)<br />
Raison : <input type="text" maxlength="255" name="raisonmv" />
</td>
</tr>
<tr>
<td>
ID : <input type="text" value="" name="id" />
<input type="submit" class="submit" value="GO" />
</td>
</tr>
<tr>
<td>
Nom : <input type="text" name="name" />
<input type="hidden" value="<?php echo $this->_tpl_vars['linkpage']; ?>
" name="p" />
<input type="submit" class="submit" value="GO" />
</td>
</tr>
</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,21 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 22:54:09
compiled from game/aide/sommaire.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>Aide de Halo-Battle :: Sommaire</h2>
<h3><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
&amp;q=1">Avertissements</a></h3>
<h3><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
&amp;q=2">Configuration nécessaire & démarrage du jeu</a></h3>
<h3><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
&amp;q=3">Introduction</a></h3>
<h3><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
&amp;q=4">Comment jouer ?</a></h3>
<?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,23 @@
<?php /* Smarty version 2.6.19, created on 2008-09-20 00:29:29
compiled from admin/version_add.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);
?>
<form action="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
&amp;i=<?php echo $this->_tpl_vars['id']; ?>
" method="post">
<p>
Version : <input type="text" name="version" value="<?php echo $this->_tpl_vars['mod']['version']; ?>
" /><br />
Contenu :<br /><textarea cols="10" rows="10" name="contenu"><?php echo $this->_tpl_vars['mod']['contenu']; ?>
</textarea><br />
<input type="submit" class="submit" value="GO" />
</p>
</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,33 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 22:54:57
compiled from admin/accueil.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'admin/accueil.tpl', 6, false),array('modifier', 'nl2br', 'admin/accueil.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>Evénements</h2>
<em>Heure du serveur: <?php echo $this->_tpl_vars['datehb']; ?>
</em>
<h4>Version du serveur : <a href="./?p=version"><?php echo $this->_tpl_vars['version']; ?>
</a></h4>
<?php $_from = $this->_tpl_vars['news']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['new']):
?>
<h1><strong><?php echo $this->_tpl_vars['new']['titre']; ?>
</strong> : <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['new']['contenu'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
</h1>
<?php endforeach; endif; unset($_from); ?>
<h2>Infos</h2>
<h4><a href="<?php echo $this->_tpl_vars['menua']['courrier']; ?>
">Messagerie :</a> <?php echo $this->_tpl_vars['nbMail']; ?>
message<?php if ($this->_tpl_vars['nbMail'] > 1): ?>s<?php endif; ?> en attente</h4>
<h4><a href="./<?php echo $this->_tpl_vars['menu']['pilori']; ?>
">Pilori :</a> <?php echo $this->_tpl_vars['nbPilori']; ?>
joueur<?php if ($this->_tpl_vars['nbPilori'] > 1): ?>s<?php endif; ?> dans le pilori de la galaxie</h4>
<?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-09-13 23:01:34
compiled from game/envoyer.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'game/envoyer.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>Envoyer un message privé</h2>
<form action="<?php echo $this->_tpl_vars['menu']['envoie']; ?>
" method="post">
<fieldset class="options">
<label for="amis">Amis :</label><select name="destin" id="fav_dest" onchange="<?php echo 'if (this.value == \'edit\') { window.open(\'?p=amis\'); this.value = \'\'; return false; } document.getElementById(\'nom\').value = this.value;'; ?>
"><option value="">--</option><?php echo smarty_function_html_options(array('output' => $this->_tpl_vars['amis'],'values' => $this->_tpl_vars['amis']), $this);?>
<option value="edit">Modifier la liste</option></select><br />
<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" 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" />
</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,60 @@
<?php /* Smarty version 2.6.19, created on 2008-09-12 13:24:19
compiled from cms/header.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'cms/header.tpl', 25, 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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="fr" />
<title> ::Halo-Battle:: - <?php echo $this->_tpl_vars['titre']; ?>
</title>
<link rel="stylesheet" href="templates/cms/default.css" type="text/css" media="all" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<script src="js/cms.js" type="text/javascript"></script>
<script src="js/infos.js" type="text/javascript"></script>
</head>
<body onload="first(<?php echo $this->_tpl_vars['nbinfos']; ?>
);">
<div id="cornertop"></div>
<div id="all">
<div id="header">
<div id="header_link"><span id="date"><?php echo $this->_tpl_vars['date']; ?>
</span> | <a href="<?php echo $this->_tpl_vars['link']['lastNews']; ?>
"><?php echo $this->_tpl_vars['lastNews']; ?>
</a> | <a href="<?php echo $this->_tpl_vars['link']['lastTopic']; ?>
"><?php echo $this->_tpl_vars['lastTopic']; ?>
</a> | <a href="<?php echo $this->_tpl_vars['link']['lastUser']; ?>
"><?php echo $this->_tpl_vars['lastUser']; ?>
</a> | <a href="<?php echo $this->_tpl_vars['link']['lastDownload']; ?>
"><?php echo $this->_tpl_vars['lastDownload']; ?>
</a> | <a href="<?php echo $this->_tpl_vars['link']['lastLink']; ?>
"><?php echo $this->_tpl_vars['lastLink']; ?>
</a></div><a href="<?php echo $this->_tpl_vars['link']['RSS']; ?>
" id="rss">RSS :: s'abonner</a>
<a href="<?php echo $this->_tpl_vars['link']['self']; ?>
" id="img"><span></span>Halo Battle</a>
<div id="buttons"><div><a href="<?php echo $this->_tpl_vars['link']['accueil']; ?>
">ACCUEIL</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['jeu']; ?>
">LE JEU</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['inscription']; ?>
">S'INSCRIRE</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
">FORUM</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['blog']; ?>
">BLOG</a></div> <div><a href="http://www.halo.fr/">HALO.FR</a></div></div>
<form action="#" method="post"><fieldset id="recherche"><input class="text" type="text" name="recherche" value="rechercher..." maxlength="128" tabindex="10" onfocus="this.value = this.value!='rechercher...'?this.value:''" onblur="this.value=this.value==''?'rechercher...':this.value" /><input value="OK" class="submit" type="submit" tabindex="11" /><br /><a href="#" tabindex="12">Recherche Avancée</a></fieldset></form>
</div>
<div id="banner">
<?php $_from = $this->_tpl_vars['infos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['info']):
?>
<div id="quadri<?php echo $this->_tpl_vars['key']; ?>
" class="annonceleft"<?php if ($this->_tpl_vars['info']['color']): ?> style="color: <?php echo $this->_tpl_vars['info']['color']; ?>
;"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['info']['texte'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
</div>
<?php endforeach; endif; unset($_from); ?>
<span id="bannerright"><?php echo $this->_tpl_vars['count']['humains']; ?>
Marines et <?php echo $this->_tpl_vars['count']['covenants']; ?>
Covenants se battent dans <ins><?php echo $this->_tpl_vars['count']['serveurs']; ?>
galaxie<?php if ($this->_tpl_vars['count']['serveurs'] > 1): ?>s<?php endif; ?></ins></span></div>
<div id="corps">

View file

@ -0,0 +1,49 @@
<?php /* Smarty version 2.6.19, created on 2008-09-19 23:40:36
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', 19, false),array('modifier', 'escape', 'game/alliance_adm_chat.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;
unset($_smarty_tpl_vars);
?>
<h2>Administration de l'alliance</h2>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/alliance_adm_header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<br />
<h2 id="chat">Administration du chat</h2>
<table style="text-align: center; width: 100%;">
<thead>
<tr>
<th>Pseudo</th>
<th>Date</th>
<th>Message</th>
<th>Supprimer</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['chat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['message']):
?>
<tr>
<td><?php echo $this->_tpl_vars['message']['emetteur']; ?>
</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 ((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']; ?>
"><i>Supprimer</i></a></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);
?>

View file

@ -0,0 +1,101 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 16:26:39
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', 28, 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>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 vaisseau </strong> : <em id="resten"></em>
<script type="text/javascript">reste(<?php echo $this->_tpl_vars['fvais']['4']; ?>
,'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']['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']['chantierspatial']; ?>
&amp;a=<?php echo $this->_tpl_vars['fvais']['0']; ?>
&amp;w=<?php echo $this->_tpl_vars['key']; ?>
">Annuler un</a> - <a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
&amp;a=<?php echo $this->_tpl_vars['fvais']['0']; ?>
&amp;n=<?php echo $this->_tpl_vars['fvais']['1']; ?>
&amp;w=<?php echo $this->_tpl_vars['key']; ?>
">Annuler tous</a></span>
<?php endforeach; endif; unset($_from); ?>
<?php if ($this->_tpl_vars['Vchaine']): ?><span>Aucun vaisseau dans la file d'attente</span><?php endif; ?>
<br />
</div>
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;q=vaisseaux">Arbre des technologies</a></h3><br />
<h2>Chantier spatial</h2>
<table class="construction">
<?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 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']; ?>
</span>
</a>
</td>
<td>
<div>
<strong><?php echo $this->_tpl_vars['vaisseau']['nom']; ?>
<?php if ($this->_tpl_vars['vaisseau']['nombre'] > 0): ?> (<?php echo $this->_tpl_vars['vaisseau']['nombre']; ?>
vaisseau<?php if ($this->_tpl_vars['vaisseau']['nombre'] > 1): ?>x<?php endif; ?>)<?php endif; ?></strong><br /><br />
<?php if ($this->_tpl_vars['vaisseau']['nec_metal'] > 0): ?>
<?php if ($this->_tpl_vars['vaisseau']['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['vaisseau']['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['vaisseau']['nec_metalS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['vaisseau']['nec_cristal'] > 0): ?>
<?php if ($this->_tpl_vars['vaisseau']['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['vaisseau']['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['vaisseau']['nec_cristalS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['vaisseau']['nec_hydrogene'] > 0): ?>
<?php if ($this->_tpl_vars['vaisseau']['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['vaisseau']['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['vaisseau']['nec_hydrogeneS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
Temps de construction : <?php echo $this->_tpl_vars['vaisseau']['temps']; ?>
<br /><br />
<form action="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
&amp;v=<?php echo $this->_tpl_vars['vaisseau']['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>
<?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,113 @@
<?php /* Smarty version 2.6.19, created on 2008-09-12 23:40:45
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', 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);
?>
<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['fbat']):
?>
<span><?php echo $this->_tpl_vars['fbat']['3']; ?>
- <em id="reste<?php echo $this->_tpl_vars['key']; ?>
"></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']['batiments']; ?>
&amp;a=<?php echo $this->_tpl_vars['fbat']['0']; ?>
">Annuler</a></span>
<?php endforeach; endif; unset($_from); ?>
<?php if ($this->_tpl_vars['Vchaine']): ?><span>Aucun batiment dans la file d'attente</span>
<?php endif; ?>
<br />
</div>
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;q=batiments">Arbre des technologies</a></h3><br />
<h2>Batiments</h2>
<table class="construction">
<?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 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']; ?>
" />
<span><?php echo $this->_tpl_vars['batiment']['description']; ?>
</span>
</a>
</td>
<td>
<div>
<strong><?php echo $this->_tpl_vars['batiment']['nom']; ?>
<?php if ($this->_tpl_vars['batiment']['niveau'] > 0): ?> (Niveau <?php echo $this->_tpl_vars['batiment']['niveau']; ?>
)<?php endif; ?></strong><br /><br />
<?php if ($this->_tpl_vars['batiment']['nec_metal'] > 0): ?>
<?php if ($this->_tpl_vars['batiment']['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['batiment']['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['batiment']['nec_metalS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['batiment']['nec_cristal'] > 0): ?>
<?php if ($this->_tpl_vars['batiment']['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['batiment']['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['batiment']['nec_cristalS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['batiment']['nec_hydrogene'] > 0): ?>
<?php if ($this->_tpl_vars['batiment']['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['batiment']['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['batiment']['nec_hydrogeneS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
Temps de construction : <?php echo $this->_tpl_vars['batiment']['temps']; ?>
<br /><br />
<?php if ($this->_tpl_vars['batiment']['enfile']): ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
&amp;a=<?php echo $this->_tpl_vars['batiment']['num']; ?>
">Arrêter</a>
<?php elseif ($this->_tpl_vars['batiment']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene): ?><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; ?>">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; ?>">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; ?>">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>
<?php endif; ?>
</div>
</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,52 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 16:45:39
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()));
$this->_tpl_vars = $_smarty_tpl_vars;
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']; ?>
" alt="Signature" /><br /><a href="http://<?php echo $this->_tpl_vars['url_serveur']; ?>
/sign.php?i=<?php echo $this->_tpl_vars['user']['id']; ?>
">http://<?php echo $this->_tpl_vars['url_serveur']; ?>
/sign.php?i=<?php echo $this->_tpl_vars['user']['id']; ?>
</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']; ?>
[/img][/url]" />
<h2>Changer de mot de passe</h2>
<form action="<?php echo $this->_tpl_vars['menu']['options']; ?>
&amp;chg=mdp" method="post"><fieldset class="options">
<label for="ancien">Ancien mot de passe :</label><input class="text" type="password" id="ancien" name="mdp_anc" />
<label for="nouveau">Nouveau mot de passe :</label><input class="text" type="password" id="nouveau" name="mdp_nouv" />
<label for="confirm">Confirmez le mot de passe :</label><input class="text" type="password" id="confirm" name="mdp_conf" /><br /><br />
<b>Le nouveau mot de passe sera modifié après validation par mail.<br />Veuillez vous assurez que votre adresse actuelle est toujours valide.</b><br /><br />
<input class="submit" type="submit" value="OK" />
</fieldset></form>
<h2>Changer d'adresse électronique</h2>
<form action="<?php echo $this->_tpl_vars['menu']['options']; ?>
&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" />
<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>
<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 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; ?>
<?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,15 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 21:26:12
compiled from cms/erreur.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);
?>
<div class="error"<?php if ($this->_tpl_vars['couleur']): ?> style="color: <?php echo $this->_tpl_vars['couleur']; ?>
;"<?php endif; ?>><?php echo $this->_tpl_vars['message']; ?>
</div>
<?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

@ -0,0 +1,102 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 16:28:56
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); ?>
<?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>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']['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']['caserne']; ?>
&amp;a=<?php echo $this->_tpl_vars['fterr']['0']; ?>
&amp;w=<?php echo $this->_tpl_vars['key']; ?>
">Annuler un</a> - <a href="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
&amp;a=<?php echo $this->_tpl_vars['fterr']['0']; ?>
&amp;n=<?php echo $this->_tpl_vars['fterr']['1']; ?>
&amp;w=<?php echo $this->_tpl_vars['key']; ?>
">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=caserne">Arbre des technologies</a></h3><br />
<h2><?php echo $this->_tpl_vars['titre']; ?>
</h2>
<table class="construction">
<?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 class="bulle" href="?p=description&amp;c=<?php echo $this->_tpl_vars['unite']['num']; ?>
#menu">
<img width="130" height="132" src="images/caserne/<?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']; ?>
unité<?php if ($this->_tpl_vars['unite']['nombre'] > 1): ?>s<?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']['caserne']; ?>
&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>
<?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,49 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 22:55:00
compiled from admin/mail_liste.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'admin/mail_liste.tpl', 18, false),array('modifier', 'truncate', 'admin/mail_liste.tpl', 18, false),array('modifier', 'date_format', 'admin/mail_liste.tpl', 19, 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 style="width: 80%;">
<thead>
<tr>
<th>Action</th>
<th>Statut</th>
<th>Emetteur</th>
<th>Sujet</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['mails']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['ligne']):
?>
<tr<?php if ($this->_tpl_vars['ligne']['statut'] >= 1): ?> style="background: #<?php if ($this->_tpl_vars['ligne']['statut'] == 1): ?>770000<?php elseif ($this->_tpl_vars['ligne']['statut'] == 2): ?>007700<?php elseif ($this->_tpl_vars['ligne']['statut'] == 3): ?>000077<?php elseif ($this->_tpl_vars['ligne']['statut'] == 4): ?>770077<?php elseif ($this->_tpl_vars['ligne']['statut'] == 5): ?>007777<?php elseif ($this->_tpl_vars['ligne']['statut'] == 6): ?>777700<?php endif; ?>;"<?php endif; ?>>
<td><a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
&amp;w=<?php echo $this->_tpl_vars['ligne']['id']; ?>
">STAT</a><br /><a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
&amp;v=<?php echo $this->_tpl_vars['ligne']['id']; ?>
">LIRE</a><br /><a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
&amp;d=<?php echo $this->_tpl_vars['ligne']['id']; ?>
" onclick="return confirm('Supprimer ce message ?');">SUPPR</a></td>
<td><?php echo $this->_tpl_vars['ligne']['statut']; ?>
</td>
<td><?php echo $this->_tpl_vars['ligne']['pseudo']; ?>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['titre'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
<br /><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['ligne']['contenu'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('truncate', true, $_tmp, 50) : smarty_modifier_truncate($_tmp, 50)); ?>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['time'])) ? $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>
</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);
?>

View file

@ -0,0 +1,68 @@
<?php /* Smarty version 2.6.19, created on 2008-09-20 00:11:47
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>
<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>
</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>
<?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']; ?>
</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']; ?>
] <?php echo $this->_tpl_vars['place']['4']; ?>
<?php endif; ?></b></td><td><b><?php echo $this->_tpl_vars['place']['5']; ?>
</b></td></tr><?php else: ?><tr><td><?php echo $this->_tpl_vars['place']['0']; ?>
</td><td>-</td><td><?php echo $this->_tpl_vars['place']['1']; ?>
</td><td><a href="?p=envoyer&amp;d=<?php echo $this->_tpl_vars['place']['1']; ?>
" class="msg"><span>Message</span></a></td><td><?php echo $this->_tpl_vars['place']['2']; ?>
</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>
<?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>
<?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,103 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 16:39:56
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()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<form action="<?php echo $this->_tpl_vars['menu']['simulateur']; ?>
" method="post">
<h2>Vaisseaux de l'attaquant</h2>
<fieldset class="options">
<label for="ATvais_1"><?php echo $this->_tpl_vars['nomvais']['0']; ?>
:</label><input class="text" maxlength="4" type="text" id="ATvais_1" name="ATvais_1" /><br />
<label for="ATvais_2"><?php echo $this->_tpl_vars['nomvais']['1']; ?>
:</label><input class="text" maxlength="4" type="text" id="ATvais_2" name="ATvais_2" /><br />
<label for="ATvais_3"><?php echo $this->_tpl_vars['nomvais']['2']; ?>
:</label><input class="text" maxlength="4" type="text" id="ATvais_3" name="ATvais_3" /><br />
<label for="ATvais_4"><?php echo $this->_tpl_vars['nomvais']['3']; ?>
:</label><input class="text" maxlength="4" type="text" id="ATvais_4" name="ATvais_4" /><br />
<label for="ATvais_5"><?php echo $this->_tpl_vars['nomvais']['4']; ?>
:</label><input class="text" maxlength="4" type="text" id="ATvais_5" name="ATvais_5" /><br />
<label for="ATvais_6"><?php echo $this->_tpl_vars['nomvais']['5']; ?>
:</label><input class="text" maxlength="4" type="text" id="ATvais_6" name="ATvais_6" /><br />
<label for="ATvais_7"><?php echo $this->_tpl_vars['nomvais']['6']; ?>
:</label><input class="text" maxlength="4" type="text" id="ATvais_7" name="ATvais_7" /><br />
<label for="ATvais_8"><?php echo $this->_tpl_vars['nomvais']['7']; ?>
:</label><input class="text" maxlength="4" type="text" id="ATvais_8" name="ATvais_8" /><br />
<label for="ATvais_9"><?php echo $this->_tpl_vars['nomvais']['8']; ?>
:</label><input class="text" maxlength="4" type="text" id="ATvais_9" name="ATvais_9" /><br />
<label for="ATvais_10"><?php echo $this->_tpl_vars['nomvais']['9']; ?>
:</label><input class="text" maxlength="4" type="text" id="ATvais_10" name="ATvais_10" /><br />
<label for="ATvais_12"><?php echo $this->_tpl_vars['nomvais']['11']; ?>
:</label><input class="text" maxlength="4" type="text" id="ATvais_12" name="ATvais_12" /><br />
</fieldset>
<h2>Vaisseaux et défenses du défenseur</h2>
<fieldset class="options">
<label for="ENvais_1"><?php echo $this->_tpl_vars['nomvais']['0']; ?>
:</label><input class="text" maxlength="4" type="text" id="ENvais_1" name="ENvais_1" /><br />
<label for="ENvais_2"><?php echo $this->_tpl_vars['nomvais']['1']; ?>
:</label><input class="text" maxlength="4" type="text" id="ENvais_2" name="ENvais_2" /><br />
<label for="ENvais_3"><?php echo $this->_tpl_vars['nomvais']['2']; ?>
:</label><input class="text" maxlength="4" type="text" id="ENvais_3" name="ENvais_3" /><br />
<label for="ENvais_4"><?php echo $this->_tpl_vars['nomvais']['3']; ?>
:</label><input class="text" maxlength="4" type="text" id="ENvais_4" name="ENvais_4" /><br />
<label for="ENvais_5"><?php echo $this->_tpl_vars['nomvais']['4']; ?>
:</label><input class="text" maxlength="4" type="text" id="ENvais_5" name="ENvais_5" /><br />
<label for="ENvais_6"><?php echo $this->_tpl_vars['nomvais']['5']; ?>
:</label><input class="text" maxlength="4" type="text" id="ENvais_6" name="ENvais_6" /><br />
<label for="ENvais_7"><?php echo $this->_tpl_vars['nomvais']['6']; ?>
:</label><input class="text" maxlength="4" type="text" id="ENvais_7" name="ENvais_7" /><br />
<label for="ENvais_8"><?php echo $this->_tpl_vars['nomvais']['7']; ?>
:</label><input class="text" maxlength="4" type="text" id="ENvais_8" name="ENvais_8" /><br />
<label for="ENvais_9"><?php echo $this->_tpl_vars['nomvais']['8']; ?>
:</label><input class="text" maxlength="4" type="text" id="ENvais_9" name="ENvais_9" /><br />
<label for="ENvais_10"><?php echo $this->_tpl_vars['nomvais']['9']; ?>
:</label><input class="text" maxlength="4" type="text" id="ENvais_10" name="ENvais_10" /><br />
<label for="ENvais_11"><?php echo $this->_tpl_vars['nomvais']['10']; ?>
:</label><input class="text" maxlength="4" type="text" id="ENvais_11" name="ENvais_11" /><br />
<label for="ENvais_12"><?php echo $this->_tpl_vars['nomvais']['11']; ?>
:</label><input class="text" maxlength="4" type="text" id="ENvais_12" name="ENvais_12" /><br />
<br /><br /><br />
<label for="ENdef_1"><?php echo $this->_tpl_vars['nomdef']['0']; ?>
:</label><input class="text" maxlength="4" type="text" id="ENdef_1" name="ENdef_1" /><br />
<label for="ENdef_2"><?php echo $this->_tpl_vars['nomdef']['1']; ?>
:</label><input class="text" maxlength="4" type="text" id="ENdef_2" name="ENdef_2" /><br />
<label for="ENdef_3"><?php echo $this->_tpl_vars['nomdef']['2']; ?>
:</label><input class="text" maxlength="4" type="text" id="ENdef_3" name="ENdef_3" /><br />
<label for="ENdef_4"><?php echo $this->_tpl_vars['nomdef']['3']; ?>
:</label><input class="text" maxlength="4" type="text" id="ENdef_4" name="ENdef_4" /><br />
<label for="ENdef_5"><?php echo $this->_tpl_vars['nomdef']['4']; ?>
:</label><input class="text" maxlength="4" type="text" id="ENdef_5" name="ENdef_5" /><br />
</fieldset>
<h2>Autres paramètres</h2>
<fieldset class="systeme">
<label for="maxtour">S'arrêter au tour :</label><input class="text" maxlength="2" type="text" id="maxtour" name="maxtour" /><br />
<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">
<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']; ?>
sur la planète attaquée :</label><input class="text" maxlength="4" type="text" id="ENcristal" name="ENcristal" /><br />
<label for="ENhydrogene"><?php echo $this->_tpl_vars['nomressourc']['2']; ?>
sur la planète attaquée :</label><input class="text" maxlength="4" type="text" id="ENhydrogene" name="ENhydrogene" /><br />
</fieldset>
<input class="submit" type="submit" value="GO" />
</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-09-20 00:10:49
compiled from game/alliance_emprunt.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>Emprunter des ressources &agrave; la banque d'alliance</h2>
<form method="post" action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=emprunt">
<fieldset class="options">
<label for="metal"><?php echo $this->_tpl_vars['nomsressources']['0']; ?>
(max : <?php echo $this->_tpl_vars['alliance']['metalS']; ?>
) :</label><input type="text" class="text" id="metal" name="metal" maxlength="5" /><br />
<label for="cristal"><?php echo $this->_tpl_vars['nomsressources']['1']; ?>
(max : <?php echo $this->_tpl_vars['alliance']['cristalS']; ?>
) :</label><input type="text" class="text" id="cristal" name="cristal" maxlength="5" /><br />
<label for="hydrogene"><?php echo $this->_tpl_vars['nomsressources']['2']; ?>
(max : <?php echo $this->_tpl_vars['alliance']['hydrogeneS']; ?>
) :</label><input type="text" class="text" id="hydrogene" name="hydrogene" maxlength="5" /><br /><br />
<label for="raison">Raison de l'emprunt :</label><br />
<textarea name="raison" id="raison"></textarea><br />
<br /><input type="submit" class="submit" value="Demander" />
</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,101 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 23:04:41
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', 28, 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>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']['4']; ?>
,'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']['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']['defenses']; ?>
&amp;a=<?php echo $this->_tpl_vars['fterr']['0']; ?>
&amp;w=<?php echo $this->_tpl_vars['key']; ?>
">Annuler un</a> - <a href="<?php echo $this->_tpl_vars['menu']['defenses']; ?>
&amp;a=<?php echo $this->_tpl_vars['fterr']['0']; ?>
&amp;n=<?php echo $this->_tpl_vars['fterr']['1']; ?>
&amp;w=<?php echo $this->_tpl_vars['key']; ?>
">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['unites']; 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="?p=description&amp;d=<?php echo $this->_tpl_vars['unite']['num']; ?>
#menu">
<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']; ?>
unité<?php if ($this->_tpl_vars['unite']['nombre'] > 1): ?>s<?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']['defenses']; ?>
&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>
<?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,89 @@
<?php /* Smarty version 2.6.19, created on 2008-09-14 19:56:45
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); ?>
<?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>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 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']; ?>
">contactez un opérateur</a> au plus vite.</strong><?php endif; ?>
<em>Heure du serveur: <?php echo $this->_tpl_vars['datehb']; ?>
</em>
<?php $_from = $this->_tpl_vars['radar']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['flottes']):
?>
<?php $_from = $this->_tpl_vars['flottes']['0']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['flotte']):
?>
<?php if ($this->_tpl_vars['flotte']['mission'] == 1): ?><h4 class="attaque">attaque: Une flotte ennemie en provenance de <?php echo ((is_array($_tmp=$this->_tpl_vars['flotte']['nom_planete'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
[<?php echo $this->_tpl_vars['flotte']['start_galaxie']; ?>
:<?php echo $this->_tpl_vars['flotte']['start_ss']; ?>
:<?php echo $this->_tpl_vars['flotte']['start_position']; ?>
] atteint la planète <?php echo ((is_array($_tmp=$this->_tpl_vars['flottes']['1']['0'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
[<?php echo $this->_tpl_vars['flottes']['1']['1']; ?>
:<?php echo $this->_tpl_vars['flottes']['1']['2']; ?>
:<?php echo $this->_tpl_vars['flottes']['1']['3']; ?>
] dans <span id="reste<?php echo $this->_tpl_vars['key']; ?>
"><?php echo $this->_tpl_vars['flotte']['arrive_time']; ?>
</span><script type="text/javascript">reste(<?php echo $this->_tpl_vars['flotte']['arrive_time']; ?>
,'reste<?php echo $this->_tpl_vars['key']; ?>
', true);</script></h4>
<?php elseif ($this->_tpl_vars['flotte']['mission'] == 2): ?><h4 class="attaque">transport: Une flotte en provenance de <?php echo ((is_array($_tmp=$this->_tpl_vars['flotte']['nom_planete'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
[<?php echo $this->_tpl_vars['flotte']['start_galaxie']; ?>
:<?php echo $this->_tpl_vars['flotte']['start_ss']; ?>
:<?php echo $this->_tpl_vars['flotte']['start_position']; ?>
] atteint la planète <?php echo ((is_array($_tmp=$this->_tpl_vars['flottes']['1']['0'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
[<?php echo $this->_tpl_vars['flottes']['1']['1']; ?>
:<?php echo $this->_tpl_vars['flottes']['1']['2']; ?>
:<?php echo $this->_tpl_vars['flottes']['1']['3']; ?>
] dans <span id="reste<?php echo $this->_tpl_vars['key']; ?>
"><?php echo $this->_tpl_vars['flotte']['arrive_time']; ?>
</span><script type="text/javascript">reste(<?php echo $this->_tpl_vars['flotte']['arrive_time']; ?>
,'reste<?php echo $this->_tpl_vars['key']; ?>
', true);</script></h4>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
<?php endforeach; endif; unset($_from); ?>
<?php if ($this->_tpl_vars['mail']['nbre'] >= 2): ?><h4>messagerie: <a href="?p=messagerie"><?php echo $this->_tpl_vars['mail']['nbre']; ?>
messages non lu</a></h4>
<?php elseif ($this->_tpl_vars['mail']['nbre'] >= 1): ?><h4>messagerie: <a href="?p=messagerie"><?php echo $this->_tpl_vars['mail']['nbre']; ?>
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']; ?>
</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']; ?>
</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; ?>
"><?php echo $this->_tpl_vars['planete']->galaxie; ?>
.<?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>
<?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,61 @@
<?php /* Smarty version 2.6.19, created on 2008-09-20 00:08:56
compiled from game/chat.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>Chat</h2>
Le chat est désactivé pour le moment
<!--
<applet name="coolsmile" code="EIRC.class" style="height: 450px; width: 98%;">
<param name="archive" value="java/EIRC.jar,java/EIRC-cfg.jar">
<param name="cabbase" value="java/EIRC.cab,java/EIRC-cfg.cab">
<param name="server" value="yuna.otherweb.org">
<param name="port" value="6667">
<param name="irc_pass" value="">
<param name="font_name" value="Helvetica">
<param name="font_size" value="11">
<param name="language" value="">
<param name="mainbg" value="<?php if ($this->_tpl_vars['race'] == 'humain'): ?>#2E3122<?php else: ?>#2E293D<?php endif; ?>">
<param name="mainfg" value="<?php if ($this->_tpl_vars['race'] == 'humain'): ?>#999966<?php else: ?>#6993A7<?php endif; ?>">
<param name="textbg" value="#FFFFFF">
<param name="textfg" value="#000000">
<param name="selbg" value="#F0F0FF">
<param name="selfg" value="#000000">
<param name="join" value="#Halo-Battle">
<param name="username" value="Appletweb">
<param name="realname" value="Race: <?php echo $this->_tpl_vars['race']; ?>
">
<param name="nickname" value="<?php echo $this->_tpl_vars['user']['pseudo']; ?>
_IG">
<param name="nicksrv_pass" value="">
<param name="login" value="1">
<param name="asl" value="1">
<param name="spawn_frame" value="0">
<param name="gui_nick" value="1">
<param name="gui_away" value="1">
<param name="gui_chanlist" value="1">
<param name="gui_userlist" value="1">
<param name="gui_options" value="1">
<param name="gui_help" value="1">
<param name="gui_connect" value="1">
<param name="width" value="700">
<param name="height" value="500">
<param name="write_color" value="12">
<param name="debug_traffic" value="0">
<param name="boxmessage" value="Patientez quelques instants svp ...">
<param name="boxbgcolor" value="blue">
<param name="boxfgcolor" value="black">
<param name="progressbar" value="true">
<param name="progresscolor" value="red">
</applet>-->
<?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,68 @@
<?php /* Smarty version 2.6.19, created on 2008-09-19 23:57:45
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); ?>
<?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>Ressources</h2>
<form method="post" action="<?php echo $this->_tpl_vars['menu']['ressources']; ?>
">
<table>
<thead><tr><th> </th><th>Coefficient</th><th><?php echo $this->_tpl_vars['nomsressources']['0']; ?>
</th><th><?php echo $this->_tpl_vars['nomsressources']['1']; ?>
</th><th><?php echo $this->_tpl_vars['nomsressources']['2']; ?>
</th><th><?php echo $this->_tpl_vars['nomsressources']['3']; ?>
</th></tr></thead>
<tbody>
<tr><td><?php echo $this->_tpl_vars['planete']->batiments['0']; ?>
<?php echo $this->_tpl_vars['nombat']['0']; ?>
</td><td><input type="text" name="coeff_metal" value="<?php echo $this->_tpl_vars['ressources_coef']['0']; ?>
" maxlength="3" size="2" />%</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['0'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td><td>0</td><td>0</td><td class="lack">-<?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_conso']['0'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td></tr>
<?php if ($this->_tpl_vars['planete']->batiments['1']): ?><tr><td><?php echo $this->_tpl_vars['planete']->batiments['1']; ?>
<?php echo $this->_tpl_vars['nombat']['1']; ?>
</td><td><input type="text" name="coeff_cristal" value="<?php echo $this->_tpl_vars['ressources_coef']['1']; ?>
" maxlength="3" size="2" />%</td><td>0</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['1'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td><td>0</td><td class="lack">-<?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_conso']['1'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td></tr><?php endif; ?>
<?php if ($this->_tpl_vars['planete']->batiments['2']): ?><tr><td><?php echo $this->_tpl_vars['planete']->batiments['2']; ?>
<?php echo $this->_tpl_vars['nombat']['2']; ?>
</td><td><input type="text" name="coeff_hydrogene" value="<?php echo $this->_tpl_vars['ressources_coef']['2']; ?>
" maxlength="3" size="2" />%</td><td>0</td><td>0</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['2'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td><td class="lack">-<?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_conso']['2'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td></tr><?php endif; ?>
<tr><td><?php echo $this->_tpl_vars['planete']->batiments['3']; ?>
<?php echo $this->_tpl_vars['nombat']['3']; ?>
</td><td><input type="text" name="coeff_cs" value="<?php echo $this->_tpl_vars['ressources_coef']['3']; ?>
" maxlength="3" size="2" />%</td><td>0</td><td>0</td><td>0</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['3'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td></tr>
<?php if ($this->_tpl_vars['planete']->batiments['4']): ?><tr><td><?php echo $this->_tpl_vars['planete']->batiments['4']; ?>
<?php echo $this->_tpl_vars['nombat']['4']; ?>
</td><td><input type="text" name="coeff_ce" value="<?php echo $this->_tpl_vars['ressources_coef']['4']; ?>
" 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']; ?>
<?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)); ?>
</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_silo']['1'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td><td>0</td></tr>
<tr><td><strong>Total</strong></td><td>-</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['0'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['1'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td><td><?php if ($this->_tpl_vars['planete']->batiments['3']): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_toto']['0'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
<?php else: ?>0<?php endif; ?></td><td<?php if ($this->_tpl_vars['planete']->energieConso >= $this->_tpl_vars['planete']->energie): ?> class="lack"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_conso']['4'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td></tr>
</tbody>
</table>
<input type="submit" class="submit" value="GO" /><br /><br />
</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-09-12 13:24:19
compiled from cms/mini.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);
?>
<div id="connexion" class="block">
<div class="header">Connexion</div>
<div class="corps">
<form action="?p=connexion" method="post">
<fieldset>
<span>
<input type="text" class="text" name="HB_login" maxlength="32" tabindex="1" />
<input type="password" class="password" name="HB_password" maxlength="32" tabindex="2" />
<input type="submit" class="submit" value="GO" tabindex="3" />
</span>
<span>
<label for="galaxie">Galaxie :</label>
<select name="galaxie" id="galaxie">
<optgroup label="Galaxies standards">
<option> Alpha</option>
</optgroup>
</select>
<a href="<?php echo $this->_tpl_vars['link']['oubliemdp']; ?>
" tabindex="4">Mot de passe oublié</a>
</span>
</fieldset>
</form>
</div>
</div>
<div id="inscription" class="block"><span><a href="<?php echo $this->_tpl_vars['link']['inscription']; ?>
">INSCRIVEZ VOUS</a> Rejoignez l'alliance ou engagez-vous</span> <p><strong>DEFENDREZ VOUS L'HUMANITE OU LA DETRUIREZ VOUS?</strong><br /><br />Repoussez l'ennemi et partez a la conquète des mondes-anneaux dans des univers vastes et riches basés sur l'univers du jeu vidéo Halo<br /><br /><em>Une simple inscription gratuite et un navigateur internet sont demandés pour pouvoir participer a des batailles épiques!</em></p> <a href="<?php echo $this->_tpl_vars['link']['inscription']; ?>
" class="link"><span>Cliquez ici pour vous inscrire</span></a> <a href="<?php echo $this->_tpl_vars['link']['inscription']; ?>
" class="more">En savoir plus</a></div>
<div id="dernierminute" class="block">
<a href="http://www.halo.fr/" onclick="window.open(this.href); return false;"><img src="images/hfr.jpg" alt="Halo.fr" /></a>
</div>
<?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

@ -0,0 +1,40 @@
<?php /* Smarty version 2.6.19, created on 2008-09-20 00:27:15
compiled from admin/bandeau.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'admin/bandeau.tpl', 14, 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);
?>
<a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
&amp;i=add">Ajouter un titre</a>
<table>
<thead>
<tr>
<th>Action</th>
<th>Texte</th>
</tr>
</thead>
<tbody>
<?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;i=<?php echo $this->_tpl_vars['ligne']['id']; ?>
">EDIT</a> | <a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
&amp;d=<?php echo $this->_tpl_vars['ligne']['id']; ?>
">SUPPR</a></td>
<td<?php if ($this->_tpl_vars['ligne']['color']): ?> style="color: <?php echo $this->_tpl_vars['ligne']['color']; ?>
;"<?php endif; ?>><b><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['texte'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
</b></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);
?>

View file

@ -0,0 +1,40 @@
<?php /* Smarty version 2.6.19, created on 2008-09-20 00:26:23
compiled from admin/print_choixU.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><?php echo $this->_tpl_vars['titre']; ?>
</h2>
<table>
<tr>
<td>
<form action="admin.php" method="get">
<p>
ID : <input type="text" value="" name="id" />
<input type="hidden" value="<?php echo $this->_tpl_vars['linkpage']; ?>
" name="p" />
<input type="submit" class="submit" value="GO" />
</p>
</form>
</td>
</tr>
<tr>
<td>
<form action="admin.php" method="get">
<p>
Nom : <input type="text" name="name" />
<input type="hidden" value="<?php echo $this->_tpl_vars['linkpage']; ?>
" name="p" />
<input type="submit" class="submit" value="GO" />
</p>
</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

@ -0,0 +1,65 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 16:39:58
compiled from game/carte.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/carte.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;
unset($_smarty_tpl_vars);
?>
<h2>Navigation</h2>
<form action="<?php echo $this->_tpl_vars['menu']['carte']; ?>
" 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']; ?>
&amp;ss=<?php echo $this->_tpl_vars['position']['5']; ?>
">&#60;&#60;&#60;</a><input class="submit" type="submit" value="GO" /><a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
&amp;galaxie=<?php echo $this->_tpl_vars['position']['2']; ?>
&amp;ss=<?php echo $this->_tpl_vars['position']['3']; ?>
">&#62;&#62;&#62;</a></div></fieldset></form>
<h2>Système Solaire</h2>
<table class="systeme">
<thead>
<tr>
<td colspan="6">Système: <?php echo $this->_tpl_vars['position']['0']; ?>
:<?php echo $this->_tpl_vars['position']['1']; ?>
</td>
</tr>
<tr>
<th>Position</th>
<th>Nom</th>
<th>Débris métal</th>
<th>Débris cristal</th>
<th>Joueur</th>
<th>Message</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['carte']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['plan']):
?>
<tr>
<td><?php echo $this->_tpl_vars['plan']['0']; ?>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['1'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</td>
<td><?php echo $this->_tpl_vars['plan']['2']; ?>
</td>
<td><?php echo $this->_tpl_vars['plan']['3']; ?>
</td>
<td><?php if ($this->_tpl_vars['plan']['7']): ?>[<?php echo $this->_tpl_vars['plan']['7']; ?>
] <?php endif; ?><?php echo $this->_tpl_vars['plan']['5']; ?>
<?php echo $this->_tpl_vars['plan']['4']; ?>
</td>
<td><?php echo $this->_tpl_vars['plan']['6']; ?>
</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);
?>

View file

@ -0,0 +1,15 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 16:39:50
compiled from game/vp.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="error">... veuillez patienter ...</div>
<?php echo $this->_tpl_vars['contenu']; ?>
<?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,115 @@
<?php /* Smarty version 2.6.19, created on 2008-09-12 23:40:40
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', 2, false),array('modifier', 'capitalize', 'game/alliance_accueil.tpl', 2, false),array('modifier', 'escape', 'game/alliance_accueil.tpl', 10, false),array('modifier', 'nl2br', 'game/alliance_accueil.tpl', 37, false),array('modifier', 'date_format', 'game/alliance_accueil.tpl', 60, 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>[<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
] <?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['nom'])) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp)); ?>
</h2>
<table cellpadding="2" cellspacing="0" style="text-align: center; width: 100%;">
<tbody>
<tr>
<td colspan="2"><img src="<?php echo $this->_tpl_vars['alliance']['image']; ?>
" /></td>
</tr>
<tr>
<td style="text-align: right; vertical-align: middle;"><strong>Nom : </strong></td>
<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>
<td style="text-align: right;"><strong>Membres : </strong></td>
<td><?php echo $this->_tpl_vars['nbmembre']; ?>
(<a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=liste">Liste des membres</a>)</td>
</tr>
<tr>
<td style="text-align: right;"><strong>Votre grade :</strong></td>
<td><?php if ($this->_tpl_vars['access']['fondateur']): ?>Fondateur<?php elseif ($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)); ?>
<?php else: ?>Aucun<?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']; ?>
&amp;q=adm_ecrits">Gestion des &eacute;critures</a> |<?php endif; ?> <?php if ($this->_tpl_vars['access']['alliance']): ?> <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_alliance">Gestion de l'alliance</a><?php else: ?> <a onclick="return confirm('Êtes-vous sûr de vouloir quitter l\'alliance ?');" href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=quit_alliance&amp;a=<?php echo $this->_tpl_vars['quitalliance']; ?>
">Quitter l'alliance</a><?php endif; ?></td>
</tr>
<tr>
<td style="text-align: right;"><strong>Statut des inscriptions :</strong></td>
<td><?php if ($this->_tpl_vars['alliance']['etat_inscription']): ?>Ouvertes<?php else: ?>Ferm&eacute;e<?php endif; ?></td>
</tr>
<?php if ($this->_tpl_vars['access']['membre']): ?>
<tr>
<td style="text-align: right; font-weight: bolder;">Mail collectif :</td>
<td><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_mp">Envoyer un message collectif</a></td>
<?php endif; ?>
</tr>
<tr>
<td style="text-align: right; font-weight: bolder;">Ressources dans la banque :</td>
<td><?php echo $this->_tpl_vars['nomsressources']['0']; ?>
: <?php echo $this->_tpl_vars['alliance']['metal']; ?>
<br /><?php echo $this->_tpl_vars['nomsressources']['1']; ?>
: <?php echo $this->_tpl_vars['alliance']['cristal']; ?>
<br /><?php echo $this->_tpl_vars['nomsressources']['2']; ?>
: <?php echo $this->_tpl_vars['alliance']['hydrogene']; ?>
<br /><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=donner">Donner</a> | <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=emprunt">Demander financement</a></td>
</tr>
</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)); ?>
<table style="width: 100%;">
<tbody>
<tr>
<td style="text-align: right;"><strong>Forum :</strong></td>
<td style="width: 70%;"><a href="<?php echo $this->_tpl_vars['alliance']['url']; ?>
"><?php echo $this->_tpl_vars['alliance']['url']; ?>
</a></td>
</tr>
</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)); ?>
<h2>Chat</h2>
<div style="height: 150px; overflow: auto; width: 99%;" id="chat">
<table style="width: 100%; margin: 0px;">
<thead>
<tr>
<th style="width: 172px;">[pseudo] heure</td>
<th style="width: 536px;">Message</td>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['chat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['message']):
?>
<tr>
<td>[<?php echo $this->_tpl_vars['message']['emetteur']; ?>
] <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>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
</div>
<form method="post" action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=chat">
Réponse :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input name="msg" type="text" size="50" maxlength="250">&nbsp;&nbsp;&nbsp;&nbsp;<input value="GO" class="submit" type="submit">
</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,83 @@
<?php /* Smarty version 2.6.19, created on 2008-09-20 21:55:01
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); ?>
<?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>Gestion</h2>
<div id="gestion">
<table>
<thead>
<tr>
<td></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']):
?>
<td><img src="images/planetes/<?php echo $this->_tpl_vars['plan']['image']; ?>
.jpg" alt="<?php echo $this->_tpl_vars['plan']['image']; ?>
" title="<?php echo $this->_tpl_vars['plan']['nom_planete']; ?>
" width="80" height="80" /></td>
<?php endforeach; endif; unset($_from); ?>
</tr>
<tr>
<th></th>
<?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']):
?>
<th><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['nom_planete'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</th>
<?php endforeach; endif; unset($_from); ?>
</tr>
</thead>
<tbody>
<tr>
<td class="hightlight"><?php echo $this->_tpl_vars['nomsressources']['0']; ?>
</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']):
?>
<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); ?>
</tr>
<tr>
<td class="hightlight"><?php echo $this->_tpl_vars['nomsressources']['1']; ?>
</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']):
?>
<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); ?>
</tr>
<tr>
<td class="hightlight"><?php echo $this->_tpl_vars['nomsressources']['2']; ?>
</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']):
?>
<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); ?>
</tr>
<tr>
<td class="hightlight"><?php echo $this->_tpl_vars['nomsressources']['3']; ?>
</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']):
?>
<td><?php echo $this->_tpl_vars['plan']['energie']; ?>
</td>
<?php endforeach; endif; unset($_from); ?>
</tr>
</tbody>
</table>
</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,56 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 22:54:12
compiled from game/operateur.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>Opérateurs de cette galaxie</h2>
<ul>
<?php $_from = $this->_tpl_vars['operateurs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['operateur']):
?>
<li><?php echo $this->_tpl_vars['operateur']['pseudo']; ?>
<i>(<?php if ($this->_tpl_vars['operateur']['auth_level'] == 2): ?>Modérateur<?php elseif ($this->_tpl_vars['operateur']['auth_level'] == 3): ?>Maître de la bourse<?php elseif ($this->_tpl_vars['operateur']['auth_level'] == 4): ?>Opérateur en formation<?php elseif ($this->_tpl_vars['operateur']['auth_level'] == 5): ?>Opérateur<?php elseif ($this->_tpl_vars['operateur']['auth_level'] == 6): ?>Super-opérateur<?php elseif ($this->_tpl_vars['operateur']['auth_level'] == 7): ?>Administrateur<?php elseif ($this->_tpl_vars['operateur']['auth_level'] == 8): ?>Codeur<?php endif; ?>)</i></li>
<?php endforeach; endif; unset($_from); ?>
</ul>
<h2>Problèmes connus</h2>
<strong>Lisez les questions/réponses ci-dessous. Ne contactez un opérateur que si vous ne pouvez pas résoudre votre problème/demande.</strong><br />
<strong>N'oubliez pas de contacter les opérateurs pour les raisons indiquées dans les <a href="?p=regles">règles du jeu</a>.</strong>
<?php $_from = $this->_tpl_vars['questions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['question']):
?>
<dl>
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><?php echo $this->_tpl_vars['question']['0']; ?>
</dt><dd><?php echo $this->_tpl_vars['question']['1']; ?>
<?php if ($this->_tpl_vars['auth_level'] > 4): ?><div style="text-align: right"><a href="<?php echo $this->_tpl_vars['menu']['operateur']; ?>
&amp;a=top&amp;i=<?php echo $this->_tpl_vars['question']['2']; ?>
"><i>Haut</i></a> - <a href="<?php echo $this->_tpl_vars['menu']['operateur']; ?>
&amp;a=bas&amp;i=<?php echo $this->_tpl_vars['question']['2']; ?>
"><i>Bas</i></a> - <a href="<?php echo $this->_tpl_vars['menu']['operateur']; ?>
&amp;a=del&amp;i=<?php echo $this->_tpl_vars['question']['2']; ?>
"><i>Supprimer</i></a></div><?php endif; ?></dd>
</dl>
<?php endforeach; endif; unset($_from); ?>
<?php if ($this->_tpl_vars['auth_level'] >= 5): ?>
<h2>Ajouter un problème connu</h2>
<form action="<?php echo $this->_tpl_vars['menu']['operateur']; ?>
&amp;post" method="post"><fieldset class="options">
<label for="O_titre">Problème :</label><input class="text" type="text" name="O_titre" id="O_titre" />
<label for="O_desc">Solution :</label>
<textarea id="O_desc" name="O_description" cols="40" rows="10"></textarea><br /><br />
<input class="submit" type="submit" value="OK" />
</fieldset></form>
<?php else: ?><h2>Prendre contact avec les opérateurs de la galaxie</h2>
<form action="<?php echo $this->_tpl_vars['menu']['operateur']; ?>
&amp;post" method="post"><fieldset class="options">
<label for="titre">Titre/objet :</label><input class="text" type="text" name="titre" id="titre" />
<label for="desc">Corps :</label>
<textarea id="desc" name="description" cols="40" rows="10"></textarea><br /><br />
<input class="submit" type="submit" value="OK" />
</fieldset></form><?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,15 @@
<?php /* Smarty version 2.6.19, created on 2008-09-12 12:38:25
compiled from game/erreur.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="error"<?php if ($this->_tpl_vars['couleur']): ?> style="color: <?php echo $this->_tpl_vars['couleur']; ?>
;"<?php endif; ?>><?php echo $this->_tpl_vars['message']; ?>
</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,41 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 23:07:13
compiled from cms/oubliemdp.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);
?>
<div id="dernierminute" class="block">
<div class="header">Informations</div>
<div class="corps" id="description"><b>Oublie de mot de passe</b><br /><br /><p>Compl&eacute;tez le formualaire ci-contre avec votre nom d&#39;utilisateur et votre adresse &eacute;lectronique. Un nouveau mot de passe sera envoy&eacute; &agrave; votre adresse, vous permettant ainsi d&#39;avoir de nouveau acc&egrave;s &agrave; votre compte.<br /><br />Pensez &agrave; changer ce nouveau mot de passe que vous ne retiendrez pas facilement, via la page option du jeu.</p>
</div>
</div>
<div id="statistiques" class="block">
<div class="header">Formulaire de r&eacute;initialisation de mot de passe</div>
<div class="corpsi">
<form action="<?php echo $this->_tpl_vars['link']['oubliemdp']; ?>
" method="post">
<span><label for="HB_pseudo">Pseudo :</label> <input class="text" name="HB_pseudo" id="pseudo" type="text" />
<br /><label for="HB_mail">Adresse &eacute;lectronique :</label> <input class="text" name="HB_mail" id="mail" type="text" />
<br /><br /><label for="HB_captcha">Recopiez ce texte :</label> <input class="text" name="HB_captcha" id="captcha" type="text" /> <img src="captcha/image.php" alt="Génération ..." id="gen" />
<br /><br /><input class="submit" value="OK" type="submit">
</span>
</form>
</div>
</div>
<?php if ($this->_tpl_vars['erreurs']): ?>
<div id="connexion" class="block">
<div class="header"><b>Impossible de changer le mot de passe :</b></div>
<div class="corps" id="description">
<p>
<?php echo $this->_tpl_vars['erreurs']; ?>
</p>
</div>
</div>
<?php endif; ?>
<?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

@ -0,0 +1,23 @@
<?php /* Smarty version 2.6.19, created on 2008-09-20 00:28:41
compiled from admin/bandeau_add.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);
?>
<form action="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
&amp;i=<?php echo $this->_tpl_vars['id']; ?>
" method="post">
<p>
Texte : <input type="text" name="texte" value="<?php echo $this->_tpl_vars['mod']['texte']; ?>
" /><br />
Couleur : <input type="text" name="color" value="<?php echo $this->_tpl_vars['mod']['color']; ?>
" /><br />
<input type="submit" class="submit" value="GO" />
</p>
</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,101 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 16:36:47
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); ?>
<?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>Dernières infos</h2>
<?php $_from = $this->_tpl_vars['infos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['info']):
?>
<h4><a href="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
&amp;d=<?php echo $this->_tpl_vars['info']['id']; ?>
"><?php echo $this->_tpl_vars['info']['nom']; ?>
:</a> <?php echo $this->_tpl_vars['info']['description']; ?>
</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']):
?>
<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><?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>
<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']; ?>
" maxlength="3" value="0" />
<input type="submit" class="submit" value="OK" />
</fieldset>
</form>
</td>
<td>
<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']; ?>
" maxlength="3" value="0" />/<?php echo $this->_tpl_vars['action']['nbactions']; ?>
<input type="submit" class="submit" value="OK" />
</fieldset>
</form>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<?php if ($this->_tpl_vars['auth_level'] >= 3): ?>
<h2>Nouvelle action</h2>
<form action="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
&amp;c=new" method="post">
<fieldset class="options">
<label for="nomaction">Nom de l'action :</label><input type="text" name="nomaction" id="nomaction" maxlength="255" value="<?php echo $this->_tpl_vars['bourse']['nom']; ?>
" class="text" /><br />
<label for="descaction">Description de l'action :</label><br />
<textarea id="descaction" name="descaction"><?php echo ((is_array($_tmp=$this->_tpl_vars['bourse']['description'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</textarea>
<label for="newsaction">News de l'action (apparaît sur la page d'accueil) :</label><input type="text" name="newsaction" id="newsaction" class="text" value="<?php echo $this->_tpl_vars['bourse']['news']; ?>
" maxlength="255" /><br />
<label for="prixAM">Valeur en métal de l'action :</label><input type="text" name="prixAM" id="prixAM" maxlength="15" value="<?php echo $this->_tpl_vars['bourse']['metal']; ?>
" class="text" /><br />
<label for="prixAC">Valeur en cristal de l'action :</label><input type="text" name="prixAC" id="prixAC" maxlength="15" value="<?php echo $this->_tpl_vars['bourse']['cristal']; ?>
" class="text" /><br />
<input class="submit" type="submit" value="Ok" />
</fieldset>
</form>
<?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,42 @@
<?php /* Smarty version 2.6.19, created on 2008-09-20 00:25:56
compiled from admin/print_choixP.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><?php echo $this->_tpl_vars['titre']; ?>
</h2>
<table>
<tr>
<td>
<form action="admin.php" method="get">
<p>
ID de la planète : <input type="text" value="" name="id" />
<input type="hidden" value="<?php echo $this->_tpl_vars['linkpage']; ?>
" name="p" />
<input type="submit" class="submit" value="GO" />
</p>
</form>
</td>
</tr>
<tr>
<td>
<form action="admin.php" method="get">
<p>
Amas : <input type="text" name="amas" />
Système : <input type="text" name="ss" />
Position : <input type="text" name="pos" />
<input type="hidden" value="<?php echo $this->_tpl_vars['linkpage']; ?>
" name="p" />
<input type="submit" class="submit" value="GO" />
</p>
</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

@ -0,0 +1,41 @@
<?php /* Smarty version 2.6.19, created on 2008-09-14 16:38:14
compiled from game/aide/avertissements.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>Aide de Halo-Battle :: Avertissements</h2>
<h3>Avertissement aux utilisateurs de téléviseurs à rétroprojection</h3><br />
Les images fixes peuvent endommager de manière irréversible le tube cathodique ou marquer à jamais les luminophores qui constituent l'écran de ces téléviseurs.<br />C'est pourquoi il est conseillé d'éviter d'utiliser des jeux vidéo trop souvent ou de façon prolongée avec les téléviseurs à rétroprojection.<br /><br />
<h3>Prévention des risques d'épilepsie</h3><br />
<h4>A lire avant toute utilisation d'un jeu vidéo par vous-même ou par votre enfant.</h4><br />
Chez certaines personnes, la stimulation visuelle par certains effets stroboscopiques ou motifs lumineux peut déclencher une crise d'épilepsie ou une perte de connaissance et ce, y compris dans la vie de tous les jours.<br />
Chez ces personnes, le simple fait de regarder la télévision ou de jouer à un jeu vidéo peut suffire à déclencher une crise. Les symptômes peuvent même se déclarer chez un individu sans antécédents médicaux ou n'ayant jamais souffert de crise d'épilepsie.<br />
Si vous-même ou un membre de votre famille avez déjà présenté des symptômes liés à l'épilepsie (crise d'épilepsie ou de perte de connaissance) à la suite d'une exposition à des effets lumineux stroboscopiques, veuillez consulter votre médecin avant de commencer à jouer.<br />
Nous conseillons vivement aux parents de prêter une attention soutenue à leurs enfants lorsqu'ils utilisent un jeu vidéo. Si vous ou votre enfant ressentez l'un des symptômes suivants en cours de jeu : vertiges, troubles de la vue, contractions oculaires ou musculaires incontrôlées, perte de connaissance, désorientation, mouvements involontaires ou convulsions, veuillez cesser IMMEDIATEMENT la partie et consulter votre médecin.<br /><br />
<h3>Règles à respecter pour jouer dans les meilleures conditions possibles</h3>
<ul>
<li>S'installer confortablement en position assise, le plus loin possible de l'écran.
<li>Jouer de préférence sur un écran de petite taille.</li>
<li>Eviter de jouer en cas de fatigue ou de manque de sommeil.</li>
<li>Veiller à ce que la pièce soit bien éclairée.</li>
<li>Observer des pauses de 10 à 15 minutes par heure de jeu.</li>
</ul><br />
<h3>Prévention des risques liés aux troubles du sommeil</h3><br />
Pour votre santé, veillez à observer un compte d'heures minimales allouées à votre repos. Jouer plusieurs heures d'affilées comporte un risque de déréglement de votre horloge interne et/ou de troubles du sommeil. Si vous ou votre enfant ressentez l'un des symptômes suivants en cours de jeu : fatigue, vertiges, troubles de la vue, contractions oculaires ou musculaires incontrôlées, perte de connaissance, insomnie, stress, veuillez cesser IMMEDIATEMENT de jouer et prenez du repos.<br />
Pour bien dormir, observez ces quelques règles :
<ul>
<li>Couchez-vous et levez-vous à heures régulières.</li>
<li>Pas de grasse matinée : levez-vous dès le réveil.</li>
<li>Dînez léger et pas trop tard, en mangeant un laitage.</li>
<li>Observer les premiers signes annonciateurs du sommeil, ne luttez pas contre le sommeil.</li>
<li>Maintenir une température basse (entre 15 et 18 °C) ainsi qu'un bon degré d'hygrométrie.<br />Opter pour l'obscurité, elle favorise le sommeil. Choisir un lit confortable (ni trop ferme ni trop mou) et des couvertures légères.</li>
<li>Evitez la prise de produits stimulants : coca-cola, thé, café, vitamine C…</li>
<li>La régularité du sommeil reste le meilleur gage de qualité.</li>
</ul>
<?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-09-20 00:29:15
compiled from admin/version.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'admin/version.tpl', 19, 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);
?>
<a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
&amp;i=add">Ajouter une version</a>
<table>
<thead>
<tr>
<th>Action</th>
<th>Version</th>
<th>Infos</th>
<th>Date</th>
<th>Par</th>
</tr>
</thead>
<tbody>
<?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;i=<?php echo $this->_tpl_vars['ligne']['id']; ?>
">EDIT</a> | <a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
&amp;d=<?php echo $this->_tpl_vars['ligne']['id']; ?>
">SUPPR</a></td>
<td><?php echo $this->_tpl_vars['ligne']['version']; ?>
</td>
<td><?php echo $this->_tpl_vars['ligne']['contenu']; ?>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['temps'])) ? $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['ligne']['pseudo']; ?>
</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);
?>

View file

@ -0,0 +1,44 @@
<?php /* Smarty version 2.6.19, created on 2008-09-20 00:29:00
compiled from admin/demarrage.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'admin/demarrage.tpl', 17, false),array('modifier', 'date_format', 'admin/demarrage.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);
?>
<a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
&amp;i=add">Créer une nouvelle page</a>
<h2>Pages de démarrage</h2>
<h3>La première news est celle qui sera affichée à la connexion des joueurs</h3>
<table>
<thead>
<tr>
<th>Action</th>
<th>Titre</th>
<th>Date de visibilité</th>
</tr>
</thead>
<tbody>
<?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;i=<?php echo $this->_tpl_vars['ligne']['id']; ?>
">EDIT</a> | <a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
&amp;d=<?php echo $this->_tpl_vars['ligne']['id']; ?>
">SUPPR</a></td>
<td><b><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['titre'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</b></td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['time'])) ? $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>
</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);
?>

View file

@ -0,0 +1,23 @@
<?php /* Smarty version 2.6.19, created on 2008-09-12 13:24:19
compiled from cms/footer.tpl */ ?>
</div>
<div id="footer">
Réalisé par Halo Battle Staff<br />
Design by <a href="http://www.nothing-arts.com" onclick="window.open(this.href); return false;"><ins>nothingarts</ins></a><br /><br />
<!--Site visité 514200 fois depuis sa création<br />-->
<a href="<?php echo $this->_tpl_vars['link']['accueil']; ?>
">Accueil</a> | <a href="<?php echo $this->_tpl_vars['link']['jeu']; ?>
">Le jeu</a> | <a href="<?php echo $this->_tpl_vars['link']['inscription']; ?>
">S'inscrire</a> | <a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
">Forum</a> | <a href="<?php echo $this->_tpl_vars['link']['staff']; ?>
">Staff</a> | <a href="<?php echo $this->_tpl_vars['link']['faq']; ?>
">F.A.Q.</a>
</div>
</div>
<div id="cornerbt"></div>
<?php echo $this->_tpl_vars['script']; ?>
<!-- \\******* By Phantom *******// Halo-Battle, Tous droits réservés -->
</body>
</html>

View file

@ -0,0 +1,89 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 16:39:09
compiled from game/bourseDetails.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'floor', 'game/bourseDetails.tpl', 5, false),array('modifier', 'escape', 'game/bourseDetails.tpl', 18, false),array('modifier', 'nl2br', 'game/bourseDetails.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);
?>
<h2>Bourse : <?php echo $this->_tpl_vars['bourse']['nom']; ?>
</h2>
<h4>Valeurs au <?php echo $this->_tpl_vars['date']; ?>
</h4>
<br />
<h4>Valeur métal : <?php echo ((is_array($_tmp=$this->_tpl_vars['bourse']['metal'])) ? $this->_run_mod_handler('floor', true, $_tmp) : floor($_tmp)); ?>
</h4>
<h4>Valeur cristal : <?php echo ((is_array($_tmp=$this->_tpl_vars['bourse']['cristal'])) ? $this->_run_mod_handler('floor', true, $_tmp) : floor($_tmp)); ?>
</h4>
<h4>Evolution de l'action depuis l'ouverture de la bourse : <?php if ($this->_tpl_vars['bourse']['evolution'] > 0): ?>+<?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['bourse']['evolution'])) ? $this->_run_mod_handler('floor', true, $_tmp) : floor($_tmp)); ?>
%</h4>
<br />
<h4>Achat unité métal : <?php echo ((is_array($_tmp=$this->_tpl_vars['bourse']['metal']*$this->_tpl_vars['taxeA'])) ? $this->_run_mod_handler('floor', true, $_tmp) : floor($_tmp)); ?>
</h4>
<h4>Achat unité cristal : <?php echo ((is_array($_tmp=$this->_tpl_vars['bourse']['cristal']*$this->_tpl_vars['taxeA'])) ? $this->_run_mod_handler('floor', true, $_tmp) : floor($_tmp)); ?>
</h4>
<br />
<h4>Vente unité métal : <?php echo ((is_array($_tmp=$this->_tpl_vars['bourse']['metal']/$this->_tpl_vars['taxeV'])) ? $this->_run_mod_handler('floor', true, $_tmp) : floor($_tmp)); ?>
</h4>
<h4>Vente unité cristal : <?php echo ((is_array($_tmp=$this->_tpl_vars['bourse']['cristal']/$this->_tpl_vars['taxeV'])) ? $this->_run_mod_handler('floor', true, $_tmp) : floor($_tmp)); ?>
</h4>
<br />
<h4>Vous possédez <?php echo $this->_tpl_vars['poss']; ?>
actions de <?php echo $this->_tpl_vars['bourse']['nom']; ?>
</h4>
<h4>Vous avez acheté <?php echo $this->_tpl_vars['poss24']; ?>
actions de <?php echo $this->_tpl_vars['bourse']['nom']; ?>
dans les dernières 24h</h4>
<br />
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['bourse']['description'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
<br /><br />
<h4><form action="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
&amp;a=<?php echo $this->_tpl_vars['bourse']['id']; ?>
" method="post"><p>Acheter : <input type="text" class="text" name="a<?php echo $this->_tpl_vars['bourse']['id']; ?>
" maxlength="1" value="0" /><input type="submit" class="submit" value="OK" /></p></form></h4>
<h4><form action="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
&amp;v=<?php echo $this->_tpl_vars['bourse']['id']; ?>
" method="post"><p>Vendre : <input type="text" class="text" name="a<?php echo $this->_tpl_vars['bourse']['id']; ?>
" maxlength="1" value="0" /><input type="submit" class="submit" value="OK" /></p></form></h4>
<?php if ($this->_tpl_vars['auth_level'] >= 3): ?>
<br /><h2>Modification de l'action</h2>
<form action="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
&amp;e=<?php echo $this->_tpl_vars['bourse']['id']; ?>
" method="post">
<fieldset class="options">
<label for="nomaction">Nom de l'action :</label><input type="text" name="nomaction" id="nomaction" maxlength="255" value="<?php echo $this->_tpl_vars['bourse']['nom']; ?>
" class="text" /><br />
<label for="descaction">Description de l'action :</label><br />
<textarea id="descaction" name="descaction"><?php echo ((is_array($_tmp=$this->_tpl_vars['bourse']['description'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</textarea>
<input class="submit" type="submit" value="Ok" />
</fieldset>
</form>
<form action="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
&amp;e=<?php echo $this->_tpl_vars['bourse']['id']; ?>
" method="post">
<fieldset class="options">
<label for="newsaction">News de l'action (apparaît sur la page d'accueil) :</label><input type="text" name="newsaction" id="newsaction" class="text" value="<?php echo $this->_tpl_vars['bourse']['news']; ?>
" maxlength="255" /><br />
<input class="submit" type="submit" value="Créer la news" />
</fieldset>
</form>
<form action="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
&amp;e=<?php echo $this->_tpl_vars['bourse']['id']; ?>
" method="post">
<fieldset class="options">
<label for="prixAM">Valeur en métal de l'action :</label><input type="text" name="prixAM" id="prixAM" maxlength="15" value="<?php echo $this->_tpl_vars['bourse']['metal']; ?>
" class="text" /><br />
<label for="prixAC">Valeur en cristal de l'action :</label><input type="text" name="prixAC" id="prixAC" maxlength="15" value="<?php echo $this->_tpl_vars['bourse']['cristal']; ?>
" class="text" /><br />
<input class="submit" type="submit" value="Ok" />
</fieldset>
</form>
<?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,24 @@
<?php /* Smarty version 2.6.19, created on 2008-09-20 00:28:20
compiled from admin/demarrage_add.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);
?>
<form action="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
&amp;i=<?php echo $this->_tpl_vars['id']; ?>
" method="post">
<p>
Titre : <input type="text" name="titre" value="<?php echo $this->_tpl_vars['mod']['titre']; ?>
" /><br />
Texte : <br /><textarea name="contenu" rows="10" cols="10"><?php echo $this->_tpl_vars['mod']['contenu']; ?>
</textarea><br />
<?php if ($this->_tpl_vars['mod']['titre']): ?><input type="checkbox" name="reset" id="reset" value="1" /><label for="reset"> Actualiser la date et l'heure d'écriture</label> <i>Les utilisateurs ayant déjà vu la page la revéront de nouveau.</i><br /><?php endif; ?>
<input type="submit" class="submit" value="GO" />
</p>
</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,60 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 22:55:03
compiled from admin/vip.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'admin/vip.tpl', 19, 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>Vérification des IP</h2>
<a href="?p=vip&amp;v=<?php echo $this->_tpl_vars['numpage']-1; ?>
">&lt;&lt;&lt;</a> page <?php echo $this->_tpl_vars['numpage']; ?>
/<?php echo $this->_tpl_vars['nbpage']; ?>
<a href="?p=vip&amp;v=<?php echo $this->_tpl_vars['numpage']+1; ?>
">&gt;&gt;&gt;</a>
<table style="text-align: center; margin: auto;">
<thead>
<tr>
<th>Adresses IP</th>
<th>Nom d'utilisateur</th>
<th>Date & heure</th>
<th>Traçage IP</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['ips']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['ip']):
?>
<tr<?php if ($this->_tpl_vars['ip']['6']): ?> style="background-color: #<?php echo $this->_tpl_vars['ip']['6']; ?>
;"<?php endif; ?>>
<td><a href="?p=vip&amp;ip=<?php echo $this->_tpl_vars['ip']['0']; ?>
"><?php echo $this->_tpl_vars['ip']['0']; ?>
</a></td>
<td><a href="?p=vip&amp;util=<?php echo $this->_tpl_vars['ip']['2']; ?>
"><?php echo $this->_tpl_vars['ip']['3']; ?>
(<?php echo $this->_tpl_vars['ip']['2']; ?>
)</a></td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ip']['4'])) ? $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['ip']['1']; ?>
</td>
<td><a href="?p=vip&amp;util=<?php echo $this->_tpl_vars['ip']['2']; ?>
&amp;act=multiok">Déclaré</a><br /><a href="<?php echo $this->_tpl_vars['menua']['sjoueurs']; ?>
&amp;id=<?php echo $this->_tpl_vars['ip']['2']; ?>
&amp;sanc=d&amp;raisonmv=Multi-compte">Définitivement</a></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<a href="?p=vip&amp;v=<?php echo $this->_tpl_vars['numpage']-1; ?>
">&lt;&lt;&lt;</a> page <?php echo $this->_tpl_vars['numpage']; ?>
/<?php echo $this->_tpl_vars['nbpage']; ?>
<a href="?p=vip&amp;v=<?php echo $this->_tpl_vars['numpage']+1; ?>
">&gt;&gt;&gt;</a>
<?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,14 @@
<?php /* Smarty version 2.6.19, created on 2008-09-19 23:40:36
compiled from game/alliance_adm_header.tpl */ ?>
<?php if ($this->_tpl_vars['access']['chat']): ?><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_chat">Administration du chat</a> - <?php endif; ?>
<?php if ($this->_tpl_vars['access']['membre']): ?><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_membres">Administration des membres et des candidatures</a> - <?php endif; ?>
<?php if ($this->_tpl_vars['access']['grades']): ?><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_grades">Administration des rangs</a> - <?php endif; ?>
<?php if ($this->_tpl_vars['access']['ecriture']): ?><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_ecrits">Administration de la pr&eacute;sentation et de la page interne.</a> - <?php endif; ?>
<?php if ($this->_tpl_vars['access']['alliance']): ?><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_alliance">Administration globale (defcon, successeur ...)</a> - <?php endif; ?>
<a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
">Retour</a>

View file

@ -0,0 +1,189 @@
<?php /* Smarty version 2.6.19, created on 2008-09-19 23:28:08
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); ?>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="fr" />
<meta http-equiv="ext-Cache" content="0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="pragma" content="no-cache" />
<title> ::Halo-Battle:: - <?php echo $this->_tpl_vars['titre']; ?>
</title>
<?php if ($this->_tpl_vars['race'] == 'covenant'): ?><link rel="stylesheet" href="templates/covenants.css" type="text/css" media="all" title="Covenants" /><?php elseif ($this->_tpl_vars['auth_level'] >= 3): ?><link rel="alternate stylesheet" href="templates/csnu.css" type="text/css" media="all" title="CSNU" /><?php endif; ?>
<?php if ($this->_tpl_vars['race'] == 'humain'): ?><link rel="stylesheet" href="templates/csnu.css" type="text/css" media="all" title="CSNU" /><?php elseif ($this->_tpl_vars['auth_level'] >= 3): ?><link rel="alternate stylesheet" href="templates/covenants.css" type="text/css" media="all" title="Covenants" /><?php endif; ?>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<script src="js/fonctions.js" type="text/javascript"></script>
<script src="js/img_manques.js" type="text/javascript"></script>
<script src="js/infos.js" type="text/javascript"></script>
<?php echo $this->_tpl_vars['scripth']; ?>
</head>
<body onload="first(<?php echo $this->_tpl_vars['nbinfos']; ?>
);">
<div id="cornertop"></div>
<div id="all">
<div id="header">
<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']; ?>
" id="rss">RSS :: s'abonner</a>
<h1><a href="<?php echo $this->_tpl_vars['link']['self']; ?>
<?php echo $this->_tpl_vars['first_page']; ?>
"><span></span>Halo Battle</a></h1>
<div id="buttons"><div><a href="<?php echo $this->_tpl_vars['link']['accueil']; ?>
">ACCUEIL</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['blog']; ?>
">BLOG</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
">FORUM</a></div> <div><a href="<?php echo $this->_tpl_vars['menu']['chat']; ?>
">CHAT</a></div> <div><?php if ($this->_tpl_vars['auth_level'] >= 4): ?><a href="admin.php">CONTROLES</a><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
">F.A.Q.</a><?php endif; ?></div> <div><a href="<?php echo $this->_tpl_vars['link']['operateur']; ?>
">OPERATEUR !</a></div></div>
<form action="#" method="post"><fieldset id="recherche"><input class="text" type="text" name="recherche" value="rechercher..." onfocus="this.value = this.value!='rechercher...'?this.value:''" onblur="this.value=this.value==''?'rechercher...':this.value" /><input value="OK" class="submit" type="submit" /><br /><a href="#">Recherche Avancée</a></fieldset></form>
</div>
<div id="annonce">
<?php $_from = $this->_tpl_vars['infos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['info']):
?>
<div id="quadri<?php echo $this->_tpl_vars['key']; ?>
" class="annonceleft"<?php if ($this->_tpl_vars['info']['color']): ?> style="color: <?php echo $this->_tpl_vars['info']['color']; ?>
;"<?php endif; ?>><?php echo $this->_tpl_vars['info']['texte']; ?>
</div>
<?php endforeach; endif; unset($_from); ?>
<span id="annonceright"><?php echo $this->_tpl_vars['count']['humains']; ?>
Marines et <?php echo $this->_tpl_vars['count']['covenants']; ?>
Covenants se battent dans <ins><?php echo $this->_tpl_vars['count']['serveurs']; ?>
galaxie<?php if ($this->_tpl_vars['count']['serveurs'] > 1): ?>s<?php endif; ?></ins></span>
</div>
<div>
<div id="menu"><div class="menu_head"></div>
<?php if ($this->_tpl_vars['page'] == 'admin'): ?> <a href="<?php echo $this->_tpl_vars['menua']['accueil']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'accueil'): ?> class="hightlight"<?php endif; ?>>Accueil</a>
<a href="<?php echo $this->_tpl_vars['menua']['courrier']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'mail'): ?> class="hightlight"<?php endif; ?>>Courrier</a>
<a href="<?php echo $this->_tpl_vars['menua']['webmail']; ?>
" onclick="window.open(this.href); return false;">Webmail</a>
<div class="space"></div>
<a href="<?php echo $this->_tpl_vars['menua']['vip']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'vip'): ?> class="hightlight"<?php endif; ?>>Vérifier IP</a>
<a href="<?php echo $this->_tpl_vars['menua']['vflottes']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'vflotte'): ?> class="hightlight"<?php endif; ?>>Vérifier flottes</a>
<a href="<?php echo $this->_tpl_vars['menua']['vplanetes']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'print_choixP'): ?> class="hightlight"<?php endif; ?>>Vérifier planètes</a>
<a href="<?php echo $this->_tpl_vars['menua']['vjoueurs']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'vjoueurs'): ?> class="hightlight"<?php endif; ?>>Vérifier joueurs</a>
<a href="<?php echo $this->_tpl_vars['menua']['valliances']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'valliances'): ?> class="hightlight"<?php endif; ?>>Vérifier alliances</a>
<a href="<?php echo $this->_tpl_vars['menua']['vrapports']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'vrapports'): ?> class="hightlight"<?php endif; ?>>Afficher rapports</a>
<div class="space"></div>
<a href="<?php echo $this->_tpl_vars['menua']['sjoueurs']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'sanctionU_choix'): ?> class="hightlight"<?php endif; ?>>Sanctions joueur</a>
<a href="<?php echo $this->_tpl_vars['menua']['sancp']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'sancp'): ?> class="hightlight"<?php endif; ?>>Sanctions planète</a>
<a href="<?php echo $this->_tpl_vars['menua']['controle']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'controle'): ?> class="hightlight"<?php endif; ?>>Prendre le contrôle</a>
<a href="<?php echo $this->_tpl_vars['menua']['djoueurs']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'sjoueurs'): ?> class="hightlight"<?php endif; ?>>Supprimer joueurs</a>
<a href="<?php echo $this->_tpl_vars['menua']['inscription']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'inscription'): ?> class="hightlight"<?php endif; ?>>Créer lien d'inscription</a>
<div class="space"></div>
<a href="<?php echo $this->_tpl_vars['menua']['bandeau']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'bandeau'): ?> class="hightlight"<?php endif; ?>>Bandeau d'informations</a>
<a href="<?php echo $this->_tpl_vars['menua']['demarrage']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'demarrage'): ?> class="hightlight"<?php endif; ?>>Message démarrage</a>
<a href="<?php echo $this->_tpl_vars['menua']['versions']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'version'): ?> class="hightlight"<?php endif; ?>>Versions</a>
<div class="space"></div>
<?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>
<a href="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
"<?php if ($this->_tpl_vars['page'] == 'caserne'): ?> class="hightlight"<?php endif; ?>>Caserne</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']; ?>
"<?php if ($this->_tpl_vars['page'] == 'chantierterrestre'): ?> class="hightlight"<?php endif; ?>>Chantier terrestre</a>
<a href="<?php echo $this->_tpl_vars['menu']['defenses']; ?>
"<?php if ($this->_tpl_vars['page'] == 'defenses'): ?> class="hightlight"<?php endif; ?>>Défenses</a>
<a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
"<?php if ($this->_tpl_vars['page'] == 'laboratoire'): ?> class="hightlight"<?php endif; ?>>Laboratoire</a>
<a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
"<?php if ($this->_tpl_vars['page'] == 'arbre'): ?> class="hightlight"<?php endif; ?>>Arbre technologique</a>
<div class="space"></div>
<a href="<?php echo $this->_tpl_vars['menu']['ressources']; ?>
"<?php if ($this->_tpl_vars['page'] == 'ressources'): ?> class="hightlight"<?php endif; ?>>Ressources</a>
<a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
"<?php if ($this->_tpl_vars['page'] == 'gestion' || $this->_tpl_vars['page'] == 'rename'): ?> class="hightlight"<?php endif; ?>>Gestion</a>
<a href="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
"<?php if ($this->_tpl_vars['page'] == 'bourse' || $this->_tpl_vars['page'] == 'bourseDetails'): ?> class="hightlight"<?php endif; ?>>Bourse</a>
<a href="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
"<?php if ($this->_tpl_vars['page'] == 'flotte1' || $this->_tpl_vars['page'] == 'flotte2' || $this->_tpl_vars['page'] == 'flotten'): ?> class="hightlight"<?php endif; ?>>Flottes</a>
<a href="?p=simulateur"<?php if ($this->_tpl_vars['page'] == 'simulateur_combat'): ?> class="hightlight"<?php endif; ?>>Simulateur de combat</a>
<a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
"<?php if ($this->_tpl_vars['page'] == 'carte'): ?> class="hightlight"<?php endif; ?>>Carte spatiale</a>
<a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
"<?php if ($this->_tpl_vars['page'] == 'options'): ?> class="hightlight"<?php endif; ?>>Options</a>
<div class="space"></div>
<a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
"<?php if ($this->_tpl_vars['page'] == 'messagerie' || $this->_tpl_vars['page'] == 'envoyer'): ?> class="hightlight"<?php endif; ?>><?php if ($this->_tpl_vars['alertMail']): ?><b>Messages et rapports (<?php echo $this->_tpl_vars['alertMail']; ?>
)</b><?php else: ?>Messages et rapports<?php endif; ?></a>
<a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
"<?php if ($this->_tpl_vars['titre'] == 'Alliance'): ?> class="hightlight"<?php endif; ?>>Alliance</a>
<a href="<?php echo $this->_tpl_vars['menu']['classement']; ?>
"<?php if ($this->_tpl_vars['page'] == 'classement'): ?> class="hightlight"<?php endif; ?>>Classement</a>
<a href="<?php echo $this->_tpl_vars['menu']['chat']; ?>
"<?php if ($this->_tpl_vars['page'] == 'chat'): ?> class="hightlight"<?php endif; ?> onclick="window.open(this.href);return false;">Chat</a>
<a href="<?php echo $this->_tpl_vars['menu']['forums']; ?>
"<?php if ($this->_tpl_vars['page'] == 'forums'): ?> class="hightlight"<?php endif; ?>>Forums</a>
<a href="<?php echo $this->_tpl_vars['menu']['bugs']; ?>
"<?php if ($this->_tpl_vars['page'] == 'bugs'): ?> class="hightlight"<?php endif; ?>>Rapports de bug</a>
<a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
"<?php if ($this->_tpl_vars['page'] == 'faq'): ?> class="hightlight"<?php endif; ?>>F.A.Q.</a>
<a href="<?php echo $this->_tpl_vars['menu']['deconnexion']; ?>
">Déconnexion</a>
<div class="space"></div>
<?php endif; ?> <div class="menu_bt"></div></div>
<?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']; ?>
.</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)):
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>
<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)); ?>
<?php if ($this->_tpl_vars['planete']->alert_ressources['4']): ?></span><?php endif; ?></div>
<div class="ressource"><span><?php echo $this->_tpl_vars['nomsressources']['2']; ?>
</span><br /><?php if ($this->_tpl_vars['planete']->alert_ressources['2'] == true): ?><span class="lack"><?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->hydrogene)) ? $this->_run_mod_handler('separenombre', true, $_tmp) : smarty_modifier_separenombre($_tmp)); ?>
<?php if ($this->_tpl_vars['planete']->alert_ressources['2']): ?></span><?php endif; ?></div>
<div class="ressource"><span><?php echo $this->_tpl_vars['nomsressources']['1']; ?>
</span><br /><?php if ($this->_tpl_vars['planete']->alert_ressources['1'] == true): ?><span class="lack"><?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->cristal)) ? $this->_run_mod_handler('separenombre', true, $_tmp) : smarty_modifier_separenombre($_tmp)); ?>
<?php if ($this->_tpl_vars['planete']->alert_ressources['1']): ?></span><?php endif; ?></div>
<div class="ressource"><span><?php echo $this->_tpl_vars['nomsressources']['0']; ?>
</span><br /><?php if ($this->_tpl_vars['planete']->alert_ressources['0'] == true): ?><span class="lack"><?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->metal)) ? $this->_run_mod_handler('separenombre', true, $_tmp) : smarty_modifier_separenombre($_tmp)); ?>
<?php if ($this->_tpl_vars['planete']->alert_ressources['0']): ?></span><?php endif; ?></div>
<div class="border_bt"></div>
</div>
<?php endif; ?>
<?php if ($this->_tpl_vars['page'] != 'admin' && $this->_tpl_vars['page'] != 'operateur'): ?><div><?php echo $this->_tpl_vars['pub']; ?>
</div><?php endif; ?>
<div id="corps">
<div class="border_top"></div>

View file

@ -0,0 +1,89 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 16:37:59
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); ?>
<?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>Flottes en action</h2>
<table>
<thead>
<tr><th>Nom</th><th>Mission</th><th>Nb.vaisseau(x)</th><th>Destination</th><th>Heure d'arrivée</th><th>Retour</th><th>Heure de retour</th></tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['flottesEC']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['flotteEC']):
?>
<tr>
<td><a href="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
&amp;n=<?php echo $this->_tpl_vars['flotteEC']['0']; ?>
"><?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 ((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 ((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>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<h2>Vaisseaux disponibles sur cette planète</h2>
<form action="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
" method="post">
<table>
<thead>
<tr><th>Vaisseaux</th><th>Nombre disponible</th><th>Max</th><th>A envoyer<br />Flottes : <?php echo $this->_tpl_vars['nbflotte']; ?>
/<?php echo $this->_tpl_vars['nbflottemax']; ?>
</th></tr>
</thead>
<tfoot>
<tr><td colspan="4"><input class="button" type="button" value="Tous les vaisseaux" onclick="vaisseaux(true)" /> <input class="button" type="button" value="Aucun vaisseau" onclick="vaisseaux(false)" /></td></tr>
<tr><td colspan="4"><?php echo $this->_tpl_vars['action']; ?>
</td></tr>
</tfoot>
<tbody>
<?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><?php echo $this->_tpl_vars['vaisseau']['0']; ?>
</td>
<td><?php echo $this->_tpl_vars['vaisseau']['1']; ?>
<span id="v_<?php echo $this->_tpl_vars['vaisseau']['3']; ?>
" style="display: none;"><?php echo $this->_tpl_vars['vaisseau']['2']; ?>
</span></td>
<td><input class="button" type="button" value="Max" onclick="max('<?php echo $this->_tpl_vars['vaisseau']['3']; ?>
')" /></td>
<td><input class="text" type="text" name="v<?php echo $this->_tpl_vars['vaisseau']['3']; ?>
" value="0" /></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
</form>
<h2>Tactiques par défaut</h2>
<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);?>
</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);?>
</select><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,23 @@
<?php /* Smarty version 2.6.19, created on 2008-09-20 00:34:06
compiled from cms/maj.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);
?>
<div id="connexion" class="block">
<div class="header"><?php echo $this->_tpl_vars['titre']; ?>
</div>
<div class="corps"><?php echo $this->_tpl_vars['texte']; ?>
</div>
</div>
<div id="inscription" class="block"><span><a href="<?php echo $this->_tpl_vars['link']['inscription']; ?>
">INSCRIVEZ VOUS</a> Rejoignez l'alliance ou engagez-vous</span> <p><strong>DEFENDREZ VOUS L'HUMANITE OU LA DETRUIREZ VOUS?</strong><br /><br />Repoussez l'ennemi et partez a la conquète des mondes-anneaux dans des univers vastes et riches basés sur l'univers du jeu vidéo Halo<br /><br /><em>Une simple inscription gratuite et un navigateur internet sont demandés pour pouvoir participer a des batailles épiques!</em></p> <a href="<?php echo $this->_tpl_vars['link']['inscription']; ?>
" class="link"><span>Cliquez ici pour vous inscrire</span></a> <a href="<?php echo $this->_tpl_vars['link']['inscription']; ?>
" class="more">En savoir plus</a></div>
<?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

@ -0,0 +1,57 @@
<?php /* Smarty version 2.6.19, created on 2008-09-13 16:40:05
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); ?>
<?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>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']; ?>
" method="post">
<?php $_from = $this->_tpl_vars['messages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['message']):
?>
<dl>
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><input class="checkbox" type="checkbox" name="m<?php echo $this->_tpl_vars['message']['4']; ?>
" value="<?php echo $this->_tpl_vars['message']['5']; ?>
" /><a href="?p=envoyer&amp;d=<?php echo $this->_tpl_vars['message']['2']; ?>
&amp;o=<?php echo $this->_tpl_vars['message']['0']; ?>
"><?php echo $this->_tpl_vars['message']['0']; ?>
</a> de <?php echo $this->_tpl_vars['message']['2']; ?>
à <?php echo $this->_tpl_vars['message']['1']; ?>
</dt><dd><?php echo ((is_array($_tmp=$this->_tpl_vars['message']['3'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
</dd>
</dl>
<?php endforeach; endif; unset($_from); ?>
<fieldset><input class="button" type="button" value="Tout sélectionner" onclick="checkboxes(true)" /> <input class="button" type="button" value="Tout déselectionner" onclick="checkboxes(false)" /><br /><br /><strong>Supprimer la sélection : </strong><input class="submit" type="submit" value="OK" /><br /><br /><input type="hidden" value="<?php echo $this->_tpl_vars['IM']; ?>
" name="IM" /></fieldset>
</form>
<h2>Rapports</h2>
<form action="<?php echo $this->_tpl_vars['menu']['messagerie']; ?>
" method="post">
<?php $_from = $this->_tpl_vars['rapports']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['rapport']):
?>
<dl>
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><input class="checkbox" type="checkbox" name="r<?php echo $this->_tpl_vars['rapport']['4']; ?>
" value="<?php echo $this->_tpl_vars['rapport']['5']; ?>
" /><?php echo $this->_tpl_vars['rapport']['0']; ?>
à <?php echo $this->_tpl_vars['rapport']['1']; ?>
</dt><dd><?php echo $this->_tpl_vars['rapport']['3']; ?>
</dd>
</dl>
<?php endforeach; endif; unset($_from); ?>
<fieldset><input class="button" type="button" value="Tout sélectionner" onclick="checkboxesr(true)" /> <input class="button" type="button" value="Tout déselectionner" onclick="checkboxesr(false)" /><br /><br /><strong>Supprimer la sélection : </strong><input class="submit" type="submit" value="OK" /><br /><br /><input type="hidden" value="<?php echo $this->_tpl_vars['IR']; ?>
" name="IR" /></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,46 @@
<?php /* Smarty version 2.6.19, created on 2008-09-14 12:46:26
compiled from admin/inscription.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="corpsi">
<form action="" method="post">
<p><label for="pseudo">Pseudo :</label> <input class="text" name="HB_pseudo" id="pseudo" type="text" maxlength="16" value="<?php echo $_POST['HB_pseudo']; ?>
" />
<br /><label for="mdp">Mot de passe :</label> <input class="text" name="HB_mdp" id="mdp" type="password" maxlength="32" />
<br /><label for="conf">Confirmation :</label> <input class="text" name="HB_conf" id="conf" type="password" maxlength="32" />
<br /><label for="mail">Adresse &eacute;lectronique :</label> <input class="text" name="HB_mail" id="mail" type="text" value="<?php echo $_POST['HB_mail']; ?>
" maxlength="64" />
<br /><br />Race :<br />
</p>
<table style="margin-left: auto; margin-right: auto; width: 75%;">
<tr>
<td>
<label id="humain" for="humaini">
<img src="images/humain.jpg" alt="Humain"/><br />
<input type="radio" name="race" id="humaini" value="humain"<?php if ($_POST['race'] == 'humain'): ?> selected="selected"<?php endif; ?> /> Humain
</label>
</td>
<td>
<label id="covenant" for="covenanti">
<img src="images/covenant.jpg" alt="Covenant"/><br />
<input type="radio" name="race" id="covenanti" value="covenant"<?php if ($_POST['race'] == 'covenant'): ?> selected="selected"<?php endif; ?> /> Covenant
</label>
</td>
</tr>
</table>
<p>
<br /><label for="servers">Galaxie :</label> <select name="servers" id="servers"><option value="1"> Alpha</option></select>
<br /><label for="placement">Placement pr&eacute;f&eacute;rentiel :</label> <input class="text" name="HB_placement" id="placement" type="text" value="<?php echo $_POST['HB_placement']; ?>
" />
<br /><br /><input class="submit" value="OK" type="submit" />
</p>
</form>
</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);
?>