Version 1.12

This commit is contained in:
nemunaire 2009-11-01 12:00:00 +01:00
commit de31cd3e9a
1373 changed files with 156282 additions and 45238 deletions

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-11-19 22:45:26
<?php /* Smarty version 2.6.19, created on 2009-01-04 19:40:45
compiled from game/chantierterrestre.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/chantierterrestre.tpl', 28, false),)), $this); ?>
@ -44,7 +44,8 @@ unset($_smarty_tpl_vars);
<td>
<a class="bulle" href="?p=description&amp;d=<?php echo $this->_tpl_vars['unite']['num']; ?>
#menu">
<img width="130" height="132" src="images/terrestre/<?php echo $this->_tpl_vars['unite']['image']; ?>
<img width="130" height="132" src="<?php echo $this->_tpl_vars['url_images']; ?>
images/terrestre/<?php echo $this->_tpl_vars['unite']['image']; ?>
" alt="Unit&eacute; terrestre" />
<span><?php echo $this->_tpl_vars['unite']['description']; ?>
</span>

View file

@ -0,0 +1,130 @@
<?php /* Smarty version 2.6.19, created on 2009-01-08 21:46:43
compiled from game/description.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<h2>Détails <?php echo $this->_tpl_vars['type']; ?>
: <?php echo $this->_tpl_vars['nom']; ?>
</h2>
<table style="width: 400px;">
<tbody>
<tr>
<td style="width: 120px;"><img src="<?php echo $this->_tpl_vars['url_images']; ?>
images/<?php echo $this->_tpl_vars['type']; ?>
/<?php echo $this->_tpl_vars['image']; ?>
" alt="" /></td>
<td><b><?php echo $this->_tpl_vars['nom']; ?>
</b><br />Actuellement : <?php if ($this->_tpl_vars['type'] != 'vaisseaux' && $this->_tpl_vars['type'] != 'terrestre' && $this->_tpl_vars['type'] != 'caserne'): ?>niveau<?php endif; ?> <?php echo $this->_tpl_vars['niveau']; ?>
<?php if ($this->_tpl_vars['type'] == 'vaisseaux' || $this->_tpl_vars['type'] == 'terrestre' || $this->_tpl_vars['type'] == 'caserne'): ?> unités<?php endif; ?></td>
</tr>
<tr>
<td colspan="2"><?php echo $this->_tpl_vars['description']; ?>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="2">
<table style="margin: auto; width: 100%;">
<thead>
<tr>
<th colspan="2">Coûts <?php if ($this->_tpl_vars['type'] == 'vaisseaux' || $this->_tpl_vars['type'] == 'terrestre' || $this->_tpl_vars['type'] == 'caserne'): ?>unité<?php else: ?>prochain niveau<?php endif; ?></th>
</tr>
</thead>
<tbody>
<?php if ($this->_tpl_vars['ressourcesNext']['0']): ?>
<tr>
<th><?php echo $this->_tpl_vars['nomsressources']['0']; ?>
</th>
<td><?php echo $this->_tpl_vars['ressourcesNext']['0']; ?>
</td>
</tr>
<?php endif; ?>
<?php if ($this->_tpl_vars['ressourcesNext']['1']): ?>
<tr>
<th><?php echo $this->_tpl_vars['nomsressources']['1']; ?>
</th>
<td><?php echo $this->_tpl_vars['ressourcesNext']['1']; ?>
</td>
</tr>
<?php endif; ?>
<?php if ($this->_tpl_vars['ressourcesNext']['2']): ?>
<tr>
<th><?php echo $this->_tpl_vars['nomsressources']['2']; ?>
</th>
<td><?php echo $this->_tpl_vars['ressourcesNext']['2']; ?>
</td>
</tr>
<?php endif; ?>
<tr>
<th>Temps</th>
<td><?php echo $this->_tpl_vars['ressourcesNext']['3']; ?>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<?php if ($this->_tpl_vars['caract']): ?>
<tr>
<td colspan="2">
<table style="margin: auto; width: 100%;">
<thead>
<tr>
<th colspan="2">Caractéristiques</th>
</tr>
</thead>
<tbody>
<tr>
<th>Attaque</th>
<td><?php echo $this->_tpl_vars['caract']['0']; ?>
</td>
</tr>
<tr>
<th>Bouclier</th>
<td><?php echo $this->_tpl_vars['caract']['1']; ?>
</td>
</tr>
<tr>
<th>Points de vie</th>
<td><?php echo $this->_tpl_vars['caract']['2']; ?>
</td>
</tr>
<?php if ($this->_tpl_vars['caract']['3']): ?>
<tr>
<th>Capacité de transport</th>
<td><?php echo $this->_tpl_vars['caract']['3']; ?>
</td>
</tr>
<?php endif; ?>
</tbody>
</table>
</td>
</tr>
<?php endif; ?>
<tr>
<td colspan="2">
<table style="margin: auto; width: 100%;">
<thead>
<tr>
<th>Requiert</th>
</tr>
</thead>
<tbody>
<tr>
<td><?php echo $this->_tpl_vars['etat']; ?>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tfoot>
</table>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-11-19 23:01:10
<?php /* Smarty version 2.6.19, created on 2009-01-04 11:11:51
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()));

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-11-19 22:59:07
<?php /* Smarty version 2.6.19, created on 2009-01-04 11:11:43
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),array('modifier', 'separerNombres', 'game/laboratoire.tpl', 42, false),)), $this); ?>
@ -34,7 +34,8 @@ unset($_smarty_tpl_vars);
<tr>
<td>
<a class="bulle" href="javascript:alert('Pas de description, arbre en cours de programmation');">
<img width="130" height="132" src="images/technologies/<?php echo $this->_tpl_vars['recherche']['image']; ?>
<img width="130" height="132" src="<?php echo $this->_tpl_vars['url_images']; ?>
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']; ?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-11-11 16:36:16
<?php /* Smarty version 2.6.19, created on 2009-01-17 17:48:13
compiled from game/footer.tpl */ ?>
<div class="border_bt"></div></div>
<div id="footer">
@ -21,6 +21,5 @@
<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,69 @@
<?php /* Smarty version 2.6.19, created on 2009-01-10 13:36:32
compiled from game/bourse_ressources.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'separerNombres', 'game/bourse_ressources.tpl', 12, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<h2>Bourse des ressources</h2>
<h3>Les prix sont donnés en milliers de crédits</h3>
<?php $_from = $this->_tpl_vars['bourse']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['action']):
?>
<div style="float: left;">
<table>
<tr>
<td colspan="3"><a href="<?php echo $this->_tpl_vars['menu']['marche']; ?>
&amp;d=<?php echo $this->_tpl_vars['action']['id']; ?>
"><img src="bourser.php?a=<?php echo $this->_tpl_vars['action']['id']; ?>
&amp;r=<?php echo $this->_tpl_vars['planete']->race; ?>
" alt="<?php echo $this->_tpl_vars['nomsressources'][$this->_tpl_vars['action']['id']]; ?>
" /></a></td>
</tr>
<tr>
<th><?php echo $this->_tpl_vars['nomsressources'][$this->_tpl_vars['action']['id']]; ?>
</th>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['action']['dispo'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
</td>
<th>Prix</th>
</tr>
<tr>
<td colspan="2">
<form action="<?php echo $this->_tpl_vars['menu']['marche']; ?>
&amp;a=<?php echo $this->_tpl_vars['action']['id']; ?>
" method="post">
<fieldset>
Acheter : <input type="text" class="text" name="a<?php echo $this->_tpl_vars['action']['id']; ?>
" maxlength="8" value="0" />
<input type="submit" class="submit" value="OK" />
</fieldset>
</form>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['action']['prixA'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
</td>
</tr>
<tr>
<td colspan="2">
<form action="<?php echo $this->_tpl_vars['menu']['marche']; ?>
&amp;v=<?php echo $this->_tpl_vars['action']['id']; ?>
" method="post">
<fieldset>
Vendre : <input type="text" class="text" name="a<?php echo $this->_tpl_vars['action']['id']; ?>
" maxlength="8" value="0" />
<input type="submit" class="submit" value="OK" />
</fieldset>
</form>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['action']['prixV'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
</td>
</tr>
</table>
</div>
<?php endforeach; endif; unset($_from); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-11-11 17:47:00
<?php /* Smarty version 2.6.19, created on 2009-01-03 15:47:09
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); ?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-11-19 22:45:25
<?php /* Smarty version 2.6.19, created on 2009-01-04 11:11:41
compiled from game/chantierspatial.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/chantierspatial.tpl', 28, false),)), $this); ?>
@ -44,7 +44,8 @@ unset($_smarty_tpl_vars);
<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']; ?>
<img width="130" height="132" src="<?php echo $this->_tpl_vars['url_images']; ?>
images/vaisseaux/<?php echo $this->_tpl_vars['vaisseau']['image']; ?>
" alt="Vaisseaux" />
<span><?php echo $this->_tpl_vars['vaisseau']['description']; ?>
</span>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-11-19 22:45:22
<?php /* Smarty version 2.6.19, created on 2009-01-04 11:11:38
compiled from game/batiments.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/batiments.tpl', 29, false),)), $this); ?>
@ -35,7 +35,8 @@ unset($_smarty_tpl_vars);
<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']; ?>
<img width="130" height="132" src="<?php echo $this->_tpl_vars['url_images']; ?>
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']; ?>
@ -97,11 +98,11 @@ unset($_smarty_tpl_vars);
; <?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']; ?>
<?php else: ?><?php if ($this->_tpl_vars['planete']->casesRest > 1): ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
&amp;c=<?php echo $this->_tpl_vars['batiment']['num']; ?>
">Construire</a><?php endif; ?><?php if ($this->_tpl_vars['batiment']['niveau'] > 0): ?> <a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
">Construire</a><?php endif; ?><?php endif; ?><?php if ($this->_tpl_vars['batiment']['niveau'] > 0): ?> <a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
&amp;d=<?php echo $this->_tpl_vars['batiment']['num']; ?>
">Démolir un</a><?php endif; ?>
">Démolir un niveau</a><?php endif; ?>
</div>
</td>
</tr>

View file

@ -0,0 +1,61 @@
<?php /* Smarty version 2.6.19, created on 2009-01-09 23:17:30
compiled from game/options.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<h2>Signature pour forum</h2>
<img src="http://<?php echo $this->_tpl_vars['url_serveur']; ?>
/sign.php?i=<?php echo $this->_tpl_vars['planete']->id_user; ?>
" alt="Signature" /><br /><a href="http://<?php echo $this->_tpl_vars['url_serveur']; ?>
/sign.php?i=<?php echo $this->_tpl_vars['planete']->id_user; ?>
">http://<?php echo $this->_tpl_vars['url_serveur']; ?>
/sign.php?i=<?php echo $this->_tpl_vars['planete']->id_user; ?>
</a><br /><br />
BBcode pour forums : <input value="[url=http://www.halo-battle.fr][img]http://<?php echo $this->_tpl_vars['url_serveur']; ?>
/sign.php?i=<?php echo $this->_tpl_vars['planete']->id_user; ?>
[/img][/url]" />
<h2>Changer de mot de passe</h2>
<form action="<?php echo $this->_tpl_vars['menu']['options']; ?>
&amp;chg=mdp" method="post"><fieldset class="options">
<label for="ancien">Ancien mot de passe :</label><input class="text" type="password" id="ancien" name="mdp_anc" />
<label for="nouveau">Nouveau mot de passe :</label><input class="text" type="password" id="nouveau" name="mdp_nouv" />
<label for="confirm">Confirmez le mot de passe :</label><input class="text" type="password" id="confirm" name="mdp_conf" /><br /><br />
<b>Le nouveau mot de passe sera modifié après validation par mail.<br />Veuillez vous assurez que votre adresse actuelle est toujours valide.</b><br /><br />
<input class="submit" type="submit" value="OK" />
</fieldset></form>
<h2>Changer d'adresse électronique</h2>
<form action="<?php echo $this->_tpl_vars['menu']['options']; ?>
&amp;chg=mail" method="post"><fieldset class="options">
<label>Adresse actuelle :</label><p style="text-align: center;"><?php echo $this->_tpl_vars['mail']; ?>
</p>
<label for="mail">Nouveau mail :</label><input class="text" type="text" id="mail" name="mail" />
<label for="mdp_mail">Mot de passe actuel :</label><input class="text" type="password" id="mdp_mail" name="mdp_mail" /><br /><br />
<b>L'adresse électronique sera modifiée une fois validée depuis votre nouvelle adresse.</b><br /><br />
<input class="submit" type="submit" value="OK" />
</fieldset></form>
<h2>Recevoir des notifications par mail</h2>
<form action="<?php echo $this->_tpl_vars['menu']['options']; ?>
&amp;chg=recmail" method="post">
<fieldset class="options">
<input type="checkbox" name="recmail" id="recmail" value="1" class="text" /> <label for="recmail">Recevoir des notifications par mail</label>
<input type="checkbox" name="fileacc" id="fileacc" value="1" class="text" /> <label for="fileacc">Afficher les files d'attentes de la planète sur la page d'accueil</label>
<input type="checkbox" name="fileref" id="fileref" value="1" class="text" /> <label for="fileref">Rafraîchir automatiquement les pages à la fin de la construction/entra&icirc;nement</label>
</fieldset>
</form>
<h2>Mode vacances</h2>
Si vous devez vous absenter de votre compte pour une durée supérieure à 3 jours, vous pouvez mettre votre compte en mode vacances.<br />Vous ne pouvez pas vous faire attaquer (les attaques déjà lancées ne seront pas annulées !) durant cette période, mais vous ne produirez pas de resources sur vos planètes. Vous retrouverez vos files d'attentes dans l'état dans lequel vous les avez laissées.<br />
<br /><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
&amp;a=mv&amp;n=<?php echo $this->_tpl_vars['idvac']; ?>
" onclick="return confirm('Êtes-vous sûr de vouloir passer votre compte en mode vacances ?\nIl ne sera plus accessible durant les trois prochains jours !');">Activer le mode vacances maintenant</a>
<h2>Supprimer son compte</h2>
<?php if ($this->_tpl_vars['planete']->mv < 0): ?><span style="color: #FF0000;">Vous avez demandé la suppression de votre compte. Il sera supprimé sous 48h.</span>
<?php else: ?><br /><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
&amp;a=dl&amp;n=<?php echo $this->_tpl_vars['idvac']; ?>
" onclick="return confirm('Êtes-vous sûr de vouloir supprimer votre compte ?');">Supprimer mon compte</a><?php endif; ?>
<?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 2009-01-03 15:47:16
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

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-11-19 22:45:24
<?php /* Smarty version 2.6.19, created on 2009-01-04 11:11:40
compiled from game/caserne.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/caserne.tpl', 28, false),)), $this); ?>
@ -45,7 +45,8 @@ unset($_smarty_tpl_vars);
<td>
<a class="bulle" href="?p=description&amp;c=<?php echo $this->_tpl_vars['unite']['num']; ?>
#menu">
<img width="130" height="132" src="images/caserne/<?php echo $this->_tpl_vars['unite']['image']; ?>
<img width="130" height="132" src="<?php echo $this->_tpl_vars['url_images']; ?>
images/caserne/<?php echo $this->_tpl_vars['unite']['image']; ?>
" alt="Unit&eacute; terrestre" />
<span><?php echo $this->_tpl_vars['unite']['description']; ?>
</span>

View file

@ -1,7 +1,7 @@
<?php /* Smarty version 2.6.19, created on 2008-11-13 20:51:49
<?php /* Smarty version 2.6.19, created on 2009-01-09 23:20:37
compiled from game/accueil.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/accueil.tpl', 8, false),array('modifier', 'separerNombres', 'game/accueil.tpl', 22, false),array('modifier', 'upper', 'game/accueil.tpl', 25, false),)), $this); ?>
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/accueil.tpl', 8, false),array('modifier', 'separerNombres', 'game/accueil.tpl', 23, false),array('modifier', 'upper', 'game/accueil.tpl', 27, false),array('modifier', 'count', 'game/accueil.tpl', 30, false),array('modifier', 'nom', 'game/accueil.tpl', 34, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
@ -59,13 +59,14 @@ unset($_smarty_tpl_vars);
<h3><a href="?p=rename"><?php if (! $this->_tpl_vars['planete']->nom_planete): ?>Sans nom<?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->nom_planete)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a> (<span><?php echo $this->_tpl_vars['planete']->pseudo; ?>
</span>)</h3>
<img src="images/planetes/<?php echo $this->_tpl_vars['planete']->image; ?>
<img src="<?php echo $this->_tpl_vars['url_images']; ?>
images/planetes/<?php echo $this->_tpl_vars['planete']->image; ?>
.jpg" width="200" height="200" alt="Planète" />
<h2>Infos</h2>
<h4>Diamètre: <?php echo $this->_tpl_vars['diametre']; ?>
<?php if (SURFACE == 'planete'): ?><h4>Diamètre: <?php echo $this->_tpl_vars['diametre']; ?>
km <ins>(<?php echo $this->_tpl_vars['planete']->casesRest; ?>
cases disponibles sur <?php echo $this->_tpl_vars['planete']->cases; ?>
)</ins></h4>
)</ins></h4><?php endif; ?>
<h4>Race : <?php echo $this->_tpl_vars['planete']->race; ?>
</h4>
<h4>position: <a href="?p=carte&amp;galaxie=<?php echo $this->_tpl_vars['planete']->galaxie; ?>
@ -74,10 +75,12 @@ unset($_smarty_tpl_vars);
.<?php echo $this->_tpl_vars['planete']->ss; ?>
.<?php echo $this->_tpl_vars['planete']->position; ?>
</a></h4>
<?php if (SURFACE == 'planete'): ?>
<h4>population: <?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->population)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
</h4>
<h4>crédits: <?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->credits)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
</h4>
<?php endif; ?>
<h4>Classement: <a href="?p=classement&amp;j=<?php echo $this->_tpl_vars['planete']->id; ?>
&amp;c=<?php echo $this->_tpl_vars['planete']->place_points; ?>
#moi"><?php if ($this->_tpl_vars['planete']->place_points == '0'): ?>non classé<?php else: ?><?php echo $this->_tpl_vars['planete']->place_points; ?>
@ -86,6 +89,64 @@ unset($_smarty_tpl_vars);
<?php if ($this->_tpl_vars['alliance']): ?><h4>Alliance: <a href="?p=alliances">[<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
] <?php echo $this->_tpl_vars['alliance']['nom']; ?>
</a></h4><?php endif; ?>
<?php if (SURFACE == 'planete'): ?>
<h2>En cours sur la planète</h2>
<?php if (count($this->_tpl_vars['planete']->file_bat) > 1): ?>
<h4>
<?php $_from = $this->_tpl_vars['planete']->file_bat; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['file']):
?>
<?php if ($this->_tpl_vars['key'] != 0): ?>
<?php if ($this->_tpl_vars['key'] != 1): ?> - <?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
">Bâtiments</a> : <?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['file']['0'])) ? $this->_run_mod_handler('nom', true, $_tmp, 'batiment') : smarty_modifier_nom($_tmp, 'batiment')); ?>
<?php if ($this->_tpl_vars['file']['1'] < 0): ?> (démolition)<?php endif; ?>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
</h4>
<?php endif; ?>
<?php if (count($this->_tpl_vars['planete']->file_cas) > 1): ?>
<h4>
<?php $_from = $this->_tpl_vars['planete']->file_cas; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['file']):
?>
<?php if ($this->_tpl_vars['key'] != 0): ?>
<?php if ($this->_tpl_vars['key'] != 1): ?> - <?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
"><?php if ($this->_tpl_vars['race'] == 'covenant'): ?>Caserne<?php else: ?>Ecole militaire<?php endif; ?></a> : <?php endif; ?><?php echo $this->_tpl_vars['file']['1']; ?>
<?php echo ((is_array($_tmp=$this->_tpl_vars['file']['0'])) ? $this->_run_mod_handler('nom', true, $_tmp, 'casernea') : smarty_modifier_nom($_tmp, 'casernea')); ?>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
</h4>
<?php endif; ?>
<?php if (count($this->_tpl_vars['planete']->file_vais) > 1): ?>
<h4>
<?php $_from = $this->_tpl_vars['planete']->file_vais; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['file']):
?>
<?php if ($this->_tpl_vars['key'] != 0): ?>
<?php if ($this->_tpl_vars['key'] != 1): ?> - <?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
">Chantier spatial</a> : <?php endif; ?><?php echo $this->_tpl_vars['file']['1']; ?>
<?php echo ((is_array($_tmp=$this->_tpl_vars['file']['0'])) ? $this->_run_mod_handler('nom', true, $_tmp, 'nomvaisa') : smarty_modifier_nom($_tmp, 'nomvaisa')); ?>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
</h4>
<?php endif; ?>
<?php if (count($this->_tpl_vars['planete']->file_ter) > 1): ?>
<h4>
<?php $_from = $this->_tpl_vars['planete']->file_ter; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['file']):
?>
<?php if ($this->_tpl_vars['key'] != 0): ?>
<?php if ($this->_tpl_vars['key'] != 1): ?> - <?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
">Chantier terrestre</a> : <?php endif; ?><?php echo $this->_tpl_vars['file']['1']; ?>
<?php echo ((is_array($_tmp=$this->_tpl_vars['file']['0'])) ? $this->_run_mod_handler('nom', true, $_tmp, 'nomterra') : smarty_modifier_nom($_tmp, 'nomterra')); ?>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
</h4>
<?php endif; ?>
<?php endif; ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;

View file

@ -0,0 +1,61 @@
<?php /* Smarty version 2.6.19, created on 2009-01-09 23:17:37
compiled from game/chat.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<h2>Chat</h2>
Le chat est désactivé pour le moment
<!--
<applet name="coolsmile" code="EIRC.class" style="height: 450px; width: 98%;">
<param name="archive" value="java/EIRC.jar,java/EIRC-cfg.jar">
<param name="cabbase" value="java/EIRC.cab,java/EIRC-cfg.cab">
<param name="server" value="yuna.otherweb.org">
<param name="port" value="6667">
<param name="irc_pass" value="">
<param name="font_name" value="Helvetica">
<param name="font_size" value="11">
<param name="language" value="">
<param name="mainbg" value="<?php if ($this->_tpl_vars['race'] == 'humain'): ?>#2E3122<?php else: ?>#2E293D<?php endif; ?>">
<param name="mainfg" value="<?php if ($this->_tpl_vars['race'] == 'humain'): ?>#999966<?php else: ?>#6993A7<?php endif; ?>">
<param name="textbg" value="#FFFFFF">
<param name="textfg" value="#000000">
<param name="selbg" value="#F0F0FF">
<param name="selfg" value="#000000">
<param name="join" value="#Halo-Battle">
<param name="username" value="Appletweb">
<param name="realname" value="Race: <?php echo $this->_tpl_vars['race']; ?>
">
<param name="nickname" value="<?php echo $this->_tpl_vars['planete']->pseudo; ?>
_IG">
<param name="nicksrv_pass" value="">
<param name="login" value="1">
<param name="asl" value="1">
<param name="spawn_frame" value="0">
<param name="gui_nick" value="1">
<param name="gui_away" value="1">
<param name="gui_chanlist" value="1">
<param name="gui_userlist" value="1">
<param name="gui_options" value="1">
<param name="gui_help" value="1">
<param name="gui_connect" value="1">
<param name="width" value="700">
<param name="height" value="500">
<param name="write_color" value="12">
<param name="debug_traffic" value="0">
<param name="boxmessage" value="Patientez quelques instants svp ...">
<param name="boxbgcolor" value="blue">
<param name="boxfgcolor" value="black">
<param name="progressbar" value="true">
<param name="progresscolor" value="red">
</applet>-->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-11-19 22:59:32
<?php /* Smarty version 2.6.19, created on 2009-01-04 11:11:53
compiled from game/ressources.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'separernombres', 'game/ressources.tpl', 7, false),)), $this); ?>
@ -20,30 +20,30 @@ unset($_smarty_tpl_vars);
<tr><td><?php echo $this->_tpl_vars['planete']->batiments['0']; ?>
<?php echo $this->_tpl_vars['nombat']['0']; ?>
</td><td><input type="text" name="coeff_metal" value="<?php echo $this->_tpl_vars['ressources_coef']['0']; ?>
" maxlength="3" size="2" />%</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['0'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
" maxlength="3" size="3" />%</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['0'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td><td>0</td><td>0</td><td class="lack">-<?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_conso']['0'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td></tr>
<?php if ($this->_tpl_vars['planete']->batiments['1']): ?><tr><td><?php echo $this->_tpl_vars['planete']->batiments['1']; ?>
<?php echo $this->_tpl_vars['nombat']['1']; ?>
</td><td><input type="text" name="coeff_cristal" value="<?php echo $this->_tpl_vars['ressources_coef']['1']; ?>
" maxlength="3" size="2" />%</td><td>0</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['1'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
" maxlength="3" size="3" />%</td><td>0</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['1'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td><td>0</td><td class="lack">-<?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_conso']['1'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td></tr><?php endif; ?>
<?php if ($this->_tpl_vars['planete']->batiments['2']): ?><tr><td><?php echo $this->_tpl_vars['planete']->batiments['2']; ?>
<?php echo $this->_tpl_vars['nombat']['2']; ?>
</td><td><input type="text" name="coeff_hydrogene" value="<?php echo $this->_tpl_vars['ressources_coef']['2']; ?>
" maxlength="3" size="2" />%</td><td>0</td><td>0</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['2'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
" maxlength="3" size="3" />%</td><td>0</td><td>0</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['2'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td><td class="lack">-<?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_conso']['2'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td></tr><?php endif; ?>
<tr><td><?php echo $this->_tpl_vars['planete']->batiments['3']; ?>
<?php echo $this->_tpl_vars['nombat']['3']; ?>
</td><td><input type="text" name="coeff_cs" value="<?php echo $this->_tpl_vars['ressources_coef']['3']; ?>
" maxlength="3" size="2" />%</td><td>0</td><td>0</td><td>0</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['3'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
" maxlength="3" size="3" />%</td><td>0</td><td>0</td><td>0</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['3'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td></tr>
<?php if ($this->_tpl_vars['planete']->batiments['4']): ?><tr><td><?php echo $this->_tpl_vars['planete']->batiments['4']; ?>
<?php echo $this->_tpl_vars['nombat']['4']; ?>
</td><td><input type="text" name="coeff_ce" value="<?php echo $this->_tpl_vars['ressources_coef']['4']; ?>
" maxlength="3" size="2" />%</select></td><td>0</td><td>0</td><td class="lack">-<?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_conso']['3'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
" maxlength="3" size="3" />%</select></td><td>0</td><td>0</td><td class="lack">-<?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_conso']['3'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['4'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
</td></tr><?php endif; ?>
<tr><td><?php echo $this->_tpl_vars['planete']->batiments['10']; ?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-11-11 17:47:00
<?php /* Smarty version 2.6.19, created on 2009-01-03 15:47:09
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()));

View file

@ -0,0 +1,75 @@
<?php /* Smarty version 2.6.19, created on 2009-01-09 23:17:28
compiled from game/carte.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/carte.tpl', 24, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<h2>Navigation</h2>
<form action="<?php echo $this->_tpl_vars['menu']['carte']; ?>
" method="get"><fieldset class="systeme"><label for="galaxie">Amas :</label><input type="hidden" value="carte" name="p" /><input class="text" type="text" value="<?php echo $this->_tpl_vars['position']['0']; ?>
" id="galaxie" name="galaxie" /><label for="systeme">Système solaire :</label><input class="text" type="text" value="<?php echo $this->_tpl_vars['position']['1']; ?>
" id="systeme" name="ss" /><div><a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
&amp;galaxie=<?php echo $this->_tpl_vars['position']['4']; ?>
&amp;ss=<?php echo $this->_tpl_vars['position']['5']; ?>
">&#60;&#60;&#60;</a><input class="submit" type="submit" value="GO" /><a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
&amp;galaxie=<?php echo $this->_tpl_vars['position']['2']; ?>
&amp;ss=<?php echo $this->_tpl_vars['position']['3']; ?>
">&#62;&#62;&#62;</a></div></fieldset></form>
<h2>Système Solaire</h2>
<table class="systeme">
<thead>
<tr>
<td colspan="7">Système: <?php echo $this->_tpl_vars['position']['0']; ?>
:<?php echo $this->_tpl_vars['position']['1']; ?>
</td>
</tr>
<tr>
<th>Position</th>
<th></th>
<th>Nom planète<br />Alliance<br />Joueur</th>
<th>Race</th>
<th>Gouvernement</th>
<th>Débris métal | cristal</th>
<th>Fonctions</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 style="width: 45px;"><?php if ($this->_tpl_vars['plan']['7']): ?><img src="<?php echo $this->_tpl_vars['url_images']; ?>
images/planetes/<?php echo $this->_tpl_vars['plan']['7']; ?>
.jpg" width="45" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['1'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" /><?php else: ?>&nbsp;<?php endif; ?></td>
<td><?php if ($this->_tpl_vars['plan']['1']): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['1'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
<br /><?php if ($this->_tpl_vars['plan']['6']): ?>[<?php echo $this->_tpl_vars['plan']['6']; ?>
]<br /><?php endif; ?><?php echo $this->_tpl_vars['plan']['5']; ?>
<?php else: ?>&nbsp;<?php endif; ?></td>
<td style="width: 45px;"><?php if ($this->_tpl_vars['plan']['4']): ?><img src="<?php echo $this->_tpl_vars['url_images']; ?>
images/carte/<?php echo $this->_tpl_vars['plan']['4']; ?>
.jpg" width="45" alt="<?php echo $this->_tpl_vars['plan']['4']; ?>
" /><?php else: ?>&nbsp;<?php endif; ?></td>
<td style="width: 45px;"><?php if ($this->_tpl_vars['plan']['4']): ?><img src="<?php echo $this->_tpl_vars['url_images']; ?>
images/carte/<?php echo $this->_tpl_vars['plan']['6']; ?>
.jpg" width="45" alt="<?php echo $this->_tpl_vars['plan']['6']; ?>
" /><?php else: ?>&nbsp;<?php endif; ?></td>
<td><?php if ($this->_tpl_vars['plan']['2']): ?><?php echo $this->_tpl_vars['plan']['2']; ?>
<?php else: ?>0<?php endif; ?> | <?php if ($this->_tpl_vars['plan']['3']): ?><?php echo $this->_tpl_vars['plan']['3']; ?>
<?php else: ?>0<?php endif; ?></td>
<td><?php if ($this->_tpl_vars['plan']['5']): ?><a href="?p=envoyer&amp;d=<?php echo $this->_tpl_vars['plan']['5']; ?>
" class="msg"><span>Message</span></a><?php else: ?>&nbsp;<?php endif; ?></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,15 @@
<?php /* Smarty version 2.6.19, created on 2009-01-04 11:34:28
compiled from game/vp.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="error">... veuillez patienter ...</div>
<?php echo $this->_tpl_vars['contenu']; ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -0,0 +1,116 @@
<?php /* Smarty version 2.6.19, created on 2009-01-04 11:19:49
compiled from game/alliance_accueil.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'game/alliance_accueil.tpl', 2, false),array('modifier', 'capitalize', 'game/alliance_accueil.tpl', 2, false),array('modifier', 'escape', 'game/alliance_accueil.tpl', 10, false),array('modifier', 'nl2br', 'game/alliance_accueil.tpl', 37, false),array('modifier', 'date_format', 'game/alliance_accueil.tpl', 60, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<h2>[<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
] <?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['nom'])) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp)); ?>
</h2>
<table cellpadding="2" cellspacing="0" style="text-align: center; width: 100%;">
<tbody>
<tr>
<td colspan="2"><img src="<?php echo $this->_tpl_vars['url_images']; ?>
<?php echo $this->_tpl_vars['alliance']['image']; ?>
" /></td>
</tr>
<tr>
<td style="text-align: right; vertical-align: middle;"><strong>Nom : </strong></td>
<td style="width: 70%;"><?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['nom'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
(<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
)</td>
</tr>
<tr>
<td style="text-align: right;"><strong>Membres : </strong></td>
<td><?php echo $this->_tpl_vars['nbmembre']; ?>
(<a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=liste">Liste des membres</a>)</td>
</tr>
<tr>
<td style="text-align: right;"><strong>Votre grade :</strong></td>
<td><?php if ($this->_tpl_vars['access']['fondateur']): ?>Fondateur<?php elseif ($this->_tpl_vars['grade']['nom']): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['grade']['nom'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
<?php else: ?>Aucun<?php endif; ?><br /><?php if ($this->_tpl_vars['access']['chat']): ?> <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_chat">Mod&eacute;rer le chat</a> |<?php endif; ?> <?php if ($this->_tpl_vars['access']['membre']): ?> <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_membres">Gestion des membres</a> |<?php endif; ?> <?php if ($this->_tpl_vars['access']['ecriture']): ?> <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_ecrits">Gestion des &eacute;critures</a> |<?php endif; ?> <?php if ($this->_tpl_vars['access']['alliance']): ?> <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_alliance">Gestion de l'alliance</a><?php else: ?> <a onclick="return confirm('Êtes-vous sûr de vouloir quitter l\'alliance ?');" href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=quit_alliance&amp;a=<?php echo $this->_tpl_vars['quitalliance']; ?>
">Quitter l'alliance</a><?php endif; ?></td>
</tr>
<tr>
<td style="text-align: right;"><strong>Statut des inscriptions :</strong></td>
<td><?php if ($this->_tpl_vars['alliance']['etat_inscription']): ?>Ouvertes<?php else: ?>Ferm&eacute;e<?php endif; ?></td>
</tr>
<?php if ($this->_tpl_vars['access']['membre']): ?>
<tr>
<td style="text-align: right; font-weight: bolder;">Mail collectif :</td>
<td><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=adm_mp">Envoyer un message collectif</a></td>
<?php endif; ?>
</tr>
<tr>
<td style="text-align: right; font-weight: bolder;">Ressources dans la banque :</td>
<td><?php echo $this->_tpl_vars['nomsressources']['0']; ?>
: <?php echo $this->_tpl_vars['alliance']['metal']; ?>
<br /><?php echo $this->_tpl_vars['nomsressources']['1']; ?>
: <?php echo $this->_tpl_vars['alliance']['cristal']; ?>
<br /><?php echo $this->_tpl_vars['nomsressources']['2']; ?>
: <?php echo $this->_tpl_vars['alliance']['hydrogene']; ?>
<br /><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=donner">Donner</a> | <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=emprunt">Demander financement</a></td>
</tr>
</tbody>
</table>
<h2>Présentation</h2>
<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['presentation'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
<table style="width: 100%;">
<tbody>
<tr>
<td style="text-align: right;"><strong>Forum :</strong></td>
<td style="width: 70%;"><a href="<?php echo $this->_tpl_vars['alliance']['url']; ?>
"><?php echo $this->_tpl_vars['alliance']['url']; ?>
</a></td>
</tr>
</tbody>
</table>
<h2>Texte interne</h2>
<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['texte_interne'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
<h2>Chat</h2>
<div style="height: 150px; overflow: auto; width: 99%;" id="chat">
<table style="width: 100%; margin: 0px;">
<thead>
<tr>
<th style="width: 172px;">[pseudo] heure</td>
<th style="width: 536px;">Message</td>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['chat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['message']):
?>
<tr>
<td>[<?php echo $this->_tpl_vars['message']['emetteur']; ?>
] <i><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['message']['timestamp'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M:%S")))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</i></td>
<td><?php echo $this->_tpl_vars['message']['message']; ?>
</td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
</div>
<form method="post" action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;q=chat">
Réponse :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input name="msg" type="text" size="50" maxlength="250">&nbsp;&nbsp;&nbsp;&nbsp;<input value="GO" class="submit" type="submit">
</form>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-11-19 22:59:30
<?php /* Smarty version 2.6.19, created on 2009-01-09 23:17:03
compiled from game/gestion.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'game/gestion.tpl', 6, false),array('modifier', 'date_format', 'game/gestion.tpl', 7, false),array('modifier', 'escape', 'game/gestion.tpl', 25, false),array('modifier', 'separernombres', 'game/gestion.tpl', 34, false),array('modifier', 'separerNombres', 'game/gestion.tpl', 55, false),)), $this); ?>
@ -16,8 +16,8 @@ unset($_smarty_tpl_vars);
</select><br /><br />
<label>Dernier changement de régime :</label><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->politique_lastchange)) ? $this->_run_mod_handler('date_format', true, $_tmp, "%A %d %B %y") : smarty_modifier_date_format($_tmp, "%A %d %B %y")); ?>
<br /><br />
<label>Moral global de la population :</label><?php echo $this->_tpl_vars['planete']->moral*100; ?>
%<br /><br /><br />
<label>Moral global de la population :</label><acronym title=""><?php echo $this->_tpl_vars['planete']->moral*100; ?>
%</acronym><br /><br /><br />
<input class="submit" type="submit" value="Ok" />
</fieldset>
</form>
@ -30,7 +30,8 @@ unset($_smarty_tpl_vars);
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['plan']):
?>
<td><img src="images/planetes/<?php echo $this->_tpl_vars['plan']['image']; ?>
<td><img src="<?php echo $this->_tpl_vars['url_images']; ?>
images/planetes/<?php echo $this->_tpl_vars['plan']['image']; ?>
.jpg" alt="<?php echo $this->_tpl_vars['plan']['image']; ?>
" title="<?php echo $this->_tpl_vars['plan']['nom_planete']; ?>
" width="80" height="80" /></td>
@ -99,6 +100,15 @@ unset($_smarty_tpl_vars);
<?php if ($this->_tpl_vars['plan']['id'] == $this->_tpl_vars['planeteEC']['id']): ?><?php $this->assign('plan', $this->_tpl_vars['planeteEC']); ?><?php endif; ?>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['population'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
</td>
<?php endforeach; endif; unset($_from); ?>
</tr>
<tr>
<td class="hightlight">Moral</td>
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['plan']):
?>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['moral']*100)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
%</td>
<?php endforeach; endif; unset($_from); ?>
</tr>
</tbody>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-11-19 22:58:50
<?php /* Smarty version 2.6.19, created on 2009-01-09 23:14:25
compiled from game/erreur.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));

View file

@ -1,98 +0,0 @@
<?php /* Smarty version 2.6.19, created on 2008-11-19 23:01:30
compiled from game/bourse.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'floor', 'game/bourse.tpl', 15, false),array('modifier', 'escape', 'game/bourse.tpl', 48, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<h2>Dernières infos</h2>
<?php $_from = $this->_tpl_vars['infos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['info']):
?>
<h4><a href="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
&amp;d=<?php echo $this->_tpl_vars['info']['id']; ?>
"><?php echo $this->_tpl_vars['info']['nom']; ?>
:</a> <?php echo $this->_tpl_vars['info']['description']; ?>
</h4>
<?php endforeach; endif; unset($_from); ?>
<br /><h2>Bourse</h2>
<?php $_from = $this->_tpl_vars['bourse']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['action']):
?>
<div style="float: left;">
<table>
<tr>
<td colspan="3"><a href="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
&amp;d=<?php echo $this->_tpl_vars['action']['id']; ?>
"><img src="bourse.php?a=<?php echo $this->_tpl_vars['action']['id']; ?>
&amp;r=<?php echo $this->_tpl_vars['planete']->race; ?>
" alt="<?php echo $this->_tpl_vars['action']['nom']; ?>
" /></a></td>
</tr>
<tr>
<td><?php if ($this->_tpl_vars['action']['evolution'] > 0): ?>FVerte<?php else: ?>FRouge<?php endif; ?></td>
<td><?php if ($this->_tpl_vars['action']['evolution'] > 0): ?>+<?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['action']['evolution'])) ? $this->_run_mod_handler('floor', true, $_tmp) : floor($_tmp)); ?>
%</td>
<td><?php if ($this->_tpl_vars['action']['evolution'] > 0): ?>+<?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['action']['evolution'])) ? $this->_run_mod_handler('floor', true, $_tmp) : floor($_tmp)); ?>
%</td>
</tr>
<tr>
<td colspan="2">
<form action="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
&amp;a=<?php echo $this->_tpl_vars['action']['id']; ?>
" method="post">
<fieldset>
Acheter : <input type="text" class="text" name="a<?php echo $this->_tpl_vars['action']['id']; ?>
" maxlength="3" value="0" />
<input type="submit" class="submit" value="OK" />
</fieldset>
</form>
</td>
<td rowspan="2"><strong>Valeur :</strong><br />Métal : <?php echo ((is_array($_tmp=$this->_tpl_vars['action']['metal'])) ? $this->_run_mod_handler('floor', true, $_tmp) : floor($_tmp)); ?>
<br />Cristal : <?php echo ((is_array($_tmp=$this->_tpl_vars['action']['cristal'])) ? $this->_run_mod_handler('floor', true, $_tmp) : floor($_tmp)); ?>
</td>
</tr>
<tr>
<td colspan="2">
<form action="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
&amp;v=<?php echo $this->_tpl_vars['action']['id']; ?>
" method="post">
<fieldset>
Vendre : <input type="text" class="text" name="a<?php echo $this->_tpl_vars['action']['id']; ?>
" maxlength="3" value="0" />/<?php echo $this->_tpl_vars['action']['nbactions']; ?>
<input type="submit" class="submit" value="OK" />
</fieldset>
</form>
</td>
</tr>
</table>
</div>
<?php endforeach; endif; unset($_from); ?>
<?php if ($this->_tpl_vars['auth_level'] >= 3): ?>
<h2 style="clear: both;">Nouvelle action</h2>
<form action="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
&amp;c=new" method="post">
<fieldset class="options">
<label for="nomaction">Nom de l'action :</label><input type="text" name="nomaction" id="nomaction" maxlength="255" value="<?php echo $this->_tpl_vars['bourse']['nom']; ?>
" class="text" /><br />
<label for="descaction">Description de l'action :</label><br />
<textarea id="descaction" name="descaction"><?php echo ((is_array($_tmp=$this->_tpl_vars['bourse']['description'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</textarea>
<label for="newsaction">News de l'action (apparaît sur la page d'accueil) :</label><input type="text" name="newsaction" id="newsaction" class="text" value="<?php echo $this->_tpl_vars['bourse']['news']; ?>
" maxlength="255" /><br />
<label for="prixAM">Valeur en métal de l'action :</label><input type="text" name="prixAM" id="prixAM" maxlength="15" value="<?php echo $this->_tpl_vars['bourse']['metal']; ?>
" class="text" /><br />
<label for="prixAC">Valeur en cristal de l'action :</label><input type="text" name="prixAC" id="prixAC" maxlength="15" value="<?php echo $this->_tpl_vars['bourse']['cristal']; ?>
" class="text" /><br />
<input class="submit" type="submit" value="Ok" />
</fieldset>
</form>
<?php endif; ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-11-11 17:47:00
<?php /* Smarty version 2.6.19, created on 2009-01-03 15:47:09
compiled from cms/footer.tpl */ ?>
</div>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-11-19 22:45:18
<?php /* Smarty version 2.6.19, created on 2009-01-17 17:48:13
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', 90, false),array('modifier', 'separenombre', 'game/header.tpl', 92, false),)), $this); ?>
@ -16,17 +16,18 @@ smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'g
<title> ::Halo-Battle:: - <?php echo $this->_tpl_vars['titre']; ?>
</title>
<?php if ($this->_tpl_vars['race'] == 'covenant'): ?><link rel="stylesheet" href="templates/covenants.css" type="text/css" media="all" title="Covenants" /><?php elseif ($this->_tpl_vars['auth_level'] >= 3): ?><link rel="alternate stylesheet" href="templates/csnu.css" type="text/css" media="all" title="CSNU" /><?php endif; ?>
<?php if ($this->_tpl_vars['race'] == 'humain'): ?><link rel="stylesheet" href="templates/csnu.css" type="text/css" media="all" title="CSNU" /><?php elseif ($this->_tpl_vars['auth_level'] >= 3): ?><link rel="alternate stylesheet" href="templates/covenants.css" type="text/css" media="all" title="Covenants" /><?php endif; ?>
<?php if ($this->_tpl_vars['race'] == 'covenant'): ?><link rel="stylesheet" href="<?php echo $this->_tpl_vars['url_images']; ?>
templates/covenants.css" type="text/css" media="all" title="Covenants" /><?php elseif ($this->_tpl_vars['auth_level'] >= 3): ?><link rel="alternate stylesheet" href="templates/covenants.css" type="text/css" media="all" title="Covenants" /><?php endif; ?>
<?php if ($this->_tpl_vars['race'] == 'humain'): ?><link rel="stylesheet" href="<?php echo $this->_tpl_vars['url_images']; ?>
templates/csnu.css" type="text/css" media="all" title="CSNU" /><?php elseif ($this->_tpl_vars['auth_level'] >= 3): ?><link rel="alternate stylesheet" href="templates/csnu.css" type="text/css" media="all" title="CSNU" /><?php endif; ?>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<script src="js/fonctions.js" type="text/javascript"></script>
<script src="js/infos.js" type="text/javascript"></script>
<script src="<?php echo $this->_tpl_vars['url_images']; ?>
js/game.js" type="text/javascript"></script>
<?php echo $this->_tpl_vars['scripth']; ?>
</head>
<body onload="first(<?php echo $this->_tpl_vars['nbinfos']; ?>
);">
<body>
<div id="cornertop"></div>
<div id="all">
<div id="header">
@ -39,29 +40,34 @@ smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'g
<h1><a href="<?php echo $this->_tpl_vars['link']['self']; ?>
<?php echo $this->_tpl_vars['first_page']; ?>
"><span></span>Halo Battle</a></h1>
<div id="buttons"><div><a href="<?php echo $this->_tpl_vars['link']['accueil']; ?>
<?php if ($this->_tpl_vars['page'] == 'admin'): ?> <div id="buttons"><div><a href="./">RETOUR AU JEU</a></div> <div><a href="<?php echo $this->_tpl_vars['menua']['webmail']; ?>
">WEBMAIL</a></div> <div><a href="<?php echo $this->_tpl_vars['menua']['controle']; ?>
">CONTROLE JOU.</a></div> <div><a href="<?php echo $this->_tpl_vars['menua']['vjoueurs']; ?>
">VERIFIER JOUEUR</a></div> <div><a href="<?php echo $this->_tpl_vars['menua']['vplanetes']; ?>
">VERIFIER PLANETE</a></div> <div><a href="./<?php echo $this->_tpl_vars['link']['operateur']; ?>
">OPERATEUR !</a></div></div>
<?php else: ?> <div id="buttons"><div><a href="<?php echo $this->_tpl_vars['link']['accueil']; ?>
">ACCUEIL</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['blog']; ?>
">BLOG</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
">FORUM</a></div> <div><a href="<?php echo $this->_tpl_vars['menu']['chat']; ?>
">CHAT</a></div> <div><?php if ($this->_tpl_vars['auth_level'] >= 4): ?><a href="admin.php">CONTROLES</a><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
">F.A.Q.</a><?php endif; ?></div> <div><a href="<?php echo $this->_tpl_vars['link']['operateur']; ?>
">OPERATEUR !</a></div></div>
">OPERATEUR !</a></div></div><?php endif; ?>
<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="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['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']; ?>
<div class="bannerleft"<?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']; ?>
<?php endforeach; endif; unset($_from); ?>
<div 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>
galaxie<?php if ($this->_tpl_vars['count']['serveurs'] > 1): ?>s<?php endif; ?></ins></div>
</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']; ?>
@ -114,8 +120,8 @@ smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'g
"<?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>
<?php if ($this->_tpl_vars['planetes']['0']['id'] == $this->_tpl_vars['planete']->id): ?><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
"<?php if ($this->_tpl_vars['page'] == 'laboratoire'): ?> class="hightlight"<?php endif; ?>>Laboratoire</a><?php endif; ?>
<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>
@ -123,8 +129,8 @@ smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'g
"<?php if ($this->_tpl_vars['page'] == 'ressources'): ?> class="hightlight"<?php endif; ?>>Ressources</a>
<a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
"<?php if ($this->_tpl_vars['page'] == 'gestion' || $this->_tpl_vars['page'] == 'rename'): ?> class="hightlight"<?php endif; ?>>Gestion</a>
<a href="<?php echo $this->_tpl_vars['menu']['bourse']; ?>
"<?php if ($this->_tpl_vars['page'] == 'bourse' || $this->_tpl_vars['page'] == 'bourseDetails'): ?> class="hightlight"<?php endif; ?>>Bourse</a>
<a href="<?php echo $this->_tpl_vars['menu']['marche']; ?>
"<?php if ($this->_tpl_vars['page'] == 'marche' || $this->_tpl_vars['page'] == 'bourse_ressources' || $this->_tpl_vars['page'] == 'bourseDetails'): ?> class="hightlight"<?php endif; ?>>March&eacute;</a>
<a href="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
"<?php if ($this->_tpl_vars['page'] == 'flotte1' || $this->_tpl_vars['page'] == 'flotte2' || $this->_tpl_vars['page'] == 'flotten'): ?> class="hightlight"<?php endif; ?>>Flottes</a>
<!--<a href="?p=simulateur"<?php if ($this->_tpl_vars['page'] == 'simulateur_combat'): ?> class="hightlight"<?php endif; ?>>Simulateur de combat</a>-->
@ -155,7 +161,8 @@ smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'g
<?php if ($this->_tpl_vars['page'] != 'admin' && $this->_tpl_vars['page'] != 'vide' && $this->_tpl_vars['page'] != 'amis' && $this->_tpl_vars['page'] != 'flotten' && $this->_tpl_vars['page'] != 'messagerie' && $this->_tpl_vars['page'] != 'envoyer' && $this->_tpl_vars['page'] != 'bugs' && $this->_tpl_vars['page'] != 'carte' && $this->_tpl_vars['page'] != 'classement' && $this->_tpl_vars['page'] != 'options' && $this->_tpl_vars['page'] != 'simulation' && $this->_tpl_vars['page'] != 'vp' && $this->_tpl_vars['page'] != 'operateur' && $this->_tpl_vars['titre'] != 'Alliance'): ?>
<div id="corps_top">
<div class="border_top"></div>
<a href="?p=rename"><img src="images/planetes/<?php echo $this->_tpl_vars['planete']->image; ?>
<a href="?p=rename"><img src="<?php echo $this->_tpl_vars['url_images']; ?>
images/planetes/<?php echo $this->_tpl_vars['planete']->image; ?>
.jpg" width="70" height="70" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->nom_planete)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" /></a>
<div>Bonjour, <span><?php echo $this->_tpl_vars['planete']->pseudo; ?>

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-11-19 23:01:18
<?php /* Smarty version 2.6.19, created on 2009-01-09 23:24:40
compiled from game/flotte1.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/flotte1.tpl', 10, false),array('function', 'html_options', 'game/flotte1.tpl', 46, false),)), $this); ?>

View file

@ -0,0 +1,60 @@
<?php /* Smarty version 2.6.19, created on 2009-01-09 23:17:33
compiled from game/messagerie.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'nl2br', 'game/messagerie.tpl', 8, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<h2>Messages</h2>
<?php echo $this->_tpl_vars['avertissement']; ?>
<h3><a href="<?php echo $this->_tpl_vars['menu']['envoie']; ?>
">Ecrire un message</a></h3>
<form action="<?php echo $this->_tpl_vars['menu']['messagerie']; ?>
" method="post">
<?php $_from = $this->_tpl_vars['messages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['message']):
?>
<dl>
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><input class="checkbox" type="checkbox" name="m<?php echo $this->_tpl_vars['message']['4']; ?>
" value="<?php echo $this->_tpl_vars['message']['5']; ?>
" /><a href="?p=envoyer&amp;d=<?php echo $this->_tpl_vars['message']['2']; ?>
&amp;o=Re:%20<?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)); ?>
<div style="text-align: right;"><a href="?p=envoyer&amp;d=<?php echo $this->_tpl_vars['message']['2']; ?>
&amp;o=Re:%20<?php echo $this->_tpl_vars['message']['0']; ?>
"><i>Répondre</i></a> | <a href="?p=messagerie&amp;avertir=<?php echo $this->_tpl_vars['message']['5']; ?>
"><i>Avertir un opérateur</i></a></div></dd>
</dl>
<?php endforeach; endif; unset($_from); ?>
<fieldset><input class="button" type="button" value="Tout sélectionner" onclick="checkboxes(true)" /> <input class="button" type="button" value="Tout déselectionner" onclick="checkboxes(false)" /><br /><br /><strong>Supprimer la sélection : </strong><input class="submit" type="submit" value="OK" /><br /><br /><input type="hidden" value="<?php echo $this->_tpl_vars['IM']; ?>
" name="IM" /></fieldset>
</form>
<h2>Rapports</h2>
<form action="<?php echo $this->_tpl_vars['menu']['messagerie']; ?>
" method="post">
<?php $_from = $this->_tpl_vars['rapports']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['rapport']):
?>
<dl>
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><input class="checkbox" type="checkbox" name="r<?php echo $this->_tpl_vars['rapport']['4']; ?>
" value="<?php echo $this->_tpl_vars['rapport']['5']; ?>
" /><?php echo $this->_tpl_vars['rapport']['0']; ?>
à <?php echo $this->_tpl_vars['rapport']['1']; ?>
</dt><dd><?php echo $this->_tpl_vars['rapport']['3']; ?>
</dd>
</dl>
<?php endforeach; endif; unset($_from); ?>
<fieldset><input class="button" type="button" value="Tout sélectionner" onclick="checkboxesr(true)" /> <input class="button" type="button" value="Tout déselectionner" onclick="checkboxesr(false)" /><br /><br /><strong>Supprimer la sélection : </strong><input class="submit" type="submit" value="OK" /><br /><br /><input type="hidden" value="<?php echo $this->_tpl_vars['IR']; ?>
" name="IR" /></fieldset>
</form>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>