forked from halo-battle/game
Version 1.13a
This commit is contained in:
parent
de31cd3e9a
commit
ba8f323879
1634 changed files with 10080 additions and 213021 deletions
|
|
@ -0,0 +1,81 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-18 06:03:58
|
||||
compiled from game/batiments_alli.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/batiments_alli.tpl', 6, false),array('modifier', 'countdown', 'game/batiments_alli.tpl', 6, false),array('modifier', 'separerNombres', 'game/batiments_alli.tpl', 23, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>File d'attente</h2>
|
||||
<?php if ($this->_tpl_vars['file']): ?>
|
||||
<ul id="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['element']):
|
||||
?>
|
||||
<li><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['alli_batiments']['noms_sing'][$this->_tpl_vars['element']['0']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['element']['1']): ?> (démolition)<?php endif; ?> - <span<?php if (! $this->_tpl_vars['djpass']): ?> class="countdown"<?php $this->assign('djpass', true); ?><?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['element']['2'])) ? $this->_run_mod_handler('countdown', true, $_tmp) : smarty_modifier_countdown($_tmp)); ?>
|
||||
</span> - <a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['key']; ?>
|
||||
">Annuler</a></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<ul id="file">
|
||||
<li>Aucun bâtiment dans la file d'attente</li>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=alli_batiments">Arbre des technologies</a></h3><br />
|
||||
<h2>Bâtiments</h2>
|
||||
<div id="constructions">
|
||||
<?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']):
|
||||
?>
|
||||
<dl>
|
||||
<dt><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['alli_batiments']['noms_sing'][$this->_tpl_vars['batiment']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['niveau'] > 0): ?> (Niveau <?php echo $this->_tpl_vars['batiment']['niveau']; ?>
|
||||
)<?php endif; ?></dt>
|
||||
<dd class="description"><a href="?p=description&a=<?php echo $this->_tpl_vars['batiment']['id']; ?>
|
||||
#body"><img src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
images/alli_batiments/<?php echo $this->_tpl_vars['batiment']['id']; ?>
|
||||
.jpg" alt="<?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['alli_batiments']['noms_sing'][$this->_tpl_vars['batiment']['id']]; ?>
|
||||
" /></a><p><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['alli_batiments']['descriptions'][$this->_tpl_vars['batiment']['id']]; ?>
|
||||
</p></dd>
|
||||
<dd>
|
||||
<?php if ($this->_tpl_vars['batiment']['niveau'] > 0): ?><strong>Niveau actuel :</strong> <?php echo $this->_tpl_vars['batiment']['niveau']; ?>
|
||||
<br /><br /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_metal'] > 0): ?><strong>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
:</strong> <?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_cristal'] > 0): ?><strong>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
:</strong> <?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_hydrogene'] > 0): ?><strong>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
:</strong> <?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_credits'] > 0): ?><strong>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['credits']; ?>
|
||||
:</strong> <?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_credits'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<br /><?php endif; ?>
|
||||
<strong>Temps de construction :</strong> <?php echo $this->_tpl_vars['batiment']['temps']; ?>
|
||||
<br />
|
||||
<br />
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_credits'] > $this->_tpl_vars['planete']->credits_alliance || $this->_tpl_vars['batiment']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene || $this->_tpl_vars['batiment']['nec_cristal'] > $this->_tpl_vars['planete']->cristal || $this->_tpl_vars['batiment']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?><span class="lack" title="Rassemblez les ressources manquantes avant de lancer la construction de ce batiment">Ressources insuffisantes</span>
|
||||
<?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
&c=<?php echo $this->_tpl_vars['batiment']['id']; ?>
|
||||
">Construire</a><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['enfile'] !== false): ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['batiment']['enfile']; ?>
|
||||
">Arrêter</a><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['niveau'] > 0 && $this->_tpl_vars['batiment']['id'] != 0): ?> <a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
&d=<?php echo $this->_tpl_vars['batiment']['id']; ?>
|
||||
">Démolir un niveau</a><?php endif; ?>
|
||||
</dd>
|
||||
</dl>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -1,101 +1,95 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-01 21:18:35
|
||||
<?php /* Smarty version 2.6.22, created on 2009-10-31 20:36:17
|
||||
compiled from game/chantierterrestre.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/chantierterrestre.tpl', 27, false),array('modifier', 'separerNombres', 'game/chantierterrestre.tpl', 29, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'countdown', 'game/chantierterrestre.tpl', 10, false),array('modifier', 'ucfirst', 'game/chantierterrestre.tpl', 20, false),array('modifier', 'separerNombres', 'game/chantierterrestre.tpl', 29, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>File d'attente</h2>
|
||||
<div class="file">
|
||||
<ul class="onglets">
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
"<?php if ($this->_tpl_vars['onglet'] != 'defenses'): ?> class="hilight"<?php endif; ?>>Unités</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
&n=defenses"<?php if ($this->_tpl_vars['onglet'] == 'defenses'): ?> class="hilight"<?php endif; ?>>Défenses</a></li>
|
||||
</ul><br /><br />
|
||||
<h2>File d'attente</h2>
|
||||
<?php if ($this->_tpl_vars['file']): ?>
|
||||
<ul id="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['element']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['i'] != true): ?><span><strong>Prochaine <?php if ($this->_tpl_vars['element']['5']): ?>unité<?php else: ?>défense<?php endif; ?> </strong> : <em id="resten"></em>
|
||||
<script type="text/javascript">reste(<?php echo $this->_tpl_vars['element']['4']; ?>
|
||||
,'resten', true);</script></span><?php endif; ?>
|
||||
<span><?php echo $this->_tpl_vars['element']['1']; ?>
|
||||
<?php if ($this->_tpl_vars['djpass'] != true): ?><li><strong>Prochaine <?php if ($this->_tpl_vars['element']['5']): ?>unité<?php else: ?>défense<?php endif; ?> </strong> : <span class="countdown"><?php echo ((is_array($_tmp=$this->_tpl_vars['element']['4'])) ? $this->_run_mod_handler('countdown', true, $_tmp) : smarty_modifier_countdown($_tmp)); ?>
|
||||
</span></li><?php endif; ?>
|
||||
<li><?php echo $this->_tpl_vars['element']['1']; ?>
|
||||
<?php if ($this->_tpl_vars['element']['1'] > 1): ?><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['terrestre']['noms_pluriel'][$this->_tpl_vars['element']['0']]; ?>
|
||||
<?php else: ?><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['terrestre']['noms_sing'][$this->_tpl_vars['element']['0']]; ?>
|
||||
<?php endif; ?><?php if ($this->_tpl_vars['element']['2']): ?> (démolition)<?php endif; ?> - <em id="reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['element']['3']; ?>
|
||||
,'reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
', <?php if ($this->_tpl_vars['i'] != true): ?><?php $this->assign('i', true); ?>true<?php else: ?>false<?php endif; ?>);</script>
|
||||
- <a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
<?php endif; ?><?php if ($this->_tpl_vars['element']['2']): ?> (démolition)<?php endif; ?> - <span<?php if (! $this->_tpl_vars['djpass']): ?> class="countdown"<?php $this->assign('djpass', true); ?><?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['element']['3'])) ? $this->_run_mod_handler('countdown', true, $_tmp) : smarty_modifier_countdown($_tmp)); ?>
|
||||
</span> - <a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
&n=<?php echo $this->_tpl_vars['onglet']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['key']; ?>
|
||||
">Annuler un</a> - <a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
&n=<?php echo $this->_tpl_vars['onglet']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['key']; ?>
|
||||
&n=<?php echo $this->_tpl_vars['element']['1']; ?>
|
||||
">Annuler tous</a></span>
|
||||
&s=<?php echo $this->_tpl_vars['element']['1']; ?>
|
||||
">Annuler tous</a></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php else: ?> <span>Aucune unité dans la file d'attente</span><?php endif; ?>
|
||||
<br />
|
||||
</div>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<ul id="file">
|
||||
<li>Aucune unité dans la file d'attente</li>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=chantierterrestre">Arbre des technologies</a></h3><br />
|
||||
<h2>Chantier terrestre </h2>
|
||||
<table class="construction">
|
||||
<h2><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['7'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</h2>
|
||||
<?php if ($this->_tpl_vars['unites']): ?>
|
||||
<div id="constructions">
|
||||
<?php $_from = $this->_tpl_vars['unites']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['unite']):
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="?p=description&d=<?php echo $this->_tpl_vars['unite']['num']; ?>
|
||||
#menu">
|
||||
<img width="130" height="132" src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
images/terrestre/<?php echo $this->_tpl_vars['unite']['image']; ?>
|
||||
" alt="Unité terrestre" />
|
||||
<span><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['terrestre']['descriptions'][$this->_tpl_vars['unite']['id']]; ?>
|
||||
</span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<strong><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['terrestre']['noms_sing'][$this->_tpl_vars['unite']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
<dl>
|
||||
<dt><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['terrestre']['noms_sing'][$this->_tpl_vars['unite']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nombre'] > 0): ?> (<?php echo $this->_tpl_vars['unite']['nombre']; ?>
|
||||
unité<?php if ($this->_tpl_vars['unite']['nombre'] > 1): ?>s<?php endif; ?>)<?php endif; ?></strong><br /><br />
|
||||
<?php if ($this->_tpl_vars['unite']['nec_metal'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?><span class="lack">Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
unité<?php if ($this->_tpl_vars['unite']['nombre'] > 1): ?>s<?php endif; ?>)<?php endif; ?></dt>
|
||||
<dd class="description"><a href="?p=description&d=<?php echo $this->_tpl_vars['unite']['id']; ?>
|
||||
#body"><img src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
images/terrestre/<?php echo $this->_tpl_vars['unite']['image']; ?>
|
||||
" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['terrestre']['noms_sing'][$this->_tpl_vars['unite']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
" /></a><p><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['terrestre']['descriptions'][$this->_tpl_vars['unite']['id']]; ?>
|
||||
</p></dd>
|
||||
<dd>
|
||||
<?php if ($this->_tpl_vars['unite']['nombre'] > 0): ?><strong>Nombre actuel :</strong> <?php echo $this->_tpl_vars['unite']['nombre']; ?>
|
||||
<br /><br /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_metal'] > 0): ?><strong>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
:</strong> <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_cristal'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_cristal'] > $this->_tpl_vars['planete']->cristal): ?><span class="lack">Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_cristal'] > 0): ?><strong>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
:</strong> <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_hydrogene'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene): ?><span class="lack">Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_hydrogene'] > 0): ?><strong>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
:</strong> <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
Temps de construction : <?php echo $this->_tpl_vars['unite']['temps']; ?>
|
||||
<br /><br />
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
<strong>Temps de construction :</strong> <?php echo $this->_tpl_vars['unite']['temps']; ?>
|
||||
<br />
|
||||
<br />
|
||||
<?php if ($this->_tpl_vars['unite']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene || $this->_tpl_vars['unite']['nec_cristal'] > $this->_tpl_vars['planete']->cristal || $this->_tpl_vars['unite']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?><span class="lack">Ressources insuffisantes</span>
|
||||
<?php else: ?><form action="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
&n=<?php echo $this->_tpl_vars['onglet']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['unite']['id']; ?>
|
||||
" method="post">
|
||||
<fieldset>
|
||||
<input class="text" type="text" name="nombre" value="0" />
|
||||
<input class="submit" name="terr<?php echo $this->_tpl_vars['unite']['id']; ?>
|
||||
" type="submit" value="OK" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
" method="post"><fieldset>
|
||||
<label for="terr<?php echo $this->_tpl_vars['unite']['id']; ?>
|
||||
">Nombre : <input type="text" class="text" name="terr<?php echo $this->_tpl_vars['unite']['id']; ?>
|
||||
" id="terr<?php echo $this->_tpl_vars['unite']['id']; ?>
|
||||
" value="0" /></label>
|
||||
<input type="submit" class="submit" value="OK" />
|
||||
</fieldset></form><?php endif; ?>
|
||||
</dd>
|
||||
</dl>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</table>
|
||||
</div>
|
||||
<?php else: ?> <div id="erreur">Aucune unité ou défense ne peut être entraînée actuellement.</div><?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;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,41 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-11-01 01:31:55
|
||||
compiled from game/marche.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/marche.tpl', 6, false),array('modifier', 'separerNombres', 'game/marche.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);
|
||||
?>
|
||||
<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']):
|
||||
?>
|
||||
<dl class="bourse">
|
||||
<dt><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms'][$this->_tpl_vars['action']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</strong> <a href="<?php echo $this->_tpl_vars['menu']['marche']; ?>
|
||||
&d=<?php echo $this->_tpl_vars['action']['id']; ?>
|
||||
"><img src="bourser.php?a=<?php echo $this->_tpl_vars['action']['id']; ?>
|
||||
&r=<?php echo $this->_tpl_vars['planete']->race; ?>
|
||||
" class="imglink" alt="<?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms'][$this->_tpl_vars['action']['id']]; ?>
|
||||
" /></a></dt>
|
||||
<dd>
|
||||
<form action="#" method="post"><fieldset>
|
||||
<div><b>Total :</b> <?php echo ((is_array($_tmp=$this->_tpl_vars['action']['dispo'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</div>
|
||||
<label for="buyM">Acheter pour <?php echo ((is_array($_tmp=$this->_tpl_vars['action']['prixA'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
: <input type="text" class="text" id="buyM" name="buyM" value="0" /></label>
|
||||
<input type="submit" class="submit" value="OK" name="buy" /><br />
|
||||
<label for="sellM">Vendre pour <?php echo ((is_array($_tmp=$this->_tpl_vars['action']['prixV'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
: <input type="text" class="text" id="sellM" name="sellM" value="0" /></label>
|
||||
<input type="submit" class="submit" value="OK" name="sell" />
|
||||
</fieldset></form>
|
||||
</dd>
|
||||
</dl>
|
||||
<?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);
|
||||
?>
|
||||
|
|
@ -1,168 +1,86 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-02 19:56:33
|
||||
<?php /* Smarty version 2.6.22, created on 2009-10-31 19:29:16
|
||||
compiled from game/description.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/description.tpl', 6, false),array('modifier', 'separerNombres', 'game/description.tpl', 26, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/description.tpl', 4, false),array('modifier', 'separerNombres', 'game/description.tpl', 7, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Détails <?php echo $this->_tpl_vars['type']; ?>
|
||||
: <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['raceAff']][$this->_tpl_vars['type']]['noms_sing'][$this->_tpl_vars['id']]; ?>
|
||||
<h2>Détails <?php echo $this->_tpl_vars['type']; ?>
|
||||
</h2>
|
||||
<table style="width: 400px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 120px;"><img src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
<dl id="description">
|
||||
<dt><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['raceAff']][$this->_tpl_vars['type']]['noms_sing'][$this->_tpl_vars['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</dt>
|
||||
<dd><img src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
images/<?php echo $this->_tpl_vars['type']; ?>
|
||||
/<?php echo $this->_tpl_vars['image']; ?>
|
||||
" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['type'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
" /></td>
|
||||
<td><b><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['raceAff']][$this->_tpl_vars['type']]['noms_sing'][$this->_tpl_vars['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</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['planete']->{(($_var=$this->_tpl_vars['type']) && substr($_var,0,2)!='__') ? $_var : $this->trigger_error("cannot access property \"$_var\"")}[$this->_tpl_vars['id']]; ?>
|
||||
<?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['LANG'][$this->_tpl_vars['raceAff']][$this->_tpl_vars['type']]['descriptions'][$this->_tpl_vars['id']]; ?>
|
||||
</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 ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['ressources']['noms']['metal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</th>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressourcesNext']['0'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
" /><p><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['raceAff']][$this->_tpl_vars['type']]['descriptions'][$this->_tpl_vars['id']]; ?>
|
||||
</p>
|
||||
<div><h5>Actuellement : </h5><?php if ($this->_tpl_vars['type'] == 'terrestre' || $this->_tpl_vars['type'] == 'caserne'): ?><?php echo $this->_tpl_vars['planete']->{(($_var=$this->_tpl_vars['type']) && substr($_var,0,2)!='__') ? $_var : $this->trigger_error("cannot access property \"$_var\"")}[$this->_tpl_vars['id']]; ?>
|
||||
unité(s)<?php elseif ($this->_tpl_vars['type'] == 'vaisseaux'): ?><?php echo $this->_tpl_vars['planete']->{(($_var=$this->_tpl_vars['type']) && substr($_var,0,2)!='__') ? $_var : $this->trigger_error("cannot access property \"$_var\"")}[$this->_tpl_vars['id']]; ?>
|
||||
vaisseau(x)<?php else: ?>niveau <?php echo $this->_tpl_vars['planete']->{(($_var=$this->_tpl_vars['type']) && substr($_var,0,2)!='__') ? $_var : $this->trigger_error("cannot access property \"$_var\"")}[$this->_tpl_vars['id']]; ?>
|
||||
<?php endif; ?></div>
|
||||
<?php if ($this->_tpl_vars['ressourcesNext']['0']): ?><div><h5>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['ressources']['noms']['metal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
: </h5><?php echo ((is_array($_tmp=$this->_tpl_vars['ressourcesNext']['0'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</div><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['ressourcesNext']['1']): ?><div><h5>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['ressources']['noms']['cristal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
: </h5><?php echo ((is_array($_tmp=$this->_tpl_vars['ressourcesNext']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</div><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['ressourcesNext']['2']): ?><div><h5>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['ressources']['noms']['hydrogene'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
: </h5><?php echo ((is_array($_tmp=$this->_tpl_vars['ressourcesNext']['2'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</div><?php endif; ?>
|
||||
<div><h5>Temps de construction : </h5><?php echo $this->_tpl_vars['ressourcesNext']['3']; ?>
|
||||
</div>
|
||||
<?php if ($this->_tpl_vars['caract']): ?>
|
||||
<div><h5>Attaque : </h5><?php echo ((is_array($_tmp=$this->_tpl_vars['caract']['0'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</div>
|
||||
<div><h5>Bouclier : </h5><?php echo ((is_array($_tmp=$this->_tpl_vars['caract']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</div>
|
||||
<div><h5>Point de vie : </h5><?php echo ((is_array($_tmp=$this->_tpl_vars['caract']['2'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</div>
|
||||
<div><h5>Capacité de transpost : </h5><?php echo ((is_array($_tmp=$this->_tpl_vars['caract']['3'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['ressourcesNext']['1']): ?>
|
||||
<tr>
|
||||
<th><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['ressources']['noms']['cristal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</th>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressourcesNext']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['ressourcesNext']['2']): ?>
|
||||
<tr>
|
||||
<th><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['ressources']['noms']['hydrogene'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</th>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressourcesNext']['2'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<tr>
|
||||
<th>Temps</th>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressourcesNext']['3'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<div><h5>Nécessite : </h5><?php echo $this->_tpl_vars['etat']; ?>
|
||||
</div>
|
||||
<?php if ($this->_tpl_vars['tableau_prod']): ?>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table style="margin: auto; width: 100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="5">Production et consomation théoriques</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Niveau</th>
|
||||
<th>Production</th>
|
||||
<th>Consomation</th>
|
||||
<th>Différence prod.</th>
|
||||
<th>Différence conso.</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['tableau_prod']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
<br /><br /><table style="margin: auto; width: 100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="5">Production et consomation théoriques</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Niveau</th>
|
||||
<th>Production</th>
|
||||
<th>Consomation</th>
|
||||
<th>Différence prod.</th>
|
||||
<th>Différence conso.</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['tableau_prod']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['ligne']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['ligne']['0'] == $this->_tpl_vars['planete']->{(($_var=$this->_tpl_vars['type']) && substr($_var,0,2)!='__') ? $_var : $this->trigger_error("cannot access property \"$_var\"")}[$this->_tpl_vars['id']]): ?><tr style="color: #F0F0F0;"><?php else: ?><tr><?php endif; ?>
|
||||
<td style="font-weight: bold;"><?php echo $this->_tpl_vars['ligne']['0']; ?>
|
||||
<?php if ($this->_tpl_vars['ligne']['0'] == $this->_tpl_vars['planete']->{(($_var=$this->_tpl_vars['type']) && substr($_var,0,2)!='__') ? $_var : $this->trigger_error("cannot access property \"$_var\"")}[$this->_tpl_vars['id']]): ?><tr style="color: #F0F0F0;"><?php else: ?><tr><?php endif; ?>
|
||||
<td style="font-weight: bold;"><?php echo $this->_tpl_vars['ligne']['0']; ?>
|
||||
</td>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['2'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['2'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
<td><?php if ($this->_tpl_vars['ligne']['3'] > 0): ?>+<?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['3'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<td><?php if ($this->_tpl_vars['ligne']['3'] > 0): ?>+<?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['3'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
<td><?php if ($this->_tpl_vars['ligne']['4'] > 0): ?>+<?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['4'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<td><?php if ($this->_tpl_vars['ligne']['4'] > 0): ?>+<?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['4'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<?php elseif ($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 ((is_array($_tmp=$this->_tpl_vars['caract']['0'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Bouclier</th>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['caract']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Points de vie</th>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['caract']['2'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if ($this->_tpl_vars['caract']['3']): ?>
|
||||
<tr>
|
||||
<th>Capacité de transport</th>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['caract']['3'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?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>
|
||||
</dd>
|
||||
</dl>
|
||||
<?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;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,21 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-03 13:31:57
|
||||
compiled from game/../aide/sommaire.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Aide de Halo-Battle :: Sommaire</h2>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
|
||||
&q=1">Avertissements</a></h3>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
|
||||
&q=2">Configuration nécessaire & démarrage du jeu</a></h3>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
|
||||
&q=3">Introduction</a></h3>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
|
||||
&q=4">Comment jouer ?</a></h3>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-07 18:51:41
|
||||
<?php /* Smarty version 2.6.22, created on 2009-11-01 01:31:35
|
||||
compiled from game/arbre.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/arbre.tpl', 10, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/arbre.tpl', 11, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
|
|
@ -19,6 +19,7 @@ unset($_smarty_tpl_vars);
|
|||
<div><table><thead>
|
||||
<tr><th>Batiments (niveau)</th><th>Technologies nécessaires (niveau actuel)</th></tr>
|
||||
</thead><tbody>
|
||||
<?php if (SURFACE == 'planete'): ?>
|
||||
<?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['key'] => $this->_tpl_vars['batiment']):
|
||||
?>
|
||||
|
|
@ -29,6 +30,18 @@ unset($_smarty_tpl_vars);
|
|||
) :</td><td><?php echo $this->_tpl_vars['batiment']['etat']; ?>
|
||||
</td></tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php else: ?>
|
||||
<?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['key'] => $this->_tpl_vars['batiment']):
|
||||
?>
|
||||
<tr><td><a href="?p=description&a=<?php echo $this->_tpl_vars['key']; ?>
|
||||
&r=<?php echo $this->_tpl_vars['raceAff']; ?>
|
||||
#menu"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['alli_batiments']['noms_sing'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a> (<?php echo $this->_tpl_vars['batiment']['niveau']; ?>
|
||||
) :</td><td><?php echo $this->_tpl_vars['batiment']['etat']; ?>
|
||||
</td></tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php endif; ?>
|
||||
</tbody></table></div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,25 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-09-27 13:25:14
|
||||
compiled from game/../aide/config.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Aide de Halo-Battle :: Configuration requise</h2>
|
||||
<br /><h3>Configuration nécessaire</h3><br />
|
||||
Pour jouer à Halo-Battle, un simple navigateur internet est suffisant. Assurez-vous donc de disposer du matériel informatique adéquat ainsi que d'une connexion internet.<br />
|
||||
<br /><h3>Configuration recommandée</h3><br />
|
||||
Pour jouer dans des conditions optimales :<br />
|
||||
<ul>
|
||||
<li>Connexion 512 k</li>
|
||||
<li>Navigateur internet Mozilla Firefox ou Opéra</li>
|
||||
<li>JavaScript</li>
|
||||
</ul>
|
||||
<br /><h2>Démarrage du jeu</h2>
|
||||
Pour pouvoir jouer à Halo-Battle, rendez-vous sur la page d'accueil du site puis cliquez sur l'onglet « Jeu » pour accéder au menu principal. Renseignez dans les champs appropriés votre login de joueur puis votre mot de passe pour accéder à votre compte.<br />
|
||||
Il faut être impérativement inscrit pour pouvoir jouer. Si vous ne l'êtes pas, cliquez sur l'onglet « S'inscrire » via la page d'accueil du site, puis laissez-vous guider. Si vous ne comprenez pas ce que l'on vous demande, il vous suffit de cliquer dans la case appropriée et un texte d'aide apparaîtra sur votre gauche.
|
||||
<?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);
|
||||
?>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-01 21:18:45
|
||||
<?php /* Smarty version 2.6.22, created on 2009-10-31 20:37:22
|
||||
compiled from game/laboratoire.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/laboratoire.tpl', 6, false),array('modifier', 'separerNombres', 'game/laboratoire.tpl', 27, false),)), $this); ?>
|
||||
|
|
@ -17,7 +17,7 @@ unset($_smarty_tpl_vars);
|
|||
- <em id="reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['element']['2']; ?>
|
||||
,'reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
', <?php if ($this->_tpl_vars['i'] != true): ?><?php $this->assign('i', true); ?>true<?php else: ?>false<?php endif; ?>);</script> - <a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
', <?php if ($this->_tpl_vars['i'] != true): ?><?php $this->assign('i', true); ?>true<?php else: ?>false<?php endif; ?>);</script> - <a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['key']; ?>
|
||||
">Annuler</a></span>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
|
|
@ -50,39 +50,39 @@ images/technologies/<?php echo $this->_tpl_vars['recherche']['image']; ?>
|
|||
</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 $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<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 $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<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 $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['recherche']['nec_credits'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['recherche']['nec_credits'] > $this->_tpl_vars['planete']->credits): ?><span class="lack">Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['credits']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nec_credits'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nec_credits'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['credits']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nec_credits'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nec_credits'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<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']; ?>
|
||||
<?php if ($this->_tpl_vars['recherche']['enfile'] !== false): ?><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['recherche']['enfile']; ?>
|
||||
">Arrêter</a>
|
||||
<?php elseif ($this->_tpl_vars['recherche']['nec_credits'] > $this->_tpl_vars['planete']->credits || $this->_tpl_vars['recherche']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene || $this->_tpl_vars['recherche']['nec_cristal'] > $this->_tpl_vars['planete']->cristal || $this->_tpl_vars['recherche']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?><span class="lack"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['credits'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
|
|
|
|||
|
|
@ -1,24 +1,22 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-07 19:22:06
|
||||
<?php /* Smarty version 2.6.22, created on 2009-11-01 01:32:07
|
||||
compiled from game/footer.tpl */ ?>
|
||||
<div class="border_bt"></div></div>
|
||||
<div id="footer">
|
||||
Réalisé par Halo-Battle Staff<br />
|
||||
Design by <a href="http://nothing-arts.com" onclick="window.open(this.href); return false;"><ins>nothingarts</ins></a><br />
|
||||
<br />Actuellement en ligne : <?php echo $this->_tpl_vars['header']['count']['3']; ?>
|
||||
joueurs<br />
|
||||
<a href="<?php echo $this->_tpl_vars['link']['accueil']; ?>
|
||||
<span class="bottom"></span>
|
||||
</div>
|
||||
|
||||
<div id="footer">Réalisé par <a href="http://www.anomaly-concepts.com/">Anomaly Concepts</a><br />Design de <a href="http://www.nothing-arts.com" class="external">nothingarts</a><br />Actuellement en ligne : <?php echo $this->_tpl_vars['header']['count']['3']; ?>
|
||||
joueurs<br /><br /><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['menu']['faq']; ?>
|
||||
">F.A.Q.</a> | <a href="<?php echo $this->_tpl_vars['link']['operateur']; ?>
|
||||
">Nous contacter</a>
|
||||
<?php if ($this->_tpl_vars['page'] == 'admin'): ?><?php echo $this->_tpl_vars['analyst']; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
">Nous contacter</a></div>
|
||||
</div>
|
||||
<div id="cornerbt"></div>
|
||||
<div id="bottom"></div>
|
||||
<script src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
js/game.js" type="text/javascript"></script>
|
||||
<?php if ($this->_tpl_vars['page'] != 'admin'): ?><?php echo $this->_tpl_vars['analyst']; ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $this->_tpl_vars['script']; ?>
|
||||
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,22 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 14:53:13
|
||||
compiled from game/alliance/nm_fonder.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Création d'une alliance</h2>
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=fonder">
|
||||
<fieldset class="form">
|
||||
<p>Créer une alliance ne peut pas se faire seul. Une fois que vous aurez lancé la procédure, un lien vous sera donné. Pour finir la création, donnez ce lien à quatre personnes qui sont sans alliance afin qu'elles ratifient l'alliance.</p>
|
||||
<label for="nom">Nom : <input type="text" class="text" name="nom" id="nom" /></label><br />
|
||||
<label for="tag">Tag : <input type="text" class="text" name="tag" id="tag" maxlength="5" /></label><br />
|
||||
<input type="submit" class="submit" value="Créer " />
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,79 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-18 06:08:17
|
||||
compiled from game/alliance/gestion_membres.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/alliance/gestion_membres.tpl', 10, false),array('modifier', 'escape', 'game/alliance/gestion_membres.tpl', 33, false),array('modifier', 'nl2br', 'game/alliance/gestion_membres.tpl', 33, 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);
|
||||
?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/alliance/gestion_common.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Gestion des membres</h2>
|
||||
<table>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['membres']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['membre']):
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $this->_tpl_vars['membre']['pseudo']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['membre']['race']; ?>
|
||||
</td>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['membre']['last_visite'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M:%S")); ?>
|
||||
</td>
|
||||
<td><form action="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=membres&i=<?php echo $this->_tpl_vars['membre']['id']; ?>
|
||||
" method="post"><p><select name="grade" onchange="this.form.submit();"><option label="Aucun" value="0">Aucun</option><?php $_from = $this->_tpl_vars['grades']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['grade']):
|
||||
?><option label="<?php echo $this->_tpl_vars['grade']['nom']; ?>
|
||||
" value="<?php echo $this->_tpl_vars['grade']['id']; ?>
|
||||
"<?php if ($this->_tpl_vars['grade']['id'] == $this->_tpl_vars['membre']['id_grade_alliance']): ?> selected="selected"<?php endif; ?>><?php echo $this->_tpl_vars['grade']['nom']; ?>
|
||||
</option><?php endforeach; endif; unset($_from); ?></select><noscript> <input type="submit" class="submit" value="GO" /></noscript></p></form></td>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
&n=envoyer&d=<?php echo $this->_tpl_vars['membre']['pseudo']; ?>
|
||||
" class="msg"><span>Message</span></a></td>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=membres&u=<?php echo $this->_tpl_vars['membre']['id']; ?>
|
||||
"><em>Exclure</em></a></td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Pseudo</th>
|
||||
<th>Race</th>
|
||||
<th>Dernière connexion </th>
|
||||
<th>Grade</th>
|
||||
<th>MP</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<h2>Gestion des postulants</h2>
|
||||
<div id="messagerie">
|
||||
<?php $_from = $this->_tpl_vars['postulants']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['postulant']):
|
||||
?>
|
||||
<dl class="new">
|
||||
<dt><a href="?p=...&i=<?php echo $this->_tpl_vars['postulant']['id_user']; ?>
|
||||
"><?php echo $this->_tpl_vars['postulant']['pseudo']; ?>
|
||||
</a> le <?php echo ((is_array($_tmp=$this->_tpl_vars['postulant']['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")); ?>
|
||||
</dt>
|
||||
<dd><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['postulant']['message'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
|
||||
<br /><div style="text-align: right;"><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=membres&pa=<?php echo $this->_tpl_vars['postulant']['id']; ?>
|
||||
"><em>Accepter</em></a> | <a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=membres&pr=<?php echo $this->_tpl_vars['postulant']['id']; ?>
|
||||
"><em>Refuser</em></a></div></dd>
|
||||
</dl>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -1,14 +1,14 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-01 20:45:53
|
||||
<?php /* Smarty version 2.6.22, created on 2009-10-28 18:50:40
|
||||
compiled from admin/accueil.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'admin/accueil.tpl', 6, false),array('modifier', 'nl2br', 'admin/accueil.tpl', 6, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'admin/accueil.tpl', 3, false),array('modifier', 'escape', 'admin/accueil.tpl', 6, false),array('modifier', 'nl2br', 'admin/accueil.tpl', 6, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Evénements</h2>
|
||||
<em>Heure du serveur: <?php echo $this->_tpl_vars['datehb']; ?>
|
||||
<em>Heure du serveur: <?php echo ((is_array($_tmp=time())) ? $this->_run_mod_handler('date_format', true, $_tmp, "/%a %d %b %Y/%H%M %S") : smarty_modifier_date_format($_tmp, "/%a %d %b %Y/%H%M %S")); ?>
|
||||
</em>
|
||||
<h4>Version du serveur : <a href="./?p=version"><?php echo $this->_tpl_vars['version']; ?>
|
||||
</a></h4>
|
||||
|
|
@ -20,7 +20,7 @@ unset($_smarty_tpl_vars);
|
|||
</h1>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<h2>Infos</h2>
|
||||
<h4><a href="<?php echo $this->_tpl_vars['menua']['courrier']; ?>
|
||||
<h4><a href="<?php echo $this->_tpl_vars['menu']['courrier']; ?>
|
||||
">Messagerie :</a> <?php echo $this->_tpl_vars['nbMail']; ?>
|
||||
message<?php if ($this->_tpl_vars['nbMail'] > 1): ?>s<?php endif; ?> en attente</h4>
|
||||
<h4><a href="./<?php echo $this->_tpl_vars['menu']['pilori']; ?>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,87 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-18 06:08:32
|
||||
compiled from game/diplomatie/general.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/diplomatie/general.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);
|
||||
?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/diplomatie/common.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Demandes de pactes</h2>
|
||||
<?php if ($this->_tpl_vars['demandes']): ?>
|
||||
<?php $_from = $this->_tpl_vars['demandes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['demande']):
|
||||
?>
|
||||
<h4><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['demande']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M")); ?>
|
||||
::</strong> L'alliance <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['demande']['alliance_id']; ?>
|
||||
">[<?php echo $this->_tpl_vars['demande']['tag']; ?>
|
||||
] <?php echo $this->_tpl_vars['demande']['nom_alliance']; ?>
|
||||
</a> veut <?php if ($this->_tpl_vars['demande']['type'] == 0): ?>engager un cesser le feu<?php else: ?>passer un pacte <?php if ($this->_tpl_vars['demande']['type'] == 1): ?>de non-agression<?php elseif ($this->_tpl_vars['demande']['type'] == 2): ?>commercial<?php else: ?>militaire<?php endif; ?><?php endif; ?>.<?php if ($this->_tpl_vars['planete']->permissions_alliance & 8): ?> <a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['demande']['id']; ?>
|
||||
">Accepter</a> - <a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&r=<?php echo $this->_tpl_vars['demande']['id']; ?>
|
||||
">Rejeter</a><?php endif; ?></h4>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php else: ?>
|
||||
<h3>Aucune demande en cours</h3>
|
||||
<?php endif; ?>
|
||||
<br />
|
||||
<h2>Actualités des pactes et des guerres</h2>
|
||||
<?php if ($this->_tpl_vars['actus_alli']): ?>
|
||||
<?php $_from = $this->_tpl_vars['actus_alli']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['actu_alli']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['actu_alli']['time_fin'] && $this->_tpl_vars['actu_alli']['type'] != 0): ?><h3><?php echo ((is_array($_tmp=$this->_tpl_vars['actu_alli']['time_fin'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M")); ?>
|
||||
:: Le pacte <?php if ($this->_tpl_vars['actu_alli']['type'] == 1): ?>de non-agression<?php elseif ($this->_tpl_vars['actu_alli']['type'] == 2): ?>commercial<?php else: ?>militaire<?php endif; ?> avec l'alliance <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['actu_alli']['alliance_id']; ?>
|
||||
">[<?php echo $this->_tpl_vars['actu_alli']['tag']; ?>
|
||||
] <?php echo $this->_tpl_vars['actu_alli']['nom_alliance']; ?>
|
||||
</a> a été abrogé</h3>
|
||||
<?php else: ?><?php if (( $this->_tpl_vars['planete']->id == $this->_tpl_vars['actu_alli']['id_alliance1'] && $this->_tpl_vars['actu_alli']['type'] != 0 ) || ( $this->_tpl_vars['planete']->id == $this->_tpl_vars['actu_alli']['id_alliance2'] && $this->_tpl_vars['actu_alli']['type'] == 0 && $this->_tpl_vars['actu_alli']['accepter'] == 1 ) || ( $this->_tpl_vars['planete']->id == $this->_tpl_vars['actu_alli']['id_alliance1'] && $this->_tpl_vars['actu_alli']['type'] == 0 && $this->_tpl_vars['actu_alli']['time_demand'] != ((is_array($_tmp=$this->_tpl_vars['actu_alli']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d %H:%M:%S") : smarty_modifier_date_format($_tmp, "%Y-%m-%d %H:%M:%S")) )): ?><h3><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['actu_alli']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M")); ?>
|
||||
::</strong> L'alliance <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['actu_alli']['alliance_id']; ?>
|
||||
">[<?php echo $this->_tpl_vars['actu_alli']['tag']; ?>
|
||||
] <?php echo $this->_tpl_vars['actu_alli']['nom_alliance']; ?>
|
||||
</a> <?php if ($this->_tpl_vars['actu_alli']['type'] == 0 && $this->_tpl_vars['actu_alli']['time_demand'] == ((is_array($_tmp=$this->_tpl_vars['actu_alli']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d %H:%M:%S") : smarty_modifier_date_format($_tmp, "%Y-%m-%d %H:%M:%S"))): ?>nous a déclaré la guerre<?php else: ?><?php if ($this->_tpl_vars['actu_alli']['accepte'] == 2): ?>a refusé notre<?php elseif ($this->_tpl_vars['actu_alli']['accepte'] == 1): ?>a accepté notre<?php else: ?>n'a pas encore répondu à notre demande de<?php endif; ?> <?php if ($this->_tpl_vars['actu_alli']['type'] == 0): ?>cesser le feu<?php else: ?>pacte <?php if ($this->_tpl_vars['actu_alli']['type'] == 1): ?>de non-agression<?php elseif ($this->_tpl_vars['actu_alli']['type'] == 2): ?>commercial<?php else: ?>militaire<?php endif; ?><?php endif; ?><?php endif; ?>.</h3>
|
||||
<?php else: ?><h3><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['actu_alli']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M")); ?>
|
||||
::</strong> Nous avons <?php if ($this->_tpl_vars['actu_alli']['type'] == 0 && $this->_tpl_vars['actu_alli']['time_demand'] == ((is_array($_tmp=$this->_tpl_vars['actu_alli']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d %H:%M:%S") : smarty_modifier_date_format($_tmp, "%Y-%m-%d %H:%M:%S"))): ?>déclaré la guerre à<?php else: ?><?php if ($this->_tpl_vars['actu_alli']['accepte'] == 1): ?>accepté<?php else: ?>refusé<?php endif; ?> le <?php if ($this->_tpl_vars['actu_alli']['type'] == 0): ?>cesser le feu<?php else: ?>pacte <?php if ($this->_tpl_vars['actu_alli']['type'] == 1): ?>de non-agression<?php elseif ($this->_tpl_vars['actu_alli']['type'] == 2): ?>commercial<?php else: ?>militaire<?php endif; ?><?php endif; ?> proposé par<?php endif; ?> l'alliance <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['actu_alli']['alliance_id']; ?>
|
||||
">[<?php echo $this->_tpl_vars['actu_alli']['tag']; ?>
|
||||
] <?php echo $this->_tpl_vars['actu_alli']['nom_alliance']; ?>
|
||||
</a></h3>
|
||||
<?php endif; ?><?php endif; ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php else: ?>
|
||||
<h3>Aucune actualité disponible</h3>
|
||||
<?php endif; ?>
|
||||
<br />
|
||||
<h2>Actualités de la galaxie</h2>
|
||||
<?php if ($this->_tpl_vars['actus_world']): ?>
|
||||
<?php $_from = $this->_tpl_vars['actus_world']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['actu_world']):
|
||||
?>
|
||||
<h3><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['actu_world']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M")); ?>
|
||||
::</strong> L'alliance <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['actu_world']['alliance1_id']; ?>
|
||||
">[<?php echo $this->_tpl_vars['actu_world']['tag1']; ?>
|
||||
] <?php echo $this->_tpl_vars['actu_world']['nom_alliance1']; ?>
|
||||
</a> <?php if ($this->_tpl_vars['actu_world']['type'] == 0): ?>a déclaré la guerre à<?php else: ?>a engagé un pacte <?php if ($this->_tpl_vars['actu_world']['type'] == 1): ?>de non-agression<?php elseif ($this->_tpl_vars['actu_world']['type'] == 2): ?>commercial<?php else: ?>militaire<?php endif; ?> avec<?php endif; ?> l'alliance <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['actu_world']['alliance2_id']; ?>
|
||||
">[<?php echo $this->_tpl_vars['actu_world']['tag2']; ?>
|
||||
] <?php echo $this->_tpl_vars['actu_world']['nom_alliance2']; ?>
|
||||
</a>.</h3>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php else: ?>
|
||||
<h3>Aucune actualité disponible</h3>
|
||||
<?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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 19:29:51
|
||||
compiled from game/envoyer.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'game/envoyer.tpl', 14, false),array('modifier', 'escape', 'game/envoyer.tpl', 17, 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>Messagerie</h2>
|
||||
<ul class="onglets">
|
||||
<li<?php if ($this->_tpl_vars['onglet'] != 'rapports' && $this->_tpl_vars['onglet'] != 'send' && $this->_tpl_vars['onglet'] != 'envoyer'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
&n=recus">Reçus</a><?php if ($this->_tpl_vars['alertMail']['0']): ?> (<?php echo $this->_tpl_vars['alertMail']['0']; ?>
|
||||
)<?php endif; ?></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 'rapports'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
&n=rapports">Rapports</a><?php if ($this->_tpl_vars['alertMail']['1']): ?> (<?php echo $this->_tpl_vars['alertMail']['1']; ?>
|
||||
)<?php endif; ?></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 'send'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
&n=send">Envoyés</a></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 'envoyer'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
&n=envoyer">Ecrire</a></li>
|
||||
</ul><br /><br />
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
&n=envoyer" method="post">
|
||||
<fieldset id="envoyer">
|
||||
<label for="amis">Amis :
|
||||
<select name="amis" id="amis">
|
||||
<option value="">--</option>
|
||||
<?php echo smarty_function_html_options(array('output' => $this->_tpl_vars['amis'],'values' => $this->_tpl_vars['amis']), $this);?>
|
||||
|
||||
</select>
|
||||
</label><br />
|
||||
<label for="destinataire">Destinataire(s) : <input type="text" class="text" name="destinataire" id="destinataire" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['destinataire'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
" /></label><br />
|
||||
<label for="objet">Objet : <input type="text" class="text" name="objet" id="objet" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['objet'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
" /></label><br />
|
||||
<textarea name="message" cols="40" rows="10"></textarea><br />
|
||||
<input type="submit" class="submit" value="OK" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-07 17:23:35
|
||||
<?php /* Smarty version 2.6.22, created on 2009-11-01 03:07:05
|
||||
compiled from cms/header.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'sprintf', 'cms/header.tpl', 27, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'cms/header.tpl', 18, false),array('modifier', 'sprintf', 'cms/header.tpl', 27, 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">
|
||||
|
|
@ -11,8 +11,10 @@ smarty_core_load_plugins(array('plugins' => array(array('modifier', 'sprintf', '
|
|||
|
||||
<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" />
|
||||
<link rel="stylesheet" href="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
templates/cms/default.css" type="text/css" media="all" />
|
||||
<link rel="shortcut icon" type="image/x-icon" href="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
favicon.ico" />
|
||||
<script src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
js/game.js" type="text/javascript"></script>
|
||||
</head>
|
||||
|
|
@ -21,7 +23,7 @@ js/game.js" type="text/javascript"></script>
|
|||
<div id="cornertop"></div>
|
||||
<div id="all">
|
||||
<div id="header">
|
||||
<div id="header_link"><span id="date"><?php echo $this->_tpl_vars['date']; ?>
|
||||
<div id="header_link"><span id="date"><?php echo ((is_array($_tmp=time())) ? $this->_run_mod_handler('date_format', true, $_tmp, "%A %e %B %Y %H:%M") : smarty_modifier_date_format($_tmp, "%A %e %B %Y %H:%M")); ?>
|
||||
</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']; ?>
|
||||
|
|
|
|||
|
|
@ -1,103 +1,86 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-03 22:35:19
|
||||
<?php /* Smarty version 2.6.22, created on 2009-10-31 20:36:07
|
||||
compiled from game/chantierspatial.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/chantierspatial.tpl', 28, false),array('modifier', 'separerNombres', 'game/chantierspatial.tpl', 30, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'countdown', 'game/chantierspatial.tpl', 6, false),array('modifier', 'ucfirst', 'game/chantierspatial.tpl', 16, false),array('modifier', 'separerNombres', 'game/chantierspatial.tpl', 25, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>File d'attente</h2>
|
||||
<div class="file">
|
||||
<h2>File d'attente</h2>
|
||||
<?php if ($this->_tpl_vars['file']): ?>
|
||||
<ul id="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['element']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['i'] != true): ?><span><strong>Prochain vaisseau </strong> : <em id="resten"></em>
|
||||
<script type="text/javascript">reste(<?php echo $this->_tpl_vars['element']['4']; ?>
|
||||
,'resten', true);</script></span><?php endif; ?>
|
||||
<span><?php echo $this->_tpl_vars['element']['1']; ?>
|
||||
<?php if ($this->_tpl_vars['djpass'] != true): ?><li><strong>Prochain vaisseau </strong> : <span class="countdown"><?php echo ((is_array($_tmp=$this->_tpl_vars['element']['4'])) ? $this->_run_mod_handler('countdown', true, $_tmp) : smarty_modifier_countdown($_tmp)); ?>
|
||||
</span></li><?php endif; ?>
|
||||
<li><?php echo $this->_tpl_vars['element']['1']; ?>
|
||||
<?php if ($this->_tpl_vars['element']['1'] > 1): ?><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['noms_pluriel'][$this->_tpl_vars['element']['0']]; ?>
|
||||
<?php else: ?><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['noms_sing'][$this->_tpl_vars['element']['0']]; ?>
|
||||
<?php endif; ?><?php if ($this->_tpl_vars['element']['2']): ?> (démolition)<?php endif; ?> - <em id="reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['element']['3']; ?>
|
||||
,'reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
', <?php if ($this->_tpl_vars['i'] != true): ?><?php $this->assign('i', true); ?>true<?php else: ?>false<?php endif; ?>);</script>
|
||||
- <a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
|
||||
<?php endif; ?><?php if ($this->_tpl_vars['element']['2']): ?> (démolition)<?php endif; ?> - <span<?php if (! $this->_tpl_vars['djpass']): ?> class="countdown"<?php $this->assign('djpass', true); ?><?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['element']['3'])) ? $this->_run_mod_handler('countdown', true, $_tmp) : smarty_modifier_countdown($_tmp)); ?>
|
||||
</span> - <a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['key']; ?>
|
||||
">Annuler un</a> - <a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['key']; ?>
|
||||
&n=<?php echo $this->_tpl_vars['element']['1']; ?>
|
||||
">Annuler tous</a></span>
|
||||
&s=<?php echo $this->_tpl_vars['element']['1']; ?>
|
||||
">Annuler tous</a></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php else: ?> <span>Aucun vaisseau dans la file d'attente</span><?php endif; ?>
|
||||
<br />
|
||||
</div>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<ul id="file">
|
||||
<li>Aucun vaisseau dans la file d'attente</li>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=vaisseaux">Arbre des technologies</a></h3><br />
|
||||
<h2>Chantier spatial</h2>
|
||||
<h2><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['8'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</h2>
|
||||
<?php if ($this->_tpl_vars['vaisseaux']): ?>
|
||||
<table class="construction">
|
||||
<div id="constructions">
|
||||
<?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&v=<?php echo $this->_tpl_vars['vaisseau']['id']; ?>
|
||||
#menu">
|
||||
<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['LANG'][$this->_tpl_vars['race']]['vaisseaux']['descriptions'][$this->_tpl_vars['vaisseau']['id']]; ?>
|
||||
</span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<strong><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['noms_sing'][$this->_tpl_vars['vaisseau']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
<dl>
|
||||
<dt><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['noms_sing'][$this->_tpl_vars['vaisseau']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
<?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 $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['vaisseau']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['vaisseau']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
unité<?php if ($this->_tpl_vars['vaisseau']['nombre'] > 1): ?>s<?php endif; ?>)<?php endif; ?></dt>
|
||||
<dd class="description"><a href="?p=description&v=<?php echo $this->_tpl_vars['vaisseau']['id']; ?>
|
||||
#body"><img src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
images/vaisseaux/<?php echo $this->_tpl_vars['vaisseau']['image']; ?>
|
||||
" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['noms_sing'][$this->_tpl_vars['vaisseau']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
" /></a><p><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['descriptions'][$this->_tpl_vars['vaisseau']['id']]; ?>
|
||||
</p></dd>
|
||||
<dd>
|
||||
<?php if ($this->_tpl_vars['vaisseau']['nombre'] > 0): ?><strong>Nombre actuel :</strong> <?php echo $this->_tpl_vars['vaisseau']['nombre']; ?>
|
||||
<br /><br /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['vaisseau']['nec_metal'] > 0): ?><strong>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
:</strong> <?php echo ((is_array($_tmp=$this->_tpl_vars['vaisseau']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<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 $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['vaisseau']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['vaisseau']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['vaisseau']['nec_cristal'] > 0): ?><strong>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
:</strong> <?php echo ((is_array($_tmp=$this->_tpl_vars['vaisseau']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<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 $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['vaisseau']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['vaisseau']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['vaisseau']['nec_hydrogene'] > 0): ?><strong>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
:</strong> <?php echo ((is_array($_tmp=$this->_tpl_vars['vaisseau']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<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']; ?>
|
||||
<strong>Temps de construction :</strong> <?php echo $this->_tpl_vars['vaisseau']['temps']; ?>
|
||||
<br />
|
||||
<br />
|
||||
<?php if ($this->_tpl_vars['vaisseau']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene || $this->_tpl_vars['vaisseau']['nec_cristal'] > $this->_tpl_vars['planete']->cristal || $this->_tpl_vars['vaisseau']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?><span class="lack">Ressources insuffisantes</span>
|
||||
<?php else: ?><form action="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['vaisseau']['id']; ?>
|
||||
" method="post">
|
||||
<fieldset>
|
||||
<input class="text" type="text" name="nombre" value="0" />
|
||||
<input class="submit" name="vais<?php echo $this->_tpl_vars['vaisseau']['id']; ?>
|
||||
" type="submit" value="OK" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
" method="post"><fieldset>
|
||||
<label for="vais<?php echo $this->_tpl_vars['vaisseau']['id']; ?>
|
||||
">Nombre : <input type="text" class="text" name="vais<?php echo $this->_tpl_vars['vaisseau']['id']; ?>
|
||||
" id="vais<?php echo $this->_tpl_vars['vaisseau']['id']; ?>
|
||||
" value="0" /></label>
|
||||
<input type="submit" class="submit" value="OK" />
|
||||
</fieldset></form><?php endif; ?>
|
||||
</dd>
|
||||
</dl>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</table>
|
||||
<?php else: ?><div class="error" style="color: red;">Aucun vaisseau à construire actuellement.</div><?php endif; ?>
|
||||
</div>
|
||||
<?php else: ?> <div id="erreur">Aucun vaisseau à construire actuellement.</div><?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;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,102 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-18 06:04:22
|
||||
compiled from game/diplomatie/encours.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/diplomatie/encours.tpl', 7, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/diplomatie/common.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Déclarations de guerre</h2>
|
||||
<?php if ($this->_tpl_vars['guerres']): ?>
|
||||
<ul>
|
||||
<?php $_from = $this->_tpl_vars['guerres']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['pacte']):
|
||||
?>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['pacte']['alliance_id']; ?>
|
||||
">[<?php echo $this->_tpl_vars['pacte']['tag']; ?>
|
||||
] <?php echo $this->_tpl_vars['pacte']['nom_alliance']; ?>
|
||||
</a> depuis le <?php echo ((is_array($_tmp=$this->_tpl_vars['pacte']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?>
|
||||
<?php if (( $this->_tpl_vars['planete']->id == $this->_tpl_vars['pacte']['id_alliance1'] && $this->_tpl_vars['pacte']['accepte'] != 2 ) || ( $this->_tpl_vars['planete']->id == $this->_tpl_vars['pacte']['id_alliance2'] && $this->_tpl_vars['pacte']['accepte'] == 2 )): ?><?php if ($this->_tpl_vars['pacte']['accepte'] == 0): ?> - Une demande de cesser le feu est en cours<?php else: ?><?php if ($this->_tpl_vars['planete']->permissions_alliance & 8): ?> - <em><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&o=new&c=<?php echo $this->_tpl_vars['pacte']['id']; ?>
|
||||
">Demander un cesser le feu</a></em><?php else: ?> - Nous pouvons demander le cesser le feu<?php endif; ?><?php endif; ?><?php elseif ($this->_tpl_vars['pacte']['accepte'] == 0): ?><?php if ($this->_tpl_vars['planete']->permissions_alliance & 8): ?> - <em><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['pacte']['id']; ?>
|
||||
">Accepter le cesser le feu</a></em> - <em><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&r=<?php echo $this->_tpl_vars['pacte']['id']; ?>
|
||||
">Refuser le cesser le feu</a></em><?php else: ?> - Nos adversaires nous propose un cesser le feu<?php endif; ?><?php else: ?> - Nous ne pouvons pas demander de cesser le feu.<?php endif; ?></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<h3>Aucune guerre n'est actuellement déclarée</h3>
|
||||
<?php endif; ?>
|
||||
<br />
|
||||
<h2>Pactes de non agression</h2>
|
||||
<?php if ($this->_tpl_vars['pnas']): ?>
|
||||
<ul>
|
||||
<?php $_from = $this->_tpl_vars['pnas']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['pacte']):
|
||||
?>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['pacte']['alliance_id']; ?>
|
||||
">[<?php echo $this->_tpl_vars['pacte']['tag']; ?>
|
||||
] <?php echo $this->_tpl_vars['pacte']['nom_alliance']; ?>
|
||||
</a> depuis le <?php echo ((is_array($_tmp=$this->_tpl_vars['pacte']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 8): ?> - <em><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&s=<?php echo $this->_tpl_vars['pacte']['id']; ?>
|
||||
">Abroger le pacte</a></em><?php endif; ?></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<h3>Aucun pacte de ce type n'est actuellement en vigueur</h3>
|
||||
<?php endif; ?>
|
||||
<br />
|
||||
<h2>Pactes commerciaux</h2>
|
||||
<?php if ($this->_tpl_vars['pcs']): ?>
|
||||
<ul>
|
||||
<?php $_from = $this->_tpl_vars['pcs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['pacte']):
|
||||
?>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['pacte']['alliance_id']; ?>
|
||||
">[<?php echo $this->_tpl_vars['pacte']['tag']; ?>
|
||||
] <?php echo $this->_tpl_vars['pacte']['nom_alliance']; ?>
|
||||
</a> depuis le <?php echo ((is_array($_tmp=$this->_tpl_vars['pacte']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 8): ?> - <em><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&s=<?php echo $this->_tpl_vars['pacte']['id']; ?>
|
||||
">Abroger le pacte</a></em><?php endif; ?></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<h3>Aucun pacte de ce type n'est actuellement en vigueur</h3>
|
||||
<?php endif; ?>
|
||||
<br />
|
||||
<h2>Pactes militaires</h2>
|
||||
<?php if ($this->_tpl_vars['pms']): ?>
|
||||
<ul>
|
||||
<?php $_from = $this->_tpl_vars['pms']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['pacte']):
|
||||
?>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['pacte']['alliance_id']; ?>
|
||||
">[<?php echo $this->_tpl_vars['pacte']['tag']; ?>
|
||||
] <?php echo $this->_tpl_vars['pacte']['nom_alliance']; ?>
|
||||
</a> depuis le <?php echo ((is_array($_tmp=$this->_tpl_vars['pacte']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 8): ?> - <em><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&s=<?php echo $this->_tpl_vars['pacte']['id']; ?>
|
||||
">Abroger le pacte</a></em><?php endif; ?></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<h3>Aucun pacte de ce type n'est actuellement en vigueur</h3>
|
||||
<?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);
|
||||
?>
|
||||
|
|
@ -1,94 +1,83 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-07 19:10:02
|
||||
<?php /* Smarty version 2.6.22, created on 2009-10-31 22:35:48
|
||||
compiled from game/batiments.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/batiments.tpl', 6, false),array('modifier', 'separerNombres', 'game/batiments.tpl', 26, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/batiments.tpl', 13, false),array('modifier', 'countdown', 'game/batiments.tpl', 13, false),array('modifier', 'separerNombres', '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);
|
||||
?>
|
||||
<h2>File d'attente</h2>
|
||||
<div class="file">
|
||||
<ul class="onglets">
|
||||
<li><a href="#" class="hilight">Tous</a></li>
|
||||
<li><a href="#">Mines/centrales</a></li>
|
||||
<li><a href="#">Civils</a></li>
|
||||
<li><a href="#">Militaires</a></li>
|
||||
</ul>
|
||||
|
||||
<h2>File d'attente</h2>
|
||||
<?php if ($this->_tpl_vars['file']): ?>
|
||||
<ul id="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['element']):
|
||||
?>
|
||||
<span><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing'][$this->_tpl_vars['element']['0']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['element']['1']): ?> (démolition)<?php endif; ?> - <em id="reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['element']['2']; ?>
|
||||
,'reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
', <?php if ($this->_tpl_vars['i'] != true): ?><?php $this->assign('i', true); ?>true<?php else: ?>false<?php endif; ?>);</script> - <a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
<li><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing'][$this->_tpl_vars['element']['0']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['element']['1']): ?> (démolition)<?php endif; ?> - <span<?php if (! $this->_tpl_vars['djpass']): ?> class="countdown"<?php $this->assign('djpass', true); ?><?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['element']['2'])) ? $this->_run_mod_handler('countdown', true, $_tmp) : smarty_modifier_countdown($_tmp)); ?>
|
||||
</span> - <a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['key']; ?>
|
||||
">Annuler</a></span>
|
||||
">Annuler</a></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php else: ?> <span>Aucun bâtiment dans la file d'attente</span><?php endif; ?>
|
||||
<br />
|
||||
</div>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<ul id="file">
|
||||
<li>Aucun bâtiment dans la file d'attente</li>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=batiments">Arbre des technologies</a></h3><br />
|
||||
<h2>Bâtiments</h2>
|
||||
<table class="construction">
|
||||
<h2>Bâtiments</h2>
|
||||
<div id="constructions">
|
||||
<?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&b=<?php echo $this->_tpl_vars['batiment']['id']; ?>
|
||||
#menu">
|
||||
<img width="130" height="132" src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
<dl>
|
||||
<dt><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing'][$this->_tpl_vars['batiment']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['niveau'] > 0): ?> (Niveau <?php echo $this->_tpl_vars['batiment']['niveau']; ?>
|
||||
)<?php endif; ?></dt>
|
||||
<dd class="description"><a href="?p=description&b=<?php echo $this->_tpl_vars['batiment']['id']; ?>
|
||||
#body"><img src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
images/batiments/<?php echo $this->_tpl_vars['batiment']['image']; ?>
|
||||
" alt="<?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing'][$this->_tpl_vars['batiment']['id']]; ?>
|
||||
" />
|
||||
<span><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['descriptions'][$this->_tpl_vars['batiment']['id']]; ?>
|
||||
</span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<strong><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing'][$this->_tpl_vars['batiment']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
<?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 $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
" /></a><p><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['descriptions'][$this->_tpl_vars['batiment']['id']]; ?>
|
||||
</p></dd>
|
||||
<dd>
|
||||
<?php if ($this->_tpl_vars['batiment']['niveau'] > 0): ?><strong>Niveau actuel :</strong> <?php echo $this->_tpl_vars['batiment']['niveau']; ?>
|
||||
<br /><br /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_metal'] > 0): ?><strong>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
:</strong> <span class="lack"><?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</span><br /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_cristal'] > 0): ?><strong>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
:</strong> <?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<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 $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_hydrogene'] > 0): ?><strong>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
:</strong> <?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<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 $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
Temps de construction : <?php echo $this->_tpl_vars['batiment']['temps']; ?>
|
||||
<br /><br />
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene || $this->_tpl_vars['batiment']['nec_cristal'] > $this->_tpl_vars['planete']->cristal || $this->_tpl_vars['batiment']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?><span class="lack" title="Rassemblez les ressources manquantes avant de lancer la construction de ce batiment">Ressources insuffisantes</span>
|
||||
<?php else: ?><?php if ($this->_tpl_vars['planete']->casesRest >= 1): ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
<strong>Temps de construction :</strong> <?php echo $this->_tpl_vars['batiment']['temps']; ?>
|
||||
<br />
|
||||
<br />
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene || $this->_tpl_vars['batiment']['nec_cristal'] > $this->_tpl_vars['planete']->cristal || $this->_tpl_vars['batiment']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?><span class="lack" title="Rassemblez les ressources manquantes avant de lancer la construction de ce batiment">Ressources insuffisantes</span>
|
||||
<?php else: ?><?php if ($this->_tpl_vars['planete']->casesRest >= 1): ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
&c=<?php echo $this->_tpl_vars['batiment']['id']; ?>
|
||||
">Construire</a><?php endif; ?><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['enfile'] !== false): ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['enfile'] !== false): ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['batiment']['enfile']; ?>
|
||||
">Arrêter</a><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['niveau'] > 0): ?> <a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['niveau'] > 0): ?> <a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
&d=<?php echo $this->_tpl_vars['batiment']['id']; ?>
|
||||
">Démolir un niveau</a><?php endif; ?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</dd>
|
||||
</dl>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</table>
|
||||
</div>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-01 22:25:56
|
||||
<?php /* Smarty version 2.6.22, created on 2009-10-31 22:34:57
|
||||
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()));
|
||||
|
|
|
|||
|
|
@ -0,0 +1,51 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-09-27 13:21:17
|
||||
compiled from game/alliance/nm_search.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'game/alliance/nm_search.tpl', 14, false),array('modifier', 'escape', 'game/alliance/nm_search.tpl', 14, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>[TAG] Alliance</th>
|
||||
<th>Race</th>
|
||||
<th>Etat inscriptions </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?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>
|
||||
<?php if ($this->_tpl_vars['recherche']['etat_inscription'] == 2): ?>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&signer=<?php echo $this->_tpl_vars['recherche']['id']; ?>
|
||||
">[<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['recherche']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
] <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nom_alliance'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</a></td>
|
||||
<td>En fondation</td>
|
||||
<td>En fondation</td>
|
||||
<?php else: ?>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['recherche']['id']; ?>
|
||||
">[<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['recherche']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
] <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nom_alliance'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</a></td>
|
||||
<td><img src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
images/carte/<?php echo $this->_tpl_vars['recherche']['race']; ?>
|
||||
.jpg" width="45" alt="<?php echo $this->_tpl_vars['recherche']['race']; ?>
|
||||
" /></td>
|
||||
<td><?php if ($this->_tpl_vars['recherche']['etat_inscription']): ?>Ouvertes<?php else: ?>Fermées<?php endif; ?></td>
|
||||
<?php endif; ?>
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-18 06:04:33
|
||||
compiled from game/diplomatie/nouveau.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);
|
||||
?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/diplomatie/common.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Nouvelle déclaration de guerre</h2>
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&o=new">
|
||||
<fieldset class="option">
|
||||
<label for="type">Type de pacte :</label> Déclaration de guerre<input type="hidden" name="type" value="0" /><br /><br />
|
||||
<label for="nom_alli">Nom de l'alliance cible :</label> <input type="text" class="text" name="nom_alli" id="nom_alli" maxlength="64" /><br /><br />
|
||||
<input class="submit" type="submit" value="Go" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<br /><br />
|
||||
<h2>Nouveau pacte</h2>
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&o=new">
|
||||
<fieldset class="option">
|
||||
<label for="type">Type de pacte :</label> <select name="type" id="type"><option value="1">Pacte de non agression</option><option value="2">Pacte commercial</option><option value="3">Pacte militaire</option></select><br /><br />
|
||||
<label for="nom_alli">Nom de l'alliance cible :</label> <input type="text" class="text" name="nom_alli" id="nom_alli" maxlength="64" /><br /><br />
|
||||
<input class="submit" type="submit" value="Go" />
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-18 06:08:17
|
||||
compiled from game/alliance/gestion_common.tpl */ ?>
|
||||
<ul class="onglets">
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 32): ?><li><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=membres"<?php if ($this->_tpl_vars['onglet'] == 'membres'): ?> class="hilight"<?php endif; ?>>Membres</a></li><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 128): ?><li><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=grades"<?php if ($this->_tpl_vars['onglet'] == 'grades'): ?> class="hilight"<?php endif; ?>>Grades</a></li><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 64): ?><li><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=wings"<?php if ($this->_tpl_vars['onglet'] == 'wings' || ( $this->_tpl_vars['onglet'] == 'alliance' && $this->_tpl_vars['planete']->wing )): ?> class="hilight"<?php endif; ?>>Wings</a></li><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 128 && ! $this->_tpl_vars['planete']->wing): ?><li><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=alliance"<?php if ($this->_tpl_vars['onglet'] == 'alliance'): ?> class="hilight"<?php endif; ?>>Alliance</a></li><?php endif; ?>
|
||||
</ul>
|
||||
|
|
@ -1,103 +1,88 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-03 22:26:42
|
||||
<?php /* Smarty version 2.6.22, created on 2009-10-30 14:42:54
|
||||
compiled from game/caserne.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/caserne.tpl', 15, false),array('modifier', 'separerNombres', 'game/caserne.tpl', 28, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'countdown', 'game/caserne.tpl', 6, false),array('modifier', 'ucfirst', 'game/caserne.tpl', 16, false),array('modifier', 'separerNombres', 'game/caserne.tpl', 25, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>File d'attente</h2>
|
||||
<div class="file">
|
||||
<h2>File d'attente</h2>
|
||||
<?php if ($this->_tpl_vars['file']): ?>
|
||||
<ul id="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['element']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['i'] != true): ?><span><strong>Prochaine unité </strong> : <em id="resten"></em>
|
||||
<script type="text/javascript">reste(<?php echo $this->_tpl_vars['element']['4']; ?>
|
||||
,'resten', true);</script></span><?php endif; ?>
|
||||
<span><?php echo $this->_tpl_vars['element']['1']; ?>
|
||||
<?php if ($this->_tpl_vars['djpass'] != true): ?><li><strong>Prochaine unité </strong> : <span class="countdown"><?php echo ((is_array($_tmp=$this->_tpl_vars['element']['4'])) ? $this->_run_mod_handler('countdown', true, $_tmp) : smarty_modifier_countdown($_tmp)); ?>
|
||||
</span></li><?php endif; ?>
|
||||
<li><?php echo $this->_tpl_vars['element']['1']; ?>
|
||||
<?php if ($this->_tpl_vars['element']['1'] > 1): ?><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['caserne']['noms_pluriel'][$this->_tpl_vars['element']['0']]; ?>
|
||||
<?php else: ?><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['caserne']['noms_sing'][$this->_tpl_vars['element']['0']]; ?>
|
||||
<?php endif; ?><?php if ($this->_tpl_vars['element']['2']): ?> (démolition)<?php endif; ?> - <em id="reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['element']['3']; ?>
|
||||
,'reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
', <?php if ($this->_tpl_vars['i'] != true): ?><?php $this->assign('i', true); ?>true<?php else: ?>false<?php endif; ?>);</script>
|
||||
- <a href="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
|
||||
<?php endif; ?><?php if ($this->_tpl_vars['element']['2']): ?> (démolition)<?php endif; ?> - <span<?php if (! $this->_tpl_vars['djpass']): ?> class="countdown"<?php $this->assign('djpass', true); ?><?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['element']['3'])) ? $this->_run_mod_handler('countdown', true, $_tmp) : smarty_modifier_countdown($_tmp)); ?>
|
||||
</span> - <a href="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
|
||||
&n=<?php echo $this->_tpl_vars['onglet']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['key']; ?>
|
||||
">Annuler un</a> - <a href="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
|
||||
&n=<?php echo $this->_tpl_vars['onglet']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['key']; ?>
|
||||
&n=<?php echo $this->_tpl_vars['element']['1']; ?>
|
||||
">Annuler tous</a></span>
|
||||
&s=<?php echo $this->_tpl_vars['element']['1']; ?>
|
||||
">Annuler tous</a></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php else: ?> <span>Aucune unité dans la file d'attente</span><?php endif; ?>
|
||||
<br />
|
||||
</div>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<ul id="file">
|
||||
<li>Aucune unité dans la file d'attente</li>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=caserne">Arbre des technologies</a></h3><br />
|
||||
<h2><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['9'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
<h2><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['9'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</h2>
|
||||
<?php if ($this->_tpl_vars['unites']): ?>
|
||||
<table class="construction">
|
||||
<div id="constructions">
|
||||
<?php $_from = $this->_tpl_vars['unites']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['unite']):
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="?p=description&c=<?php echo $this->_tpl_vars['unite']['id']; ?>
|
||||
#menu">
|
||||
<img width="130" height="132" src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
<dl>
|
||||
<dt><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['caserne']['noms_sing'][$this->_tpl_vars['unite']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nombre'] > 0): ?> (<?php echo $this->_tpl_vars['unite']['nombre']; ?>
|
||||
unité<?php if ($this->_tpl_vars['unite']['nombre'] > 1): ?>s<?php endif; ?>)<?php endif; ?></dt>
|
||||
<dd class="description"><a href="?p=description&c=<?php echo $this->_tpl_vars['unite']['id']; ?>
|
||||
#body"><img src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
images/caserne/<?php echo $this->_tpl_vars['unite']['image']; ?>
|
||||
" alt="Unité terrestre" />
|
||||
<span><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['caserne']['descriptions'][$this->_tpl_vars['unite']['id']]; ?>
|
||||
</span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<strong><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['caserne']['noms_sing'][$this->_tpl_vars['unite']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nombre'] > 0): ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nombre'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
unité<?php if ($this->_tpl_vars['unite']['nombre'] > 1): ?>s<?php endif; ?>)<?php endif; ?></strong><br /><br />
|
||||
<?php if ($this->_tpl_vars['unite']['nec_metal'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?><span class="lack">Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['caserne']['noms_sing'][$this->_tpl_vars['unite']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
" /></a><p><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['caserne']['descriptions'][$this->_tpl_vars['unite']['id']]; ?>
|
||||
</p></dd>
|
||||
<dd>
|
||||
<?php if ($this->_tpl_vars['unite']['nombre'] > 0): ?><strong>Nombre actuel :</strong> <?php echo $this->_tpl_vars['unite']['nombre']; ?>
|
||||
<br /><br /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_metal'] > 0): ?><strong>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
:</strong> <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_cristal'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_cristal'] > $this->_tpl_vars['planete']->cristal): ?><span class="lack">Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_cristal'] > 0): ?><strong>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
:</strong> <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_hydrogene'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene): ?><span class="lack">Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_hydrogene'] > 0): ?><strong>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
:</strong> <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
Temps d'entraînement : <?php echo $this->_tpl_vars['unite']['temps']; ?>
|
||||
<br /><br />
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['unite']['id']; ?>
|
||||
" method="post">
|
||||
<fieldset>
|
||||
<input class="text" type="text" name="nombre" value="0" />
|
||||
<input class="submit" type="submit" value="OK" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<strong>Temps de construction :</strong> <?php echo $this->_tpl_vars['unite']['temps']; ?>
|
||||
<br />
|
||||
<br />
|
||||
<?php if ($this->_tpl_vars['unite']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene || $this->_tpl_vars['unite']['nec_cristal'] > $this->_tpl_vars['planete']->cristal || $this->_tpl_vars['unite']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?><span class="lack">Ressources insuffisantes</span>
|
||||
<?php else: ?><form action="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
|
||||
&c=<?php echo $this->_tpl_vars['unite']['id']; ?>
|
||||
" method="post"><fieldset>
|
||||
<label for="cas<?php echo $this->_tpl_vars['unite']['id']; ?>
|
||||
">Nombre : <input type="text" class="text" name="cas<?php echo $this->_tpl_vars['unite']['id']; ?>
|
||||
" id="cas<?php echo $this->_tpl_vars['unite']['id']; ?>
|
||||
" value="0" /></label>
|
||||
<input type="submit" class="submit" value="OK" />
|
||||
</fieldset></form><?php endif; ?>
|
||||
</dd>
|
||||
</dl>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</table>
|
||||
<?php else: ?><div class="error" style="color: red;">Aucune unité à entraîner actuellement.</div><?php endif; ?>
|
||||
</div>
|
||||
<?php else: ?> <div id="erreur">Aucune unité à entraîner actuellement.</div><?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;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-01 17:16:22
|
||||
<?php /* Smarty version 2.6.22, created on 2009-09-27 10:37:43
|
||||
compiled from admin/mail_liste.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'admin/mail_liste.tpl', 18, false),array('modifier', 'truncate', 'admin/mail_liste.tpl', 18, false),array('modifier', 'date_format', 'admin/mail_liste.tpl', 19, false),)), $this); ?>
|
||||
|
|
|
|||
26
onyx2/modules/templates/compile/%%60^607^60713A13%%4.tpl.php
Normal file
26
onyx2/modules/templates/compile/%%60^607^60713A13%%4.tpl.php
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-28 22:36:06
|
||||
compiled from game/options/4.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);
|
||||
?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/options/common.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Recevoir des notifications par mail</h2>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=notif" method="post">
|
||||
<fieldset class="form">
|
||||
<label for="rapport">Nouveau rapport <input type="checkbox" name="rapport" id="rapport" value="1" class="text" <?php if ($this->_tpl_vars['planete']->envoyerMail & 1): ?>checked="checked" <?php endif; ?>/></label><br />
|
||||
<label for="mp">Nouveau message privé <input type="checkbox" name="mp" id="mp" value="1" class="text" <?php if ($this->_tpl_vars['planete']->envoyerMail & 2): ?>checked="checked" <?php endif; ?>/></label><br />
|
||||
<br /><br /><input class="submit" type="submit" name="notif" value="OK" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-28 22:36:10
|
||||
compiled from game/options/common.tpl */ ?>
|
||||
<ul class="onglets">
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=ext"<?php if ($this->_tpl_vars['onglet'] == 'ext'): ?> class="hilight"<?php endif; ?>>Extérieures</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=compte"<?php if ($this->_tpl_vars['onglet'] == 'compte'): ?> class="hilight"<?php endif; ?>>Compte</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=jeu"<?php if ($this->_tpl_vars['onglet'] == 'jeu'): ?> class="hilight"<?php endif; ?>>Jeu</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=notif"<?php if ($this->_tpl_vars['onglet'] == 'notif'): ?> class="hilight"<?php endif; ?>>Notifications</a></li>
|
||||
</ul>
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-30 12:59:16
|
||||
compiled from game/rename.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/rename.tpl', 7, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Abandonner la planète</h2>
|
||||
<?php if ($this->_tpl_vars['abandonH']): ?><b>Attention, cette action est irréversible ; vous perdrez tous les batiments, vaisseaux et unités présents sur cette planète, les flottes ayant une mision qui a pour origine votre planète se perdront dans l'espace.</b><br /><br />Si vous êtes sur de vouloir abandonner cette planète : <a href="?p=rename&a=<?php echo $this->_tpl_vars['abandonH']; ?>
|
||||
&i=<?php echo $this->_tpl_vars['planete']->id; ?>
|
||||
" onclick="return confirm('Êtes-vous sûr de vouloir abandonner cette planète ?');">cliquez sur ce lien</a>.<br /><br />
|
||||
<?php else: ?>Vous ne pouvez pas abandonner cette planète car vous n'en avez pas d'autre.<br /><br /><?php endif; ?>
|
||||
<h2>Renommer la planète</h2>
|
||||
<dl id="about">
|
||||
<dt><img src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
images/planetes/<?php echo $this->_tpl_vars['planete']->image; ?>
|
||||
.jpg" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->nom_planete)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
" /></dt>
|
||||
<dd>
|
||||
<form action="?p=rename" method="post"><fieldset class="form">
|
||||
<label for="rename">Nom de la planète (<?php echo $this->_tpl_vars['planete']->galaxie; ?>
|
||||
:<?php echo $this->_tpl_vars['planete']->ss; ?>
|
||||
:<?php echo $this->_tpl_vars['planete']->position; ?>
|
||||
) : <input type="text" class="text" name="planete" id="rename" maxlength="18" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->nom_planete)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
" /></label><br />
|
||||
<input type="submit" class="submit" value="OK" />
|
||||
</fieldset></form>
|
||||
</dd>
|
||||
</dl>
|
||||
<?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);
|
||||
?>
|
||||
|
|
@ -1,103 +0,0 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-01 21:18:29
|
||||
compiled from game/defenses.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/defenses.tpl', 27, false),array('modifier', 'separerNombres', 'game/defenses.tpl', 29, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>File d'attente</h2>
|
||||
<div class="file">
|
||||
<?php if ($this->_tpl_vars['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['element']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['i'] != true): ?><span><strong>Prochaine <?php if ($this->_tpl_vars['element']['5']): ?>unité<?php else: ?>défense<?php endif; ?> </strong> : <em id="resten"></em>
|
||||
<script type="text/javascript">reste(<?php echo $this->_tpl_vars['element']['4']; ?>
|
||||
,'resten', true);</script></span><?php endif; ?>
|
||||
<span><?php echo $this->_tpl_vars['element']['1']; ?>
|
||||
<?php if ($this->_tpl_vars['element']['1'] > 1): ?><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['terrestre']['noms_pluriel'][$this->_tpl_vars['element']['0']]; ?>
|
||||
<?php else: ?><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['terrestre']['noms_sing'][$this->_tpl_vars['element']['0']]; ?>
|
||||
<?php endif; ?><?php if ($this->_tpl_vars['element']['2']): ?> (démolition)<?php endif; ?> - <em id="reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['element']['3']; ?>
|
||||
,'reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
', <?php if ($this->_tpl_vars['i'] != true): ?><?php $this->assign('i', true); ?>true<?php else: ?>false<?php endif; ?>);</script>
|
||||
- <a href="<?php echo $this->_tpl_vars['menu']['defenses']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['key']; ?>
|
||||
">Annuler un</a> - <a href="<?php echo $this->_tpl_vars['menu']['defenses']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['key']; ?>
|
||||
&n=<?php echo $this->_tpl_vars['element']['1']; ?>
|
||||
">Annuler tous</a></span>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php else: ?> <span>Aucune défense dans la file d'attente</span><?php endif; ?>
|
||||
<br />
|
||||
</div>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=chantierterrestre">Arbre des technologies</a></h3><br />
|
||||
<h2>Chantier terrestre </h2>
|
||||
<table class="construction">
|
||||
<?php $_from = $this->_tpl_vars['unites']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['unite']):
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="?p=description&d=<?php echo $this->_tpl_vars['unite']['id']; ?>
|
||||
#menu">
|
||||
<img width="130" height="132" src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
images/terrestre/<?php echo $this->_tpl_vars['unite']['image']; ?>
|
||||
" alt="Déeacute;fense" />
|
||||
<span><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['terrestre']['descriptions'][$this->_tpl_vars['unite']['id']]; ?>
|
||||
</span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<strong><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['terrestre']['noms_sing'][$this->_tpl_vars['unite']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nombre'] > 0): ?> (<?php echo $this->_tpl_vars['unite']['nombre']; ?>
|
||||
unité<?php if ($this->_tpl_vars['unite']['nombre'] > 1): ?>s<?php endif; ?>)<?php endif; ?></strong><br /><br />
|
||||
<?php if ($this->_tpl_vars['unite']['nec_metal'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?><span class="lack">Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_cristal'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_cristal'] > $this->_tpl_vars['planete']->cristal): ?><span class="lack">Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_hydrogene'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene): ?><span class="lack">Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
: <?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
Temps de construction : <?php echo $this->_tpl_vars['unite']['temps']; ?>
|
||||
<br /><br />
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['defenses']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['unite']['id']; ?>
|
||||
" method="post">
|
||||
<fieldset>
|
||||
<input class="text" type="text" name="nombre" value="0" />
|
||||
<input class="submit" name="terr<?php echo $this->_tpl_vars['unite']['id']; ?>
|
||||
" type="submit" value="OK" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</table>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-07 19:22:06
|
||||
<?php /* Smarty version 2.6.22, created on 2009-11-01 01:32:07
|
||||
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', 19, false),array('modifier', 'upper', 'game/accueil.tpl', 27, false),array('modifier', 'ucfirst', 'game/accueil.tpl', 40, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/accueil.tpl', 5, false),array('modifier', 'escape', 'game/accueil.tpl', 8, false),array('modifier', 'separerNombres', 'game/accueil.tpl', 21, false),array('modifier', 'upper', 'game/accueil.tpl', 33, false),array('modifier', 'ucfirst', 'game/accueil.tpl', 46, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
|
|
@ -13,8 +13,8 @@ unset($_smarty_tpl_vars);
|
|||
?><?php if ($this->_tpl_vars['cmpt']['id_util'] != $this->_tpl_vars['planete']->id_user): ?><?php if ($this->_tpl_vars['key'] > 0): ?>, <?php endif; ?><?php echo $this->_tpl_vars['cmpt']['pseudo']; ?>
|
||||
<?php endif; ?><?php endforeach; endif; unset($_from); ?> durant cette session.</strong><br /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['planete']->mv < 0): ?><strong style="color: #FF0000;">Une demande de suppression de votre compte est en cours. Il sera supprimé sous 48h.<br />Si vous n'avez pas demandé la suppression de votre compte, <a href="<?php echo $this->_tpl_vars['link']['operateur']; ?>
|
||||
">contactez un opérateur</a> au plus vite.</strong><?php endif; ?>
|
||||
<em>Heure du serveur: <?php echo $this->_tpl_vars['datehb']; ?>
|
||||
">contactez un opérateur</a> au plus vite.</strong><br /><?php endif; ?>
|
||||
<em>Heure du serveur : <?php echo ((is_array($_tmp=time())) ? $this->_run_mod_handler('date_format', true, $_tmp, "/%a %d %b %Y/%H%M %S") : smarty_modifier_date_format($_tmp, "/%a %d %b %Y/%H%M %S")); ?>
|
||||
</em>
|
||||
<?php $_from = $this->_tpl_vars['radar']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['flottes']):
|
||||
|
|
@ -47,23 +47,39 @@ unset($_smarty_tpl_vars);
|
|||
"><?php echo $this->_tpl_vars['flotte']['arrive_time']; ?>
|
||||
</span><script type="text/javascript">reste(<?php echo $this->_tpl_vars['flotte']['arrive_time']; ?>
|
||||
,'reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
', true);</script></h4>
|
||||
<?php elseif ($this->_tpl_vars['flotte']['mission'] == 6 || $this->_tpl_vars['flotte']['mission'] == 7): ?><h4 class="attaque">stationnement/don: Une flotte en provenance de <?php echo ((is_array($_tmp=$this->_tpl_vars['flotte']['nom_planete'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
[<?php echo $this->_tpl_vars['flotte']['start_galaxie']; ?>
|
||||
:<?php echo $this->_tpl_vars['flotte']['start_ss']; ?>
|
||||
:<?php echo $this->_tpl_vars['flotte']['start_position']; ?>
|
||||
] atteint la planète <?php echo ((is_array($_tmp=$this->_tpl_vars['flottes']['1']['0'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
[<?php echo $this->_tpl_vars['flottes']['1']['1']; ?>
|
||||
:<?php echo $this->_tpl_vars['flottes']['1']['2']; ?>
|
||||
:<?php echo $this->_tpl_vars['flottes']['1']['3']; ?>
|
||||
] dans <span id="reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
"><?php echo $this->_tpl_vars['flotte']['arrive_time']; ?>
|
||||
</span><script type="text/javascript">reste(<?php echo $this->_tpl_vars['flotte']['arrive_time']; ?>
|
||||
,'reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
', true);</script></h4>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php if ($this->_tpl_vars['alertMail'] >= 2): ?><h4>messagerie: <a href="?p=messagerie"><?php echo $this->_tpl_vars['alertMail']; ?>
|
||||
messages non lu</a></h4>
|
||||
<?php elseif ($this->_tpl_vars['alertMail'] >= 1): ?><h4>messagerie: <a href="?p=messagerie"><?php echo $this->_tpl_vars['alertMail']; ?>
|
||||
message non lu</a></h4>
|
||||
<?php if ($this->_tpl_vars['alertMail']['0'] + $this->_tpl_vars['alertMail']['1'] >= 1): ?><h4>messagerie: <?php if ($this->_tpl_vars['alertMail']['0']): ?><a href="?p=messagerie"><?php echo $this->_tpl_vars['alertMail']['0']; ?>
|
||||
message<?php if ($this->_tpl_vars['alertMail']['0'] > 1): ?>s<?php endif; ?><?php endif; ?><?php if ($this->_tpl_vars['alertMail']['0'] != 0 && $this->_tpl_vars['alertMail']['1'] != 0): ?></a> et <?php else: ?> non lu</a><?php endif; ?><?php if ($this->_tpl_vars['alertMail']['1']): ?><a href="?p=messagerie&n=rapports"><?php echo $this->_tpl_vars['alertMail']['1']; ?>
|
||||
rapport<?php if ($this->_tpl_vars['alertMail']['1'] > 1): ?>s<?php endif; ?> non lu</a><?php endif; ?></h4>
|
||||
<?php endif; ?>
|
||||
<h3><a href="?p=rename"><?php if (! $this->_tpl_vars['planete']->nom_planete): ?>Sans nom<?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->nom_planete)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</a> (<span><?php echo $this->_tpl_vars['planete']->pseudo; ?>
|
||||
</span>)</h3>
|
||||
<img src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
<?php if (SURFACE == 'planete'): ?><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" />
|
||||
<?php else: ?><img src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
images/asteroides/<?php echo $this->_tpl_vars['planete']->image; ?>
|
||||
.jpg" width="200" height="200" alt="Astéroïde" />
|
||||
<?php endif; ?>
|
||||
<h2>Infos</h2>
|
||||
<?php if (SURFACE == 'planete'): ?><h4>Diamètre: <?php echo ((is_array($_tmp=$this->_tpl_vars['diametre'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<?php if (SURFACE == 'planete'): ?><h4>Diamètre: <?php echo ((is_array($_tmp=$this->_tpl_vars['diametre'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
km <ins>(<?php echo $this->_tpl_vars['planete']->casesRest; ?>
|
||||
case<?php if ($this->_tpl_vars['planete']->casesRest > 1): ?>s<?php endif; ?> disponible<?php if ($this->_tpl_vars['planete']->casesRest > 1): ?>s<?php endif; ?> sur <?php echo $this->_tpl_vars['planete']->cases; ?>
|
||||
)</ins></h4><?php endif; ?>
|
||||
|
|
@ -76,15 +92,22 @@ images/planetes/<?php echo $this->_tpl_vars['planete']->image; ?>
|
|||
.<?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>population: <?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->population)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_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>crédits: <?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->credits)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</h4>
|
||||
<?php else: ?>
|
||||
<h4>nombre de membres: <?php echo ((is_array($_tmp=123456789)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</h4>
|
||||
<h4>fondateur: <?php echo $this->_tpl_vars['planete']->fondateur->pseudo; ?>
|
||||
</h4>
|
||||
<h4>crédits: <?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->credits_alliance)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</h4>
|
||||
<?php endif; ?>
|
||||
<h4>Classement: <a href="?p=classement&j=<?php echo $this->_tpl_vars['planete']->id; ?>
|
||||
&c=<?php echo $this->_tpl_vars['planete']->place_points; ?>
|
||||
#moi"><?php if ($this->_tpl_vars['planete']->place_points == '0'): ?>non classé<?php else: ?><?php echo $this->_tpl_vars['planete']->place_points; ?>
|
||||
<?php if ($this->_tpl_vars['planete']->place_points == '1'): ?>er<?php else: ?>ème<?php endif; ?><?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['points'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['planete']->place_points == '1'): ?>er<?php else: ?>ème<?php endif; ?><?php endif; ?> (<?php echo ((is_array($_tmp=$this->_tpl_vars['points'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
points)</a></h4>
|
||||
<?php if ($this->_tpl_vars['alliance']): ?><h4>Alliance: <a href="?p=alliances">[<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
|
||||
] <?php echo $this->_tpl_vars['alliance']['nom']; ?>
|
||||
|
|
@ -94,11 +117,11 @@ images/planetes/<?php echo $this->_tpl_vars['planete']->image; ?>
|
|||
<?php if ($this->_tpl_vars['fileBat']): ?>
|
||||
<h4>
|
||||
<?php $_from = $this->_tpl_vars['fileBat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['element']):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['element']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['i'] == true): ?> - <?php else: ?><?php $this->assign('i', true); ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
<?php if ($this->_tpl_vars['key'] < 3): ?><?php if ($this->_tpl_vars['i'] == true): ?> - <?php else: ?><?php $this->assign('i', true); ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
">Bâtiments</a> : <?php endif; ?><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing'][$this->_tpl_vars['element']['0']]; ?>
|
||||
<?php if ($this->_tpl_vars['element']['1']): ?> (démolition)<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['element']['1']): ?> (démolition)<?php endif; ?><?php elseif ($this->_tpl_vars['key'] == 3): ?>...<?php endif; ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</h4>
|
||||
<?php endif; ?>
|
||||
|
|
@ -156,6 +179,10 @@ images/planetes/<?php echo $this->_tpl_vars['planete']->image; ?>
|
|||
<?php endforeach; endif; unset($_from); ?>
|
||||
</h4>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<h2>Infos de l'alliance</h2>
|
||||
<?php echo $this->_tpl_vars['planete']->details['texte_interne']; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
|
|
|
|||
|
|
@ -0,0 +1,64 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-28 18:20:47
|
||||
compiled from admin/bdd.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'admin/bdd.tpl', 4, 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);
|
||||
?>
|
||||
<?php if ($_POST['req'] || $_GET['req']): ?>
|
||||
<h2>Réponse de la base de données - <a href="#req">Aller à la requête</a></h2>
|
||||
<h3><strong>Requête :</strong> <em><?php echo ((is_array($_tmp=$_POST['req'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</em></h3>
|
||||
<?php if ($this->_tpl_vars['affected']): ?>
|
||||
<h3><strong>Enregistrement(s) affecté(s) :</strong> <?php echo $this->_tpl_vars['affected']; ?>
|
||||
</h3>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['erreur']): ?>
|
||||
<h3 style="color: #FF0000;"><strong>Erreur :</strong> <em><?php echo $this->_tpl_vars['erreur']; ?>
|
||||
</em></h3>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['reponses']): ?>
|
||||
<div id="gestion">
|
||||
<table style="empty-cells:show;">
|
||||
<tr>
|
||||
<?php $_from = $this->_tpl_vars['reponses']['0']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['reponse']):
|
||||
?>
|
||||
<th><?php echo $this->_tpl_vars['key']; ?>
|
||||
</th>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tr>
|
||||
<?php $_from = $this->_tpl_vars['reponses']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['reponse']):
|
||||
?>
|
||||
<tr>
|
||||
<?php $_from = $this->_tpl_vars['reponse']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['ligne']):
|
||||
?>
|
||||
<td><?php if ($this->_tpl_vars['lien']): ?><a href="?p=bdd&req=<?php echo $this->_tpl_vars['lien']; ?>
|
||||
<?php echo $this->_tpl_vars['ligne']; ?>
|
||||
"><?php endif; ?><?php echo $this->_tpl_vars['ligne']; ?>
|
||||
</td>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</table>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<h2>Administration de la base de données</h2>
|
||||
<form action="?p=bdd" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="req">Requête :</label><br /><textarea name="req" id="req" rows="5" cols="15" tabindex="2"><?php if ($_GET['req']): ?><?php echo $_GET['req']; ?>
|
||||
<?php endif; ?><?php echo ((is_array($_tmp=$_POST['req'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</textarea><br />
|
||||
<input type="submit" class="submit" value="GO" tabindex="3" />
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-28 22:35:42
|
||||
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>
|
||||
<div id="erreur">Le chat est désactivé pour le moment</div>
|
||||
<!--
|
||||
<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);
|
||||
?>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-01 20:55:32
|
||||
<?php /* Smarty version 2.6.22, created on 2009-10-31 15:23:33
|
||||
compiled from game/ressources.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/ressources.tpl', 5, false),array('modifier', 'separernombres', 'game/ressources.tpl', 7, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/ressources.tpl', 5, false),array('modifier', 'separerNombres', 'game/ressources.tpl', 7, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
|
|
@ -9,7 +9,7 @@ unset($_smarty_tpl_vars);
|
|||
?>
|
||||
<h2>Ressources : Tableau récapitulatif des productions par heure</h2>
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['ressources']; ?>
|
||||
">
|
||||
"><fieldset id="ressources">
|
||||
<table>
|
||||
<thead><tr><th> </th><th>Coefficient</th><th><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</th><th><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
|
|
@ -19,48 +19,48 @@ unset($_smarty_tpl_vars);
|
|||
<tbody>
|
||||
<tr><td><?php echo $this->_tpl_vars['planete']->batiments['0']; ?>
|
||||
<?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['0'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</td><td><input type="text" name="coeff_metal" value="<?php echo $this->_tpl_vars['ressources_coef']['0']; ?>
|
||||
" 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><td><input type="text" name="coeff_metal" class="text" value="<?php echo $this->_tpl_vars['ressources_coef']['0']; ?>
|
||||
" maxlength="3" size="3" />%</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['0'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_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) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td></tr>
|
||||
<?php if ($this->_tpl_vars['planete']->batiments['1']): ?><tr><td><?php echo $this->_tpl_vars['planete']->batiments['1']; ?>
|
||||
<?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['1'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</td><td><input type="text" name="coeff_cristal" value="<?php echo $this->_tpl_vars['ressources_coef']['1']; ?>
|
||||
" 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><td><input type="text" name="coeff_cristal" class="text" value="<?php echo $this->_tpl_vars['ressources_coef']['1']; ?>
|
||||
" 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) : smarty_modifier_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) : smarty_modifier_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 ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['2'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</td><td><input type="text" name="coeff_hydrogene" value="<?php echo $this->_tpl_vars['ressources_coef']['2']; ?>
|
||||
" 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><td><input type="text" name="coeff_hydrogene" class="text" value="<?php echo $this->_tpl_vars['ressources_coef']['2']; ?>
|
||||
" 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) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td><td class="lack">-<?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_conso']['2'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td></tr><?php endif; ?>
|
||||
<tr><td><?php echo $this->_tpl_vars['planete']->batiments['3']; ?>
|
||||
<?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['3'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</td><td><input type="text" name="coeff_cs" value="<?php echo $this->_tpl_vars['ressources_coef']['3']; ?>
|
||||
" 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><td><input type="text" name="coeff_cs" class="text" value="<?php echo $this->_tpl_vars['ressources_coef']['3']; ?>
|
||||
" 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) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td></tr>
|
||||
<?php if ($this->_tpl_vars['planete']->batiments['4']): ?><tr><td><?php echo $this->_tpl_vars['planete']->batiments['4']; ?>
|
||||
<?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['4'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</td><td><input type="text" name="coeff_ce" value="<?php echo $this->_tpl_vars['ressources_coef']['4']; ?>
|
||||
" 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><td><input type="text" name="coeff_ce" class="text" value="<?php echo $this->_tpl_vars['ressources_coef']['4']; ?>
|
||||
" maxlength="3" size="3" />%</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) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['4'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td></tr><?php endif; ?>
|
||||
<tr><td><?php echo $this->_tpl_vars['planete']->batiments['10']; ?>
|
||||
<?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['10'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</td><td>-</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_silo']['1'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
|
||||
</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_silo']['1'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
|
||||
</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_silo']['1'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
|
||||
</td><td>-</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_silo']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_silo']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_silo']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td><td>0</td></tr>
|
||||
<tr><td><strong>Total</strong></td><td>-</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['0'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
|
||||
</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['1'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
|
||||
</td><td><?php if ($this->_tpl_vars['planete']->batiments['3']): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_toto']['0'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
|
||||
<?php else: ?>0<?php endif; ?></td><td<?php if ($this->_tpl_vars['planete']->energieConso >= $this->_tpl_vars['planete']->energie): ?> class="lack"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_conso']['4'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
|
||||
<tr><th>Total</th><td>-</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['0'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_prod']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td><td><?php if ($this->_tpl_vars['planete']->batiments['3']): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_toto']['0'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<?php else: ?>0<?php endif; ?></td><td<?php if ($this->_tpl_vars['planete']->energieConso >= $this->_tpl_vars['planete']->energie): ?> class="lack"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['ressources_conso']['4'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<input type="submit" class="submit" value="GO" /><br /><br />
|
||||
</form>
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</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;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-07 17:23:35
|
||||
<?php /* Smarty version 2.6.22, created on 2009-11-01 01:29:56
|
||||
compiled from cms/mini.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'sprintf', 'cms/mini.tpl', 26, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'sprintf', 'cms/mini.tpl', 21, false),)), $this); ?>
|
||||
<?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;
|
||||
|
|
@ -20,12 +20,8 @@ unset($_smarty_tpl_vars);
|
|||
</span>
|
||||
<span>
|
||||
<label for="galaxie"><?php echo $this->_tpl_vars['LANG']['mod_login_galaxie']; ?>
|
||||
:</label>
|
||||
<select name="galaxie" id="galaxie">
|
||||
<optgroup label="Galaxies standards">
|
||||
<option> Alpha</option>
|
||||
</optgroup>
|
||||
</select>
|
||||
:</label> <?php echo $this->_tpl_vars['serveur_name']; ?>
|
||||
|
||||
<a href="<?php echo $this->_tpl_vars['link']['oubliemdp']; ?>
|
||||
" tabindex="4"><?php echo $this->_tpl_vars['LANG']['mod_login_forgotMdp']; ?>
|
||||
</a>
|
||||
|
|
@ -38,7 +34,8 @@ unset($_smarty_tpl_vars);
|
|||
<div id="inscription" class="block"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG']['mod_inscription_texte'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, $this->_tpl_vars['link']['inscription'], $this->_tpl_vars['link']['inscription'], $this->_tpl_vars['link']['inscription']) : smarty_modifier_sprintf($_tmp, $this->_tpl_vars['link']['inscription'], $this->_tpl_vars['link']['inscription'], $this->_tpl_vars['link']['inscription'])); ?>
|
||||
</div>
|
||||
<div id="dernierminute" class="block">
|
||||
<a href="http://www.halo.fr/" onclick="window.open(this.href); return false;"><img src="images/hfr.jpg" alt="Halo.fr" /></a>
|
||||
<a href="http://www.halo.fr/" onclick="window.open(this.href); return false;"><img src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
images/hfr.jpg" alt="Halo.fr" /></a>
|
||||
</div>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/footer.tpl', 'smarty_include_vars' => array()));
|
||||
|
|
|
|||
|
|
@ -0,0 +1,94 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-18 06:04:30
|
||||
compiled from game/diplomatie/archives.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/diplomatie/archives.tpl', 7, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/diplomatie/common.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Déclarations de guerre</h2>
|
||||
<?php if ($this->_tpl_vars['guerres']): ?>
|
||||
<ul>
|
||||
<?php $_from = $this->_tpl_vars['guerres']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['pacte']):
|
||||
?>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['pacte']['alliance_id']; ?>
|
||||
">[<?php echo $this->_tpl_vars['pacte']['tag']; ?>
|
||||
] <?php echo $this->_tpl_vars['pacte']['nom_alliance']; ?>
|
||||
</a> déclarée le <?php echo ((is_array($_tmp=$this->_tpl_vars['pacte']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?>
|
||||
et terminiée le <?php echo ((is_array($_tmp=$this->_tpl_vars['pacte']['time_fin'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?>
|
||||
</li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<h3>Aucune guerre n'a été déclarée</h3>
|
||||
<?php endif; ?>
|
||||
<br />
|
||||
<h2>Pactes de non agression</h2>
|
||||
<?php if ($this->_tpl_vars['pnas']): ?>
|
||||
<ul>
|
||||
<?php $_from = $this->_tpl_vars['pnas']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['pacte']):
|
||||
?>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['pacte']['alliance_id']; ?>
|
||||
">[<?php echo $this->_tpl_vars['pacte']['tag']; ?>
|
||||
] <?php echo $this->_tpl_vars['pacte']['nom_alliance']; ?>
|
||||
</a> créé le <?php echo ((is_array($_tmp=$this->_tpl_vars['pacte']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?>
|
||||
et abrogé le <?php echo ((is_array($_tmp=$this->_tpl_vars['pacte']['time_fin'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?>
|
||||
</li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<h3>Aucun pacte de ce type n'a encore été signé</h3>
|
||||
<?php endif; ?>
|
||||
<br />
|
||||
<h2>Pactes commerciaux</h2>
|
||||
<?php if ($this->_tpl_vars['pcs']): ?>
|
||||
<ul>
|
||||
<?php $_from = $this->_tpl_vars['pcs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['pacte']):
|
||||
?>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['pacte']['alliance_id']; ?>
|
||||
">[<?php echo $this->_tpl_vars['pacte']['tag']; ?>
|
||||
] <?php echo $this->_tpl_vars['pacte']['nom_alliance']; ?>
|
||||
</a> créé le <?php echo ((is_array($_tmp=$this->_tpl_vars['pacte']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?>
|
||||
et abrogé le <?php echo ((is_array($_tmp=$this->_tpl_vars['pacte']['time_fin'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?>
|
||||
</li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<h3>Aucun pacte de ce type n'a encore été signé</h3>
|
||||
<?php endif; ?>
|
||||
<br />
|
||||
<h2>Pactes militaires</h2>
|
||||
<?php if ($this->_tpl_vars['pms']): ?>
|
||||
<ul>
|
||||
<?php $_from = $this->_tpl_vars['pms']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['pacte']):
|
||||
?>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['pacte']['alliance_id']; ?>
|
||||
">[<?php echo $this->_tpl_vars['pacte']['tag']; ?>
|
||||
] <?php echo $this->_tpl_vars['pacte']['nom_alliance']; ?>
|
||||
</a> créé le <?php echo ((is_array($_tmp=$this->_tpl_vars['pacte']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?>
|
||||
et abrogé le <?php echo ((is_array($_tmp=$this->_tpl_vars['pacte']['time_fin'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?>
|
||||
</li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<h3>Aucun pacte de ce type n'a encore été signé</h3>
|
||||
<?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);
|
||||
?>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-01 17:59:03
|
||||
<?php /* Smarty version 2.6.22, created on 2009-09-26 01:18:14
|
||||
compiled from admin/bandeau.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'admin/bandeau.tpl', 14, false),)), $this); ?>
|
||||
|
|
@ -39,10 +39,10 @@ unset($_smarty_tpl_vars);
|
|||
" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="texte">Texte :</label> <input type="text" name="texte" id="texte" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['mod']['texte'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
" size="40" maxlength="255" /><br /><br />
|
||||
" size="40" maxlength="255" tabindex="1" /><br /><br />
|
||||
<label for="color">Couleur :</label> <input type="text" name="color" id="color" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['mod']['color'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
" size="25" maxlength="255" /><br /><br />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
" size="25" maxlength="255" tabindex="2" /><br /><br />
|
||||
<input type="submit" class="submit" value="GO" tabindex="3" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<h2>Gestion du cache</h2>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,100 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-18 06:07:16
|
||||
compiled from game/alliance/gestion_alliance.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/alliance/gestion_alliance.tpl', 17, 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);
|
||||
?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/alliance/gestion_common.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Designation de l'alliance</h2><br />
|
||||
<label>Nom de l'alliance :</label> <?php echo $this->_tpl_vars['planete']->nom_alliance; ?>
|
||||
<br />
|
||||
<label>Tag de l'alliance :</label> <?php echo $this->_tpl_vars['planete']->tag; ?>
|
||||
<br />
|
||||
<label>Race de l'alliance :</label> <?php echo $this->_tpl_vars['planete']->race; ?>
|
||||
<br /><br />
|
||||
<em>Pour changer le tag ou le nom de votre alliance, veuillez contacter un opérateur.</em><br /><br /><br />
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=alliance">
|
||||
<fieldset class="options">
|
||||
<label for="asteroide_name">Nom de l'astéroïde : <input type="text" class="text" name="asteroide_name" id="asteroide_name" value="<?php echo $this->_tpl_vars['planete']->nom_asteroide; ?>
|
||||
" maxlength="32" /></label><br /><br />
|
||||
<input type="submit" class="submit" value="Go" /><br /><br />
|
||||
</fieldset>
|
||||
</form>
|
||||
<h2>Communication et défense de l'alliance</h2><br />
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=alliance">
|
||||
<fieldset class="options">
|
||||
<label for="texte_interne">Message interne :<br /><textarea name="texte_interne" id="texte_interne"><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->details['texte_interne'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</textarea></label><br /><br />
|
||||
<label for="defcon">Defcon : <select name="defcon" id="defcon"><option value="1"<?php if ($this->_tpl_vars['planete']->details['defcon'] == 1): ?> selected="selected"<?php endif; ?>>Niveau 1</option><option value="2"<?php if ($this->_tpl_vars['planete']->details['defcon'] == 2): ?> selected="selected"<?php endif; ?>>Niveau 2</option><option value="3"<?php if ($this->_tpl_vars['planete']->details['defcon'] == 3): ?> selected="selected"<?php endif; ?>>Niveau 3</option><option value="4"<?php if ($this->_tpl_vars['planete']->details['defcon'] == 4): ?> selected="selected"<?php endif; ?>>Niveau 4</option><option value="5"<?php if ($this->_tpl_vars['planete']->details['defcon'] == 5): ?> selected="selected"<?php endif; ?>>Niveau 5</option></select></label><br />
|
||||
<label for="defcon_txt"><textarea name="defcon_txt" id="defcon_txt"><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->details['defcon_txt'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</textarea></label><br /><br />
|
||||
<input type="submit" class="submit" value="Go" /><br /><br />
|
||||
</fieldset>
|
||||
</form>
|
||||
<h2>Paramètres des moyens de communication</h2><br />
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=alliance">
|
||||
<fieldset class="options">
|
||||
<label for="url_forum">URL du forum de l'alliance : <input name="url_forum" id="url_forum" maxlength="64" class="text" type="text" value="<?php echo $this->_tpl_vars['planete']->url_forum; ?>
|
||||
" /></label><br />
|
||||
<br />
|
||||
<label for="url_chat">Adresse sur serveur IRC de l'alliance : <input name="url_chat" id="url_chat" maxlength="64" class="text" type="text" value="<?php echo $this->_tpl_vars['planete']->url_chat; ?>
|
||||
" /></label><br />
|
||||
<label for="port_chat">Port du serveur IRC : <input name="port_chat" id="port_chat" maxlength="64" class="text" type="text" value="<?php echo $this->_tpl_vars['planete']->details['port_chat']; ?>
|
||||
" /></label><br />
|
||||
<label for="pass_chat">Mot de passe du serveur sur le serveur : <input name="pass_chat" id="pass_chat" maxlength="64" class="text" type="password" value="<?php echo $this->_tpl_vars['planete']->details['pass_chat']; ?>
|
||||
" /></label><br />
|
||||
<label for="chan_chat">Channel de l'alliance sur le serveur : <input name="chan_chat" id="chan_chat" maxlength="64" class="text" type="text" value="<?php echo $this->_tpl_vars['planete']->details['chan_chat']; ?>
|
||||
" /></label><br />
|
||||
<em>Laissez l'adresse du serveur IRC vide pour utiliser le chat par défaut du jeu.</em><br /><br /><br />
|
||||
<input type="submit" class="submit" value="Go" /><br /><br />
|
||||
</fieldset>
|
||||
</form>
|
||||
<h2>Réglages des inscriptions</h2><br />
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=alliance">
|
||||
<fieldset class="options">
|
||||
<label for="etatinscriptions"><input type="checkbox" name="etatinscriptions" id="etatinscriptions" <?php if ($this->_tpl_vars['planete']->details['etat_inscription']): ?> checked="checked"<?php endif; ?> /> Ouvrir les inscriptions</label><br /><br />
|
||||
<label for="message_inscription">Message affiché pour les inscriptions (activées ou désactivées) :<br /><textarea name="message_inscription" id="message_inscription"><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->details['message_inscription'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</textarea></label><br /><br />
|
||||
<br />
|
||||
<label for="presentation">Texte de présentation de l'alliance :<br /><textarea name="presentation" id="presentation"><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->details['presentation'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</textarea></label><br /><br />
|
||||
<br />
|
||||
<input type="submit" class="submit" value="Go" /><br /><br />
|
||||
</fieldset>
|
||||
</form>
|
||||
<?php if ($this->_tpl_vars['planete']->fondateur == $this->_tpl_vars['planete']->id_user): ?>
|
||||
<h2>Changer de fondateur</h2><br />
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=alliance">
|
||||
<fieldset class="options">
|
||||
Vous êtres actuellement le fondateur de l'alliance.<br /><br />
|
||||
<label for="newfondateur">Nouveau fondateur :</label> <select id="newfondateur" name="newfondateur">
|
||||
<?php $_from = $this->_tpl_vars['membres']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['membre']):
|
||||
?>
|
||||
<option value="<?php echo $this->_tpl_vars['membre']['id']; ?>
|
||||
"><?php echo $this->_tpl_vars['membre']['pseudo']; ?>
|
||||
</option>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</select>
|
||||
<br />
|
||||
<input type="submit" class="submit" value="Go" /><br /><br />
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-26 20:07:35
|
||||
compiled from admin/print_choixU.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2><?php echo $this->_tpl_vars['titre']; ?>
|
||||
</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<form action="admin.php" method="get">
|
||||
<fieldset class="options" style="margin: 0;">
|
||||
<label for="iduser">ID :</label> <input type="text" value="" id="iduser" name="id" tabindex="1" /><br />
|
||||
<input type="hidden" value="<?php echo $this->_tpl_vars['linkpage']; ?>
|
||||
" name="p" /><br />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form action="admin.php" method="get">
|
||||
<fieldset class="options" style="margin: 0;">
|
||||
<label for="nameU">Nom :</label> <input type="text" id="nameU" name="name" tabindex="2" /><br />
|
||||
<input type="hidden" value="<?php echo $this->_tpl_vars['linkpage']; ?>
|
||||
" name="p" /><br />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,85 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 16:59:59
|
||||
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', 31, 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 id="navigation">
|
||||
<label for="amas">Amas : <input type="text" class="text" name="amas" id="amas" value="<?php echo $this->_tpl_vars['position']['0']; ?>
|
||||
" /></label>
|
||||
<label for="systeme">Système solaire : <input type="text" class="text" name="systeme" id="systeme" value="<?php echo $this->_tpl_vars['position']['1']; ?>
|
||||
" /></label>
|
||||
<input type="hidden" value="carte" name="p" /><input type="submit" class="submit" value="GO" /><br />
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
|
||||
&galaxie=<?php echo $this->_tpl_vars['position']['4']; ?>
|
||||
&ss=<?php echo $this->_tpl_vars['position']['5']; ?>
|
||||
" class="button" title="système solaire précédent">précédent</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
|
||||
&galaxie=<?php echo $this->_tpl_vars['position']['2']; ?>
|
||||
&ss=<?php echo $this->_tpl_vars['position']['3']; ?>
|
||||
" class="button" title="système solaire suivant">suivant</a>
|
||||
</fieldset></form>
|
||||
|
||||
<h2>Système Solaire</h2>
|
||||
<table id="carte">
|
||||
<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 <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
| <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['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<?php if ($this->_tpl_vars['plan']['4']): ?> class="<?php echo $this->_tpl_vars['plan']['4']; ?>
|
||||
"<?php endif; ?>>
|
||||
<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: ?> <?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: ?> <?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: ?> <?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: ?> <?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&d=<?php echo $this->_tpl_vars['plan']['5']; ?>
|
||||
" class="msg"><span>Message</span></a><?php else: ?> <?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);
|
||||
?>
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-07 18:23:03
|
||||
<?php /* Smarty version 2.6.22, created on 2009-10-31 15:37:10
|
||||
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']; ?>
|
||||
|
||||
<div id="erreur">... veuillez patienter ...</div>
|
||||
<?php if ($this->_tpl_vars['contenu']): ?><?php echo $this->_tpl_vars['contenu']; ?>
|
||||
<?php else: ?><meta http-equiv="refresh" content="0"/><?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;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-18 06:08:32
|
||||
compiled from game/diplomatie/common.tpl */ ?>
|
||||
<ul class="onglets">
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&o=actus"<?php if ($this->_tpl_vars['onglet'] == 'actus'): ?> class="hilight"<?php endif; ?>>Actualités</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&o=encours"<?php if ($this->_tpl_vars['onglet'] == 'encours'): ?> class="hilight"<?php endif; ?>>En place</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&o=archives"<?php if ($this->_tpl_vars['onglet'] == 'archives'): ?> class="hilight"<?php endif; ?>>Résiliés/annulés</a></li>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 8): ?><li><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&o=new"<?php if ($this->_tpl_vars['onglet'] == 'new'): ?> class="hilight"<?php endif; ?>>Nouveau</a></li><?php endif; ?>
|
||||
</ul>
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-03 13:32:07
|
||||
compiled from game/../aide/commentjouer.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Aide de Halo-Battle :: Comment jouer</h2>
|
||||
<h3>Astuces à l'intention des nouveaux administrateurs coloniaux</h3>
|
||||
Vous voilà inscrit et connecté sur votre compte ; si vous pensez que le plus difficile est maintenant derrière-vous, vous vous trompez lourdement. De lourdes tâches vous attendent désormais, et il va vous falloir tout votre sang-froid et votre maîtrise pour triompher des épreuves qui jalonneront votre route.<br /><br />
|
||||
Si vous êtes aguerri dans l'art de gérer et d'administrer à la perfection des colonies, ce chapitre ne vous concerne donc pas à priori. Dans le cas contraire, sans nul doute qu'il vous sera utile pour apprendre, du moins, les théories de votre métier.<br />
|
||||
<br /><h3>Que devez-vous savoir dès le départ ?</h3>
|
||||
La chose la plus importante à savoir dès le départ est que... cela sera très difficile, quelles que soient les circonstances. Cela ne vous rassure pas ? Tant pis. L'univers de Halo-Battle est une vaste jungle sauvage, où vous devrez trouver vous-mêmes vos repères et survivre. A vous de vous forger votre propre tactique, sinon quoi n'espèrez pas vivre longtemps. Surtout, rappelez-vous bien ceci : il existe plusieurs moyens d'atteindre votre but, quel qu'il soit.<br /><br />
|
||||
Si vous êtes novice dans ce type de jeux, vous devez certainement vous sentir quelque peu perdu : que faire, et comment le faire ?<br /><br />
|
||||
Le plus important pour le moment est de développer vos différentes mines, afin de faire fructifier vos ressources : celles-ci sont en effet le moteur de vos colonies, et n'espérez pas accomplir grand chose sans elles. N'oubliez pas non plus de construire des centrales d'énergie afin d'approvisionner vos bâtiments, qui eux aussi ont besoin de ressources énergétiques pour fonctionner.<br /><br />
|
||||
D'autre part, c'est au tout début que vous devrez définir une tactique de jeu, s'étalant sur le long terme, comprenez donc toute la période où vous jouerez sur votre compte. On fait généralement la distinction entre deux grands courants : les Mineurs et les Raideurs. Tandis que les premiers cherchent à développer leurs mines et leurs défenses coloniales, les seconds visent la création d'une flotte imposante pour percer les défenses ennemies et piller les ressources des autres joueurs. Notez que des intermédiaires ou des courants mineurs existent entre ces deux catégories.<br /><br />
|
||||
Dans le cas d'une stratégie axée sur le minage, sachez que vos débuts seront plus lents et laborieux qu'un joueur raideur. Vous devrez principalement augmenter le niveau de vos mines d'extraction et construire des vaisseaux de transport pour évacuer vos ressources dans le cas où une attaque imminente aurait lieue sur l'une de vos colonies. N'oubliez pas non plus de vous confectionner un « rideau de fer », une ligne de défense pour dissuader les raideurs que vous attaquer n'est absolument pas rentable pour eux.<br /><br />
|
||||
Si les ravages vous semblent plus intéressants et que vous vous définissez une stratégie axée sur le raid, abandonnez l'idée d'économies de ressources pour augmenter le niveau de vos mines et troquez vos défenses planétaires contre plusieurs flottes de vaisseaux. Ici, il s'agira d'attaquer plusieurs fois par jours différents joueurs dans l'objectif d'amasser des ressources. Ne laissez jamais votre flotte stationnée sur une colonie : un autre raideur pourrait très bien vous attaquer et la détruire. Faites voyager vos flottes entre colonies. Cette tactique offre l'avantage d'être propulsé rapidement dans un bon classement, le seul inconvénient (et de taille !) est que si jamais vous venez à perdre votre flotte, la dégringolade va être rude. Reste encore à vous demander si un bon classement signifie quelque chose pour vous...<br /><br />
|
||||
La recherche technologique, disponible via votre laboratoire, est une composante essentielle du développement de vos institutions. Là encore, vous devrez investir nombre de ressources pour avoir accès à de nouveaux types de bâtiments, d'armements ou de technologies susceptibles de vous apporter un avantage certain. Ne négligez jamais cet aspect sous peine d'être irrémédiablement distancé par vos adversaires.<br />
|
||||
Bien d'autres éléments utiles gagnent à être connus pour que vous puissiez jouer dans des conditions optimales. Reportez-vous aux différents chapitres du manuel pour en prendre connaissance.<br />
|
||||
<br /><h3>Exemple : la colonie Reach</h3>
|
||||
Voici un petit tutorial pour commencer à jouer dans le jeu. Ici, nous aborderons les différents aspects élémentaires pour développer notre planète principale : Reach. Ce tutorial utilise la race Humaine ; toutefois, les données demeurent les mêmes pour la race Covenante. Notez enfin que parfois, les ressources indiquées dans les illustrations diffèrent avec les coûts réels.<br /><br />
|
||||
[...]
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -1,32 +1,33 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-01 20:55:39
|
||||
<?php /* Smarty version 2.6.22, created on 2009-10-31 13:48:50
|
||||
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', 'ucfirst', 'game/gestion.tpl', 31, false),array('modifier', 'separernombres', 'game/gestion.tpl', 34, false),array('modifier', 'separerNombres', 'game/gestion.tpl', 55, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'game/gestion.tpl', 6, false),array('modifier', 'date_format', 'game/gestion.tpl', 7, false),array('modifier', 'escape', 'game/gestion.tpl', 26, false),array('modifier', 'ucfirst', 'game/gestion.tpl', 32, false),array('modifier', 'separerNombres', 'game/gestion.tpl', 35, 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);
|
||||
?>
|
||||
<?php if (SURFACE == 'planete'): ?>
|
||||
<h2>Politique</h2>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="politique">Politique actuelle :</label>
|
||||
<select name="politique" id="politique"><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['politiques'],'selected' => $this->_tpl_vars['planete']->politique), $this);?>
|
||||
</select><br /><br />
|
||||
<label>Dernier changement de régime :</label><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->politique_lastchange)) ? $this->_run_mod_handler('date_format', true, $_tmp, "%A %d %B %y") : smarty_modifier_date_format($_tmp, "%A %d %B %y")); ?>
|
||||
<br /><br />
|
||||
<label>Moral global de la population :</label><acronym title=""><?php echo $this->_tpl_vars['planete']->moral*100; ?>
|
||||
%</acronym><br /><br /><br />
|
||||
<fieldset class="form">
|
||||
<label for="politique">Politique actuelle : <select name="politique" id="politique"><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['politiques'],'selected' => $this->_tpl_vars['planete']->politique), $this);?>
|
||||
</select></label><br /><br />
|
||||
<label>Dernier changement de régime : <em><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->politique_lastchange)) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?>
|
||||
</em></label><br /><br />
|
||||
<label>Moral global de la population : <em><?php echo $this->_tpl_vars['planete']->moral*100; ?>
|
||||
%</em></label><br /><br />
|
||||
<input class="submit" type="submit" value="Ok" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<?php endif; ?>
|
||||
<h2>Gestion</h2>
|
||||
<div id="gestion">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<td></td>
|
||||
<th></th>
|
||||
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['plan']):
|
||||
?>
|
||||
|
|
@ -49,65 +50,65 @@ images/planetes/<?php echo $this->_tpl_vars['plan']['image']; ?>
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="hightlight"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</td>
|
||||
<th><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</th>
|
||||
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['plan']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['plan']['id'] == $this->_tpl_vars['planeteEC']['id']): ?><?php $this->assign('plan', $this->_tpl_vars['planeteEC']); ?><?php endif; ?>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['metal'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hightlight"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</td>
|
||||
<th><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</th>
|
||||
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['plan']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['plan']['id'] == $this->_tpl_vars['planeteEC']['id']): ?><?php $this->assign('plan', $this->_tpl_vars['planeteEC']); ?><?php endif; ?>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['cristal'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hightlight"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</td>
|
||||
<th><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</th>
|
||||
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['plan']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['plan']['id'] == $this->_tpl_vars['planeteEC']['id']): ?><?php $this->assign('plan', $this->_tpl_vars['planeteEC']); ?><?php endif; ?>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['hydrogene'])) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hightlight"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['energie'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</td>
|
||||
<th><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['energie'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</th>
|
||||
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['plan']):
|
||||
?>
|
||||
<?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']['energie'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['energie'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hightlight">Population</td>
|
||||
<th>Population</th>
|
||||
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['plan']):
|
||||
?>
|
||||
<?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 echo ((is_array($_tmp=$this->_tpl_vars['plan']['population'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hightlight">Moral</td>
|
||||
<th>Moral</th>
|
||||
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['plan']):
|
||||
?>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['moral']*100)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['moral']*100)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
%</td>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-01 16:34:38
|
||||
<?php /* Smarty version 2.6.22, created on 2009-10-28 18:50:32
|
||||
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()));
|
||||
|
|
@ -17,12 +17,14 @@ unset($_smarty_tpl_vars);
|
|||
<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>
|
||||
<div id="messagerie">
|
||||
<?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']; ?>
|
||||
<dl>
|
||||
<dt><?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']; ?>
|
||||
&a=top&i=<?php echo $this->_tpl_vars['question']['2']; ?>
|
||||
"><i>Haut</i></a> - <a href="<?php echo $this->_tpl_vars['menu']['operateur']; ?>
|
||||
|
|
@ -30,23 +32,24 @@ unset($_smarty_tpl_vars);
|
|||
"><i>Bas</i></a> - <a href="<?php echo $this->_tpl_vars['menu']['operateur']; ?>
|
||||
&a=del&i=<?php echo $this->_tpl_vars['question']['2']; ?>
|
||||
"><i>Supprimer</i></a></div><?php endif; ?></dd>
|
||||
</dl>
|
||||
</dl>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</div>
|
||||
<?php if ($this->_tpl_vars['auth_level'] >= 5): ?>
|
||||
<h2>Ajouter un problème connu</h2>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['operateur']; ?>
|
||||
&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 />
|
||||
&post" method="post"><fieldset class="form">
|
||||
<label for="O_titre">Problème : <input class="text" type="text" name="O_titre" id="O_titre" /></label>
|
||||
<label for="O_desc">Solution :
|
||||
<textarea id="O_desc" name="O_description" cols="40" rows="10"></textarea></label>
|
||||
<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']; ?>
|
||||
&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 />
|
||||
&post" method="post"><fieldset class="form">
|
||||
<label for="titre">Titre/objet : <input class="text" type="text" name="titre" id="titre" /></label>
|
||||
<label for="desc">Corps :
|
||||
<textarea id="desc" name="description" cols="40" rows="10"></textarea></label>
|
||||
<input class="submit" type="submit" value="OK" />
|
||||
</fieldset></form><?php endif; ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-07 18:52:59
|
||||
<?php /* Smarty version 2.6.22, created on 2009-10-31 19:29:48
|
||||
compiled from game/erreur.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<div class="error"<?php if ($this->_tpl_vars['couleur']): ?> style="color: <?php echo $this->_tpl_vars['couleur']; ?>
|
||||
<div id="erreur"<?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;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-07 12:13:24
|
||||
compiled from game/ressources_alli.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/ressources_alli.tpl', 5, false),array('modifier', 'separerNombres', 'game/ressources_alli.tpl', 5, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Donner des crédits à l'alliance</h2>
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['ressources']; ?>
|
||||
">
|
||||
<fieldset class="options">
|
||||
<label for="credits"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['credits'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
(maximum : <?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->credits)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
) :</label><input type="text" class="text" id="credits" name="credits" maxlength="5" /><br />
|
||||
<br /><input type="submit" class="submit" value="Donner" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-28 18:31:49
|
||||
compiled from cms/oubliemdp.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<div id="dernierminute" class="block">
|
||||
<div class="header">Informations</div>
|
||||
<div class="corps" id="description"><b>Oublie de mot de passe</b><br /><br /><p>Complétez le formualaire ci-contre avec votre nom d'utilisateur et votre adresse électronique. Un nouveau mot de passe sera envoyé à votre adresse, vous permettant ainsi d'avoir de nouveau accès à votre compte.<br /><br />Pensez à changer ce nouveau mot de passe que vous ne retiendrez pas facilement, via la page option du jeu.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="statistiques" class="block">
|
||||
<div class="header">Formulaire de réinitialisation de mot de passe</div>
|
||||
<div class="corpsi">
|
||||
<form action="<?php echo $this->_tpl_vars['link']['oubliemdp']; ?>
|
||||
" method="post">
|
||||
<span><label for="HB_pseudo">Pseudo :</label> <input class="text" name="HB_pseudo" id="pseudo" type="text" />
|
||||
<br /><label for="HB_mail">Adresse électronique :</label> <input class="text" name="HB_mail" id="mail" type="text" />
|
||||
<br /><br /><label for="HB_captcha">Recopiez ce texte :</label> <input class="text" name="HB_captcha" id="captcha" type="text" /> <img src="captcha/image.php" alt="Génération ..." id="gen" />
|
||||
<br /><br /><input class="submit" value="OK" type="submit">
|
||||
</span>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($this->_tpl_vars['erreurs']): ?>
|
||||
<div id="connexion" class="block">
|
||||
<div class="header"><b>Impossible de changer le mot de passe :</b></div>
|
||||
<div class="corps" id="description">
|
||||
<p>
|
||||
<?php echo $this->_tpl_vars['erreurs']; ?>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-01 16:36:43
|
||||
compiled from admin/mail_view.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'admin/mail_view.tpl', 14, false),array('modifier', 'escape', 'admin/mail_view.tpl', 18, false),array('modifier', 'nl2br', 'admin/mail_view.tpl', 23, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<table style="width: 90%;">
|
||||
<thead<?php if ($this->_tpl_vars['req']['statut'] >= 1): ?> style="background: #<?php if ($this->_tpl_vars['req']['statut'] == 1): ?>770000<?php elseif ($this->_tpl_vars['req']['statut'] == 2): ?>007700<?php elseif ($this->_tpl_vars['req']['statut'] == 3): ?>000077<?php elseif ($this->_tpl_vars['req']['statut'] == 4): ?>770077<?php elseif ($this->_tpl_vars['req']['statut'] == 5): ?>007777<?php elseif ($this->_tpl_vars['req']['statut'] == 6): ?>777700<?php endif; ?>;"<?php endif; ?>>
|
||||
<tr>
|
||||
<th colspan="2">Emetteur</th>
|
||||
<td colspan="3"><?php echo $this->_tpl_vars['req']['pseudo']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">Statut</th>
|
||||
<td colspan="3"><?php echo $this->_tpl_vars['req']['statut']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">Date</th>
|
||||
<td colspan="3"><?php echo ((is_array($_tmp=$this->_tpl_vars['req']['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>
|
||||
<tr>
|
||||
<th colspan="2">Objet</th>
|
||||
<td colspan="3"><?php echo ((is_array($_tmp=$this->_tpl_vars['req']['titre'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="5"><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['req']['contenu'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td><a href="./<?php echo $this->_tpl_vars['premiere_page']; ?>
|
||||
?p=envoyer&d=<?php echo $this->_tpl_vars['req']['pseudo']; ?>
|
||||
&o=Re : <?php echo ((is_array($_tmp=$this->_tpl_vars['req']['titre'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
" onclick="window.open(this.href); return false;">Répondre</a></td>
|
||||
<td><a href="?p=courrier&d=<?php echo $this->_tpl_vars['req']['id']; ?>
|
||||
">Supprimer</a></td>
|
||||
<td><a href="?p=courrier&x=<?php echo $this->_tpl_vars['req']['id']; ?>
|
||||
">Statut</a></td>
|
||||
<td><a href="?p=courrier">Retour</a></td>
|
||||
<td><a href="?p=courrier&v=<?php echo $this->_tpl_vars['req']['id']-1; ?>
|
||||
"><<<</a> - <a href="?p=courrier&v=<?php echo $this->_tpl_vars['req']['id']+1; ?>
|
||||
">>>></a></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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,68 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-18 06:08:08
|
||||
compiled from game/alliance/gestion_wing.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);
|
||||
?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/alliance/gestion_common.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Gestion des wings</h2>
|
||||
<?php if ($this->_tpl_vars['wings']): ?>
|
||||
<table>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['wings']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['wing']):
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $this->_tpl_vars['wing']['nom_alliance']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['wing']['race']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['wing']['nbMembres']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['wing']['pseudo']; ?>
|
||||
</td>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
&n=envoyer&d=<?php echo $this->_tpl_vars['wing']['fondateur']; ?>
|
||||
" class="msg"><span>Message</span></a></td>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=wing&u=<?php echo $this->_tpl_vars['membre']['id']; ?>
|
||||
"><em>supprimer</em></a></td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Nom de la wing</th>
|
||||
<th>Race</th>
|
||||
<th>Nombre de membres</th>
|
||||
<th>Fondateur</th>
|
||||
<th>MP fondateur</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<?php else: ?>
|
||||
<div id="erreur">L'alliance ne possède aucune wing.</div>
|
||||
<?php endif; ?>
|
||||
<h2>Créer une wing</h2>
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=wings">
|
||||
<fieldset class="options">
|
||||
<label for="nom">Nom de la wing : <input type="text" class="text" name="nom" id="nom" maxlength="32" /></label><br />
|
||||
<label for="tag">Tag de la wing : <input type="text" class="text" name="tag" id="tag" maxlength="5" /></label><br />
|
||||
<label for="race">Race de la wing : <select name="race" id="race"><option value="humain">Humaine</option><option value="covenant">Covenante</option></select></label><br />
|
||||
<label for="fondateur">Membre fondateur : <input type="text" class="text" name="fondateur" id="fondateur" maxlength="64" /></label><br />
|
||||
<em>Le membre fondateur ne doit faire actuellement parti d'aucune alliance.<br />La wing sera créée une fois que le fondateur aura accepté votre demande.</em><br />
|
||||
<input type="submit" class="submit" value="Go" />
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-26 21:48:48
|
||||
compiled from admin/mail_mass.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>Envoyer un courriel en masse à tous les joueurs de la galaxie</h2>
|
||||
<form action="?p=mail_mass" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="sujet">Sujet :</label> <input type="text" name="sujet" id="sujet" tabindex="1" /><br /><br />
|
||||
<label for="message">Contenu du mail :</label><br /><textarea name="message" id="message" rows="10" cols="15" tabindex="2"></textarea><br />
|
||||
<input type="submit" class="submit" value="GO" tabindex="3" />
|
||||
</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);
|
||||
?>
|
||||
39
onyx2/modules/templates/compile/%%A8^A89^A891B563%%1.tpl.php
Normal file
39
onyx2/modules/templates/compile/%%A8^A89^A891B563%%1.tpl.php
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-28 21:23:13
|
||||
compiled from game/options/1.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);
|
||||
?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/options/common.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Signature pour forums</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 />
|
||||
<label>BBcode pour forums :</label><code>[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]</code>
|
||||
<br /><br /><br />
|
||||
<img src="http://<?php echo $this->_tpl_vars['url_serveur']; ?>
|
||||
/sign.php?i=<?php echo $this->_tpl_vars['planete']->id_user; ?>
|
||||
&f=1" alt="Signature" /><br /><a href="http://<?php echo $this->_tpl_vars['url_serveur']; ?>
|
||||
/sign.php?i=<?php echo $this->_tpl_vars['planete']->id_user; ?>
|
||||
&f=1">http://<?php echo $this->_tpl_vars['url_serveur']; ?>
|
||||
/sign.php?i=<?php echo $this->_tpl_vars['planete']->id_user; ?>
|
||||
&f=1</a><br /><br />
|
||||
<label>BBcode pour forums :</label><code>[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; ?>
|
||||
&f=1[/img][/url]</code>
|
||||
<?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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-30 12:58:17
|
||||
compiled from game/flotte2.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'game/flotte2.tpl', 6, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
|
||||
" method="post">
|
||||
<h2>Paramètres généraux</h2>
|
||||
<fieldset class="options">
|
||||
<label for="nom">Nom de la flotte :</label><input class="text" type="text" id="nom" name="nomflotte" maxlength="24" value="<?php echo $this->_tpl_vars['restaure']['nom']; ?>
|
||||
" /><br />
|
||||
<label for="fav_dest">Destination rapide :</label><select name="destin" id="fav_dest"><option value="0">--</option><optgroup label="Colonies"><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['favorisColonies']), $this);?>
|
||||
</optgroup><optgroup label="Favoris"><?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['favoris']), $this);?>
|
||||
</optgroup><option value="edit">Modifier la liste</option></select><br />
|
||||
<label for="amas">Destination :</label><span id="destination"><input class="dest" type="text" id="amas" name="amas" maxlength="2" value="<?php echo $this->_tpl_vars['restaure']['end_galaxie']; ?>
|
||||
" />:<input class="dest" type="text" id="ss" name="ss" maxlength="2" value="<?php echo $this->_tpl_vars['restaure']['end_systeme']; ?>
|
||||
" />:<input class="dest" type="text" id="plan" name="pos" maxlength="2" value="<?php echo $this->_tpl_vars['restaure']['end_position']; ?>
|
||||
" /></span><br />
|
||||
<label for="vitesse">Vitesse :</label><select name="vitesse" id="vitesse"><option value="100">100%</option><option value="75">75%</option><option value="50">50%</option><option value="25">25%</option></select><br />
|
||||
<br /><div id="aide1">Pour vous repérer plus facilement entre vos différentes flottes, donnez-lui un nom.</div>
|
||||
</fieldset>
|
||||
<h2>Mission et contenu</h2>
|
||||
<fieldset class="options">
|
||||
<label for="mission">Mission :</label>
|
||||
<select name="mission" id="mission" onchange="tempsFlotte();">
|
||||
<?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['missions'],'selected' => $this->_tpl_vars['restaure']['mission']), $this);?>
|
||||
|
||||
</select><br />
|
||||
<span id="tactique"></span>
|
||||
<label for="metal">Embarquer <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
:</label><input class="text" type="text" id="metal" name="metal" value="<?php echo $this->_tpl_vars['restaure']['embarquer']['0']; ?>
|
||||
" /><br />
|
||||
<label for="cristal">Embarquer <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
:</label><input class="text" type="text" id="cristal" name="cristal" value="<?php echo $this->_tpl_vars['restaure']['embarquer']['1']; ?>
|
||||
" /><br />
|
||||
<label for="hydrogene">Embarquer <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
:</label><input class="text" type="text" id="hydrogene" name="hydrogene" value="<?php echo $this->_tpl_vars['restaure']['embarquer']['2']; ?>
|
||||
" /><br />
|
||||
<label>Places restantes dans les cales :</label><span id="placesRest"></span><br />
|
||||
<br /><div id="aide2"></div>
|
||||
</fieldset>
|
||||
<h2>Envoyer</h2>
|
||||
<noscript><span style="color: #FF0000; font-weight: bolder;">Le JavaScript est nécessaire pour envoyer une flotte.</span><br /></noscript>
|
||||
<input type="submit" value="GO" class="submit" /><input type="hidden" name="cds" value="<?php echo $this->_tpl_vars['idPrep']; ?>
|
||||
" /><br />
|
||||
Temps de déplacement : <span id="temps">-</span><br />
|
||||
Consomation : <span id="conso">-</span><br />
|
||||
<span id="deblok"><b>Complètez les champs ci-dessus</b></span>
|
||||
<br /><span id="vp"></span>
|
||||
</form>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-09-27 13:25:26
|
||||
compiled from game/../aide/intro.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Aide de Halo-Battle :: Introduction</h2>
|
||||
<i>Même la plus puissante des nations finit par succomber un jour...</i><br /><br />
|
||||
Neuvième Age de la Réclamation. La majestueuse Grande Bonté n'est plus. La voici désormais en proie au Parasite, gangrénée et empoisonnée de l'intérieur. Le glas de la fin du collectif Covenant se fait entendre par-delà les étoiles, alors que les trompettes de la victoire résonnent sur Terre...<br /><br />
|
||||
<i>... le chaos est total...</i><br /><br />
|
||||
La galaxie n'est plus que ruine ; les épaves des vaisseaux des batailles passées flottent lamentablement dans l'espace à présent. Alors que le Covenant doit faire face à sa plus grave crise de son histoire, les Humains rassemblent leurs dernières forces dans une tentative désespérée de survivre.<br /><br />
|
||||
<i>... mais le passé ne meurt jamais.</i><br /><br />
|
||||
Tandis que certains Covenants pactisent avec les Humains et d'autres veulent se venger de la trahison odieuse qu'ils ont subis de la part de leurs prophètes, beaucoup d'entre eux vouent encore une haine viscérale contre les Humains, et la guerre devient inévitable. Dans chaque camp, tout le monde s'apprête à livrer les batailles de la dernière chance.<br /><br />
|
||||
<i>Préparez-vous à vous battre pour votre cause.</i><br /><br />
|
||||
Quel que soit votre camp, que vous soyez Humain ou Covenant, vous aussi devez vous préparer à l'inévitable conflit qui se prépare. Si vous espérez un tant soit peu survivre, il vous faudra développer votre économie, rechercher de nouvelles technologies innovatrices et surtout préparer votre armée. Sachez que vos frères d'armes comptent sur vous.<br /><br />
|
||||
<i>Qu'importe les moyens, seule la victoire compte.</i><br />
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-01 20:34:13
|
||||
<?php /* Smarty version 2.6.22, created on 2009-09-26 01:17:00
|
||||
compiled from admin/version.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'nl2br', 'admin/version.tpl', 28, false),array('modifier', 'date_format', 'admin/version.tpl', 29, false),)), $this); ?>
|
||||
|
|
@ -17,10 +17,10 @@ unset($_smarty_tpl_vars);
|
|||
" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="version">Version :</label> <input type="text" name="version" id="version" value="<?php echo $this->_tpl_vars['mod']['version']; ?>
|
||||
" /><br />
|
||||
<label for="contenu">Contenu :</label><br /><textarea cols="10" rows="10" name="contenu" id="contenu"><?php echo $this->_tpl_vars['mod']['contenu']; ?>
|
||||
" tabindex="1" /><br />
|
||||
<label for="contenu">Contenu :</label><br /><textarea cols="10" rows="10" name="contenu" id="contenu" tabindex="2"><?php echo $this->_tpl_vars['mod']['contenu']; ?>
|
||||
</textarea><br />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
<input type="submit" class="submit" value="GO" tabindex="3" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<h2>Liste des versions</h2>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,122 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-26 19:03:20
|
||||
compiled from game/menu_asteroide.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/menu_asteroide.tpl', 18, false),)), $this); ?>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['accueil']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'accueil'): ?> class="hilight"<?php endif; ?>>Accueil</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['alli_chat']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == "alliance/chat_ajax" || $this->_tpl_vars['page'] == "alliance/chat_irc"): ?> class="hilight"<?php endif; ?>>Chat de l'alliance</a></li>
|
||||
<?php if ($this->_tpl_vars['planete']->url_forum): ?><li><a href="<?php echo $this->_tpl_vars['planete']->url_forum; ?>
|
||||
" class="external">Forum de l'alliance</a></li><?php endif; ?>
|
||||
<li>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['alli_messagerie']; ?>
|
||||
"<?php if (ereg ( "Messagerie d'alliance" , $this->_tpl_vars['titre'] )): ?> class="hilight"<?php endif; ?>>Messagerie d'alliance</a>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['alli_messagerie']; ?>
|
||||
&n=recus"<?php if (ereg ( "Messagerie d'alliance" , $this->_tpl_vars['titre'] ) && $this->_tpl_vars['onglet'] != 'rapports' && $this->_tpl_vars['onglet'] != 'send' && $this->_tpl_vars['onglet'] != 'envoyer'): ?> class="hilight"<?php endif; ?>>Reçus<?php if ($this->_tpl_vars['alertMail']['0']): ?> (<?php echo $this->_tpl_vars['alertMail']['0']; ?>
|
||||
)<?php endif; ?></a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['alli_messagerie']; ?>
|
||||
&n=rapports"<?php if ($this->_tpl_vars['onglet'] == 'rapports' && ereg ( "Messagerie d'alliance" , $this->_tpl_vars['titre'] )): ?> class="hilight"<?php endif; ?>>Rapports<?php if ($this->_tpl_vars['alertMail']['1']): ?> (<?php echo $this->_tpl_vars['alertMail']['1']; ?>
|
||||
)<?php endif; ?></a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['alli_messagerie']; ?>
|
||||
&n=send"<?php if ($this->_tpl_vars['onglet'] == 'send' && ereg ( "Messagerie d'alliance" , $this->_tpl_vars['titre'] )): ?> class="hilight"<?php endif; ?>>Envoyés</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['alli_messagerie']; ?>
|
||||
&n=envoyer"<?php if ($this->_tpl_vars['onglet'] == 'envoyer'): ?> class="hilight"<?php endif; ?>>Ecrire</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 1 || $this->_tpl_vars['planete']->permissions_alliance & 2): ?>
|
||||
<ul>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 1): ?><li><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'batiments_alli'): ?> class="hilight"<?php endif; ?>>Bâtiments</a></li><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 2): ?><li><a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'chantierspatial'): ?> class="hilight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['alli_batiments']['noms_sing']['3'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a></li><?php endif; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['ressources']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'ressources_alli'): ?> class="hilight"<?php endif; ?>>Ressources</a></li>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 32 || $this->_tpl_vars['planete']->permissions_alliance & 64 || $this->_tpl_vars['planete']->permissions_alliance & 128): ?>
|
||||
<li>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
"<?php if (ereg ( 'gestion' , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Gestion</a>
|
||||
<ul>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 32): ?><li><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=membres"<?php if ($this->_tpl_vars['onglet'] == 'membres' && ereg ( 'gestion' , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Membres</a></li><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 128): ?><li><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=grades"<?php if ($this->_tpl_vars['onglet'] == 'grades' && ereg ( 'gestion' , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Grades</a></li><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 64): ?><li><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=wings"<?php if ($this->_tpl_vars['onglet'] == 'wings' && ereg ( 'gestion' , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Wings</a></li><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 128 && ! $this->_tpl_vars['planete']->wing): ?><li><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=alliance"<?php if ($this->_tpl_vars['onglet'] == 'alliance' && ereg ( 'gestion' , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Alliance</a></li><?php endif; ?>
|
||||
</ul>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<li>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
"<?php if (ereg ( "diplomatie/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Diplomatie</a>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&o=actus"<?php if ($this->_tpl_vars['onglet'] == 'actus' && ereg ( "diplomatie/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Actualités</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&o=encours"<?php if ($this->_tpl_vars['onglet'] == 'encours' && ereg ( "diplomatie/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>En place</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&o=archives"<?php if ($this->_tpl_vars['onglet'] == 'archives' && ereg ( "diplomatie/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Résiliés/annulés</a></li>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 8): ?><li><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&o=new"<?php if ($this->_tpl_vars['onglet'] == 'new' && ereg ( "diplomatie/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Nouveau</a></li><?php endif; ?>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'flotte' || $this->_tpl_vars['page'] == 'flotte1' || $this->_tpl_vars['page'] == 'flotte2' || $this->_tpl_vars['page'] == 'flotten'): ?> class="hilight"<?php endif; ?>>Flottes</a></li>
|
||||
<!--<li><a href="?p=simulateur"<?php if ($this->_tpl_vars['page'] == 'simulateur_combat'): ?> class="hilight"<?php endif; ?>>Simulateur de combat</a></li>-->
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'carte'): ?> class="hilight"<?php endif; ?>>Carte spatiale</a></li>
|
||||
<li>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
"<?php if (ereg ( "options/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Options</a>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=ext"<?php if ($this->_tpl_vars['onglet'] == 'ext' && ereg ( "options/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Extérieures</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=compte"<?php if ($this->_tpl_vars['onglet'] == 'compte' && ereg ( "options/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Compte</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=jeu"<?php if ($this->_tpl_vars['onglet'] == 'jeu' && ereg ( "options/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Jeu</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=notif"<?php if ($this->_tpl_vars['onglet'] == 'notif' && ereg ( "options/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Notifications</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
"<?php if (ereg ( "Messagerie - " , $this->_tpl_vars['titre'] ) || $this->_tpl_vars['page'] == 'envoyer'): ?> class="hilight"<?php endif; ?>>
|
||||
<?php if ($this->_tpl_vars['alertMail']['0'] + $this->_tpl_vars['alertMail']['1'] >= 1): ?><b>Messages <?php if ($this->_tpl_vars['alertMail']['0']): ?>(<?php echo $this->_tpl_vars['alertMail']['0']; ?>
|
||||
) <?php endif; ?>et rapports<?php if ($this->_tpl_vars['alertMail']['1']): ?> (<?php echo $this->_tpl_vars['alertMail']['1']; ?>
|
||||
)<?php endif; ?></b><?php else: ?>Messages et rapports<?php endif; ?></a>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
&n=recus"<?php if (ereg ( "Messagerie - " , $this->_tpl_vars['titre'] ) && $this->_tpl_vars['onglet'] != 'rapports' && $this->_tpl_vars['onglet'] != 'send' && $this->_tpl_vars['onglet'] != 'envoyer'): ?> class="hilight"<?php endif; ?>>Reçus<?php if ($this->_tpl_vars['alertMail']['0']): ?> (<?php echo $this->_tpl_vars['alertMail']['0']; ?>
|
||||
)<?php endif; ?></a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
&n=rapports"<?php if ($this->_tpl_vars['onglet'] == 'rapports' && ereg ( "Messagerie - " , $this->_tpl_vars['titre'] )): ?> class="hilight"<?php endif; ?>>Rapports<?php if ($this->_tpl_vars['alertMail']['1']): ?> (<?php echo $this->_tpl_vars['alertMail']['1']; ?>
|
||||
)<?php endif; ?></a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
&n=send"<?php if ($this->_tpl_vars['onglet'] == 'send' && ereg ( "Messagerie - " , $this->_tpl_vars['titre'] )): ?> class="hilight"<?php endif; ?>>Envoyés</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
&n=envoyer"<?php if ($this->_tpl_vars['onglet'] == 'envoyer'): ?> class="hilight"<?php endif; ?>>Ecrire</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['classement']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'classement'): ?> class="hilight"<?php endif; ?>>Classement</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['chat']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'chat'): ?> class="hilight"<?php else: ?> class="external"<?php endif; ?>>Chat</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['forums']; ?>
|
||||
" class="external">Forums</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['bugs']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'bugs'): ?> class="hilight"<?php endif; ?>>Rapports de bug</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'faq' || ereg ( '/aide/' , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>F.A.Q.</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['deconnexion']; ?>
|
||||
">Déconnexion</a></li>
|
||||
</ul>
|
||||
|
|
@ -1,14 +1,12 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-01 20:47:27
|
||||
<?php /* Smarty version 2.6.22, created on 2009-09-26 01:17:11
|
||||
compiled from admin/demarrage.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'admin/demarrage.tpl', 17, false),array('modifier', 'date_format', 'admin/demarrage.tpl', 18, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'admin/demarrage.tpl', 16, false),array('modifier', 'date_format', 'admin/demarrage.tpl', 17, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['demarrage']; ?>
|
||||
&i=add">Créer une nouvelle page</a>
|
||||
<h2>Pages de démarrage</h2>
|
||||
<h3>La première news est celle qui sera affichée à la connexion des joueurs</h3>
|
||||
<table>
|
||||
|
|
@ -47,11 +45,11 @@ unset($_smarty_tpl_vars);
|
|||
" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="titre">Titre :</label> <input type="text" name="titre" id="titre" value="<?php echo $this->_tpl_vars['mod']['titre']; ?>
|
||||
" /><br />
|
||||
<label for="contenu">Texte :</label><br /><textarea name="contenu" id="contenu" rows="10" cols="10"><?php echo $this->_tpl_vars['mod']['contenu']; ?>
|
||||
" tabindex="1" /><br />
|
||||
<label for="contenu">Texte :</label><br /><textarea name="contenu" id="contenu" rows="10" cols="10" tabindex="2"><?php echo $this->_tpl_vars['mod']['contenu']; ?>
|
||||
</textarea><br />
|
||||
<?php if ($this->_tpl_vars['mod']['titre']): ?><input type="checkbox" name="reset" id="reset" value="1" /><label for="reset"> Actualiser la date et l'heure d'écriture</label> <i>Les utilisateurs ayant déjà vu la page la revéront de nouveau.</i><br /><br /><br /><?php endif; ?>
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
<?php if ($this->_tpl_vars['mod']['titre']): ?><input type="checkbox" name="reset" id="reset" value="1" tabindex="3" /><label for="reset"> Actualiser la date et l'heure d'écriture</label> <i>Les utilisateurs ayant déjà vu la page la revéront de nouveau.</i><br /><br /><br /><?php endif; ?>
|
||||
<input type="submit" class="submit" value="GO" tabindex="4" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-07 17:23:35
|
||||
<?php /* Smarty version 2.6.22, created on 2009-11-01 03:07:06
|
||||
compiled from cms/footer.tpl */ ?>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,25 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-11-01 01:32:02
|
||||
compiled from game/alliance/nm_accueil.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Rechercher une alliance</h2>
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
">
|
||||
<fieldset class="form">
|
||||
<label for="tag">Tag : <input type="text" class="text" name="search_tag" id="tag" maxlength="5" /></label><br />
|
||||
<label for="nom">Nom : <input type="text" class="text" name="search_nom" id="nom" /></label><br />
|
||||
<input type="submit" class="submit" value="Ok" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<br />
|
||||
<h2>Créer une alliance</h2>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=fonder"><?php if ($this->_tpl_vars['fondation']): ?>Consulter le statut de votre alliance<?php else: ?>Fonder une alliance<?php endif; ?></a></h3>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-09-27 13:24:27
|
||||
compiled from game/../aide/avertissements.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Aide de Halo-Battle :: Avertissements</h2>
|
||||
<h3>Avertissement aux utilisateurs de téléviseurs à rétroprojection</h3><br />
|
||||
Les images fixes peuvent endommager de manière irréversible le tube cathodique ou marquer à jamais les luminophores qui constituent l'écran de ces téléviseurs.<br />C'est pourquoi il est conseillé d'éviter d'utiliser des jeux vidéo trop souvent ou de façon prolongée avec les téléviseurs à rétroprojection.<br /><br />
|
||||
<h3>Prévention des risques d'épilepsie</h3><br />
|
||||
<h4>A lire avant toute utilisation d'un jeu vidéo par vous-même ou par votre enfant.</h4><br />
|
||||
Chez certaines personnes, la stimulation visuelle par certains effets stroboscopiques ou motifs lumineux peut déclencher une crise d'épilepsie ou une perte de connaissance et ce, y compris dans la vie de tous les jours.<br />
|
||||
Chez ces personnes, le simple fait de regarder la télévision ou de jouer à un jeu vidéo peut suffire à déclencher une crise. Les symptômes peuvent même se déclarer chez un individu sans antécédents médicaux ou n'ayant jamais souffert de crise d'épilepsie.<br />
|
||||
Si vous-même ou un membre de votre famille avez déjà présenté des symptômes liés à l'épilepsie (crise d'épilepsie ou de perte de connaissance) à la suite d'une exposition à des effets lumineux stroboscopiques, veuillez consulter votre médecin avant de commencer à jouer.<br />
|
||||
Nous conseillons vivement aux parents de prêter une attention soutenue à leurs enfants lorsqu'ils utilisent un jeu vidéo. Si vous ou votre enfant ressentez l'un des symptômes suivants en cours de jeu : vertiges, troubles de la vue, contractions oculaires ou musculaires incontrôlées, perte de connaissance, désorientation, mouvements involontaires ou convulsions, veuillez cesser IMMEDIATEMENT la partie et consulter votre médecin.<br /><br />
|
||||
<h3>Règles à respecter pour jouer dans les meilleures conditions possibles</h3>
|
||||
<ul>
|
||||
<li>S'installer confortablement en position assise, le plus loin possible de l'écran.
|
||||
<li>Jouer de préférence sur un écran de petite taille.</li>
|
||||
<li>Eviter de jouer en cas de fatigue ou de manque de sommeil.</li>
|
||||
<li>Veiller à ce que la pièce soit bien éclairée.</li>
|
||||
<li>Observer des pauses de 10 à 15 minutes par heure de jeu.</li>
|
||||
</ul><br />
|
||||
<h3>Prévention des risques liés aux troubles du sommeil</h3><br />
|
||||
Pour votre santé, veillez à observer un compte d'heures minimales allouées à votre repos. Jouer plusieurs heures d'affilées comporte un risque de déréglement de votre horloge interne et/ou de troubles du sommeil. Si vous ou votre enfant ressentez l'un des symptômes suivants en cours de jeu : fatigue, vertiges, troubles de la vue, contractions oculaires ou musculaires incontrôlées, perte de connaissance, insomnie, stress, veuillez cesser IMMEDIATEMENT de jouer et prenez du repos.<br />
|
||||
Pour bien dormir, observez ces quelques règles :
|
||||
<ul>
|
||||
<li>Couchez-vous et levez-vous à heures régulières.</li>
|
||||
<li>Pas de grasse matinée : levez-vous dès le réveil.</li>
|
||||
<li>Dînez léger et pas trop tard, en mangeant un laitage.</li>
|
||||
<li>Observer les premiers signes annonciateurs du sommeil, ne luttez pas contre le sommeil.</li>
|
||||
<li>Maintenir une température basse (entre 15 et 18 °C) ainsi qu'un bon degré d'hygrométrie.<br />Opter pour l'obscurité, elle favorise le sommeil. Choisir un lit confortable (ni trop ferme ni trop mou) et des couvertures légères.</li>
|
||||
<li>Evitez la prise de produits stimulants : coca-cola, thé, café, vitamine C…</li>
|
||||
<li>La régularité du sommeil reste le meilleur gage de qualité.</li>
|
||||
</ul>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-07 12:17:45
|
||||
compiled from game/alliance/chat_ajax.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>
|
||||
<noscript><div id="erreur" style="color: red;">Vous devez activer le JavaScript pour pouvoir utiliser le chat !</div></noscript>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 256): ?>
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['chat_alli']; ?>
|
||||
" onsubmit="return chat_sendMessage();">
|
||||
<label for="msg">Réponse :</label> <input name="msg" id="msg" type="text" size="50" maxlength="250" /> <input value="GO" class="submit" type="submit" /> <input value="MAJ" onclick="chat_MAJ();" class="submit" type="button" />
|
||||
</form>
|
||||
<br />
|
||||
<?php endif; ?>
|
||||
<div style="height: 550px; overflow: auto; width: 99%;">
|
||||
<table style="width: 100%; margin: 0px;">
|
||||
<tbody id="chat">
|
||||
<tr>
|
||||
<td colspan="2">Vous vous connectez au chat</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 172px;">[pseudo] heure</td>
|
||||
<th style="width: 536px;">Message</td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
<script type="text/javascript" src="js/prototype.js"></script>
|
||||
<script type="text/javascript" src="js/chat.js"></script>
|
||||
<?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);
|
||||
?>
|
||||
30
onyx2/modules/templates/compile/%%D2^D25^D251E603%%3.tpl.php
Normal file
30
onyx2/modules/templates/compile/%%D2^D25^D251E603%%3.tpl.php
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-28 22:36:10
|
||||
compiled from game/options/3.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);
|
||||
?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/options/common.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Recevoir des notifications par mail</h2>
|
||||
<h3 style="color: red;">Attention : page non fonctionnelle pour le moment !</h3>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&chg=recmail" method="post">
|
||||
<fieldset class="form">
|
||||
<label for="recmail">Recevoir des notifications par mail <input type="checkbox" name="recmail" id="recmail" value="1" class="text" /></label>
|
||||
<label for="rappdef">Afficher la page des rapports par défaut au lieu de la page des messages privés reçus <input type="checkbox" name="rappdef" id="rappdef" value="1" class="text" /></label>
|
||||
<label for="fl_safe">Empêcher l'envoie de flotte à un multi-compte <input type="checkbox" name="fl_safe" id="fl_safe" value="1" class="text" /></label>
|
||||
<label for="res_auto">Autogérer mes productions de ressources au rendement maximal <input type="checkbox" name="res_auto" id="res_auto" value="1" class="text" /></label>
|
||||
<label for="fileacc">Afficher les files d'attentes de la planète sur la page d'accueil <input type="checkbox" name="fileacc" id="fileacc" value="1" class="text" /></label>
|
||||
<label for="fileref">Rafraîchir automatiquement les pages à la fin de la construction/entraînement <input type="checkbox" name="fileref" id="fileref" value="1" class="text" /></label>
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,67 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-26 21:48:38
|
||||
compiled from admin/vip.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'admin/vip.tpl', 19, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Vérification des IP</h2>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['vip']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['numpage']-1; ?>
|
||||
"><<<</a> page <?php echo $this->_tpl_vars['numpage']; ?>
|
||||
/<?php echo $this->_tpl_vars['nbpage']; ?>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['vip']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['numpage']+1; ?>
|
||||
">>>></a>
|
||||
<table style="text-align: center; margin: auto;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Adresses IP</th>
|
||||
<th>Nom d'utilisateur</th>
|
||||
<th>Date & heure</th>
|
||||
<th>Traçage IP</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['ips']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['ip']):
|
||||
?>
|
||||
<tr<?php if ($this->_tpl_vars['ip']['6']): ?> style="background-color: #<?php echo $this->_tpl_vars['ip']['6']; ?>
|
||||
;"<?php endif; ?>>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['vip']; ?>
|
||||
&ip=<?php echo $this->_tpl_vars['ip']['0']; ?>
|
||||
"><?php echo $this->_tpl_vars['ip']['0']; ?>
|
||||
</a></td>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['vip']; ?>
|
||||
&util=<?php echo $this->_tpl_vars['ip']['2']; ?>
|
||||
"><?php echo $this->_tpl_vars['ip']['3']; ?>
|
||||
(<?php echo $this->_tpl_vars['ip']['2']; ?>
|
||||
)</a></td>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ip']['4'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M:%S")); ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['ip']['1']; ?>
|
||||
</td>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['vip']; ?>
|
||||
&util=<?php echo $this->_tpl_vars['ip']['2']; ?>
|
||||
&act=multiok">Déclaré</a><br /><a href="<?php echo $this->_tpl_vars['menu']['sjoueurs']; ?>
|
||||
&id=<?php echo $this->_tpl_vars['ip']['2']; ?>
|
||||
&sanc=d&raisonmv=Multi-compte">Définitivement</a></td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['vip']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['numpage']-1; ?>
|
||||
"><<<</a> page <?php echo $this->_tpl_vars['numpage']; ?>
|
||||
/<?php echo $this->_tpl_vars['nbpage']; ?>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['vip']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['numpage']+1; ?>
|
||||
">>>></a>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,115 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-11-01 01:32:07
|
||||
compiled from game/menu_joueurs.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/menu_joueurs.tpl', 12, false),)), $this); ?>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['accueil']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'accueil'): ?> class="hilight"<?php endif; ?>>Accueil</a></li>
|
||||
<li>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'batiments'): ?> class="hilight"<?php endif; ?>>Bâtiments</a>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'batiments' && $this->_tpl_vars['onglet'] == 0): ?> class="hilight"<?php endif; ?>>Tous</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
&n=1"<?php if ($this->_tpl_vars['page'] == 'batiments' && $this->_tpl_vars['onglet'] & 1): ?> class="hilight"<?php endif; ?>>Mines/centrales</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
&n=2"<?php if ($this->_tpl_vars['page'] == 'batiments' && $this->_tpl_vars['onglet'] & 2): ?> class="hilight"<?php endif; ?>>Civils</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
&n=4"<?php if ($this->_tpl_vars['page'] == 'batiments' && $this->_tpl_vars['onglet'] & 4): ?> class="hilight"<?php endif; ?>>Militaires</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'caserne'): ?> class="hilight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['9'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'chantierspatial'): ?> class="hilight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['8'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a></li>
|
||||
<li>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'chantierterrestre'): ?> class="hilight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['7'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'chantierterrestre' && $this->_tpl_vars['onglet'] != 'defenses'): ?> class="hilight"<?php endif; ?>>Unités</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
&n=defenses"<?php if ($this->_tpl_vars['page'] == 'chantierterrestre' && $this->_tpl_vars['onglet'] == 'defenses'): ?> class="hilight"<?php endif; ?>>Défenses</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php if ($this->_tpl_vars['planetes']['0']['id'] == $this->_tpl_vars['planete']->id): ?><li><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'laboratoire'): ?> class="hilight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['6'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a></li><?php endif; ?>
|
||||
<li>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'arbre' || $this->_tpl_vars['page'] == 'description'): ?> class="hilight"<?php endif; ?>>Arbre technologique</a>
|
||||
<ul>
|
||||
<li><a href="#">Industrie</a></li>
|
||||
<li><a href="#">Ingenierie</a></li>
|
||||
<li><a href="#">Politique</a></li>
|
||||
<li><a href="#">Armement</a></li>
|
||||
<li><a href="#">Défenses</a></li>
|
||||
<li><a href="#">Expérimentations</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['ressources']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'ressources'): ?> class="hilight"<?php endif; ?>>Ressources</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'gestion' || $this->_tpl_vars['page'] == 'rename'): ?> class="hilight"<?php endif; ?>>Gestion</a></li>
|
||||
<li><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="hilight"<?php endif; ?>>Marché</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'flotte' || $this->_tpl_vars['page'] == 'flotte1' || $this->_tpl_vars['page'] == 'flotte2' || $this->_tpl_vars['page'] == 'flotten'): ?> class="hilight"<?php endif; ?>>Flottes</a></li>
|
||||
<!--<li><a href="?p=simulateur"<?php if ($this->_tpl_vars['page'] == 'simulateur_combat'): ?> class="hilight"<?php endif; ?>>Simulateur de combat</a></li>-->
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'carte'): ?> class="hilight"<?php endif; ?>>Carte spatiale</a></li>
|
||||
<li>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
"<?php if (ereg ( "options/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Options</a>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=ext"<?php if ($this->_tpl_vars['onglet'] == 'ext' && ereg ( "options/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Extérieures</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=compte"<?php if ($this->_tpl_vars['onglet'] == 'compte' && ereg ( "options/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Compte</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=jeu"<?php if ($this->_tpl_vars['onglet'] == 'jeu' && ereg ( "options/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Jeu</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=notif"<?php if ($this->_tpl_vars['onglet'] == 'notif' && ereg ( "options/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Notifications</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'messagerie' || $this->_tpl_vars['page'] == 'envoyer'): ?> class="hilight"<?php endif; ?>>
|
||||
<?php if ($this->_tpl_vars['alertMail']['0'] + $this->_tpl_vars['alertMail']['1'] >= 1): ?><b>Messages <?php if ($this->_tpl_vars['alertMail']['0']): ?>(<?php echo $this->_tpl_vars['alertMail']['0']; ?>
|
||||
) <?php endif; ?>et rapports<?php if ($this->_tpl_vars['alertMail']['1']): ?> (<?php echo $this->_tpl_vars['alertMail']['1']; ?>
|
||||
)<?php endif; ?></b><?php else: ?>Messages et rapports<?php endif; ?></a>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
&n=recus"<?php if ($this->_tpl_vars['page'] == 'messagerie' && $this->_tpl_vars['onglet'] != 'rapports' && $this->_tpl_vars['onglet'] != 'send' && $this->_tpl_vars['onglet'] != 'envoyer'): ?> class="hilight"<?php endif; ?>>Reçus</a><?php if ($this->_tpl_vars['alertMail']['0']): ?> (<?php echo $this->_tpl_vars['alertMail']['0']; ?>
|
||||
)<?php endif; ?></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
&n=rapports"<?php if ($this->_tpl_vars['onglet'] == 'rapports' && $this->_tpl_vars['page'] == 'messagerie'): ?> class="hilight"<?php endif; ?>>Rapports</a><?php if ($this->_tpl_vars['alertMail']['1']): ?> (<?php echo $this->_tpl_vars['alertMail']['1']; ?>
|
||||
)<?php endif; ?></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
&n=send"<?php if ($this->_tpl_vars['onglet'] == 'send' && $this->_tpl_vars['page'] == 'messagerie'): ?> class="hilight"<?php endif; ?>>Envoyés</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
&n=envoyer"<?php if ($this->_tpl_vars['onglet'] == 'envoyer'): ?> class="hilight"<?php endif; ?>>Ecrire</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
"<?php if (ereg ( "alliance/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Alliance</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['classement']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'classement'): ?> class="hilight"<?php endif; ?>>Classement</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['chat']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'chat'): ?> class="hilight"<?php else: ?> class="external"<?php endif; ?>>Chat</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['forums']; ?>
|
||||
" class="external">Forums</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['bugs']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'bugs'): ?> class="hilight"<?php endif; ?>>Rapports de bug</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'faq' || ereg ( '/aide/' , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>F.A.Q.</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['deconnexion']; ?>
|
||||
">Déconnexion</a></li>
|
||||
</ul>
|
||||
|
|
@ -1,59 +1,84 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-07 19:22:06
|
||||
<?php /* Smarty version 2.6.22, created on 2009-11-01 01:32:07
|
||||
compiled from game/header.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/header.tpl', 62, false),array('modifier', 'escape', 'game/header.tpl', 96, false),array('modifier', 'separenombre', 'game/header.tpl', 98, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/header.tpl', 15, false),array('modifier', 'sprintf', 'game/header.tpl', 44, false),array('modifier', 'escape', 'game/header.tpl', 62, false),array('modifier', 'ucfirst', 'game/header.tpl', 77, false),array('modifier', 'separerNombres', 'game/header.tpl', 77, 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">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
|
||||
<head>
|
||||
<title><?php if ($this->_tpl_vars['titre']): ?>.: <?php echo $this->_tpl_vars['titre']; ?>
|
||||
- Halo-Battle :.<?php else: ?>.: Halo-Battle :.<?php endif; ?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Content-Language" content="fr" />
|
||||
|
||||
<meta http-equiv="ext-Cache" content="0" />
|
||||
<meta http-equiv="cache-control" content="no-cache" />
|
||||
<meta http-equiv="expires" content="0" />
|
||||
<meta http-equiv="pragma" content="no-cache" />
|
||||
|
||||
<title><?php echo $this->_tpl_vars['titre']; ?>
|
||||
</title>
|
||||
<?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; ?>
|
||||
css/covenant/covenant.css" type="text/css" media="all" title="Covenants" /><?php elseif ($this->_tpl_vars['auth_level'] >= 3): ?><link rel="alternate stylesheet" href="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
css/covenant/covenant.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="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
js/game.js" type="text/javascript"></script>
|
||||
css/csnu/csnu.css" type="text/css" media="all" title="CSNU" /><?php elseif ($this->_tpl_vars['auth_level'] >= 3): ?><link rel="alternate stylesheet" href="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
css/csnu/csnu.css" type="text/css" media="all" title="CSNU" /><?php endif; ?>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
favicon.ico" />
|
||||
<?php echo $this->_tpl_vars['scripth']; ?>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="cornertop"></div>
|
||||
<div id="top"></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']; ?>
|
||||
<div><span id="date"><?php echo ((is_array($_tmp=time())) ? $this->_run_mod_handler('date_format', true, $_tmp, "%A %e %B %Y %H:%M") : smarty_modifier_date_format($_tmp, "%A %e %B %Y %H:%M")); ?>
|
||||
</span> | <?php echo $this->_tpl_vars['LANG']['hd_sup']['tempsDeJeu']; ?>
|
||||
<?php echo $this->_tpl_vars['tpsdejeu']; ?>
|
||||
| <a href="?p=version">Version <?php echo $this->_tpl_vars['version']; ?>
|
||||
</a><?php if ($this->_tpl_vars['multi']): ?> | <a href="?p=avertmulti" style="color: #FF0000;">! MULTICOMPTE !</a><?php endif; ?><?php if ($this->_tpl_vars['header']['messagedemarrage']): ?> | <a href="?p=demarrage"><?php echo $this->_tpl_vars['header']['messagedemarrage']; ?>
|
||||
</a><?php endif; ?><?php if ($this->_tpl_vars['planete']->mv < 0): ?> | <a href="?p=accueil" style="color: #FF0000;">Votre compte sera supprimé d'ici 48h</a><?php endif; ?></div><a href="<?php echo $this->_tpl_vars['link']['RSS']; ?>
|
||||
</a><?php endif; ?><?php if ($this->_tpl_vars['planete']->mv < 0): ?> | <a href="?p=accueil" style="color: #FF0000;">Votre compte sera supprimé d'ici 48h</a><?php endif; ?><?php if ($this->_tpl_vars['alertMail']['0'] + $this->_tpl_vars['alertMail']['1'] >= 1): ?> | <a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
" style="color: #FF0000;">Vous avez des messages non lu !</a><?php endif; ?></div><a href="<?php echo $this->_tpl_vars['link']['RSS']; ?>
|
||||
" id="rss">RSS :: s'abonner</a>
|
||||
<h1><a href="<?php echo $this->_tpl_vars['link']['self']; ?>
|
||||
<?php echo $this->_tpl_vars['first_page']; ?>
|
||||
"><span></span>Halo Battle</a></h1>
|
||||
<?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['menu']['webmail']; ?>
|
||||
">WEBMAIL</a></div> <div><a href="<?php echo $this->_tpl_vars['menu']['controle']; ?>
|
||||
">CONTROLE JOU.</a></div> <div><a href="<?php echo $this->_tpl_vars['menu']['vjoueurs']; ?>
|
||||
">VERIFIER JOUEUR</a></div> <div><a href="<?php echo $this->_tpl_vars['menu']['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><?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>
|
||||
<?php if ($this->_tpl_vars['page'] == 'admin'): ?>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['link']['self']; ?>
|
||||
<?php echo $this->_tpl_vars['first_page']; ?>
|
||||
">RETOUR AU JEU</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['webmail']; ?>
|
||||
">WEBMAIL</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['cjoueurs']; ?>
|
||||
">CONTROLE JOU.</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['vjoueurs']; ?>
|
||||
">VERIFIER JOUEUR</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['vplanetes']; ?>
|
||||
">VERIFIER PLANETE</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['link']['self']; ?>
|
||||
<?php echo $this->_tpl_vars['link']['operateur']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['hd_menu']['Operateurs']; ?>
|
||||
</a></li>
|
||||
<li><a href="?p=bdd">ADMIN. BDD</a></li>
|
||||
<li><a href="?p=mail_mass">MAILLING MASSE</a></li>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['link']['accueil']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['hd_menu']['accueil']; ?>
|
||||
</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['link']['blog']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['hd_menu']['blog']; ?>
|
||||
</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['hd_menu']['forum']; ?>
|
||||
</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['chat']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['hd_menu']['chat']; ?>
|
||||
</a></li>
|
||||
<li><?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']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['hd_menu']['faq']; ?>
|
||||
</a><?php endif; ?></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
"<?php if ($this->_tpl_vars['alertMail']['0'] + $this->_tpl_vars['alertMail']['1'] >= 1): ?> style="color:#FF0000;"<?php endif; ?>><?php echo $this->_tpl_vars['LANG']['hd_menu']['messagerie']; ?>
|
||||
</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['link']['operateur']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['hd_menu']['operateurs']; ?>
|
||||
</a></li>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div id="banner">
|
||||
<?php $_from = $this->_tpl_vars['header']['infos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
|
|
@ -63,156 +88,92 @@ js/game.js" type="text/javascript"></script>
|
|||
;"<?php endif; ?>><?php echo $this->_tpl_vars['info']['texte']; ?>
|
||||
</div>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<div id="bannerright"><?php echo $this->_tpl_vars['header']['count']['0']; ?>
|
||||
Marines et <?php echo $this->_tpl_vars['header']['count']['1']; ?>
|
||||
Covenants se battent dans <ins><?php echo $this->_tpl_vars['header']['count']['2']; ?>
|
||||
galaxie<?php if ($this->_tpl_vars['header']['count']['2'] > 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['menu']['accueil']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'accueil'): ?> class="hightlight"<?php endif; ?>>Accueil</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['courrier']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'mail'): ?> class="hightlight"<?php endif; ?>>Courrier</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['webmail']; ?>
|
||||
" onclick="window.open(this.href); return false;">Webmail</a>
|
||||
<div class="space"></div>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['vip']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'vip'): ?> class="hightlight"<?php endif; ?>>Vérifier IP</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['vflottes']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'vflotte'): ?> class="hightlight"<?php endif; ?>>Vérifier flottes</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['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['menu']['vjoueurs']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'vjoueurs'): ?> class="hightlight"<?php endif; ?>>Vérifier joueurs</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['valliances']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'valliances'): ?> class="hightlight"<?php endif; ?>>Vérifier alliances</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['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['menu']['sjoueurs']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'sanctionU_choix'): ?> class="hightlight"<?php endif; ?>>Sanctions joueur</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['sancp']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'sancp'): ?> class="hightlight"<?php endif; ?>>Sanctions planète</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['controle']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'controle'): ?> class="hightlight"<?php endif; ?>>Prendre le contrôle</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['djoueurs']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'sjoueurs'): ?> class="hightlight"<?php endif; ?>>Supprimer joueurs</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['inscription']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'inscription'): ?> class="hightlight"<?php endif; ?>>Créer lien d'inscription</a>
|
||||
<div class="space"></div>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['bandeau']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'bandeau'): ?> class="hightlight"<?php endif; ?>>Bandeau d'informations</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['demarrage']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'demarrage'): ?> class="hightlight"<?php endif; ?>>Message démarrage</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['versions']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'version'): ?> class="hightlight"<?php endif; ?>>Versions</a>
|
||||
<div class="space"></div>
|
||||
<?php elseif (SURFACE == 'asteroide'): ?> <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; ?>>Bâtiments</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'chantierspatial'): ?> class="hightlight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['8'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'chantierterrestre'): ?> class="hightlight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['7'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['defenses']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'defenses'): ?> class="hightlight"<?php endif; ?>>Défenses</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; ?>>Bâtiments</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'caserne'): ?> class="hightlight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['9'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'chantierspatial'): ?> class="hightlight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['8'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'chantierterrestre'): ?> class="hightlight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['7'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['defenses']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'defenses'): ?> class="hightlight"<?php endif; ?>>Défenses</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; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['6'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a><?php endif; ?>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'arbre' || $this->_tpl_vars['page'] == 'description'): ?> 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']['marche']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'marche' || $this->_tpl_vars['page'] == 'bourse_ressources' || $this->_tpl_vars['page'] == 'bourseDetails'): ?> class="hightlight"<?php endif; ?>>Marché</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'flotte' || $this->_tpl_vars['page'] == 'flotte1' || $this->_tpl_vars['page'] == 'flotte2' || $this->_tpl_vars['page'] == 'flotten'): ?> class="hightlight"<?php endif; ?>>Flottes</a>
|
||||
<!--<a href="?p=simulateur"<?php if ($this->_tpl_vars['page'] == 'simulateur_combat'): ?> class="hightlight"<?php endif; ?>>Simulateur de combat</a>-->
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'carte'): ?> class="hightlight"<?php endif; ?>>Carte spatiale</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'options'): ?> class="hightlight"<?php endif; ?>>Options</a>
|
||||
<div class="space"></div>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'messagerie' || $this->_tpl_vars['page'] == 'envoyer'): ?> class="hightlight"<?php endif; ?>><?php if ($this->_tpl_vars['alertMail']): ?><b>Messages et rapports (<?php echo $this->_tpl_vars['alertMail']; ?>
|
||||
)</b><?php else: ?>Messages et rapports<?php endif; ?></a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
"<?php if ($this->_tpl_vars['titre'] == 'Alliance'): ?> class="hightlight"<?php endif; ?>>Alliance</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['classement']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'classement'): ?> class="hightlight"<?php endif; ?>>Classement</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['chat']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'chat'): ?> class="hightlight"<?php endif; ?> onclick="window.open(this.href);return false;">Chat</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['forums']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'forums'): ?> class="hightlight"<?php endif; ?>>Forums</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['bugs']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'bugs'): ?> class="hightlight"<?php endif; ?>>Rapports de bug</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'faq'): ?> class="hightlight"<?php endif; ?>>F.A.Q.</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['deconnexion']; ?>
|
||||
">Déconnexion</a>
|
||||
<div class="space"></div>
|
||||
<?php endif; ?> <div class="menu_bt"></div></div>
|
||||
<?php if ($this->_tpl_vars['page'] != 'admin' && $this->_tpl_vars['page'] != 'vide' && $this->_tpl_vars['page'] != 'amis' && $this->_tpl_vars['page'] != 'flotten' && $this->_tpl_vars['page'] != 'messagerie' && $this->_tpl_vars['page'] != 'envoyer' && $this->_tpl_vars['page'] != 'bugs' && $this->_tpl_vars['page'] != 'carte' && $this->_tpl_vars['page'] != 'classement' && $this->_tpl_vars['page'] != 'options' && $this->_tpl_vars['page'] != 'simulation' && $this->_tpl_vars['page'] != 'vp' && $this->_tpl_vars['page'] != 'operateur' && $this->_tpl_vars['titre'] != 'Alliance'): ?>
|
||||
<div id="corps_top">
|
||||
<div class="border_top"></div>
|
||||
<a href="?p=rename"><img src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
<div id="bannerright"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG']['cntRaces'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, $this->_tpl_vars['header']['count']['1'], $this->_tpl_vars['header']['count']['0'], $this->_tpl_vars['header']['count']['2']) : smarty_modifier_sprintf($_tmp, $this->_tpl_vars['header']['count']['1'], $this->_tpl_vars['header']['count']['0'], $this->_tpl_vars['header']['count']['2'])); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div id="corps">
|
||||
<div id="menu"><span class="top"></span>
|
||||
<?php if ($this->_tpl_vars['page'] == 'admin'): ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'admin/menu.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<?php elseif (SURFACE == 'asteroide'): ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/menu_asteroide.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<?php else: ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/menu_joueurs.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<?php endif; ?>
|
||||
<span class="bottom"></span></div>
|
||||
</div>
|
||||
|
||||
<?php if ($this->_tpl_vars['page'] != 'admin' && $this->_tpl_vars['page'] != 'vide' && $this->_tpl_vars['page'] != 'amis' && $this->_tpl_vars['page'] != 'flotten' && $this->_tpl_vars['page'] != 'messagerie' && $this->_tpl_vars['page'] != 'pilori' && $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' && ! ereg ( "alliance/" , $this->_tpl_vars['page'] ) && ! ereg ( "diplomatie/" , $this->_tpl_vars['page'] )): ?>
|
||||
<div id="head">
|
||||
<span class="top"></span>
|
||||
|
||||
<a href="?p=rename" class="imglink"><img src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
images/<?php if (SURFACE == 'planete'): ?>planetes<?php else: ?>asteroides<?php endif; ?>/<?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; ?>
|
||||
.</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"><optgroup label="Planètes"><?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
<form action="<?php echo $this->_tpl_vars['link']['changeplanete']; ?>
|
||||
" method="post">
|
||||
<p>Bonjour, <span><?php echo $this->_tpl_vars['planete']->pseudo; ?>
|
||||
.</span><br />Votre position actuelle :</p>
|
||||
<fieldset>
|
||||
<select name="planete">
|
||||
<optgroup label="Planètes"><?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']; ?>
|
||||
?>
|
||||
<option <?php if (SURFACE == 'planete' && $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) : smarty_modifier_escape($_tmp)); ?>
|
||||
[<?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); ?></optgroup><?php if ($this->_tpl_vars['planete']->alliance): ?><optgroup label="Astéroïdes"><option value="A<?php echo $this->_tpl_vars['planete']->id_alliance; ?>
|
||||
"><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->alliance->nom_asteroide)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
]</option>
|
||||
<?php endforeach; endif; unset($_from); ?></optgroup>
|
||||
<?php if ($this->_tpl_vars['planete']->alliance): ?><optgroup label="Astéroïdes">
|
||||
<option value="A<?php echo $this->_tpl_vars['planete']->id_alliance; ?>
|
||||
" <?php if (SURFACE == 'asteroide'): ?>selected="selected" <?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->alliance->nom_asteroide)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
[<?php echo $this->_tpl_vars['planete']->alliance->galaxie; ?>
|
||||
:<?php echo $this->_tpl_vars['planete']->alliance->ss; ?>
|
||||
:A]</option></optgroup><?php endif; ?></select><noscript><div><br /><input class="submit" type="submit" value="GO" /></div></noscript></fieldset></form></div>
|
||||
<div class="ressource"><span><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['energie'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</span><br /><?php if ($this->_tpl_vars['planete']->energieConso >= $this->_tpl_vars['planete']->energie): ?><span class="lack"><?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->energieConso)) ? $this->_run_mod_handler('separenombre', true, $_tmp) : smarty_modifier_separenombre($_tmp)); ?>
|
||||
/<?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->energie)) ? $this->_run_mod_handler('separenombre', true, $_tmp) : smarty_modifier_separenombre($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['planete']->alert_ressources['4']): ?></span><?php endif; ?></div>
|
||||
<div class="ressource"><span><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</span><br /><?php if ($this->_tpl_vars['planete']->alert_ressources['2'] == true): ?><span class="lack"><?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->hydrogene)) ? $this->_run_mod_handler('separenombre', true, $_tmp) : smarty_modifier_separenombre($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['planete']->alert_ressources['2']): ?></span><?php endif; ?></div>
|
||||
<div class="ressource"><span><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</span><br /><?php if ($this->_tpl_vars['planete']->alert_ressources['1'] == true): ?><span class="lack"><?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->cristal)) ? $this->_run_mod_handler('separenombre', true, $_tmp) : smarty_modifier_separenombre($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['planete']->alert_ressources['1']): ?></span><?php endif; ?></div>
|
||||
<div class="ressource"><span><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</span><br /><?php if ($this->_tpl_vars['planete']->alert_ressources['0'] == true): ?><span class="lack"><?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->metal)) ? $this->_run_mod_handler('separenombre', true, $_tmp) : smarty_modifier_separenombre($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['planete']->alert_ressources['0']): ?></span><?php endif; ?></div>
|
||||
<div class="border_bt"></div>
|
||||
:A]</option>
|
||||
</optgroup><?php endif; ?>
|
||||
</select>
|
||||
<noscript><fieldset><input class="submit" type="submit" value="GO" /></fieldset></noscript>
|
||||
</fieldset></form>
|
||||
<div>
|
||||
<div><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</strong><br /><span<?php if ($this->_tpl_vars['planete']->metal >= $this->_tpl_vars['planete']->cap): ?> class="lack"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->metal)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</span></div>
|
||||
<div><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</strong><br /><span<?php if ($this->_tpl_vars['planete']->cristal >= $this->_tpl_vars['planete']->cap): ?> class="lack"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->cristal)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</span></div>
|
||||
<div><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</strong><br /><span<?php if ($this->_tpl_vars['planete']->hydrogene >= $this->_tpl_vars['planete']->cap): ?> class="lack"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->hydrogene)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</span></div>
|
||||
<?php if (SURFACE == 'asteroide'): ?><div><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['credits'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</strong><br /><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->credits_alliance)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</div>
|
||||
<?php else: ?><div><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['energie'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</strong><br /><span<?php if ($this->_tpl_vars['planete']->energieConso >= $this->_tpl_vars['planete']->energie): ?> class="lack"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->energieConso)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
/<?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->energie)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</span></div><?php endif; ?>
|
||||
</div>
|
||||
|
||||
<span class="bottom"></span>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['page'] != 'admin' && $this->_tpl_vars['page'] != 'operateur'): ?><div id="pub"><?php echo $this->_tpl_vars['pub']; ?>
|
||||
|
||||
<?php if ($this->_tpl_vars['page'] != 'admin' && $this->_tpl_vars['page'] != 'operateur'): ?><div id="pub"><?php echo $this->_tpl_vars['pub']; ?>
|
||||
</div><?php endif; ?>
|
||||
<div id="corps">
|
||||
<div class="border_top"></div>
|
||||
|
||||
<div id="body">
|
||||
<span class="top"></span>
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-28 18:50:41
|
||||
compiled from admin/menu.tpl */ ?>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['accueil']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'accueil'): ?> class="hilight"<?php endif; ?>>Accueil</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['courrier']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'mail'): ?> class="hilight"<?php endif; ?>>Courrier</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['webmail']; ?>
|
||||
" class="external">Webmail</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['vip']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'vip'): ?> class="hilight"<?php endif; ?>>Vérifier IP</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['vflottes']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'vflotte'): ?> class="hilight"<?php endif; ?>>Vérifier flottes</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['vplanetes']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'print_choixP'): ?> class="hilight"<?php endif; ?>>Vérifier planètes</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['vjoueurs']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'vjoueurs'): ?> class="hilight"<?php endif; ?>>Vérifier joueurs</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['vrapports']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'vrapports'): ?> class="hilight"<?php endif; ?>>Afficher rapports</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="?p=snalliances"<?php if ($this->_tpl_vars['pagea'] == 'snalliances'): ?> class="hilight"<?php endif; ?>>Voir les futurs alliances</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['valliances']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'valliances'): ?> class="hilight"<?php endif; ?>>Vérifier alliances</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['sjoueurs']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'sanctionU_choix'): ?> class="hilight"<?php endif; ?>>Sanctions joueur</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['cjoueurs']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'controle'): ?> class="hilight"<?php endif; ?>>Prendre le contrôle</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['djoueurs']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'sjoueurs'): ?> class="hilight"<?php endif; ?>>Supprimer joueurs</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['inscription']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'inscription'): ?> class="hilight"<?php endif; ?>>Créer lien d'inscription</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['bandeau']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'bandeau'): ?> class="hilight"<?php endif; ?>>Bandeau d'informations</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['demarrage']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'demarrage'): ?> class="hilight"<?php endif; ?>>Message démarrage</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['versions']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'version'): ?> class="hilight"<?php endif; ?>>Versions</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="./arbre.php">Arbre des technologies</a></li>
|
||||
<li><a href="./integrite.php">Vérifier l'intégrité</a></li>
|
||||
<li><a href="./lectlog.php">Lecteur de logs</a></li>
|
||||
</ul>
|
||||
|
|
@ -0,0 +1,135 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-30 12:58:12
|
||||
compiled from game/flotte1.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/flotte1.tpl', 11, false),array('modifier', 'date_format', 'game/flotte1.tpl', 15, false),array('modifier', 'ucfirst', 'game/flotte1.tpl', 62, false),array('modifier', 'separerNombres', 'game/flotte1.tpl', 63, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Flottes en action</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Nom</th><th>Mission</th><th>Nb.vaisseau(x)</th><th>Destination</th><th>Heure d'arrivée</th><th>Retour</th><th>Heure de retour</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if ($this->_tpl_vars['flottesEC']): ?>
|
||||
<?php $_from = $this->_tpl_vars['flottesEC']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['flotteEC']):
|
||||
?>
|
||||
<tr>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
|
||||
&n=<?php echo $this->_tpl_vars['flotteEC']->id; ?>
|
||||
"><?php echo ((is_array($_tmp=$this->_tpl_vars['flotteEC']->nom)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</a></td>
|
||||
<td><?php echo $this->_tpl_vars['flotteEC']->txtMission($this->_tpl_vars['flotteEC']->mission); ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['flotteEC']->nb_vais; ?>
|
||||
</td>
|
||||
<td><?php if ($this->_tpl_vars['flotteEC']->end_type == '2'): ?><?php echo $this->_tpl_vars['flotteEC']->end_planete->nom_alliance; ?>
|
||||
[<?php echo $this->_tpl_vars['flotteEC']->end_planete->galaxie; ?>
|
||||
:<?php echo $this->_tpl_vars['flotteEC']->end_planete->ss; ?>
|
||||
:A]<?php elseif ($this->_tpl_vars['flotteEC']->end_type == '1'): ?>[<?php echo $this->_tpl_vars['flotteEC']->end_planete; ?>
|
||||
]<?php elseif ($this->_tpl_vars['flotteEC']->end_type == '3'): ?>[<?php echo $this->_tpl_vars['flotteEC']->end_planete; ?>
|
||||
:A]<?php else: ?><?php echo $this->_tpl_vars['flotteEC']->end_planete->nom_planete; ?>
|
||||
[<?php echo $this->_tpl_vars['flotteEC']->end_planete->galaxie; ?>
|
||||
:<?php echo $this->_tpl_vars['flotteEC']->end_planete->ss; ?>
|
||||
:<?php echo $this->_tpl_vars['flotteEC']->end_planete->position; ?>
|
||||
]<?php endif; ?></td>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['flotteEC']->printTime_end())) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m %H:%M:%S")); ?>
|
||||
</td>
|
||||
<?php if ($this->_tpl_vars['flotteEC']->printTime_ret()): ?><td><?php if ($this->_tpl_vars['flotteEC']->start_type == '2'): ?><?php echo $this->_tpl_vars['flotteEC']->start_planete->nom_alliance; ?>
|
||||
[<?php echo $this->_tpl_vars['flotteEC']->start_planete->galaxie; ?>
|
||||
:<?php echo $this->_tpl_vars['flotteEC']->start_planete->ss; ?>
|
||||
:A]<?php elseif ($this->_tpl_vars['flotteEC']->start_type == '1'): ?>[<?php echo $this->_tpl_vars['flotteEC']->start_planete; ?>
|
||||
]<?php elseif ($this->_tpl_vars['flotteEC']->start_type == '3'): ?>[<?php echo $this->_tpl_vars['flotteEC']->start_planete; ?>
|
||||
:A]<?php else: ?><?php echo $this->_tpl_vars['flotteEC']->start_planete->nom_planete; ?>
|
||||
[<?php echo $this->_tpl_vars['flotteEC']->start_planete->galaxie; ?>
|
||||
:<?php echo $this->_tpl_vars['flotteEC']->start_planete->ss; ?>
|
||||
:<?php echo $this->_tpl_vars['flotteEC']->start_planete->position; ?>
|
||||
]<?php endif; ?></td>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['flotteEC']->printTime_ret())) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m %H:%M:%S")); ?>
|
||||
</td>
|
||||
<?php else: ?><td>-</td><td>-</td><?php endif; ?>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php else: ?>
|
||||
<tr>
|
||||
<td colspan="7">Aucune flotte en action</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php if ($this->_tpl_vars['flottesEP']): ?>
|
||||
<h2>Flottes en préparation</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Statut</th><th>Nom</th><th>Mission</th><th>Nb.vaisseau(x)</th><th>Destination</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['flottesEP']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['flotteEP']):
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $this->_tpl_vars['flotteEP']['statut']; ?>
|
||||
</td>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
|
||||
&c=<?php echo $this->_tpl_vars['key']; ?>
|
||||
"><?php if ($this->_tpl_vars['flotteEP']['nom']): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['flotteEP']['nom'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
<?php else: ?>Sans nom<?php endif; ?></a></td>
|
||||
<td><?php echo $this->_tpl_vars['flotteEP']['mission']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['flotteEP']['nbVaisseaux']; ?>
|
||||
</td>
|
||||
<td><?php if ($this->_tpl_vars['flotteEP']['end_position']): ?>[<?php echo $this->_tpl_vars['flotteEP']['end_galaxie']; ?>
|
||||
:<?php echo $this->_tpl_vars['flotteEP']['end_systeme']; ?>
|
||||
:<?php echo $this->_tpl_vars['flotteEP']['end_position']; ?>
|
||||
]<?php else: ?>Indéterminé<?php endif; ?></td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Cette liste sera perdue après votre déconnexion</p>
|
||||
<?php endif; ?>
|
||||
<h2>Vaisseaux disponibles sur cette planète</h2>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
|
||||
" method="post">
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Vaisseaux</th><th>Nombre disponible</th><th>Max</th><th>A envoyer<br />Flottes : <?php echo $this->_tpl_vars['nbflotte']; ?>
|
||||
/<?php echo $this->_tpl_vars['nbflottemax']; ?>
|
||||
</th></tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr><td colspan="4"><input class="button" type="button" value="Tous les vaisseaux" onclick="vaisseaux(true)" /> <input class="button" type="button" value="Aucun vaisseau" onclick="vaisseaux(false)" /></td></tr>
|
||||
<tr><td colspan="4"><?php echo $this->_tpl_vars['action']; ?>
|
||||
</td></tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['planete']->vaisseaux; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['vaisseau']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['vaisseau'] > 0): ?>
|
||||
<tr>
|
||||
<td><?php if ($this->_tpl_vars['vaisseau'] > 1): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['noms_pluriel'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
<?php else: ?><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['noms_sing'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
<?php endif; ?></td>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['vaisseau'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
<span id="v_<?php echo $this->_tpl_vars['key']; ?>
|
||||
" style="display: none;"><?php echo $this->_tpl_vars['vaisseau']; ?>
|
||||
</span></td>
|
||||
<td><input class="button" type="button" value="Max" onclick="max('<?php echo $this->_tpl_vars['key']; ?>
|
||||
')" /></td>
|
||||
<td><input class="text" type="text" name="v<?php echo $this->_tpl_vars['key']; ?>
|
||||
" value="0" /></td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-11-01 03:06:45
|
||||
compiled from cms/maj.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'sprintf', 'cms/maj.tpl', 7, false),)), $this); ?>
|
||||
<?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"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG']['mod_inscription_texte'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, $this->_tpl_vars['link']['inscription'], $this->_tpl_vars['link']['inscription'], $this->_tpl_vars['link']['inscription']) : smarty_modifier_sprintf($_tmp, $this->_tpl_vars['link']['inscription'], $this->_tpl_vars['link']['inscription'], $this->_tpl_vars['link']['inscription'])); ?>
|
||||
</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);
|
||||
?>
|
||||
46
onyx2/modules/templates/compile/%%EF^EF3^EF31CFB3%%2.tpl.php
Normal file
46
onyx2/modules/templates/compile/%%EF^EF3^EF31CFB3%%2.tpl.php
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-28 21:29:23
|
||||
compiled from game/options/2.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);
|
||||
?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/options/common.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Changer de mot de passe</h2>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=compte" method="post"><fieldset class="form">
|
||||
<label for="ancien">Ancien mot de passe : <input class="text" type="password" id="ancien" name="mdp_anc" /></label><br />
|
||||
<label for="nouveau">Nouveau mot de passe : <input class="text" type="password" id="nouveau" name="mdp_nouv" /></label><br />
|
||||
<label for="confirm">Confirmez le mot de passe : <input class="text" type="password" id="confirm" name="mdp_conf" /></label><br />
|
||||
<p>Le nouveau mot de passe sera modifié après validation par mail. Veuillez vous assurez que votre adresse actuelle est toujours valide.</p><br />
|
||||
<input class="submit" type="submit" name="chgmdp" value="OK" />
|
||||
</fieldset></form>
|
||||
<h2>Changer d'adresse électronique</h2>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=compte" method="post"><fieldset class="form">
|
||||
<label>Adresse actuelle : <em><?php echo $this->_tpl_vars['planete']->mail; ?>
|
||||
</em></label><br />
|
||||
<label for="mail">Nouveau mail : <input class="text" type="text" id="mail" name="mail" /></label><br />
|
||||
<label for="mdp_mail">Mot de passe actuel : <input class="text" type="password" id="mdp_mail" name="mdp_mail" /></label><br /><br />
|
||||
<p>L'adresse électronique sera modifiée une fois validée depuis votre nouvelle adresse.</p><br />
|
||||
<input class="submit" type="submit" name="chgmail" value="OK" />
|
||||
</fieldset></form>
|
||||
<h2>Mode vacances</h2>
|
||||
Si vous devez vous absenter de votre compte pour une durée supérieure à 3 jours, vous pouvez mettre votre compte en mode vacances.<br />Vous ne pouvez pas vous faire attaquer (les attaques déjà lancées ne seront pas annulées !) durant cette période, mais vous ne produirez pas de resources sur vos planètes. 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']; ?>
|
||||
&n=compte&a=mv&c=<?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']; ?>
|
||||
&n=compte&a=dl&c=<?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);
|
||||
?>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-01 22:26:02
|
||||
<?php /* Smarty version 2.6.22, created on 2009-10-23 21:01:36
|
||||
compiled from game/vide.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
|
|
|
|||
|
|
@ -1,58 +1,57 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-07 17:54:02
|
||||
<?php /* Smarty version 2.6.22, created on 2009-10-31 19:29:54
|
||||
compiled from game/messagerie.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'nl2br', 'game/messagerie.tpl', 8, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/messagerie.tpl', 13, false),array('modifier', 'nl2br', 'game/messagerie.tpl', 14, false),array('modifier', 'escape', 'game/messagerie.tpl', 14, false),array('modifier', 'bbcode', 'game/messagerie.tpl', 14, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Messages</h2>
|
||||
<?php echo $this->_tpl_vars['avertissement']; ?>
|
||||
<h2><?php echo $this->_tpl_vars['titreR']; ?>
|
||||
</h2>
|
||||
<ul class="onglets">
|
||||
<li><a href="?p=<?php echo $this->_tpl_vars['link_P']; ?>
|
||||
&n=recus"<?php if ($this->_tpl_vars['onglet'] != 'rapports' && $this->_tpl_vars['onglet'] != 'send' && $this->_tpl_vars['onglet'] != 'envoyer'): ?> class="hilight"<?php endif; ?>>Reçus</a><?php if ($this->_tpl_vars['alertMail']['0']): ?> (<?php echo $this->_tpl_vars['alertMail']['0']; ?>
|
||||
)<?php endif; ?></li>
|
||||
<li><a href="?p=<?php echo $this->_tpl_vars['link_P']; ?>
|
||||
&n=rapports"<?php if ($this->_tpl_vars['onglet'] == 'rapports'): ?> class="hilight"<?php endif; ?>>Rapports</a><?php if ($this->_tpl_vars['alertMail']['1']): ?> (<?php echo $this->_tpl_vars['alertMail']['1']; ?>
|
||||
)<?php endif; ?></li>
|
||||
<li><a href="?p=<?php echo $this->_tpl_vars['link_P']; ?>
|
||||
&n=send"<?php if ($this->_tpl_vars['onglet'] == 'send'): ?> class="hilight"<?php endif; ?>>Envoyés</a></li>
|
||||
<li><a href="?p=<?php echo $this->_tpl_vars['link_P']; ?>
|
||||
&n=envoyer"<?php if ($this->_tpl_vars['onglet'] == 'envoyer'): ?> class="hilight"<?php endif; ?>>Ecrire</a></li>
|
||||
</ul><br /><br />
|
||||
<?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">
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['messagerie']; ?>
|
||||
" method="post" id="messagerie"><fieldset>
|
||||
<?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']):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $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&d=<?php echo $this->_tpl_vars['message']['2']; ?>
|
||||
&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&d=<?php echo $this->_tpl_vars['message']['2']; ?>
|
||||
&o=Re:%20<?php echo $this->_tpl_vars['message']['0']; ?>
|
||||
"><i>Répondre</i></a> | <a href="?p=messagerie&avertir=<?php echo $this->_tpl_vars['message']['5']; ?>
|
||||
"><i>Avertir un opérateur</i></a></div></dd>
|
||||
</dl>
|
||||
<dl<?php if ($this->_tpl_vars['onglet'] != 'send' && $this->_tpl_vars['message']['vu']): ?> class="new"<?php endif; ?>>
|
||||
<dt><input type="checkbox" class="checkbox" name="m<?php echo $this->_tpl_vars['key']; ?>
|
||||
" value="<?php echo $this->_tpl_vars['message']['id']; ?>
|
||||
" /> <?php if ($this->_tpl_vars['onglet'] != 'rapports'): ?><a href="?p=<?php echo $this->_tpl_vars['link_P']; ?>
|
||||
&n=envoyer&d=<?php if ($this->_tpl_vars['onglet'] == 'send'): ?><?php echo $this->_tpl_vars['message']['destinataire']; ?>
|
||||
&o=Fwd<?php else: ?><?php echo $this->_tpl_vars['message']['expediteur']; ?>
|
||||
&o=Re<?php endif; ?>:%20<?php echo $this->_tpl_vars['message']['sujet']; ?>
|
||||
"><?php endif; ?><?php echo $this->_tpl_vars['message']['sujet']; ?>
|
||||
<?php if ($this->_tpl_vars['onglet'] != 'rapports'): ?></a><?php endif; ?><?php if (! empty ( $this->_tpl_vars['message']['expediteur'] )): ?> <?php if ($this->_tpl_vars['onglet'] == 'send'): ?>vers <?php echo $this->_tpl_vars['message']['destinataire']; ?>
|
||||
<?php else: ?>de <?php echo $this->_tpl_vars['message']['expediteur']; ?>
|
||||
<?php endif; ?><?php endif; ?> le <?php echo ((is_array($_tmp=$this->_tpl_vars['message']['temps'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y à %H:%M") : smarty_modifier_date_format($_tmp, "%d/%m/%y à %H:%M")); ?>
|
||||
</dt>
|
||||
<dd><?php if ($this->_tpl_vars['onglet'] == 'rapports'): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['message']['contenu'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
|
||||
<?php else: ?><?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['message']['contenu'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('bbcode', true, $_tmp) : smarty_modifier_bbcode($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
|
||||
<?php endif; ?><?php if ($this->_tpl_vars['onglet'] != 'send' && $this->_tpl_vars['onglet'] != 'rapports'): ?><div style="text-align: right;"><a href="?p=<?php echo $this->_tpl_vars['link_P']; ?>
|
||||
&n=envoyer&d=<?php echo $this->_tpl_vars['message']['expediteur']; ?>
|
||||
&o=Re:%20<?php echo $this->_tpl_vars['message']['sujet']; ?>
|
||||
"><i>Répondre</i></a> | <a href="?p=messagerie&avertir=<?php echo $this->_tpl_vars['message']['4']; ?>
|
||||
"><i>Avertir un opérateur</i></a></div><?php endif; ?></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 if ($this->_tpl_vars['onglet'] != 'send' && $this->_tpl_vars['messages']): ?><strong>Supprimer le sélection : <input class="submit" type="submit" value="OK" /></strong>
|
||||
<?php elseif (! $this->_tpl_vars['messages']): ?><div id="erreur">Aucun <?php if ($this->_tpl_vars['onglet'] == 'rapports'): ?>rapport<?php else: ?>message<?php endif; ?></div><?php endif; ?>
|
||||
</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;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-01 20:50:48
|
||||
<?php /* Smarty version 2.6.22, created on 2009-10-26 19:36:35
|
||||
compiled from admin/inscription.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
|
|
@ -8,11 +8,11 @@ unset($_smarty_tpl_vars);
|
|||
<div class="corpsi">
|
||||
<form action="" method="post">
|
||||
<p><label for="pseudo">Pseudo :</label> <input class="text" name="HB_pseudo" id="pseudo" type="text" maxlength="16" value="<?php echo $_POST['HB_pseudo']; ?>
|
||||
" />
|
||||
<br /><label for="mdp">Mot de passe :</label> <input class="text" name="HB_mdp" id="mdp" type="password" maxlength="32" />
|
||||
<br /><label for="conf">Confirmation :</label> <input class="text" name="HB_conf" id="conf" type="password" maxlength="32" />
|
||||
" tabindex="1" />
|
||||
<br /><label for="mdp">Mot de passe :</label> <input class="text" name="HB_mdp" id="mdp" type="password" maxlength="32" tabindex="2" /> <em>Laisser vide pour en générer un mot de passe aléatoire</em>
|
||||
<br /><label for="conf">Confirmation :</label> <input class="text" name="HB_conf" id="conf" type="password" maxlength="32" tabindex="3" />
|
||||
<br /><label for="mail">Adresse électronique :</label> <input class="text" name="HB_mail" id="mail" type="text" value="<?php echo $_POST['HB_mail']; ?>
|
||||
" maxlength="64" />
|
||||
" maxlength="64" tabindex="4" />
|
||||
<br /><br />Race :<br />
|
||||
</p>
|
||||
<table style="margin-left: auto; margin-right: auto; width: 75%;">
|
||||
|
|
@ -20,22 +20,22 @@ unset($_smarty_tpl_vars);
|
|||
<td>
|
||||
<label id="humain" for="humaini">
|
||||
<img src="images/humain.jpg" alt="Humain"/><br />
|
||||
<input type="radio" name="race" id="humaini" value="humain"<?php if ($_POST['race'] == 'humain'): ?> selected="selected"<?php endif; ?> /> Humain
|
||||
<input type="radio" name="race" id="humaini" value="humain"<?php if ($_POST['race'] == 'humain'): ?> selected="selected"<?php endif; ?> tabindex="4" /> Humain
|
||||
</label>
|
||||
</td>
|
||||
<td>
|
||||
<label id="covenant" for="covenanti">
|
||||
<img src="images/covenant.jpg" alt="Covenant"/><br />
|
||||
<input type="radio" name="race" id="covenanti" value="covenant"<?php if ($_POST['race'] == 'covenant'): ?> selected="selected"<?php endif; ?> /> Covenant
|
||||
<input type="radio" name="race" id="covenanti" value="covenant"<?php if ($_POST['race'] == 'covenant'): ?> selected="selected"<?php endif; ?> tabindex="5" /> Covenant
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>
|
||||
<br /><label for="servers">Galaxie :</label> <select name="servers" id="servers"><option value="1"> Alpha</option></select>
|
||||
<br /><label for="placement">Placement préférentiel :</label> <input class="text" name="HB_placement" id="placement" type="text" value="<?php echo $_POST['HB_placement']; ?>
|
||||
<br /><label for="servers">Galaxie :</label> <select name="servers" id="servers" tabindex="6"><option value="1"> Alpha</option></select>
|
||||
<br /><label for="placement">Placement préférentiel :</label> <input class="text" name="HB_placement" id="placement" type="text" tabindex="7" value="<?php echo $_POST['HB_placement']; ?>
|
||||
" />
|
||||
<br /><br /><input class="submit" value="OK" type="submit" />
|
||||
<br /><br /><input class="submit" value="OK" type="submit" tabindex="8" />
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,53 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-18 06:08:34
|
||||
compiled from game/alliance/view.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'game/alliance/view.tpl', 2, false),array('modifier', 'escape', 'game/alliance/view.tpl', 2, false),array('modifier', 'capitalize', 'game/alliance/view.tpl', 2, false),array('modifier', 'nl2br', 'game/alliance/view.tpl', 28, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>[<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
] <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['alliance']['nom_alliance'])) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</h2>
|
||||
<table cellpadding="2" cellspacing="0" style="text-align: center; width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="2"><img src="<?php echo $this->_tpl_vars['alliance']['image']; ?>
|
||||
" alt="" /></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=((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)))) ? $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['nbmembres']; ?>
|
||||
(<a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&m=<?php echo $this->_tpl_vars['alliance']['id']; ?>
|
||||
">Liste des membres</a>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Votre grade :</strong></td>
|
||||
<td><?php echo $this->_tpl_vars['grade']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Status des inscriptions :</strong></td>
|
||||
<td><?php if ($this->_tpl_vars['alliance']['etat_inscription']): ?>Ouvertes<?php if (! $this->_tpl_vars['planete']->id_alliance): ?> - <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&postuler=<?php echo $this->_tpl_vars['alliance']['id']; ?>
|
||||
">Postuler</a><?php endif; ?><?php else: ?>Fermée<?php endif; ?></td>
|
||||
</tr>
|
||||
</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)); ?>
|
||||
|
||||
<?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);
|
||||
?>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-01 20:34:41
|
||||
<?php /* Smarty version 2.6.22, created on 2009-10-31 10:31:53
|
||||
compiled from game/version.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'nl2br', 'game/version.tpl', 5, false),)), $this); ?>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,83 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-18 06:07:50
|
||||
compiled from game/alliance/gestion_grades.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/alliance/gestion_grades.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);
|
||||
?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/alliance/gestion_common.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Gestion des grades existants</h2>
|
||||
<table>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['grades']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['grade']):
|
||||
?>
|
||||
<tr>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=grades&i=<?php echo $this->_tpl_vars['grade']['id']; ?>
|
||||
"><?php echo ((is_array($_tmp=$this->_tpl_vars['grade']['nom'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</a></td>
|
||||
<td><?php if ($this->_tpl_vars['grade']['auth'] & 1): ?>Oui<?php else: ?>Non<?php endif; ?></td>
|
||||
<td><?php if ($this->_tpl_vars['grade']['auth'] & 2): ?>Oui<?php else: ?>Non<?php endif; ?></td>
|
||||
<td><?php if ($this->_tpl_vars['grade']['auth'] & 4): ?>Oui<?php else: ?>Non<?php endif; ?></td>
|
||||
<td><?php if ($this->_tpl_vars['grade']['auth'] & 8): ?>Oui<?php else: ?>Non<?php endif; ?></td>
|
||||
<td><?php if ($this->_tpl_vars['grade']['auth'] & 16): ?>Oui<?php else: ?>Non<?php endif; ?></td>
|
||||
<td><?php if ($this->_tpl_vars['grade']['auth'] & 32): ?>Oui<?php else: ?>Non<?php endif; ?></td>
|
||||
<td><?php if ($this->_tpl_vars['grade']['auth'] & 64): ?>Oui<?php else: ?>Non<?php endif; ?></td>
|
||||
<td><?php if ($this->_tpl_vars['grade']['auth'] & 128): ?>Oui<?php else: ?>Non<?php endif; ?></td>
|
||||
<td><?php if ($this->_tpl_vars['grade']['auth'] & 256): ?>Oui<?php else: ?>Non<?php endif; ?></td>
|
||||
<td><?php if ($this->_tpl_vars['grade']['auth'] & 512): ?>Oui<?php else: ?>Non<?php endif; ?></td>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=grades&d=<?php echo $this->_tpl_vars['grade']['id']; ?>
|
||||
" onclick="return confirm('Êtes-vous sûr de vouloir supprimer ce grade ?');">Supprimer</a></td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Nom</th>
|
||||
<th>Bâtiments</th>
|
||||
<th>Vaisseaux</th>
|
||||
<th>Flottes</th>
|
||||
<th>Diplomatie</th>
|
||||
<th>Crédits</th>
|
||||
<th>Membres</th>
|
||||
<th>Wings</th>
|
||||
<th>Alliance</th>
|
||||
<th>Chat</th>
|
||||
<th>Messagerie</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<h2><?php if ($this->_tpl_vars['grade_mod']): ?>Modifier<?php else: ?>Créer<?php endif; ?> un grade</h2><br />
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=grades<?php if ($this->_tpl_vars['grade_mod']): ?>&i=<?php echo $this->_tpl_vars['grade_mod']['id']; ?>
|
||||
<?php endif; ?>" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="nom">Nom :</label> <input type="text" name="nom" id="nom" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['grade_mod']['nom'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
" size="30" maxlength="32" tabindex="1" /><br /><br />
|
||||
<input type="checkbox" name="gbats" id="gbats" value="1"<?php if ($this->_tpl_vars['grade_mod']['auth'] & 1): ?> checked="checked"<?php endif; ?> /> <label for="gbats">Gestion des bâtiments</label><br />
|
||||
<input type="checkbox" name="gvais" id="gvais" value="1"<?php if ($this->_tpl_vars['grade_mod']['auth'] & 2): ?> checked="checked"<?php endif; ?> /> <label for="gvais">Gestion des vaisseaux</label><br />
|
||||
<input type="checkbox" name="gflot" id="gflot" value="1"<?php if ($this->_tpl_vars['grade_mod']['auth'] & 4): ?> checked="checked"<?php endif; ?> /> <label for="gflot">Gestion des flottes</label><br />
|
||||
<input type="checkbox" name="gdipl" id="gdipl" value="1"<?php if ($this->_tpl_vars['grade_mod']['auth'] & 8): ?> checked="checked"<?php endif; ?> /> <label for="gdipl">Gestion de la diplomatie</label><br />
|
||||
<input type="checkbox" name="gcred" id="gcred" value="1"<?php if ($this->_tpl_vars['grade_mod']['auth'] & 16): ?> checked="checked"<?php endif; ?> /> <label for="gcred">Gestion des crédits</label><br /><br />
|
||||
<input type="checkbox" name="gmemb" id="gmemb" value="1"<?php if ($this->_tpl_vars['grade_mod']['auth'] & 32): ?> checked="checked"<?php endif; ?> /> <label for="gmemb">Gestion des membres</label><br />
|
||||
<input type="checkbox" name="gwing" id="gwing" value="1"<?php if ($this->_tpl_vars['grade_mod']['auth'] & 64): ?> checked="checked"<?php endif; ?> /> <label for="gwing">Gestion des wings</label><br />
|
||||
<input type="checkbox" name="galli" id="galli" value="1"<?php if ($this->_tpl_vars['grade_mod']['auth'] & 128): ?> checked="checked"<?php endif; ?> /> <label for="galli">Gestion de l'alliance</label><br />
|
||||
<input type="checkbox" name="gchat" id="gchat" value="1"<?php if ($this->_tpl_vars['grade_mod']['auth'] & 256): ?> checked="checked"<?php endif; ?> /> <label for="gchat">Participe au chat</label><br />
|
||||
<input type="checkbox" name="gmess" id="gmess" value="1"<?php if ($this->_tpl_vars['grade_mod']['auth'] & 512): ?> checked="checked"<?php endif; ?> /> <label for="gmess">Utilisation de la messagerie d'alliance</label><br />
|
||||
<br /><input type="submit" class="submit" value="GO" tabindex="3" />
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 14:55:03
|
||||
compiled from game/alliance/nm_statut.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'game/alliance/nm_statut.tpl', 4, 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>Alliance en fondation</h2>
|
||||
<h3><strong>Nom :</strong> <?php echo $this->_tpl_vars['alliance']['nom_alliance']; ?>
|
||||
</h3>
|
||||
<h3><strong>Tag :</strong> <?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
|
||||
</h3><br />
|
||||
<h2>Signatures</h2>
|
||||
<h3><strong>Actuellement :</strong> <?php echo $this->_tpl_vars['nbSignatures']; ?>
|
||||
</h3>
|
||||
<h3><strong>Nécessaire :</strong> 4</h3>
|
||||
<h3><strong>Signataires :</strong> <?php $_from = $this->_tpl_vars['pseudos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['pseudo']):
|
||||
?><?php if ($this->_tpl_vars['k'] != 0): ?>, <?php endif; ?><?php echo $this->_tpl_vars['pseudo']['pseudo']; ?>
|
||||
<?php endforeach; endif; unset($_from); ?></h3><br />
|
||||
<h2>Autre</h2>
|
||||
<h3><a href="?p=alliances&q=fonder&r=quit">Quitter l'alliance</a></h3>
|
||||
<h3><strong>Lien de signature :</strong> <a href="http://<?php echo $this->_tpl_vars['url_serveur']; ?>
|
||||
/<?php echo $this->_tpl_vars['first_page']; ?>
|
||||
?p=alliances&signer=<?php echo $this->_tpl_vars['alliance']['lien']; ?>
|
||||
">http://<?php echo $this->_tpl_vars['url_serveur']; ?>
|
||||
/<?php echo $this->_tpl_vars['first_page']; ?>
|
||||
?p=alliances&signer=<?php echo $this->_tpl_vars['alliance']['lien']; ?>
|
||||
</a></h3>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue