Version 1.7b

This commit is contained in:
nemunaire 2008-11-04 12:00:00 +01:00
commit 8a8280758b
716 changed files with 4361 additions and 33524 deletions

View file

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

View file

@ -0,0 +1,54 @@
<?php /* Smarty version 2.6.19, created on 2008-06-03 23:48:41
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', 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);
?>
<div class="border_top"></div>
<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
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,15 @@
<?php /* Smarty version 2.6.19, created on 2008-06-03 22:54:22
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="border_top"></div>
<div class="error">Prochainement sur Halo-Battle.</div>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,14 @@
<?php /* Smarty version 2.6.19, created on 2008-04-11 21:47:30
compiled from blog/erreur.xtpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'blog/header.xtpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div id="erreur"><?php echo $this->_tpl_vars['erreur']; ?>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'blog/footer.xtpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,84 @@
<?php /* Smarty version 2.6.19, created on 2008-06-04 01:10:38
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);
?>
<div class="border_top"></div>
<h2>Arbre Technologique</h2>
<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">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']; ?>
#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">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']; ?>
#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'] == 'chantierterrestre'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;q=chantierterrestre">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']; ?>
#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">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']; ?>
#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>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,95 @@
<?php /* Smarty version 2.6.19, created on 2008-05-15 22:04:18
compiled from cms/index.xtpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/header.xtpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div id="corps">
<div id="connexion" class="block">
<div class="header">Connexion</div>
<div class="corps"><form action="<?php echo $this->_tpl_vars['link']['connexion']; ?>
" method="post"><fieldset><span><input type="text" class="text" name="login" maxlength="15" tabindex="1" /><input type="password" class="password" name="password" maxlength="30" tabindex="2" /><input type="submit" class="submit" value="GO" tabindex="3" /></span><span><input type="checkbox" name="cookie" id="cookie" /><label for="cookie">Retenir mes informations</label> <a href="<?php echo $this->_tpl_vars['link']['forgetpass']; ?>
" 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']['register']; ?>
">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']['register']; ?>
" class="link"><span>Cliquez ici pour vous inscrire</span></a> <a href="<?php echo $this->_tpl_vars['link']['register']; ?>
" class="more">En savoir plus</a></div>
<div id="news" class="block">
<h2>Actualités</h2>
<?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['value']):
?><?php if ($this->_tpl_vars['value']['newdate']): ?><h3><span><?php echo $this->_tpl_vars['value']['date']; ?>
</span></h3><?php endif; ?>
<div>
<img src="<?php echo $this->_tpl_vars['value']['link_img']; ?>
" alt="" width="50" height="50" />
<p><strong><?php echo $this->_tpl_vars['value']['title']; ?>
</strong> dans : <ins><?php echo $this->_tpl_vars['value']['group']; ?>
</ins> <cite><?php echo $this->_tpl_vars['value']['preview']; ?>
</cite> <a href="<?php echo $this->_tpl_vars['value']['link']; ?>
" class="com"><?php echo $this->_tpl_vars['value']['com']; ?>
commentaire<?php if ($this->_tpl_vars['value']['com'] >= 2): ?>s<?php endif; ?></a> <a href="<?php echo $this->_tpl_vars['value']['link']; ?>
" class="plus">PLUS &#62;&#62;</a></p>
</div><?php endforeach; endif; unset($_from); ?>
<div class="bottom"><a href="<?php echo $this->_tpl_vars['link']['news']; ?>
">Plus de news</a> <span>1,<a href="#">2</a>,<a href="#">3</a>,<a href="#">4</a> <a href="#">&#60;&#60;</a> <a href="#">&#60;</a> <a href="#">&#62;</a> <a href="#">&#62;&#62;</a></span></div>
</div>
<div id="annonce" class="block">
<div><img src="<?php echo $this->_tpl_vars['annonce']['img']; ?>
" alt="" width="452" height="174" /><a href="<?php echo $this->_tpl_vars['annonce']['link']; ?>
" class="link"><span>NAVIGATION &#62;&#62;</span></a></div>
<p><strong><span><?php echo $this->_tpl_vars['annonce']['title']; ?>
</span></strong> <cite><?php echo $this->_tpl_vars['annonce']['preview']; ?>
</cite> <a href="<?php echo $this->_tpl_vars['annonce']['link']; ?>
" class="plus">PLUS &#62;&#62;</a></p>
</div>
<div id="statistiques" class="block">
<div class="header">Statistiques</div>
<div class="corps"><img src="<?php echo $this->_tpl_vars['stat']; ?>
" alt="Statistiques" /></div>
<div class="footer"><a href="<?php echo $this->_tpl_vars['link']['stat']; ?>
">Plus de statistiques</a></div>
</div>
<div id="container" class="block">
<div id="sondage">
<h2>Sondage</h2>
<div class="header"><span></span></div>
<div class="corps"><form action="<?php echo $this->_tpl_vars['link']['vote']; ?>
" method="post"><fieldset>
<legend><?php echo $this->_tpl_vars['vote_question']; ?>
</legend>
<?php $_from = $this->_tpl_vars['vote']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['i'] => $this->_tpl_vars['value']):
?><label for="sondage<?php echo $this->_tpl_vars['i']+1; ?>
"><input type="radio" class="radio" name="sondage" value="<?php echo $this->_tpl_vars['i']+1; ?>
" id="sondage<?php echo $this->_tpl_vars['i']+1; ?>
" /><?php echo $this->_tpl_vars['value']; ?>
</label><?php endforeach; endif; unset($_from); ?>
<input type="submit" class="submit" value="OK" />
</fieldset></form></div>
</div>
<div id="dossier">
<h2>Dossiers</h2>
<div class="header"><span></span></div>
<div class="corps"><img src="<?php echo $this->_tpl_vars['dossier']['img']; ?>
" alt="" width="45" height="45" /><p><strong><?php echo $this->_tpl_vars['dossier']['title']; ?>
</strong> <cite><?php echo $this->_tpl_vars['dossier']['preview']; ?>
</cite></p></div>
<div class="footer"><a href="<?php echo $this->_tpl_vars['link']['dossiers']; ?>
">Plus de dossiers</a></div>
</div>
</div>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/footer.xtpl', '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-06-04 00:19:14
compiled from game/laboratoire.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/laboratoire.tpl', 30, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="border_top"></div>
<h2>File d'attente</h2>
<div class="file">
<?php $_from = $this->_tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['flab']):
?>
<span><?php echo $this->_tpl_vars['flab']['3']; ?>
- <em id="reste<?php echo $this->_tpl_vars['key']; ?>
"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['flab']['2']; ?>
,'reste<?php echo $this->_tpl_vars['key']; ?>
', <?php if ($this->_tpl_vars['key'] == 0): ?>true<?php else: ?>false<?php endif; ?>);</script> - <a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
&amp;a=<?php echo $this->_tpl_vars['flab']['0']; ?>
">Annuler</a></span>
<?php endforeach; endif; unset($_from); ?>
<?php if ($this->_tpl_vars['Vchaine']): ?><span>Aucune recherche dans la file d'attente</span>
<?php endif; ?>
<br />
</div>
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;q=technologies">Arbre des technologies</a></h3><br />
<h2>Laboratoire</h2>
<table class="construction">
<?php $_from = $this->_tpl_vars['recherches']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['recherche']):
?>
<tr>
<td>
<a class="bulle" href="?p=description&amp;t=<?php echo $this->_tpl_vars['recherche']['num']; ?>
#menu">
<img width="130" height="132" src="images/technologies/<?php echo $this->_tpl_vars['recherche']['image']; ?>
" alt="<?php echo $this->_tpl_vars['recherche']['nom']; ?>
" />
<span><?php echo $this->_tpl_vars['recherche']['description']; ?>
</span>
</a>
</td>
<td>
<div>
<strong><?php echo $this->_tpl_vars['recherche']['nom']; ?>
<?php if ($this->_tpl_vars['recherche']['niveau'] > 0): ?> (Niveau <?php echo $this->_tpl_vars['recherche']['niveau']; ?>
)<?php endif; ?></strong><br /><br />
<?php if ($this->_tpl_vars['recherche']['nec_metal'] > 0): ?>
<?php if ($this->_tpl_vars['recherche']['nec_metal'] > $this->_tpl_vars['planete']['metal']): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['recherche']['nec_metalS']; ?>
</span><br />
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['recherche']['nec_metalS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['recherche']['nec_cristal'] > 0): ?>
<?php if ($this->_tpl_vars['recherche']['nec_cristal'] > $this->_tpl_vars['planete']['cristal']): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['recherche']['nec_cristalS']; ?>
</span><br />
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['recherche']['nec_cristalS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['recherche']['nec_hydrogene'] > 0): ?>
<?php if ($this->_tpl_vars['recherche']['nec_hydrogene'] > $this->_tpl_vars['planete']['hydrogene']): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['recherche']['nec_hydrogeneS']; ?>
</span><br />
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
: <?php echo $this->_tpl_vars['recherche']['nec_hydrogeneS']; ?>
<br /><?php endif; ?>
<?php endif; ?>
Temps de recherche : <?php echo $this->_tpl_vars['recherche']['temps']; ?>
<br /><br />
<?php if ($this->_tpl_vars['recherche']['enfile']): ?><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
&amp;a=<?php echo $this->_tpl_vars['recherche']['num']; ?>
">Arrêter</a>
<?php elseif ($this->_tpl_vars['recherche']['nec_hydrogene'] > $this->_tpl_vars['planete']['hydrogene']): ?><span class="lack" title="manque <?php if ($this->_tpl_vars['recherche']['maq_metal'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_metal']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
; <?php endif; ?><?php if ($this->_tpl_vars['recherche']['maq_cristal'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_cristal']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
; <?php endif; ?><?php if ($this->_tpl_vars['recherche']['maq_hydrogene'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_hydrogene']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
<?php endif; ?>">Ressources insuffisantes</span>
<?php elseif ($this->_tpl_vars['recherche']['nec_cristal'] > $this->_tpl_vars['planete']['cristal']): ?><span class="lack" title="manque <?php if ($this->_tpl_vars['recherche']['maq_metal'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_metal']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
; <?php endif; ?><?php if ($this->_tpl_vars['recherche']['maq_cristal'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_cristal']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
; <?php endif; ?><?php if ($this->_tpl_vars['recherche']['maq_hydrogene'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_hydrogene']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
<?php endif; ?>">Ressources insuffisantes</span>
<?php elseif ($this->_tpl_vars['recherche']['nec_metal'] > $this->_tpl_vars['planete']['metal']): ?><span class="lack" title="manque <?php if ($this->_tpl_vars['recherche']['maq_metal'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_metal']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
; <?php endif; ?><?php if ($this->_tpl_vars['recherche']['maq_cristal'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_cristal']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
; <?php endif; ?><?php if ($this->_tpl_vars['recherche']['maq_hydrogene'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_hydrogene']; ?>
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
<?php endif; ?>">Ressources insuffisantes</span>
<?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
&amp;t=<?php echo $this->_tpl_vars['recherche']['num']; ?>
">Construire</a>
<?php endif; ?>
</div>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,27 @@
<?php /* Smarty version 2.6.19, created on 2008-06-03 22:00:55
compiled from game/footer.tpl */ ?>
 </div>
<div id="footer">
Réalisé par Halo Battle Staff<br />
Design by <a href="http://nothing-arts.com" onclick="window.open(this.href); return false;"><ins>nothingarts</ins></a><br />
<!-- Site visité 514200 fois depuis sa création<br /> -->
<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']['staff']; ?>
">Staff</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,98 @@
<?php /* Smarty version 2.6.19, created on 2008-05-10 15:08:45
compiled from blog/header.xtpl */ ?>
<!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 name="Description" content="The ark - Blog officiel du staff d'Halo-Battle." />
<meta name="Keywords" content="halo-battle,halo battle,halobattle,battle,the ark,ark,the-ark,halo,blog" />
<meta name="robots" content="index,follow" />
<?php if ($this->_tpl_vars['erreur'] && ! $this->_tpl_vars['no_refresh']): ?><meta http-equiv="Refresh" content="5;URL=<?php echo $this->_tpl_vars['path']; ?>
" />
<?php endif; ?>
<title> ::The Ark:: - <?php echo $this->_tpl_vars['title']; ?>
</title>
<link rel="stylesheet" href="styles/blog.css" type="text/css" media="all" />
<link rel="alternate" type="application/rss+xml" title="News du blog d'Halo-battle" href="<?php echo $this->_tpl_vars['link']['rss']; ?>
" />
</head>
<body>
<div id="all">
<div id="all2">
<div id="header">
<h1><a href="<?php echo $this->_tpl_vars['link']['self']; ?>
"><span></span>The Ark - Blog officiel du staff halo-battle</a></h1>
<ul>
<li><a href="<?php echo $this->_tpl_vars['link']['self']; ?>
">Accueil</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
">Forum</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['jeu']; ?>
">Halo-Battle</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['accueil']; ?>
">News</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['contact']; ?>
">Contact</a></li>
</ul>
<h2><span></span>Le blog est officiellement ouvert! Retrouver les commentaires du staff...</h2>
</div>
<div id="linknews"><a href="<?php echo $this->_tpl_vars['link']['blogcsnu']; ?>
" id="csnu"><span></span>News CSNU</a> <a href="<?php echo $this->_tpl_vars['link']['blogcovenants']; ?>
" id="covenants"><span></span>News Covies</a></div>
<div id="corps">
<div id="corps2">
<div id="sommaire">
<table>
<thead>
<tr><th colspan="7"><?php echo $this->_tpl_vars['mois']; ?>
</th></tr>
<tr><td>lun</td><td>mar</td><td>mer</td><td>jeu</td><td>ven</td><td>sam</td><td>dim</td></tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['calendar']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['week']):
?><tr><?php $_from = $this->_tpl_vars['week']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['value']):
?><td><?php echo $this->_tpl_vars['value']; ?>
</td><?php endforeach; endif; unset($_from); ?></tr>
<?php endforeach; endif; unset($_from); ?></tbody>
</table>
<h3>Sommaire</h3>
<h4>Mois ::</h4>
<ul>
<li><a href="<?php echo $this->_tpl_vars['link']['blogm1']; ?>
">Janvier</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blogm2']; ?>
">Février</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blogm3']; ?>
">Mars</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blogm4']; ?>
">Avril</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blogm5']; ?>
">Mai</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blogm6']; ?>
">Juin</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blogm7']; ?>
">Juillet</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blogm8']; ?>
">Août</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blogm9']; ?>
">Septembre</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blogm10']; ?>
">Octobre</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blogm11']; ?>
">Novembre</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blogm12']; ?>
">Décembre</a></li>
</ul>
<h4>Clan ::</h4>
<ul>
<li><a href="<?php echo $this->_tpl_vars['link']['blogcsnu']; ?>
">CSNU</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blogcovenants']; ?>
">Covenants</a></li>
</ul>
</div>

View file

@ -0,0 +1,60 @@
<?php /* Smarty version 2.6.19, created on 2008-06-02 01:34:52
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>
<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="<?php echo $this->_tpl_vars['link']['faq']; ?>
">F.A.Q.</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,109 @@
<?php /* Smarty version 2.6.19, created on 2008-04-06 22:33:57
compiled from ark_page.xtpl */ ?>
<!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:: - Blog</title>
<link rel="stylesheet" href="styles/blog.css" type="text/css" media="all" />
</head>
<body>
<div id="all">
<div id="all2">
<div id="header">
<h1><a href="<?php echo $this->_tpl_vars['link']['blog']; ?>
"><span></span>The Ark - Blog officiel du staff halo-battle</a></h1>
<ul>
<li><a href="<?php echo $this->_tpl_vars['link']['blog']; ?>
">Accueil</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
">Forum</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['home']; ?>
">Halo-Battle</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['news']; ?>
">News</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['contact']; ?>
">Contact</a></li>
</ul>
<h2><span></span>Le blog est officiellement ouvert! Retrouver les commentaires du staff...</h2>
</div>
<div id="linknews"><a href="<?php echo $this->_tpl_vars['link']['blog_csnu']; ?>
" id="csnu"><span></span>News CSNU</a> <a href="<?php echo $this->_tpl_vars['link']['blog_covi']; ?>
" id="covenants"><span></span>News Covies</a></div>
<div id="corps">
<div id="corps2">
<div id="sommaire">
<table>
<thead>
<tr><th colspan="7"><?php echo $this->_tpl_vars['mois']; ?>
</th></tr>
<tr><td>lun</td><td>mar</td><td>mer</td><td>jeu</td><td>ven</td><td>sam</td><td>dim</td></tr>
</thead>
<tbody>
<tr><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>1</td><td>2</td></tr>
<tr><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td><td>8</td><td>9</td></tr>
<tr><td>10</td><td>11</td><td>12</td><td>13</td><td>14</td><td>15</td><td>16</td></tr>
<tr><td>17</td><td>18</td><td>19</td><td>20</td><td>21</td><td>22</td><td>23</td></tr>
<tr><td>24</td><td><strong>25</strong></td><td>26</td><td>27</td><td>28</td><td>29</td><td>30</td></tr>
<tr><td>31</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr>
</tbody>
</table>
<h3>Sommaire</h3>
<h4>Mois ::</h4>
<ul>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['0']; ?>
">Janvier</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['1']; ?>
">Février</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['2']; ?>
">Mars</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['3']; ?>
">Avril</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['4']; ?>
">Mai</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['5']; ?>
">Juin</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['6']; ?>
">Juillet</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['7']; ?>
">Août</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['8']; ?>
">Septembre</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['9']; ?>
">Octobre</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['10']; ?>
">Novembre</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['11']; ?>
">Décembre</a></li>
</ul>
<h4>Clan ::</h4>
<ul>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_csnu']; ?>
">CSNU</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['covi']; ?>
">Covenants</a></li>
</ul>
<a href="<?php echo $this->_tpl_vars['link']['staff']; ?>
">Staff</a>
</div>
<h5><?php echo $this->_tpl_vars['auteur']; ?>
, <em>le <?php echo $this->_tpl_vars['date']; ?>
</em></h5>
<p><?php echo $this->_tpl_vars['contenu']; ?>
</p>
<div id="commentaire">
<div><h6>User, <em>le 25/12/08</em></h6><p>Lorem ipsum dolor sit amet, <em>consectetuer</em> adipiscing elit. Sed non risus. <strong>Suspendisse</strong> lectus tortor, dignissim <acronym title="SIT">sit</acronym> amet, adipiscing nec, ultricies sed, dolor. <del>Cras</del> elementum <ins>ultrices</ins> diam. <q>Maecenas</q> ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. <a href="#">Duis arcu massa</a>, scelerisque vitae, consequat in, pretium a, enim.</p></div>
<div><h6>User, <em>le 25/12/08</em></h6><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. Duis arcu massa, scelerisque vitae, consequat in, pretium a, enim.</p></div>
</div>
</div>
</div>
</div>
</div>
<div id="footer">Design by O D S T - The Ark, tous droits réservés.<br />Halo, Bungie et Microsoft sont des marques et logos déposés par Microsoft Corporation.<br />Copyright © 2008-2009. halo-battle.com, tous droits réservés.</div>
<!-- \\******* By Phantom *******// Halo-Battle, Tous droits réservés -->
</body>
</html>

View file

@ -0,0 +1,99 @@
<?php /* Smarty version 2.6.19, created on 2008-06-03 22:54:24
compiled from game/chantierspatial.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/chantierspatial.tpl', 27, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="border_top"></div>
<h2>File d'attente</h2>
<div class="file">
<?php $_from = $this->_tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['fvais']):
?>
<?php if ($this->_tpl_vars['key'] == 0): ?><span><strong>Prochain vaisseau</strong> : <em id="resten"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['fvais']['2']; ?>
,'resten', true);</script></span><?php endif; ?>
<span><?php echo $this->_tpl_vars['fvais']['1']; ?>
<?php echo $this->_tpl_vars['fvais']['3']; ?>
- <em id="reste<?php echo $this->_tpl_vars['key']; ?>
"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['fvais']['4']; ?>
,'reste<?php echo $this->_tpl_vars['key']; ?>
', <?php if ($this->_tpl_vars['key'] == 0): ?>true<?php else: ?>false<?php endif; ?>);</script> - <a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
&amp;a=<?php echo $this->_tpl_vars['fvais']['0']; ?>
">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']; ?>
">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>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,115 @@
<?php /* Smarty version 2.6.19, created on 2008-06-03 22:45:01
compiled from game/batiments.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/batiments.tpl', 30, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="border_top"></div>
<h2>File d'attente</h2>
<div class="file">
<?php $_from = $this->_tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['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>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,15 @@
<?php /* Smarty version 2.6.19, created on 2008-06-03 23:24:27
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,51 @@
<?php /* Smarty version 2.6.19, created on 2008-06-03 23:48:32
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', 19, false),array('modifier', 'truncate', 'admin/mail_liste.tpl', 19, false),array('modifier', 'date_format', 'admin/mail_liste.tpl', 20, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="border_top"></div>
<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>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,17 @@
<?php /* Smarty version 2.6.19, created on 2008-06-03 23:47:31
compiled from admin/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="border_top"></div>
<div class="error">... veuillez patienter ...</div>
<div class="border_bt"></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,70 @@
<?php /* Smarty version 2.6.19, created on 2008-06-04 01:03:00
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);
?>
<div class="border_top"></div>
<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>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,95 @@
<?php /* Smarty version 2.6.19, created on 2008-06-04 01:06:17
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);
?>
<div class="border_top"></div>
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
</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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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" />
<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 />
<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" />
<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" />
<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" />
<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" />
<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" />
</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" />
<label for="ATtactique">Tactique attaquant :</label><input class="text" maxlength="2" type="text" id="ATtactique" name="ATtactique" />
<label for="ENtactique">Tactique défenseur :</label><input class="text" maxlength="2" type="text" id="ENtactique" name="ENtactique" />
</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" />
<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" />
<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" />
</fieldset>
<input class="submit" type="submit" value="GO" />
</form>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,36 @@
<?php /* Smarty version 2.6.19, created on 2008-05-15 22:04:18
compiled from cms/header.xtpl */ ?>
<!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="styles/default.css" type="text/css" media="all" />
<script src="js/fonctions.js" type="text/javascript"></script>
</head>
<body>
<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']['download']; ?>
">Téléchargements</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']['home']; ?>
" id="img"><span></span>Halo Battle</a>
<div id="buttons"><div><a href="<?php echo $this->_tpl_vars['link']['home']; ?>
">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']['register']; ?>
">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="<?php echo $this->_tpl_vars['link']['faq']; ?>
">F.A.Q.</a></div></div>
<form action="<?php echo $this->_tpl_vars['link']['search']; ?>
" 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="<?php echo $this->_tpl_vars['link']['search']; ?>
" tabindex="12">Recherche Avancée</a></fieldset></form>
</div>
<div id="banner"><span id="bannerleft">DEFENDREZ-VOUS L'HUMANITE OU LA DETRUIREZ-VOUS ?</span> <span id="bannerright">4500 Marines et 7500 Covenants se battent dans <ins>4 univers</ins></span></div>

View file

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

View file

@ -0,0 +1,67 @@
<?php /* Smarty version 2.6.19, created on 2008-06-04 01:02:56
compiled from game/accueil.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'game/accueil.tpl', 18, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="border_top"></div>
<h2>Evénements</h2>
<em>Heure du serveur: <?php echo $this->_tpl_vars['datehb']; ?>
</em>
<?php $_from = $this->_tpl_vars['attaques']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['attaque']):
?>
<h4 class="attaque">attaque: Une flotte ennemie en provenance de <?php echo $this->_tpl_vars['attaque']['0']; ?>
[<?php echo $this->_tpl_vars['attaque']['2']; ?>
:<?php echo $this->_tpl_vars['attaque']['3']; ?>
:<?php echo $this->_tpl_vars['attaque']['4']; ?>
] atteint la planète <?php echo $this->_tpl_vars['attaque']['5']; ?>
[<?php echo $this->_tpl_vars['attaque']['6']; ?>
:<?php echo $this->_tpl_vars['attaque']['7']; ?>
:<?php echo $this->_tpl_vars['attaque']['8']; ?>
] dans <span id="reste<?php echo $this->_tpl_vars['key']; ?>
"><?php echo $this->_tpl_vars['attaque']['1']; ?>
</span><script type="text/javascript">reste(<?php echo $this->_tpl_vars['attaque']['9']; ?>
,'reste<?php echo $this->_tpl_vars['key']; ?>
', true);</script></h4>
<?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 $this->_tpl_vars['planete']['nom_planete']; ?>
</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="planete" />
<h2>Infos</h2>
<h4>Diamètre: <?php echo $this->_tpl_vars['diametre']; ?>
km <ins>(<?php echo $this->_tpl_vars['caseRest']; ?>
/<?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; ?>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,22 @@
<?php /* Smarty version 2.6.19, created on 2008-06-02 01:33:34
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="?log" 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><input type="checkbox" name="cookie" id="cookie" /><label for="cookie">Retenir mes informations</label> <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>
<?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,36 @@
<?php /* Smarty version 2.6.19, created on 2008-06-03 23:48:44
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);
?>
<div class="border_top"></div>
<table>
<tr>
<td>
<form action="admin.php" method="get">
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" />
</form>
</td>
</tr>
<tr>
<td>
<form action="admin.php" method="get">
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" />
</form>
</td>
</tr>
</table>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,65 @@
<?php /* Smarty version 2.6.19, created on 2008-06-04 00:30:50
compiled from game/carte.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="border_top"></div>
<h2>Navigation</h2>
<form action="<?php echo $this->_tpl_vars['menu']['carte']; ?>
" method="get"><fieldset class="systeme"><label for="galaxie">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 $this->_tpl_vars['plan']['1']; ?>
</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>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,109 @@
<?php /* Smarty version 2.6.19, created on 2008-04-06 21:08:23
compiled from ark.xtpl */ ?>
<!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:: - Blog</title>
<link rel="stylesheet" href="styles/blog.css" type="text/css" media="all" />
</head>
<body>
<div id="all">
<div id="all2">
<div id="header">
<h1><a href="<?php echo $this->_tpl_vars['link']['blog']; ?>
"><span></span>The Ark - Blog officiel du staff halo-battle</a></h1>
<ul>
<li><a href="<?php echo $this->_tpl_vars['link']['blog']; ?>
">Accueil</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
">Forum</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['home']; ?>
">Halo-Battle</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['news']; ?>
">News</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['contact']; ?>
">Contact</a></li>
</ul>
<h2><span></span>Le blog est officiellement ouvert! Retrouver les commentaires du staff...</h2>
</div>
<div id="linknews"><a href="<?php echo $this->_tpl_vars['link']['blog_csnu']; ?>
" id="csnu"><span></span>News CSNU</a> <a href="<?php echo $this->_tpl_vars['link']['blog_covi']; ?>
" id="covenants"><span></span>News Covies</a></div>
<div id="corps">
<div id="corps2">
<div id="sommaire">
<table>
<thead>
<tr><th colspan="7"><?php echo $this->_tpl_vars['mois']; ?>
</th></tr>
<tr><td>lun</td><td>mar</td><td>mer</td><td>jeu</td><td>ven</td><td>sam</td><td>dim</td></tr>
</thead>
<tbody>
<tr><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>1</td><td>2</td></tr>
<tr><td>3</td><td>4</td><td>5</td><td>6</td><td>7</td><td>8</td><td>9</td></tr>
<tr><td>10</td><td>11</td><td>12</td><td>13</td><td>14</td><td>15</td><td>16</td></tr>
<tr><td>17</td><td>18</td><td>19</td><td>20</td><td>21</td><td>22</td><td>23</td></tr>
<tr><td>24</td><td><strong>25</strong></td><td>26</td><td>27</td><td>28</td><td>29</td><td>30</td></tr>
<tr><td>31</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr>
</tbody>
</table>
<h3>Sommaire</h3>
<h4>Mois ::</h4>
<ul>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['0']; ?>
">Janvier</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['1']; ?>
">Février</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['2']; ?>
">Mars</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['3']; ?>
">Avril</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['4']; ?>
">Mai</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['5']; ?>
">Juin</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['6']; ?>
">Juillet</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['7']; ?>
">Août</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['8']; ?>
">Septembre</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['9']; ?>
">Octobre</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['10']; ?>
">Novembre</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_mois']['11']; ?>
">Décembre</a></li>
</ul>
<h4>Clan ::</h4>
<ul>
<li><a href="<?php echo $this->_tpl_vars['link']['blog_csnu']; ?>
">CSNU</a></li>
<li><a href="<?php echo $this->_tpl_vars['link']['covi']; ?>
">Covenants</a></li>
</ul>
<a href="<?php echo $this->_tpl_vars['link']['staff']; ?>
">Staff</a>
</div>
<h5><?php echo $this->_tpl_vars['auteur']; ?>
, <em>le <?php echo $this->_tpl_vars['date']; ?>
</em></h5>
<p><?php echo $this->_tpl_vars['contenu']; ?>
</p>
<div id="commentaire">
<div><h6>User, <em>le 25/12/08</em></h6><p>Lorem ipsum dolor sit amet, <em>consectetuer</em> adipiscing elit. Sed non risus. <strong>Suspendisse</strong> lectus tortor, dignissim <acronym title="SIT">sit</acronym> amet, adipiscing nec, ultricies sed, dolor. <del>Cras</del> elementum <ins>ultrices</ins> diam. <q>Maecenas</q> ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. <a href="#">Duis arcu massa</a>, scelerisque vitae, consequat in, pretium a, enim.</p></div>
<div><h6>User, <em>le 25/12/08</em></h6><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. Duis arcu massa, scelerisque vitae, consequat in, pretium a, enim.</p></div>
</div>
</div>
</div>
</div>
</div>
<div id="footer">Design by O D S T - The Ark, tous droits réservés.<br />Halo, Bungie et Microsoft sont des marques et logos déposés par Microsoft Corporation.<br />Copyright © 2008-2009. halo-battle.com, tous droits réservés.</div>
<!-- \\******* By Phantom *******// Halo-Battle, Tous droits réservés -->
</body>
</html>

View file

@ -0,0 +1,58 @@
<?php /* Smarty version 2.6.19, created on 2008-06-03 23:41:52
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);
?>
<div class="border_top"></div>
<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'] == 4): ?>Modérateur<?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; ?>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,59 @@
<?php /* Smarty version 2.6.19, created on 2008-05-28 21:25:21
compiled from cms/news.xtpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'cms/news.xtpl', 16, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/header.xtpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div id="corps">
<div id="page" class="block">
<div class="header"><h2>Actualités</h2><h3><span><?php echo $this->_tpl_vars['news']['date']; ?>
</span></h3></div>
<div class="corps">
<h4><img src="<?php echo $this->_tpl_vars['news']['img']; ?>
" alt="news" width="50" height="50" /> <span><strong><?php echo $this->_tpl_vars['news']['titre']; ?>
</strong> par <ins><?php echo $this->_tpl_vars['news']['auteur']; ?>
</ins></span></h4>
<p><?php echo $this->_tpl_vars['news']['contenu']; ?>
</p>
</div>
<div class="bottom"><a href="<?php echo $this->_tpl_vars['news']['before']; ?>
">News précédente</a> <span><a href="<?php echo $this->_tpl_vars['news']['after']; ?>
">News suivante</a></span></div>
</div>
<div id="commentaires" class="block">
<h2>Commentaires</h2>
<div class="header"><span></span></div>
<?php $_from = $this->_tpl_vars['commentaire']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['value']):
?>
<p class="<?php echo smarty_function_cycle(array('values' => "com1,com2"), $this);?>
"><a href="<?php echo $this->_tpl_vars['value']['user']; ?>
"><?php echo $this->_tpl_vars['value']['username']; ?>
</a>, le <?php echo $this->_tpl_vars['value']['date']; ?>
<cite><?php echo $this->_tpl_vars['value']['comentaire']; ?>
</cite></p>
<?php endforeach; endif; unset($_from); ?>
</div>
<form action="#" method="post"><fieldset id="commenter" class="block">
<legend>Laisser un commentaire</legend>
<?php if ($this->_tpl_vars['connected']): ?><label for="com_connexion">Connexion: </label> <input type="text" class="text" name="username" id="com_connexion" /> <input type="password" class="password" name="com_passord" /> <input type="submit" class="submit" value="OK" />
<?php else: ?><div><?php $_from = $this->_tpl_vars['smiley']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['value']):
?><img src="<?php echo $this->_tpl_vars['value']['link']; ?>
" alt="<?php echo $this->_tpl_vars['value']['value']; ?>
" onclick="document.getElementById('message').value += ' <?php echo $this->_tpl_vars['value']['value']; ?>
'" /><?php endforeach; endif; unset($_from); ?></div> <textarea name="message" id="message" cols="40" rows="10"></textarea><br /><input type="submit" class="submit" value="OK" />
<?php endif; ?>
</fieldset></form>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/footer.xtpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,18 @@
<?php /* Smarty version 2.6.19, created on 2008-05-15 16:23:40
compiled from cms/footer.xtpl */ ?>
<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 />Actuellement <?php echo $this->_tpl_vars['visiteurs']; ?>
visiteur<?php if ($this->_tpl_vars['visiteurs'] >= 2): ?>s<?php endif; ?> en ligne.<br /><a href="<?php echo $this->_tpl_vars['link']['home']; ?>
">Accueil</a> | <a href="<?php echo $this->_tpl_vars['link']['game']; ?>
">Le jeu</a> | <a href="<?php echo $this->_tpl_vars['link']['register']; ?>
">S'inscrire</a> | <a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
">Forum</a> | <a href="<?php echo $this->_tpl_vars['link']['blog']; ?>
">Blog</a> | <a href="<?php echo $this->_tpl_vars['link']['faq']; ?>
">F.A.Q.</a></div>
</div>
<div id="cornerbt"></div>
<!-- \\******* By Phantom *******// Halo-Battle, Tous droits réservés -->
</body>
</html>

View file

@ -0,0 +1,54 @@
<?php /* Smarty version 2.6.19, created on 2008-05-10 15:26:44
compiled from blog/page.xtpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'blog/header.xtpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<h5><?php echo $this->_tpl_vars['auteur']; ?>
, <em>le <?php echo $this->_tpl_vars['date']; ?>
</em></h5>
<p id="content"><?php echo $this->_tpl_vars['contenu']; ?>
</p>
<div id="commentaire">
<?php $_from = $this->_tpl_vars['commentaire']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['value']):
?> <div><h6><a href="<?php echo $this->_tpl_vars['value']['link']; ?>
"><?php echo $this->_tpl_vars['value']['user']; ?>
</a>, le <?php echo $this->_tpl_vars['value']['date']; ?>
</h6><p><?php echo $this->_tpl_vars['value']['content']; ?>
</p></div>
<?php endforeach; endif; unset($_from); ?>
</div>
<form action="./<?php echo $this->_tpl_vars['path']; ?>
" method="post"><fieldset>
<legend>Poster un commentaire</legend>
<?php if ($this->_tpl_vars['connected']): ?><div>
<img src="images/smile/wink.gif" alt=":wink:" onclick="document.getElementById('com').value += ' :wink: '" />
<img src="images/smile/biggrin.gif" alt=":D" onclick="document.getElementById('com').value += ' :D '" />
<img src="images/smile/smile.gif" alt=":-)" onclick="document.getElementById('com').value += ' :-) '" />
<img src="images/smile/razz.gif" alt=":P" onclick="document.getElementById('com').value += ' :P '" /><br />
<img src="images/smile/eek.gif" alt=":shock:" onclick="document.getElementById('com').value += ' :shock: '" />
<img src="images/smile/cool.gif" alt="8-)" onclick="document.getElementById('com').value += ' 8-) '" />
<img src="images/smile/twisted.gif" alt=":twisted:" onclick="document.getElementById('com').value += ' :twisted: '" />
<img src="images/smile/evil.gif" alt=":evil:" onclick="document.getElementById('com').value += ' :evil: '" /><br />
<img src="images/smile/mad.gif" alt=":-x" onclick="document.getElementById('com').value += ' :-x '" />
<img src="images/smile/confused.gif" alt=":-?" onclick="document.getElementById('com').value += ' :-? '" />
<img src="images/smile/sad.gif" alt=":-(" onclick="document.getElementById('com').value += ' :-( '" />
<img src="images/smile/surprised.gif" alt=":-O" onclick="document.getElementById('com').value += ' :-O '" /><br />
<img src="images/smile/neutral.gif" alt=":-|" onclick="document.getElementById('com').value += ' :-| '" />
<img src="images/smile/redface.gif" alt=":oops:" onclick="document.getElementById('com').value += ' :oops: '" />
<img src="images/smile/rolleyes.gif" alt=":roll:" onclick="document.getElementById('com').value += ' :roll: '" />
<img src="images/smile/lol.gif" alt=":lol:" onclick="document.getElementById('com').value += ' :lol: '" />
</div>
<textarea name="commentaire" id="com"></textarea><br />
<input type="submit" class="submit" value="Envoyer" />
<?php else: ?><label for="login">Login (forum) : <input type="text" class="text" name="login" id="login" /></label>
<label for="password">Mot de passe : <input type="password" class="text" name="password" id="password" /></label>
<input type="submit" class="submit" value="Connexion" /><?php endif; ?>
</fieldset></form>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'blog/footer.xtpl', '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-06-03 23:48:43
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);
?>
<div class="border_top"></div>
<table>
<tr>
<td>
<form action="admin.php" method="get">
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" />
</form>
</td>
</tr>
<tr>
<td>
<form action="admin.php" method="get">
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" />
</form>
</td>
</tr>
</table>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,29 @@
<?php /* Smarty version 2.6.19, created on 2008-05-10 15:12:52
compiled from blog/rss.xtpl */ ?>
<?php echo '<?xml'; ?>
version="1.0" encoding="utf-8"<?php echo '?>'; ?>
<rss version="2.0">
<channel>
<title>::The Ark::</title>
<link><?php echo $this->_tpl_vars['link']['blog']; ?>
</link>
<language>fr-FR</language>
<copyright>Halo Battle</copyright>
<description>News du blog d'Halo-battle</description>
<?php $_from = $this->_tpl_vars['rss']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['value']):
?>
<item>
<title><?php echo $this->_tpl_vars['value']['titre']; ?>
</title>
<link><?php echo $this->_tpl_vars['value']['link']; ?>
</link>
<description><?php echo $this->_tpl_vars['value']['resume']; ?>
</description>
<pubDate><?php echo $this->_tpl_vars['value']['date']; ?>
</pubDate>
</item>
<?php endforeach; endif; unset($_from); ?>
</channel>
</rss>

View file

@ -0,0 +1,271 @@
<?php /* Smarty version 2.6.19, created on 2008-06-04 01:48:12
compiled from game/SIMrapport_combat.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'string_format', 'game/SIMrapport_combat.tpl', 27, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="border_top"></div>
<b>Le combat est terminé !</b><br /><br />
Nombre de tour : <?php echo $this->_tpl_vars['tour']; ?>
<br /><br />
Puissance d'attaque attaquant : <?php echo $this->_tpl_vars['infoPLUS']; ?>
<br />
<b>Vaisseaux à la fin du tour de notre côté :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Vaisseaux</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['vaisseaux3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['vaisseau']):
?>
<?php $this->assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?>
<tr>
<td><?php echo $this->_tpl_vars['vaisseau']['1']; ?>
<?php echo $this->_tpl_vars['nomvaisAT'][$this->_tpl_vars['nom']]; ?>
</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
<?php $_from = $this->_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['groupe']):
?>
<?php $this->assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?>
<tr>
<td><?php echo $this->_tpl_vars['groupe']['0']; ?>
</td>
<td><?php if ($this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistant<?php else: ?><?php $this->assign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?><?php if ($this->_tpl_vars['pourcent_bc'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_bc'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_bc'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_bc'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_bc'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_bc'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_bc'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span><?php endif; ?></td>
<td><?php if ($this->_tpl_vars['pourcent_pv'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_pv'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_pv'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_pv'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_pv'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_pv'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_pv'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<br /><b>Vaisseaux ennemi à la fin du tour :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Vaisseaux</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['vaisseaux4']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['vaisseau']):
?>
<?php $this->assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?>
<tr>
<td><?php echo $this->_tpl_vars['vaisseau']['1']; ?>
<?php echo $this->_tpl_vars['nomvaisEN'][$this->_tpl_vars['nom']]; ?>
</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
<?php $_from = $this->_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['groupe']):
?>
<?php $this->assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?>
<tr>
<td><?php echo $this->_tpl_vars['groupe']['0']; ?>
</td>
<td><?php if ($this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistant<?php else: ?><?php $this->assign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?><?php if ($this->_tpl_vars['pourcent_bc'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_bc'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_bc'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_bc'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_bc'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_bc'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_bc'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span><?php endif; ?></td>
<td><?php if ($this->_tpl_vars['pourcent_pv'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_pv'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_pv'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_pv'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_pv'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_pv'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_pv'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<br /><b>Défenses ennemi à la fin du tour :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Défenses</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['defenses2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['vaisseau']):
?>
<?php $this->assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?>
<tr>
<td><?php echo $this->_tpl_vars['vaisseau']['1']; ?>
<?php echo $this->_tpl_vars['nomdefEN'][$this->_tpl_vars['nom']]; ?>
</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0;">
<?php $_from = $this->_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['groupe']):
?>
<?php $this->assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['defPV'][$this->_tpl_vars['nom']])); ?>
<tr>
<td><?php echo $this->_tpl_vars['groupe']['0']; ?>
</td>
<td><?php if ($this->_tpl_vars['defBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistant<?php else: ?><?php $this->assign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['defBC'][$this->_tpl_vars['nom']])); ?><?php if ($this->_tpl_vars['pourcent_bc'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_bc'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_bc'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_bc'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_bc'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_bc'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_bc'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span><?php endif; ?></td>
<td><?php if ($this->_tpl_vars['pourcent_pv'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_pv'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_pv'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_pv'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_pv'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_pv'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_pv'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<br /><br /><b>Vaisseaux au début du tour de notre côté :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Vaisseaux</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['vaisseaux1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['vaisseau']):
?>
<?php $this->assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?>
<tr>
<td><?php echo $this->_tpl_vars['vaisseau']['1']; ?>
<?php echo $this->_tpl_vars['nomvaisAT'][$this->_tpl_vars['nom']]; ?>
</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
<?php $_from = $this->_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['groupe']):
?>
<?php $this->assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?>
<tr>
<td><?php echo $this->_tpl_vars['groupe']['0']; ?>
</td>
<td><?php if ($this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistant<?php else: ?><?php $this->assign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?><?php if ($this->_tpl_vars['pourcent_bc'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_bc'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_bc'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_bc'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_bc'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_bc'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_bc'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span><?php endif; ?></td>
<td><?php if ($this->_tpl_vars['pourcent_pv'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_pv'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_pv'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_pv'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_pv'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_pv'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_pv'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<br /><b>Vaisseaux ennemi au début du tour :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Vaisseaux</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['vaisseaux2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['vaisseau']):
?>
<?php $this->assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?>
<tr>
<td><?php echo $this->_tpl_vars['vaisseau']['1']; ?>
<?php echo $this->_tpl_vars['nomvaisEN'][$this->_tpl_vars['nom']]; ?>
</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
<?php $_from = $this->_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['groupe']):
?>
<?php $this->assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?>
<tr>
<td><?php echo $this->_tpl_vars['groupe']['0']; ?>
</td>
<td><?php if ($this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistant<?php else: ?><?php $this->assign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?><?php if ($this->_tpl_vars['pourcent_bc'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_bc'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_bc'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_bc'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_bc'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_bc'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_bc'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span><?php endif; ?></td>
<td><?php if ($this->_tpl_vars['pourcent_pv'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_pv'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_pv'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_pv'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_pv'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_pv'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_pv'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<br /><b>Défenses ennemi au début du tour :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Défenses</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['defenses1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['vaisseau']):
?>
<?php $this->assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?>
<tr>
<td><?php echo $this->_tpl_vars['vaisseau']['1']; ?>
<?php echo $this->_tpl_vars['nomdefEN'][$this->_tpl_vars['nom']]; ?>
</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
<?php $_from = $this->_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['groupe']):
?>
<?php $this->assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['defPV'][$this->_tpl_vars['nom']])); ?>
<tr>
<td><?php echo $this->_tpl_vars['groupe']['0']; ?>
</td>
<td><?php if ($this->_tpl_vars['defBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistant<?php else: ?><?php $this->assign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['defBC'][$this->_tpl_vars['nom']])); ?><?php if ($this->_tpl_vars['pourcent_bc'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_bc'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_bc'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_bc'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_bc'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_bc'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_bc'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span><?php endif; ?></td>
<td><?php if ($this->_tpl_vars['pourcent_pv'] > 99): ?><span style="color: #00FF00">Complet<?php elseif ($this->_tpl_vars['pourcent_pv'] > 80): ?><span style="color: #00FF00">Bon<?php elseif ($this->_tpl_vars['pourcent_pv'] > 60): ?><span style="color: #CCCC00">Correct<?php elseif ($this->_tpl_vars['pourcent_pv'] > 40): ?><span style="color: #EECC00">Moyen<?php elseif ($this->_tpl_vars['pourcent_pv'] > 20): ?><span style="color: #FF9900">Bas<?php elseif ($this->_tpl_vars['pourcent_pv'] == 0): ?><span style="color: #FF0000">Détruit<?php else: ?><span style="color: #FF5500">Critique<?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['pourcent_pv'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?>
%)</span></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</table>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<br />
<?php if (! $this->_tpl_vars['termine']): ?>Le combat n'est pas terminé !</b>
<?php elseif ($this->_tpl_vars['attaquantG']): ?><strong>Nous avons gagné le combat !<br />Nous repartons avec <?php echo $this->_tpl_vars['pillage']['0']; ?>
<?php echo $this->_tpl_vars['ressources']['0']; ?>
, <?php echo $this->_tpl_vars['pillage']['1']; ?>
<?php echo $this->_tpl_vars['ressources']['1']; ?>
et <?php echo $this->_tpl_vars['pillage']['2']; ?>
<?php echo $this->_tpl_vars['ressources']['2']; ?>
.</strong>
<?php else: ?><strong>Nous avons perdu le combat !</strong><?php endif; ?>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,24 @@
<?php /* Smarty version 2.6.19, created on 2008-04-12 20:45:59
compiled from blog/index.xtpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'blog/header.xtpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div id="overview"><?php $_from = $this->_tpl_vars['article']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['value']):
?>
<div><h3><a href="<?php echo $this->_tpl_vars['value']['link_article']; ?>
"><?php echo $this->_tpl_vars['value']['titre']; ?>
</a> <em>Par <?php echo $this->_tpl_vars['value']['auteur']; ?>
, le <?php echo $this->_tpl_vars['value']['date']; ?>
</em></h3> <p><?php echo $this->_tpl_vars['value']['resume']; ?>
</p> <a href="<?php echo $this->_tpl_vars['value']['link_article']; ?>
"><?php echo $this->_tpl_vars['value']['nb_com']; ?>
commentaire<?php if ($this->_tpl_vars['value']['nb_com'] >= 2): ?>s<?php endif; ?></a></div>
<?php endforeach; endif; unset($_from); ?></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'blog/footer.xtpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,39 @@
<?php /* Smarty version 2.6.19, created on 2008-06-03 23:20:21
compiled from game/bugs.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/bugs.tpl', 6, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="border_top"></div>
<h2>Rapports de bug</h2>
<?php $_from = $this->_tpl_vars['bugs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['bug']):
?>
<dl>
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><?php echo $this->_tpl_vars['bug']['0']; ?>
, le <?php echo $this->_tpl_vars['bug']['1']; ?>
sur <?php echo ((is_array($_tmp=$this->_tpl_vars['bug']['2'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</dt><dd><?php echo $this->_tpl_vars['bug']['3']; ?>
<?php if ($this->_tpl_vars['auth_level'] > 2): ?><div style="text-align: right"><a href="<?php echo $this->_tpl_vars['menu']['bugs']; ?>
&amp;a=del&amp;i=<?php echo $this->_tpl_vars['bug']['4']; ?>
"><i>Supprimer</i></a></div><?php endif; ?></dd>
</dl>
<?php endforeach; endif; unset($_from); ?>
<h2>Ajouter un bug</h2>
<form action="<?php echo $this->_tpl_vars['menu']['bugs']; ?>
&amp;post" method="post"><fieldset class="options">
<strong>Attention : bien lire les bugs deja proposé,<br />l'utilisation abusive ou des bugs ayant non lieus seront sanctionnés.</strong><br /><br />
<label for="page">Page concernée :</label><input class="text" type="text" name="page" id="page" />
<label for="desc">Description :</label>
<textarea id="desc" name="description" cols="40" rows="10"></textarea><br /><br />
<input class="submit" type="submit" value="OK" />
</fieldset></form>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,23 @@
<?php /* Smarty version 2.6.19, created on 2008-06-02 00:45:41
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,27 @@
<?php /* Smarty version 2.6.19, created on 2008-06-02 01:24:44
compiled from cms/secours.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">
Sélectionnez votre galaxie :<br /><br />
<?php $_from = $this->_tpl_vars['servers_name']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['server_name']):
?>
<a href="<?php echo $this->_tpl_vars['server_url'][$this->_tpl_vars['key']]; ?>
">Galaxie <?php echo $this->_tpl_vars['server_name']; ?>
</a><br />
<?php endforeach; endif; unset($_from); ?>
</div>
</div>
<div id="inscription" class="block"><span>Le serveur de base de données est indisponible</span> <p><em>Le serveur de base de données n'étant actuellement pas en mesure d'assurer la génération des pages web, ni le processus de connexion ou d'inscription, utilisez les liens du cadre ci-contre pour accèder à la page de connexion de secours de votre serveur.<br /><br />Veuillez nous excuser pour la gène occasionnée, nous faisons notre possible pour rétablir le site au plus vite.<br /><br /><i>Le Staff</i></em></p></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,11 @@
<?php /* Smarty version 2.6.19, created on 2008-04-09 17:44:30
compiled from blog/footer.xtpl */ ?>
</div>
</div>
</div>
</div>
<div id="footer">Design by O D S T - The Ark, tous droits réservés.<br />Halo, Bungie et Microsoft sont des marques et logos déposés par Microsoft Corporation.<br />Copyright © 2008-2009. halo-battle.com, tous droits réservés.</div>
<!-- \\******* By Phantom *******// Halo-Battle, Tous droits réservés -->
</body>
</html>

View file

@ -0,0 +1,50 @@
<?php /* Smarty version 2.6.19, created on 2008-06-03 23:48:39
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),array('modifier', 'escape', 'admin/vip.tpl', 21, false),array('modifier', 'nl2br', 'admin/vip.tpl', 21, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="border_top"></div>
<h2>Vérification des IP</h2>
<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>Commentaires</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><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['ip']['5'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,173 @@
<?php /* Smarty version 2.6.19, created on 2008-06-03 22:00:55
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', 82, 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>
<?php if ($this->_tpl_vars['race'] == 'covenant'): ?><link rel="stylesheet" href="templates/covenants.css" type="text/css" media="all" title="Covenants" /><?php if ($this->_tpl_vars['auth_level'] >= 3): ?><link rel="alternate stylesheet" href="templates/csnu.css" type="text/css" media="all" title="CSNU" /><?php endif; ?><?php endif; ?>
<?php if ($this->_tpl_vars['race'] == 'humain'): ?><link rel="stylesheet" href="templates/csnu.css" type="text/css" media="all" title="CSNU" /><?php if ($this->_tpl_vars['auth_level'] >= 3): ?><link rel="alternate stylesheet" href="templates/covenants.css" type="text/css" media="all" title="Covenants" /><?php endif; ?><?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></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']; ?>
"><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'] >= 5): ?><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>
<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>
<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']['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']['flotte']; ?>
"<?php if ($this->_tpl_vars['page'] == 'flotte1' || $this->_tpl_vars['page'] == 'flotte2'): ?> class="hightlight"<?php endif; ?>>Flottes</a>
<a href="<?php echo $this->_tpl_vars['menu']['armee']; ?>
"<?php if ($this->_tpl_vars['page'] == 'armee'): ?> class="hightlight"<?php endif; ?>>Armée</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'] != '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['alertes']['4'] == true): ?><span class="lack"><?php endif; ?><?php echo $this->_tpl_vars['alertes']['3']; ?>
<?php if ($this->_tpl_vars['alertes']['4']): ?></span><?php endif; ?></div>
<div class="ressource"><span><?php echo $this->_tpl_vars['nomsressources']['2']; ?>
</span><br /><?php if ($this->_tpl_vars['alertes']['2'] == true): ?><span class="lack"><?php endif; ?><?php echo $this->_tpl_vars['planete']['hydrogeneS']; ?>
<?php if ($this->_tpl_vars['alertes']['2']): ?></span><?php endif; ?></div>
<div class="ressource"><span><?php echo $this->_tpl_vars['nomsressources']['1']; ?>
</span><br /><?php if ($this->_tpl_vars['alertes']['1'] == true): ?><span class="lack"><?php endif; ?><?php echo $this->_tpl_vars['planete']['cristalS']; ?>
<?php if ($this->_tpl_vars['alertes']['1']): ?></span><?php endif; ?></div>
<div class="ressource"><span><?php echo $this->_tpl_vars['nomsressources']['0']; ?>
</span><br /><?php if ($this->_tpl_vars['alertes']['0'] == true): ?><span class="lack"><?php endif; ?><?php echo $this->_tpl_vars['planete']['metalS']; ?>
<?php if ($this->_tpl_vars['alertes']['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">

View file

@ -0,0 +1,23 @@
<?php /* Smarty version 2.6.19, created on 2008-06-02 00:45:41
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,59 @@
<?php /* Smarty version 2.6.19, created on 2008-06-04 01:37:38
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', 9, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="border_top"></div>
<h2>Messages</h2>
<?php echo $this->_tpl_vars['avertissement']; ?>
<h3><a href="<?php echo $this->_tpl_vars['menu']['envoie']; ?>
">Ecrire un message</a></h3>
<form action="<?php echo $this->_tpl_vars['menu']['messagerie']; ?>
" 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>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,25 @@
<?php /* Smarty version 2.6.19, created on 2008-06-04 00:18:53
compiled from game/version.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="border_top"></div>
<h2>Mises à jour</h2>
<table><thead><tr><th>Versions</th><th>Détails</th></tr></thead><tbody>
<?php $_from = $this->_tpl_vars['versions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['version']):
?>
<tr><td><?php echo $this->_tpl_vars['version']['numero']; ?>
<br /><?php echo $this->_tpl_vars['version']['date']; ?>
</td><td><?php echo $this->_tpl_vars['version']['description']; ?>
</td></tr>
<?php endforeach; endif; unset($_from); ?>
</tbody></table>
<div class="border_bt"></div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>