forked from halo-battle/game
Version 1.14a
This commit is contained in:
parent
ba8f323879
commit
dc48225dc9
1094 changed files with 189052 additions and 13889 deletions
|
|
@ -0,0 +1,89 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 14:50:14
|
||||
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', 7, false),array('modifier', 'countdown', 'game/batiments_alli.tpl', 7, false),array('modifier', 'separerNombres', 'game/batiments_alli.tpl', 26, 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>
|
||||
<ul id="file">
|
||||
<?php ob_start(); ?>
|
||||
<?php $_from = $this->_tpl_vars['files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['keyF'] => $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['keyE'] => $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['element']['3']): ?> class="countdown"<?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['keyF']; ?>
|
||||
&b=<?php echo $this->_tpl_vars['keyE']; ?>
|
||||
">Annuler</a></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php $this->_smarty_vars['capture']['expFile'] = ob_get_contents(); ob_end_clean(); ?>
|
||||
<?php if ($this->_tpl_vars['files'] && $this->_smarty_vars['capture']['expFile']): ?>
|
||||
<?php echo $this->_smarty_vars['capture']['expFile']; ?>
|
||||
|
||||
<?php else: ?>
|
||||
<li>Aucun bâtiment dans la file d'attente</li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
<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): ?>Niveau actuel : <em><?php echo $this->_tpl_vars['batiment']['niveau']; ?>
|
||||
</em><br /><br /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_metal'] > 0): ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
: <em<?php if ($this->_tpl_vars['batiment']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?> class="lack"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</em><br /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_cristal'] > 0): ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
: <em<?php if ($this->_tpl_vars['batiment']['nec_cristal'] > $this->_tpl_vars['planete']->cristal): ?> class="lack"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</em><br /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_hydrogene'] > 0): ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
: <em<?php if ($this->_tpl_vars['batiment']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene): ?> class="lack"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</em><br /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_credits'] > 0): ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['credits']; ?>
|
||||
: <em<?php if ($this->_tpl_vars['batiment']['nec_credits'] > $this->_tpl_vars['planete']->credits_alliance): ?> class="lack"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_credits'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</em><br /><?php endif; ?>
|
||||
Temps de construction : <em><?php echo $this->_tpl_vars['batiment']['temps']; ?>
|
||||
</em><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']['0']; ?>
|
||||
&b=<?php echo $this->_tpl_vars['batiment']['enfile']['1']; ?>
|
||||
">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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,106 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 21:22:39
|
||||
compiled from game/chantierterrestre.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'countdown', 'game/chantierterrestre.tpl', 11, false),array('modifier', 'ucfirst', 'game/chantierterrestre.tpl', 24, false),array('modifier', 'separerNombres', 'game/chantierterrestre.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);
|
||||
?>
|
||||
<ul class="onglets">
|
||||
<li<?php if ($this->_tpl_vars['onglet'] != 'defenses'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
">Unités</a></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 'defenses'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
&n=defenses">Défenses</a></li>
|
||||
</ul><br /><br />
|
||||
<h2>File d'attente</h2>
|
||||
<ul id="file">
|
||||
<?php ob_start(); ?>
|
||||
<?php $_from = $this->_tpl_vars['files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['keyF'] => $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['keyE'] => $this->_tpl_vars['element']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['element']['5']): ?><li><strong>Prochaine <?php if ($this->_tpl_vars['element']['6']): ?>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; ?> - <span<?php if ($this->_tpl_vars['element']['5']): ?> class="countdown"<?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['keyF']; ?>
|
||||
&b=<?php echo $this->_tpl_vars['keyE']; ?>
|
||||
">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['keyF']; ?>
|
||||
&b=<?php echo $this->_tpl_vars['keyE']; ?>
|
||||
&s=<?php echo $this->_tpl_vars['element']['1']; ?>
|
||||
">Annuler tous</a></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php $this->_smarty_vars['capture']['expFile'] = ob_get_contents(); ob_end_clean(); ?>
|
||||
<?php if ($this->_tpl_vars['files'] && $this->_smarty_vars['capture']['expFile']): ?>
|
||||
<?php echo $this->_smarty_vars['capture']['expFile']; ?>
|
||||
|
||||
<?php else: ?>
|
||||
<li>Aucune unité dans la file d'attente</li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=chantierterrestre">Arbre des technologies</a></h3><br />
|
||||
<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']):
|
||||
?>
|
||||
<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; ?></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 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 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; ?>
|
||||
<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>
|
||||
<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); ?>
|
||||
</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;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,51 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 21:24:02
|
||||
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', 7, false),array('modifier', 'separerNombres', 'game/marche.tpl', 12, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Bourse des ressources</h2>
|
||||
<h3>Les prix sont donnés en milliers de crédits</h3>
|
||||
<h3>Les achats et les ventes se font par paquet de 1000 actions (le prix est recalculé chaque 1000 actions)</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="<?php echo $this->_tpl_vars['menu']['marche']; ?>
|
||||
" method="post">
|
||||
<fieldset>
|
||||
<input type="hidden" name="ressource" value="<?php echo $this->_tpl_vars['action']['id']; ?>
|
||||
" />
|
||||
<div><strong>Total :</strong> <em><?php echo ((is_array($_tmp=$this->_tpl_vars['action']['dispo'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</em></div>
|
||||
<label for="buy<?php echo $this->_tpl_vars['action']['id']; ?>
|
||||
">Acheter pour <em><?php echo ((is_array($_tmp=$this->_tpl_vars['action']['prixA'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</em> : <input type="text" class="text" id="buy<?php echo $this->_tpl_vars['action']['id']; ?>
|
||||
" name="nbb" value="0" /></label>
|
||||
<input type="submit" class="submit" value="OK" name="buy" /><br />
|
||||
<label for="sell<?php echo $this->_tpl_vars['action']['id']; ?>
|
||||
">Vendre pour <em><?php echo ((is_array($_tmp=$this->_tpl_vars['action']['prixV'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</em> : <input type="text" class="text" id="sell<?php echo $this->_tpl_vars['action']['id']; ?>
|
||||
" name="nbs" 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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,89 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 21:33:14
|
||||
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', 4, false),array('modifier', 'separerNombres', 'game/description.tpl', 7, false),array('modifier', 'temps', 'game/description.tpl', 10, 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']; ?>
|
||||
</h2>
|
||||
<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)); ?>
|
||||
" /><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'] == 'caserne'): ?><?php echo $this->_tpl_vars['planete']->casernes[$this->_tpl_vars['id']]; ?>
|
||||
unité(s)<?php elseif ($this->_tpl_vars['type'] == 'terrestre'): ?><?php echo $this->_tpl_vars['planete']->terrestres[$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 ((is_array($_tmp=$this->_tpl_vars['ressourcesNext']['3'])) ? $this->_run_mod_handler('temps', true, $_tmp) : smarty_modifier_temps($_tmp)); ?>
|
||||
</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; ?>
|
||||
<div><h5>Nécessite : </h5><?php echo $this->_tpl_vars['etat']; ?>
|
||||
</div>
|
||||
<?php if ($this->_tpl_vars['tableau_prod']): ?>
|
||||
<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']; ?>
|
||||
</td>
|
||||
<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) : 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) : 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) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php endif; ?>
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,113 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 21:04:41
|
||||
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', 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;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Arbre Technologique <?php echo $this->_tpl_vars['raceAff']; ?>
|
||||
</h2>
|
||||
Race : <a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&r=humain">Humains</a> - <a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&r=covenant">Covenants</a>
|
||||
<div class="techno">
|
||||
<div<?php if ($this->_tpl_vars['defaut'] == 'batiments'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=batiments&r=<?php echo $this->_tpl_vars['raceAff']; ?>
|
||||
">Bâtiments</a>
|
||||
<div><table><thead>
|
||||
<tr><th>Batiments (niveau)</th><th>Technologies nécessaires (niveau actuel)</th></tr>
|
||||
</thead><tbody>
|
||||
<?php 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']):
|
||||
?>
|
||||
<tr><td><a href="?p=description&b=<?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']]['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 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>
|
||||
|
||||
|
||||
<div<?php if ($this->_tpl_vars['defaut'] == 'caserne'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=caserne&r=<?php echo $this->_tpl_vars['raceAff']; ?>
|
||||
"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['batiments']['noms_sing']['9'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a>
|
||||
<div><table><thead>
|
||||
<tr><th>Unité</th><th>Technologies nécessaires</th></tr>
|
||||
</thead><tbody>
|
||||
<?php $_from = $this->_tpl_vars['caserne']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['unite']):
|
||||
?>
|
||||
<tr><td><a href="?p=description&c=<?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']]['caserne']['noms_sing'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a> (<?php echo $this->_tpl_vars['unite']['niveau']; ?>
|
||||
) :</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['etat'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</td></tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody></table></div>
|
||||
</div>
|
||||
|
||||
<div<?php if ($this->_tpl_vars['defaut'] == 'chantierterrestre'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=chantierterrestre&r=<?php echo $this->_tpl_vars['raceAff']; ?>
|
||||
"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['batiments']['noms_sing']['7'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a>
|
||||
<div><table><thead>
|
||||
<tr><th>Véhicules/Défenses</th><th>Technologies nécessaires (niveau actuel)</th></tr>
|
||||
</thead><tbody>
|
||||
<?php $_from = $this->_tpl_vars['unites']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['unite']):
|
||||
?>
|
||||
<tr><td><a href="?p=description&d=<?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']]['terrestre']['noms_sing'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a> (<?php echo $this->_tpl_vars['unite']['niveau']; ?>
|
||||
) :</td><td><?php echo $this->_tpl_vars['unite']['etat']; ?>
|
||||
</td></tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody></table></div>
|
||||
</div>
|
||||
|
||||
<div<?php if ($this->_tpl_vars['defaut'] == 'vaisseaux'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=vaisseaux&r=<?php echo $this->_tpl_vars['raceAff']; ?>
|
||||
"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['batiments']['noms_sing']['8'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a>
|
||||
<div><table><thead>
|
||||
<tr><th>Vaisseaux</th><th>Technologies nécessaires (niveau actuel)</th></tr>
|
||||
</thead><tbody>
|
||||
<?php $_from = $this->_tpl_vars['vaisseaux']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['vaisseau']):
|
||||
?>
|
||||
<tr><td><a href="?p=description&v=<?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']]['vaisseaux']['noms_sing'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a> (<?php echo $this->_tpl_vars['vaisseau']['niveau']; ?>
|
||||
) :</td><td><?php echo $this->_tpl_vars['vaisseau']['etat']; ?>
|
||||
</td></tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody></table></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 21:02:45
|
||||
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', 16, false),array('modifier', 'countdown', 'game/laboratoire.tpl', 16, 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);
|
||||
?>
|
||||
<ul class="onglets">
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 0): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
">Industrie</a></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 1 || $this->_tpl_vars['onglet'] == 2): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
&n=1">Ingénierie</a></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 3): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
&n=3">Politique</a></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 4): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
&n=4">Armement</a></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 5 || $this->_tpl_vars['onglet'] == 6): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
&n=5">Défense</a></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 7): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
&n=7">Projets expérimentaux</a></li>
|
||||
</ul>
|
||||
<h2>File d'attente</h2>
|
||||
<div class="file">
|
||||
<ul id="file">
|
||||
<?php ob_start(); ?>
|
||||
<?php $_from = $this->_tpl_vars['files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['keyF'] => $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['keyE'] => $this->_tpl_vars['element']):
|
||||
?>
|
||||
<li><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['technologies']['noms_sing'][$this->_tpl_vars['element']['0']][$this->_tpl_vars['element']['1']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
- <span<?php if ($this->_tpl_vars['element']['3']): ?> class="countdown"<?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']['laboratoire']; ?>
|
||||
&n=<?php echo $this->_tpl_vars['onglet']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['keyF']; ?>
|
||||
&b=<?php echo $this->_tpl_vars['keyE']; ?>
|
||||
">Annuler</a></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php $this->_smarty_vars['capture']['expFile'] = ob_get_contents(); ob_end_clean(); ?>
|
||||
<?php if ($this->_tpl_vars['files'] && $this->_smarty_vars['capture']['expFile']): ?>
|
||||
<?php echo $this->_smarty_vars['capture']['expFile']; ?>
|
||||
|
||||
<?php else: ?>
|
||||
<li>Aucune recherches dans la file d'attente</li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<h2><?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)); ?>
|
||||
</h2>
|
||||
<?php if ($this->_tpl_vars['arbre']): ?>
|
||||
<?php echo $this->_tpl_vars['arbre']; ?>
|
||||
|
||||
<?php else: ?><div class="error" style="color: red;">Aucune technologie à développer 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;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-11-01 00:38:03
|
||||
compiled from game/footer.tpl */ ?>
|
||||
<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></div>
|
||||
</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>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 14:55:27
|
||||
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,38 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-09-10 16:03:22
|
||||
compiled from admin/sanctionU_choix.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2><?php echo $this->_tpl_vars['titre']; ?>
|
||||
</h2>
|
||||
<form action="admin.php" method="get">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="temps">Temps de vacances forcées :</label> <input type="text" value="" id="temps" name="sanc" tabindex="1" /> jours<br />("d" pour définitif, -3 pour réactiver le compte tout de suite)<br /><br />
|
||||
<label for="raison">Raison :</label> <input type="text" id="raison" maxlength="255" name="raisonmv" tabindex="2" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="idUser">ID :</label> <input type="text" value="" id="idUser" name="id" tabindex="3" />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="nomUser">Nom :</label> <input type="text" id="nomUser" name="name" tabindex="4" />
|
||||
<input type="hidden" value="<?php echo $this->_tpl_vars['linkpage']; ?>
|
||||
" name="p" />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,83 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 16:36:06
|
||||
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', 34, false),array('modifier', 'nl2br', 'game/alliance/gestion_membres.tpl', 34, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
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>
|
||||
<?php if ($this->_tpl_vars['postulants']): ?>
|
||||
<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 else: ?>
|
||||
<div id="erreur">Aucun postulant 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;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-07-31 20:13:14
|
||||
compiled from game/alliance/nm_signer.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'capitalize', 'game/alliance/nm_signer.tpl', 2, false),array('modifier', 'escape', 'game/alliance/nm_signer.tpl', 2, false),array('modifier', 'upper', 'game/alliance/nm_signer.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>Ratifier l'alliance : <?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>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&signer=<?php echo $this->_tpl_vars['alliance']['id']; ?>
|
||||
" method="post">
|
||||
<div><strong>Vous êtes sur le point de ratifier l'alliance [<?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=$this->_tpl_vars['alliance']['nom_alliance'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
.<br />Actuellement, <?php echo $this->_tpl_vars['alliance']['nbsignatures']; ?>
|
||||
personnes(s) ont ratifier cette alliance.<br /><?php if ($this->_tpl_vars['ratifier']): ?><br />En ratifiant cette alliance, vous annulez votre signature pour l'alliance [<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['ratifier']['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['ratifier']['nom_alliance'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
<br /><?php endif; ?><br />Voulez-vous signer ?</strong></div>
|
||||
<fieldset class="form">
|
||||
<input type="submit" class="submit" value="Oui " name="sign" /> - <input type="submit" class="submit" value="Non " name="sign" />
|
||||
</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,33 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 21:09:27
|
||||
compiled from admin/accueil.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
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 ((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>
|
||||
<?php $_from = $this->_tpl_vars['news']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['new']):
|
||||
?>
|
||||
<h1><strong><?php echo $this->_tpl_vars['new']['titre']; ?>
|
||||
</strong> : <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['new']['contenu'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
|
||||
</h1>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<h2>Infos</h2>
|
||||
<h4><a href="<?php echo $this->_tpl_vars['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']; ?>
|
||||
">Pilori :</a> <?php echo $this->_tpl_vars['nbPilori']; ?>
|
||||
joueur<?php if ($this->_tpl_vars['nbPilori'] > 1): ?>s<?php endif; ?> dans le pilori de la galaxie</h4>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,87 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 16:46:21
|
||||
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-03 15:11:29
|
||||
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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,70 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 23:38:50
|
||||
compiled from cms/header.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
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">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Content-Language" content="fr" />
|
||||
|
||||
<title> ::Halo-Battle:: - <?php echo $this->_tpl_vars['titre']; ?>
|
||||
</title>
|
||||
<link rel="stylesheet" href="<?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>
|
||||
|
||||
<body>
|
||||
<div id="cornertop"></div>
|
||||
<div id="all">
|
||||
<div id="header">
|
||||
<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']; ?>
|
||||
"><?php echo $this->_tpl_vars['lastTopic']; ?>
|
||||
</a> | <a href="<?php echo $this->_tpl_vars['link']['lastUser']; ?>
|
||||
"><?php echo $this->_tpl_vars['lastUser']; ?>
|
||||
</a> | <a href="<?php echo $this->_tpl_vars['link']['lastDownload']; ?>
|
||||
"><?php echo $this->_tpl_vars['lastDownload']; ?>
|
||||
</a> | <a href="<?php echo $this->_tpl_vars['link']['lastLink']; ?>
|
||||
"><?php echo $this->_tpl_vars['lastLink']; ?>
|
||||
</a></div><a href="<?php echo $this->_tpl_vars['link']['RSS']; ?>
|
||||
" id="rss"><?php echo $this->_tpl_vars['LANG']['hd_menu']['rss']; ?>
|
||||
</a>
|
||||
<a href="<?php echo $this->_tpl_vars['link']['self']; ?>
|
||||
" id="img"><span></span>Halo Battle</a>
|
||||
<div id="buttons"><div><a href="<?php echo $this->_tpl_vars['link']['accueil']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['hd_menu']['accueil']; ?>
|
||||
</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['jeu']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['hd_menu']['jeu']; ?>
|
||||
</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['inscription']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['hd_menu']['inscrire']; ?>
|
||||
</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['hd_menu']['forum']; ?>
|
||||
</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['blog']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['hd_menu']['blog']; ?>
|
||||
</a></div> <div><a href="http://www.halo.fr/"><?php echo $this->_tpl_vars['LANG']['hd_menu']['hfr']; ?>
|
||||
</a></div></div>
|
||||
<form action="#" method="post"><fieldset id="recherche"><input class="text" type="text" name="recherche" value="<?php echo $this->_tpl_vars['LANG']['hd_menu']['search']; ?>
|
||||
" maxlength="128" tabindex="10" onfocus="this.value = this.value!='<?php echo $this->_tpl_vars['LANG']['hd_menu']['search']; ?>
|
||||
'?this.value:''" onblur="this.value=this.value==''?'<?php echo $this->_tpl_vars['LANG']['hd_menu']['search']; ?>
|
||||
':this.value" /><input value="OK" class="submit" type="submit" tabindex="11" /><br /><a href="#" tabindex="12"><?php echo $this->_tpl_vars['LANG']['hd_menu']['advSearch']; ?>
|
||||
</a></fieldset></form>
|
||||
</div>
|
||||
<div id="banner">
|
||||
<?php $_from = $this->_tpl_vars['header']['infos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['info']):
|
||||
?>
|
||||
<div class="bannerleft"<?php if ($this->_tpl_vars['info']['color']): ?> style="color: <?php echo $this->_tpl_vars['info']['color']; ?>
|
||||
;"<?php endif; ?>><?php echo $this->_tpl_vars['info']['texte']; ?>
|
||||
</div>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<span id="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'])); ?>
|
||||
</span></div>
|
||||
<div id="corps">
|
||||
|
|
@ -0,0 +1,98 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 14:50:24
|
||||
compiled from game/chantierspatial.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'countdown', 'game/chantierspatial.tpl', 7, false),array('modifier', 'ucfirst', 'game/chantierspatial.tpl', 19, false),array('modifier', 'separerNombres', 'game/chantierspatial.tpl', 28, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>File d'attente</h2>
|
||||
<ul id="file">
|
||||
<?php ob_start(); ?>
|
||||
<?php $_from = $this->_tpl_vars['files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['keyF'] => $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['keyE'] => $this->_tpl_vars['element']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['element']['5']): ?><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; ?> - <span<?php if ($this->_tpl_vars['element']['5']): ?> class="countdown"<?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']; ?>
|
||||
&n=<?php echo $this->_tpl_vars['onglet']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['keyF']; ?>
|
||||
&b=<?php echo $this->_tpl_vars['keyE']; ?>
|
||||
">Annuler un</a> - <a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
|
||||
&n=<?php echo $this->_tpl_vars['onglet']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['keyF']; ?>
|
||||
&b=<?php echo $this->_tpl_vars['keyE']; ?>
|
||||
&s=<?php echo $this->_tpl_vars['element']['1']; ?>
|
||||
">Annuler tous</a></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php $this->_smarty_vars['capture']['expFile'] = ob_get_contents(); ob_end_clean(); ?>
|
||||
<?php if ($this->_tpl_vars['files'] && $this->_smarty_vars['capture']['expFile']): ?>
|
||||
<?php echo $this->_smarty_vars['capture']['expFile']; ?>
|
||||
|
||||
<?php else: ?>
|
||||
<li>Aucun vaisseau dans la file d'attente</li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=vaisseaux">Arbre des technologies</a></h3><br />
|
||||
<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']): ?>
|
||||
<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']):
|
||||
?>
|
||||
<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']; ?>
|
||||
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 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 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; ?>
|
||||
<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>
|
||||
<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); ?>
|
||||
</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;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,102 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 16:46:58
|
||||
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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,97 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-11-01 00:37:40
|
||||
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', 14, false),array('modifier', 'countdown', 'game/batiments.tpl', 14, false),array('modifier', 'separerNombres', 'game/batiments.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);
|
||||
?>
|
||||
<ul class="onglets">
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 0): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
">Tous</a></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] & 1): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
&n=1">Mines/centrales</a></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] & 2): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
&n=2">Civils</a></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] & 4): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
&n=4">Militaires</a></li>
|
||||
</ul>
|
||||
|
||||
<h2>File d'attente</h2>
|
||||
<ul id="file">
|
||||
<?php ob_start(); ?>
|
||||
<?php $_from = $this->_tpl_vars['files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['keyF'] => $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['keyE'] => $this->_tpl_vars['element']):
|
||||
?>
|
||||
<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['element']['3']): ?> class="countdown"<?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['keyF']; ?>
|
||||
&b=<?php echo $this->_tpl_vars['keyE']; ?>
|
||||
">Annuler</a></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php $this->_smarty_vars['capture']['expFile'] = ob_get_contents(); ob_end_clean(); ?>
|
||||
<?php if ($this->_tpl_vars['files'] && $this->_smarty_vars['capture']['expFile']): ?>
|
||||
<?php echo $this->_smarty_vars['capture']['expFile']; ?>
|
||||
|
||||
<?php else: ?>
|
||||
<li>Aucun bâtiment dans la file d'attente</li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=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']]['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']]; ?>
|
||||
" /></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): ?>Niveau actuel : <em><?php echo $this->_tpl_vars['batiment']['niveau']; ?>
|
||||
</em><br /><br /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_metal'] > 0): ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
||||
: <em<?php if ($this->_tpl_vars['batiment']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?> class="lack"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</em><br /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_cristal'] > 0): ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?>
|
||||
: <em<?php if ($this->_tpl_vars['batiment']['nec_cristal'] > $this->_tpl_vars['planete']->cristal): ?> class="lack"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</em><br /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_hydrogene'] > 0): ?>Coût <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?>
|
||||
: <em<?php if ($this->_tpl_vars['batiment']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene): ?> class="lack"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['batiment']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</em><br /><?php endif; ?>
|
||||
Temps de construction : <em><?php echo $this->_tpl_vars['batiment']['temps']; ?>
|
||||
</em><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']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['batiment']['enfile']['0']; ?>
|
||||
&b=<?php echo $this->_tpl_vars['batiment']['enfile']['1']; ?>
|
||||
">Arrêter</a><?php endif; ?>
|
||||
<?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; ?>
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 19:26: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()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<div class="error"<?php if ($this->_tpl_vars['couleur']): ?> style="color: <?php echo $this->_tpl_vars['couleur']; ?>
|
||||
;"<?php endif; ?>><?php echo $this->_tpl_vars['message']; ?>
|
||||
</div>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 16:47:17
|
||||
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-31 16:36:07
|
||||
compiled from game/alliance/gestion_common.tpl */ ?>
|
||||
<ul class="onglets">
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 32): ?><li<?php if ($this->_tpl_vars['onglet'] == 'membres'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=membres">Membres</a></li><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 128): ?><li<?php if ($this->_tpl_vars['onglet'] == 'grades'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=grades">Grades</a></li><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 64): ?><li<?php if ($this->_tpl_vars['onglet'] == 'wings' || ( $this->_tpl_vars['onglet'] == 'alliance' && $this->_tpl_vars['planete']->wing )): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=wings">Wings</a></li><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 128 && ! $this->_tpl_vars['planete']->wing): ?><li<?php if ($this->_tpl_vars['onglet'] == 'alliance'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
&g=alliance">Alliance</a></li><?php endif; ?>
|
||||
</ul>
|
||||
|
|
@ -0,0 +1,98 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 17:50:35
|
||||
compiled from game/caserne.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'countdown', 'game/caserne.tpl', 7, false),array('modifier', 'ucfirst', 'game/caserne.tpl', 19, false),array('modifier', 'separerNombres', 'game/caserne.tpl', 28, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>File d'attente</h2>
|
||||
<ul id="file">
|
||||
<?php ob_start(); ?>
|
||||
<?php $_from = $this->_tpl_vars['files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['keyF'] => $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['keyE'] => $this->_tpl_vars['element']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['element']['5']): ?><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; ?> - <span<?php if ($this->_tpl_vars['element']['5']): ?> class="countdown"<?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['keyF']; ?>
|
||||
&b=<?php echo $this->_tpl_vars['keyE']; ?>
|
||||
">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['keyF']; ?>
|
||||
&b=<?php echo $this->_tpl_vars['keyE']; ?>
|
||||
&s=<?php echo $this->_tpl_vars['element']['1']; ?>
|
||||
">Annuler tous</a></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php $this->_smarty_vars['capture']['expFile'] = ob_get_contents(); ob_end_clean(); ?>
|
||||
<?php if ($this->_tpl_vars['files'] && $this->_smarty_vars['capture']['expFile']): ?>
|
||||
<?php echo $this->_smarty_vars['capture']['expFile']; ?>
|
||||
|
||||
<?php else: ?>
|
||||
<li>Aucune unité dans la file d'attente</li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
<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 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']):
|
||||
?>
|
||||
<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="<?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 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 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; ?>
|
||||
<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); ?>
|
||||
</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;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-09-10 16:04:31
|
||||
compiled from admin/mail_liste.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'admin/mail_liste.tpl', 18, false),array('modifier', 'truncate', 'admin/mail_liste.tpl', 18, false),array('modifier', 'date_format', 'admin/mail_liste.tpl', 19, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<table style="width: 80%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Action</th>
|
||||
<th>Statut</th>
|
||||
<th>Emetteur</th>
|
||||
<th>Sujet</th>
|
||||
<th>Date</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['mails']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['ligne']):
|
||||
?>
|
||||
<tr<?php if ($this->_tpl_vars['ligne']['statut'] >= 1): ?> style="background: #<?php if ($this->_tpl_vars['ligne']['statut'] == 1): ?>770000<?php elseif ($this->_tpl_vars['ligne']['statut'] == 2): ?>007700<?php elseif ($this->_tpl_vars['ligne']['statut'] == 3): ?>000077<?php elseif ($this->_tpl_vars['ligne']['statut'] == 4): ?>770077<?php elseif ($this->_tpl_vars['ligne']['statut'] == 5): ?>007777<?php elseif ($this->_tpl_vars['ligne']['statut'] == 6): ?>777700<?php endif; ?>;"<?php endif; ?>>
|
||||
<td><a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
|
||||
&w=<?php echo $this->_tpl_vars['ligne']['id']; ?>
|
||||
">STAT</a><br /><a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['ligne']['id']; ?>
|
||||
">LIRE</a><br /><a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
|
||||
&d=<?php echo $this->_tpl_vars['ligne']['id']; ?>
|
||||
" onclick="return confirm('Supprimer ce message ?');">SUPPR</a></td>
|
||||
<td><?php echo $this->_tpl_vars['ligne']['statut']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['ligne']['pseudo']; ?>
|
||||
</td>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['titre'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
<br /><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['ligne']['contenu'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('truncate', true, $_tmp, 50) : smarty_modifier_truncate($_tmp, 50)); ?>
|
||||
</td>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M:%S")); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 19:30:39
|
||||
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-31 19:30:41
|
||||
compiled from game/options/common.tpl */ ?>
|
||||
<ul class="onglets">
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 'ext'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=ext">Extérieures</a></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 'compte'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=compte">Compte</a></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 'jeu'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=jeu">Jeu</a></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 'notif'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&n=notif">Notifications</a></li>
|
||||
</ul>
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 21:47:04
|
||||
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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 16:26:01
|
||||
compiled from game/alliance/nm_postuler.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'capitalize', 'game/alliance/nm_postuler.tpl', 2, false),array('modifier', 'escape', 'game/alliance/nm_postuler.tpl', 2, false),array('modifier', 'bbcode', 'game/alliance/nm_postuler.tpl', 5, false),array('modifier', 'nl2br', 'game/alliance/nm_postuler.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>Postuler pour l'alliance : <?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>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&postuler=<?php echo $this->_tpl_vars['alliance']['id']; ?>
|
||||
" method="post">
|
||||
<fieldset class="form">
|
||||
<p><?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['alliance']['message_inscription'])) ? $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)); ?>
|
||||
</p>
|
||||
<label for="motivation">Message de motivation : <textarea name="motivation" id="motivation"></textarea></label><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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-09-10 19:03:46
|
||||
compiled from game/envoyer_alli.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/envoyer_alli.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;
|
||||
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="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" id="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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,233 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-11-01 00:38:02
|
||||
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', 2, false),array('modifier', 'upper', 'game/accueil.tpl', 2, false),array('modifier', 'date_format', 'game/accueil.tpl', 3, false),array('modifier', 'separerNombres', 'game/accueil.tpl', 25, false),array('modifier', 'ucfirst', 'game/accueil.tpl', 56, 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);
|
||||
?>
|
||||
<h3><a href="?p=rename"><?php if (( @SURFACE == 'planete' && ! $this->_tpl_vars['planete']->nom_planete ) || ( @SURFACE == 'asteroide' && ! $this->_tpl_vars['planete']->nom_asteroide )): ?>Sans nom<?php endif; ?><?php if (@SURFACE == 'planete'): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->nom_planete)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
<?php else: ?><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->nom_asteroide)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
<?php endif; ?></a> (<span><?php if (@SURFACE == 'planete'): ?><?php echo $this->_tpl_vars['planete']->pseudo; ?>
|
||||
<?php else: ?>[<?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->tag)) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
|
||||
] <?php echo $this->_tpl_vars['planete']->nom_alliance; ?>
|
||||
<?php endif; ?></span>)</h3>
|
||||
<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>
|
||||
<h2>Événements</h2>
|
||||
<?php ob_start(); ?>
|
||||
<?php if ($this->_tpl_vars['multi']): ?><strong style="color: #FF0000;"><a href="?p=avertmulti">Multicompte :</a> évitez toute interaction avec <?php $_from = $this->_tpl_vars['multi']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['cmpt']):
|
||||
?><?php if ($this->_tpl_vars['cmpt']['id_util'] != $this->_tpl_vars['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><br /><?php endif; ?>
|
||||
<?php $_from = $this->_tpl_vars['radar']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['flottes']):
|
||||
?>
|
||||
<?php $_from = $this->_tpl_vars['flottes']['0']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['flotte']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['flotte']['mission'] == 1): ?><h4 class="attaque">attaque: Une flotte ennemie en provenance de <?php echo ((is_array($_tmp=$this->_tpl_vars['flotte']['nom_planete'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
[<?php echo $this->_tpl_vars['flotte']['start_galaxie']; ?>
|
||||
:<?php echo $this->_tpl_vars['flotte']['start_ss']; ?>
|
||||
:<?php echo $this->_tpl_vars['flotte']['start_position']; ?>
|
||||
] atteint la planète <?php echo ((is_array($_tmp=$this->_tpl_vars['flottes']['1']['0'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
[<?php echo $this->_tpl_vars['flottes']['1']['1']; ?>
|
||||
:<?php echo $this->_tpl_vars['flottes']['1']['2']; ?>
|
||||
:<?php echo $this->_tpl_vars['flottes']['1']['3']; ?>
|
||||
] dans <span id="reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
"><?php echo $this->_tpl_vars['flotte']['arrive_time']; ?>
|
||||
</span><script type="text/javascript">reste(<?php echo $this->_tpl_vars['flotte']['arrive_time']; ?>
|
||||
,'reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
', true);</script></h4>
|
||||
<?php elseif ($this->_tpl_vars['flotte']['mission'] == 2): ?><h4 class="attaque">transport: Une flotte en provenance de <?php echo ((is_array($_tmp=$this->_tpl_vars['flotte']['nom_planete'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
[<?php echo $this->_tpl_vars['flotte']['start_galaxie']; ?>
|
||||
:<?php echo $this->_tpl_vars['flotte']['start_ss']; ?>
|
||||
:<?php echo $this->_tpl_vars['flotte']['start_position']; ?>
|
||||
] atteint la planète <?php echo ((is_array($_tmp=$this->_tpl_vars['flottes']['1']['0'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
[<?php echo $this->_tpl_vars['flottes']['1']['1']; ?>
|
||||
:<?php echo $this->_tpl_vars['flottes']['1']['2']; ?>
|
||||
:<?php echo $this->_tpl_vars['flottes']['1']['3']; ?>
|
||||
] dans <span id="reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
"><?php echo $this->_tpl_vars['flotte']['arrive_time']; ?>
|
||||
</span><script type="text/javascript">reste(<?php echo $this->_tpl_vars['flotte']['arrive_time']; ?>
|
||||
,'reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
', true);</script></h4>
|
||||
<?php 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']['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; ?>
|
||||
<?php $this->_smarty_vars['capture']['events'] = ob_get_contents(); ob_end_clean(); ?>
|
||||
<?php if ($this->_smarty_vars['capture']['events']): ?>
|
||||
<?php echo $this->_smarty_vars['capture']['events']; ?>
|
||||
|
||||
<?php else: ?>
|
||||
<h4>Rien à signaler !</h4>
|
||||
<?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) : 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; ?>
|
||||
<h4>Race : <?php echo $this->_tpl_vars['planete']->race; ?>
|
||||
</h4>
|
||||
<h4>position: <a href="?p=carte&galaxie=<?php echo $this->_tpl_vars['planete']->galaxie; ?>
|
||||
&ss=<?php echo $this->_tpl_vars['planete']->ss; ?>
|
||||
"><?php echo $this->_tpl_vars['planete']->galaxie; ?>
|
||||
.<?php echo $this->_tpl_vars['planete']->ss; ?>
|
||||
.<?php echo $this->_tpl_vars['planete']->position; ?>
|
||||
</a></h4>
|
||||
<?php if (@SURFACE == 'planete'): ?>
|
||||
<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) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</h4>
|
||||
<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['planete']->points)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
points)</a></h4>
|
||||
<?php else: ?>
|
||||
<h4>nombre de membres: <?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->details['nb_membres'])) ? $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>
|
||||
<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['planete']->points_alliance)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
points)</a></h4>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['alliance']): ?><h4>Alliance: <a href="?p=alliances">[<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
|
||||
] <?php echo $this->_tpl_vars['alliance']['nom']; ?>
|
||||
</a></h4><?php endif; ?>
|
||||
<?php if (@SURFACE == 'planete'): ?>
|
||||
<?php ob_start(); ?>
|
||||
<?php $this->assign('i', false); ?>
|
||||
<?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['keyF'] => $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['keyE'] => $this->_tpl_vars['element']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['keyE'] < 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 elseif ($this->_tpl_vars['keyE'] == 3): ?>...<?php endif; ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</h4>
|
||||
<?php endif; ?>
|
||||
<?php $this->assign('i', false); ?>
|
||||
<?php if ($this->_tpl_vars['fileCas']): ?>
|
||||
<h4>
|
||||
<?php $_from = $this->_tpl_vars['fileCas']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['keyF'] => $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['keyE'] => $this->_tpl_vars['element']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['keyE'] < 3): ?><?php if ($this->_tpl_vars['i'] == true): ?> - <?php else: ?><?php $this->assign('i', true); ?><a href="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
|
||||
"><?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> : <?php endif; ?><?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émantèlement)<?php endif; ?><?php elseif ($this->_tpl_vars['keyE'] == 3): ?>...<?php endif; ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</h4>
|
||||
<?php endif; ?>
|
||||
<?php $this->assign('i', false); ?>
|
||||
<?php if ($this->_tpl_vars['fileVais']): ?>
|
||||
<h4>
|
||||
<?php $_from = $this->_tpl_vars['fileVais']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['keyF'] => $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['keyE'] => $this->_tpl_vars['element']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['keyE'] < 3): ?><?php if ($this->_tpl_vars['i'] == true): ?> - <?php else: ?><?php $this->assign('i', true); ?><a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
|
||||
"><?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> : <?php endif; ?><?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émantèlement)<?php endif; ?><?php elseif ($this->_tpl_vars['keyE'] == 3): ?>...<?php endif; ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</h4>
|
||||
<?php endif; ?>
|
||||
<?php $this->assign('i', false); ?>
|
||||
<?php if ($this->_tpl_vars['fileTer']): ?>
|
||||
<h4>
|
||||
<?php $_from = $this->_tpl_vars['fileTer']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['keyF'] => $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['keyE'] => $this->_tpl_vars['element']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['keyE'] < 3): ?><?php if ($this->_tpl_vars['i'] == true): ?> - <?php else: ?><?php $this->assign('i', true); ?><a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
"><?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> : <?php endif; ?><?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émantèlement)<?php endif; ?><?php elseif ($this->_tpl_vars['keyE'] == 3): ?>...<?php endif; ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</h4>
|
||||
<?php endif; ?>
|
||||
<?php $this->assign('i', false); ?>
|
||||
<?php if ($this->_tpl_vars['fileTech']): ?>
|
||||
<h4>
|
||||
<?php $_from = $this->_tpl_vars['fileTech']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['keyF'] => $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['keyE'] => $this->_tpl_vars['element']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['keyE'] < 3): ?><?php if ($this->_tpl_vars['i'] == true): ?> - <?php else: ?><?php $this->assign('i', true); ?><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
"><?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; ?><?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['technologies']['noms_sing'][$this->_tpl_vars['element']['0']][$this->_tpl_vars['element']['1']]; ?>
|
||||
<?php elseif ($this->_tpl_vars['keyE'] == 3): ?>...<?php endif; ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</h4>
|
||||
<?php endif; ?>
|
||||
<?php $this->_smarty_vars['capture']['expFile'] = ob_get_contents(); ob_end_clean(); ?>
|
||||
<h2>En cours sur la planète</h2>
|
||||
<?php if ($this->_smarty_vars['capture']['expFile']): ?>
|
||||
<?php echo $this->_smarty_vars['capture']['expFile']; ?>
|
||||
|
||||
<?php else: ?>
|
||||
<h4>Tous les chantiers sont terminés !</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()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,64 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-09-19 23:46:11
|
||||
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,68 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 21:06:14
|
||||
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); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Ressources : 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)); ?>
|
||||
</th><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><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></tr></thead>
|
||||
<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" 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" 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" 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" 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" 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) : 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><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" />
|
||||
</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,45 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 23:38:50
|
||||
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', 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;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<div id="connexion" class="block">
|
||||
<div class="header"><?php echo $this->_tpl_vars['LANG']['accueil']['login']['titre']; ?>
|
||||
</div>
|
||||
<div class="corps">
|
||||
<form action="?p=connexion" method="post">
|
||||
<fieldset>
|
||||
<span>
|
||||
<input type="text" class="text" name="HB_login" id="HB_login" maxlength="32" tabindex="1" />
|
||||
<input type="password" class="password" name="HB_password" id="HB_password" maxlength="32" tabindex="2" />
|
||||
<input type="submit" class="submit" value="GO" tabindex="3" />
|
||||
</span>
|
||||
<span>
|
||||
<label for="galaxie"><?php echo $this->_tpl_vars['LANG']['accueil']['login']['galaxie']; ?>
|
||||
:</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']['accueil']['login']['forgotMdp']; ?>
|
||||
</a>
|
||||
</span>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="inscription" class="block"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG']['accueil']['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="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
images/hfr.jpg" alt="Halo.fr" /></a>
|
||||
</div>
|
||||
<script type="text/javascript">document.getElementById("HB_login").focus();</script>
|
||||
<?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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,94 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 16:47:07
|
||||
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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,55 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-07-31 21:54:07
|
||||
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); ?>
|
||||
<?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>Informations visibles</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Action</th>
|
||||
<th>Texte</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['tableau']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['ligne']):
|
||||
?>
|
||||
<tr>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['bandeau']; ?>
|
||||
&i=<?php echo $this->_tpl_vars['ligne']['id']; ?>
|
||||
">EDIT</a> | <a href="<?php echo $this->_tpl_vars['menu']['bandeau']; ?>
|
||||
&d=<?php echo $this->_tpl_vars['ligne']['id']; ?>
|
||||
">SUPPR</a></td>
|
||||
<td<?php if ($this->_tpl_vars['ligne']['color']): ?> style="color: <?php echo $this->_tpl_vars['ligne']['color']; ?>
|
||||
;"<?php endif; ?>><b><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['texte'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</b></td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2><?php if ($this->_tpl_vars['id'] == 'add'): ?>Ajouter<?php else: ?>Modifier<?php endif; ?> une information<?php if ($this->_tpl_vars['id'] != 'add'): ?> : <?php echo $this->_tpl_vars['id']; ?>
|
||||
<?php endif; ?></h2>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['bandeau']; ?>
|
||||
&i=<?php echo $this->_tpl_vars['id']; ?>
|
||||
" 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" 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" tabindex="2" /><br /><br />
|
||||
<input type="submit" class="submit" value="GO" tabindex="3" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<h2>Gestion du cache</h2>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['bandeau']; ?>
|
||||
&actuCache">Mettre à jour le cache</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,100 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-04 15:37:29
|
||||
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-31 21:11:14
|
||||
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,40 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-08-21 23:05:02
|
||||
compiled from cms/pilori.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'cms/pilori.tpl', 15, false),array('modifier', 'date_format', 'cms/pilori.tpl', 16, false),array('function', 'mailto', 'cms/pilori.tpl', 17, 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);
|
||||
?>
|
||||
<table style="width: 85%; margin: auto;" id="pilori">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Utilisateur</th>
|
||||
<th>Raison</th>
|
||||
<th>Fin du banissement</th>
|
||||
<th>Opérateur</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['joueurs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['joueur']):
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $this->_tpl_vars['joueur']['pseudo']; ?>
|
||||
</td>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['joueur']['raisonmv'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</td>
|
||||
<td><?php if ($this->_tpl_vars['joueur']['mv'] == 3 || $this->_tpl_vars['joueur']['last_visite'] == 2147483647): ?>Définitif<?php else: ?><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['joueur']['last_visite']+259200)) ? $this->_run_mod_handler('date_format', true, $_tmp, "%a %d %B %Y %H:%M") : smarty_modifier_date_format($_tmp, "%a %d %B %Y %H:%M")))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
<?php endif; ?></td>
|
||||
<td><?php if ($this->_tpl_vars['joueur']['operateurmv']): ?><?php echo smarty_function_mailto(array('address' => $this->_tpl_vars['joueur']['mail'],'encode' => 'hex','text' => $this->_tpl_vars['joueur']['operateurmv']), $this);?>
|
||||
<?php else: ?>Inconnu<?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' => 'cms/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,86 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 16:45:50
|
||||
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', 32, 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">
|
||||
<input type="hidden" value="carte" name="p" />
|
||||
<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="submit" class="submit" value="GO" /><br />
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
|
||||
&amas=<?php echo $this->_tpl_vars['position']['4']; ?>
|
||||
&systeme=<?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']; ?>
|
||||
&amas=<?php echo $this->_tpl_vars['position']['2']; ?>
|
||||
&systeme=<?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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-11-01 00:37:59
|
||||
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 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;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 16:47:17
|
||||
compiled from game/diplomatie/common.tpl */ ?>
|
||||
<ul class="onglets">
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 'actus'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&o=actus">Actualités</a></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 'encours'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&o=encours">En place</a></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 'archives'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&o=archives">Résiliés/annulés</a></li>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 8): ?><li<?php if ($this->_tpl_vars['onglet'] == 'new'): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&o=new">Nouveau</a></li><?php endif; ?>
|
||||
</ul>
|
||||
|
|
@ -0,0 +1,122 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 21:05:06
|
||||
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', 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="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>
|
||||
<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']):
|
||||
?>
|
||||
<td><img src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
images/planetes/<?php echo $this->_tpl_vars['plan']['image']; ?>
|
||||
.jpg" alt="<?php echo $this->_tpl_vars['plan']['image']; ?>
|
||||
" title="<?php echo $this->_tpl_vars['plan']['nom_planete']; ?>
|
||||
" width="80" height="80" /></td>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<th></th>
|
||||
<?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['plan']):
|
||||
?>
|
||||
<th><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['nom_planete'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</th>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<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) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<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) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<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) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<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) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<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) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</td>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<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) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
%</td>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-04 16:03:31
|
||||
compiled from game/operateur.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Opérateurs de cette galaxie</h2>
|
||||
<ul>
|
||||
<?php $_from = $this->_tpl_vars['operateurs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['operateur']):
|
||||
?>
|
||||
<li><?php echo $this->_tpl_vars['operateur']['pseudo']; ?>
|
||||
<i>(<?php if ($this->_tpl_vars['operateur']['auth_level'] == 2): ?>Modérateur<?php elseif ($this->_tpl_vars['operateur']['auth_level'] == 3): ?>Maître de la bourse<?php elseif ($this->_tpl_vars['operateur']['auth_level'] == 4): ?>Opérateur en formation<?php elseif ($this->_tpl_vars['operateur']['auth_level'] == 5): ?>Opérateur<?php elseif ($this->_tpl_vars['operateur']['auth_level'] == 6): ?>Super-opérateur<?php elseif ($this->_tpl_vars['operateur']['auth_level'] == 7): ?>Administrateur<?php elseif ($this->_tpl_vars['operateur']['auth_level'] == 8): ?>Codeur<?php endif; ?>)</i></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
<h2>Problèmes connus</h2>
|
||||
<strong>Lisez les questions/réponses ci-dessous. Ne contactez un opérateur que si vous ne pouvez pas résoudre votre problème/demande.</strong><br />
|
||||
<strong>N'oubliez pas de contacter les opérateurs pour les raisons indiquées dans les <a href="?p=regles">règles du jeu</a>.</strong>
|
||||
<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><?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']; ?>
|
||||
&a=bas&i=<?php echo $this->_tpl_vars['question']['2']; ?>
|
||||
"><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>
|
||||
<?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="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="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;
|
||||
$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,15 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 21:47:16
|
||||
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 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;
|
||||
$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,24 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 16:47:52
|
||||
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,43 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-09-27 14:49:36
|
||||
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"<?php if ($_POST['HB_pseudo']): ?> value="<?php echo $_POST['HB_pseudo']; ?>
|
||||
"<?php endif; ?> />
|
||||
<br /><label for="HB_mail">Adresse électronique :</label> <input class="text" name="HB_mail" id="mail" type="text"<?php if ($_POST['HB_mail']): ?> value="<?php echo $_POST['HB_mail']; ?>
|
||||
"<?php endif; ?> />
|
||||
<br /><br /><label for="HB_captcha">Recopiez ce texte :</label> <input class="text" name="HB_captcha" id="captcha" type="text" /> <a href="javascript:document.getElementById('gen').src = 'captcha/image.php?a='+Math.random();"><img src="captcha/image.php" alt="Génération ..." id="gen" /></a>
|
||||
<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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,68 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-04 15:37:48
|
||||
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 if ($this->_tpl_vars['wing']['pseudo_fondateur']): ?><?php echo $this->_tpl_vars['wing']['pseudo_fondateur']; ?>
|
||||
<?php else: ?>Attente de l'acceptation<?php endif; ?></td>
|
||||
<td><?php if ($this->_tpl_vars['wing']['pseudo_fondateur']): ?><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
&n=envoyer&d=<?php echo $this->_tpl_vars['wing']['pseudo_fondateur']; ?>
|
||||
" class="msg"><span>Message</span></a><?php endif; ?></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-07-31 21:44:29
|
||||
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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 17:11:12
|
||||
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-31 21:37:10
|
||||
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,7 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 21:11:00
|
||||
compiled from admin/erreur.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/erreur.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 21:11:06
|
||||
compiled from admin/print_choixP.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2><?php echo $this->_tpl_vars['titre']; ?>
|
||||
</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<form action="admin.php" method="get">
|
||||
<fieldset class="options" style="margin: 0;">
|
||||
<label for="idplan">ID de la planète :</label> <input type="text" value="" id="idplan" 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="amas">Amas :</label> <input type="text" id="amas" name="amas" maxlength="2" tabindex="2" /><br /><br />
|
||||
<label for="ss">Système :</label> <input type="text" id="ss" name="ss" maxlength="3" tabindex="3" /><br /><br />
|
||||
<label for="pos">Position :</label> <input type="text" id="pos" name="pos" maxlength="2" tabindex="4" /><br /><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="format">Affichage ([a:s:p]) :</label> <input type="text" id="format" name="format" maxlength="10" tabindex="5" /><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,63 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-07-31 17:23:51
|
||||
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); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2>Gestion du cache</h2>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['versions']; ?>
|
||||
&actuCache">Mettre à jour le cache</a>
|
||||
<h2><?php if ($this->_tpl_vars['id'] == 'add'): ?>Ajouter<?php else: ?>Modifier<?php endif; ?> une version<?php if ($this->_tpl_vars['id'] != 'add'): ?> : <?php echo $this->_tpl_vars['id']; ?>
|
||||
<?php endif; ?></h2>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['versions']; ?>
|
||||
&i=<?php echo $this->_tpl_vars['id']; ?>
|
||||
" 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']; ?>
|
||||
" 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" tabindex="3" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<h2>Liste des versions</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Action</th>
|
||||
<th>Version</th>
|
||||
<th>Infos</th>
|
||||
<th>Date</th>
|
||||
<th>Par</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['tableau']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['ligne']):
|
||||
?>
|
||||
<tr>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['versions']; ?>
|
||||
&i=<?php echo $this->_tpl_vars['ligne']['id']; ?>
|
||||
">EDIT</a> | <a href="<?php echo $this->_tpl_vars['menu']['versions']; ?>
|
||||
&d=<?php echo $this->_tpl_vars['ligne']['id']; ?>
|
||||
">SUPPR</a></td>
|
||||
<td><?php echo $this->_tpl_vars['ligne']['version']; ?>
|
||||
</td>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['contenu'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
|
||||
</td>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['temps'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M:%S")); ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['ligne']['pseudo']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,122 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 20:56:33
|
||||
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>
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 21:11:59
|
||||
compiled from admin/print.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'admin/print.tpl', 7, false),array('modifier', 'truncate', 'admin/print.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 if ($this->_tpl_vars['linkpage'] == 'vplanetes'): ?><a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
|
||||
&id=<?php echo $this->_tpl_vars['idPlan']; ?>
|
||||
&key=hash_planete">Recalculer le hash (après déplacement d'une planète)</a><?php endif; ?>
|
||||
<table>
|
||||
<?php $_from = $this->_tpl_vars['tableau']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['ligne']):
|
||||
?>
|
||||
<tr>
|
||||
<td><a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
|
||||
&id=<?php echo $this->_tpl_vars['idPlan']; ?>
|
||||
&key=<?php echo $this->_tpl_vars['key']; ?>
|
||||
"><?php echo $this->_tpl_vars['key']; ?>
|
||||
</a></td>
|
||||
<td><?php if ($this->_tpl_vars['ligne'] > 0 && ( ereg ( "^time" , $this->_tpl_vars['key'] ) || $this->_tpl_vars['key'] == 'last_visite' || $this->_tpl_vars['key'] == 'politique_lastchange' )): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "timestamp : %d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "timestamp : %d/%m/%y %H:%M:%S")); ?>
|
||||
<?php else: ?><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 82) : smarty_modifier_truncate($_tmp, 82)); ?>
|
||||
<?php endif; ?></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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-07-31 21:50:18
|
||||
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', 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);
|
||||
?>
|
||||
<h2>Pages de démarrage</h2>
|
||||
<h3>La première news est celle qui sera affichée à la connexion des joueurs</h3>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Action</th>
|
||||
<th>Titre</th>
|
||||
<th>Date de visibilité</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['tableau']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['ligne']):
|
||||
?>
|
||||
<tr>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['demarrage']; ?>
|
||||
&i=<?php echo $this->_tpl_vars['ligne']['id']; ?>
|
||||
">EDIT</a> | <a href="<?php echo $this->_tpl_vars['menu']['demarrage']; ?>
|
||||
&d=<?php echo $this->_tpl_vars['ligne']['id']; ?>
|
||||
">SUPPR</a></td>
|
||||
<td><b><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['titre'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</b></td>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne']['time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M:%S")); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2>Gestion du cache</h2>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['demarrage']; ?>
|
||||
&actuCache">Mettre à jour le cache</a>
|
||||
<h2><?php if ($this->_tpl_vars['id'] == 'add'): ?>Ajouter<?php else: ?>Modifier<?php endif; ?> une page de démarrage<?php if ($this->_tpl_vars['id'] != 'add'): ?> : <?php echo $this->_tpl_vars['id']; ?>
|
||||
<?php endif; ?></h2>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['demarrage']; ?>
|
||||
&i=<?php echo $this->_tpl_vars['id']; ?>
|
||||
" 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']; ?>
|
||||
" 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" 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;
|
||||
$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,29 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 23:38:50
|
||||
compiled from cms/footer.tpl */ ?>
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
<?php echo $this->_tpl_vars['LANG']['footer']['realise']; ?>
|
||||
Anomaly Concepts<br />
|
||||
<?php echo $this->_tpl_vars['LANG']['footer']['design']; ?>
|
||||
<a href="http://www.nothing-arts.com" onclick="window.open(this.href); return false;"><ins>nothingarts</ins></a><br /><br />
|
||||
<!--Site visité 514200 fois depuis sa création<br />-->
|
||||
<a href="<?php echo $this->_tpl_vars['link']['accueil']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['footer']['accueil']; ?>
|
||||
</a> | <a href="<?php echo $this->_tpl_vars['link']['inscription']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['footer']['inscrire']; ?>
|
||||
</a> | <a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['footer']['forum']; ?>
|
||||
</a> | <a href="<?php echo $this->_tpl_vars['link']['staff']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['footer']['staff']; ?>
|
||||
</a> | <a href="<?php echo $this->_tpl_vars['link']['faq']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['footer']['faq']; ?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="cornerbt"></div>
|
||||
<?php echo $this->_tpl_vars['script']; ?>
|
||||
|
||||
<!-- \\******* By Phantom *******// Halo-Battle, Tous droits réservés -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 16:25:32
|
||||
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,38 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 20:55:23
|
||||
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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 21:11:56
|
||||
compiled from admin/print_key.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);
|
||||
?>
|
||||
<table>
|
||||
<tr>
|
||||
<td><a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
|
||||
&id=<?php echo $this->_tpl_vars['idPlan']; ?>
|
||||
"><?php echo $this->_tpl_vars['key']; ?>
|
||||
</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form action="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
|
||||
&id=<?php echo $this->_tpl_vars['idPlan']; ?>
|
||||
&" method="post">
|
||||
<?php if ($this->_tpl_vars['type']['0'] == 'text' || $this->_tpl_vars['type']['0'] == 'longtext'): ?><textarea cols="10" rows="10" name="mod" tabindex="1"><?php echo $this->_tpl_vars['tableau'][$this->_tpl_vars['key']]; ?>
|
||||
</textarea><br />
|
||||
<?php else: ?><input type="text" value="<?php echo $this->_tpl_vars['tableau'][$this->_tpl_vars['key']]; ?>
|
||||
" name="mod" tabindex="1" /><?php endif; ?>
|
||||
<input type="hidden" value="<?php echo $this->_tpl_vars['key']; ?>
|
||||
" name="key" />
|
||||
<input type="submit" class="submit" value="GO" tabindex="2" />
|
||||
</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,31 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 19:30:33
|
||||
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']; ?>
|
||||
&n=jeu" 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>
|
||||
<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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,67 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-09-10 16:03:12
|
||||
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,123 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-11-01 00:38:03
|
||||
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>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
&n=0"<?php if ($this->_tpl_vars['page'] == 'laboratoire' && $this->_tpl_vars['onglet'] == 0): ?> class="hilight"<?php endif; ?>>Industrie</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
&n=1"<?php if ($this->_tpl_vars['page'] == 'laboratoire' && ( $this->_tpl_vars['onglet'] == 1 || $this->_tpl_vars['onglet'] == 2 )): ?> class="hilight"<?php endif; ?>>Ingénierie</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
&n=3"<?php if ($this->_tpl_vars['page'] == 'laboratoire' && $this->_tpl_vars['onglet'] == 3): ?> class="hilight"<?php endif; ?>>Politique</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
&n=4"<?php if ($this->_tpl_vars['page'] == 'laboratoire' && $this->_tpl_vars['onglet'] == 4): ?> class="hilight"<?php endif; ?>>Armement</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
&n=5"<?php if ($this->_tpl_vars['page'] == 'laboratoire' && ( $this->_tpl_vars['onglet'] == 5 || $this->_tpl_vars['onglet'] == 6 )): ?> class="hilight"<?php endif; ?>>Défenses</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
&n=7"<?php if ($this->_tpl_vars['page'] == 'laboratoire' && $this->_tpl_vars['onglet'] == 7): ?> class="hilight"<?php endif; ?>>Projets expérimentaux</a></li>
|
||||
</ul>
|
||||
</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>
|
||||
</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>
|
||||
|
|
@ -0,0 +1,179 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-11-01 00:38:02
|
||||
compiled from game/header.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
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" 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" />
|
||||
<?php if ($this->_tpl_vars['race'] == 'covenant'): ?><link rel="stylesheet" href="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
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']; ?>
|
||||
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="top"></div>
|
||||
<div id="all">
|
||||
<div id="header">
|
||||
<div><span id="date"><?php echo ((is_array($_tmp=time())) ? $this->_run_mod_handler('date_format', true, $_tmp, "/%e%m%y/%H%M%S") : smarty_modifier_date_format($_tmp, "/%e%m%y/%H%M%S")); ?>
|
||||
</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; ?><?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'): ?>
|
||||
<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)):
|
||||
foreach ($_from as $this->_tpl_vars['info']):
|
||||
?>
|
||||
<div class="bannerleft"<?php if ($this->_tpl_vars['info']['color']): ?> style="color: <?php echo $this->_tpl_vars['info']['color']; ?>
|
||||
;"<?php endif; ?>><?php echo $this->_tpl_vars['info']['texte']; ?>
|
||||
</div>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<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>
|
||||
<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 (@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 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><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']; ?>
|
||||
</div><?php endif; ?>
|
||||
|
||||
<div id="body">
|
||||
<span class="top"></span>
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 21:11:59
|
||||
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-31 21:37:48
|
||||
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,28 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-08-21 23:04:55
|
||||
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', 11, 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']; ?>
|
||||
|
||||
<br /><br />
|
||||
<?php echo $this->_tpl_vars['LANG']['modules']['fermerServeur']['thanks']; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="inscription" class="block"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG']['accueil']['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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 19:30:29
|
||||
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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 20:44:02
|
||||
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()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<h2><?php if ($this->_tpl_vars['titreP']): ?><?php echo $this->_tpl_vars['titreP']; ?>
|
||||
<?php else: ?><?php echo $this->_tpl_vars['titre']; ?>
|
||||
<?php endif; ?></h2>
|
||||
<?php echo $this->_tpl_vars['contenu']; ?>
|
||||
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 20:54:22
|
||||
compiled from game/messagerie.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
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><?php echo $this->_tpl_vars['titreR']; ?>
|
||||
</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="?p=<?php echo $this->_tpl_vars['link_P']; ?>
|
||||
&n=recus">Reçus<?php if ($this->_tpl_vars['alertMail']['0']): ?> (<?php echo $this->_tpl_vars['alertMail']['0']; ?>
|
||||
)<?php endif; ?></a></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 'rapports'): ?> class="hilight"<?php endif; ?>><a href="?p=<?php echo $this->_tpl_vars['link_P']; ?>
|
||||
&n=rapports">Rapports<?php if ($this->_tpl_vars['alertMail']['1']): ?> (<?php echo $this->_tpl_vars['alertMail']['1']; ?>
|
||||
)<?php endif; ?></a></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 'send'): ?> class="hilight"<?php endif; ?>><a href="?p=<?php echo $this->_tpl_vars['link_P']; ?>
|
||||
&n=send">Envoyés</a></li>
|
||||
<li<?php if ($this->_tpl_vars['onglet'] == 'envoyer'): ?> class="hilight"<?php endif; ?>><a href="?p=<?php echo $this->_tpl_vars['link_P']; ?>
|
||||
&n=envoyer">Ecrire</a></li>
|
||||
</ul><br /><br />
|
||||
<?php echo $this->_tpl_vars['avertissement']; ?>
|
||||
|
||||
<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['key'] => $this->_tpl_vars['message']):
|
||||
?>
|
||||
<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); ?>
|
||||
<?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;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 12:58:19
|
||||
compiled from admin/inscription.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<div class="corpsi">
|
||||
<form action="" method="post">
|
||||
<p><label for="pseudo">Pseudo :</label> <input class="text" name="HB_pseudo" id="pseudo" type="text" maxlength="16" value="<?php echo $_POST['HB_pseudo']; ?>
|
||||
" 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" tabindex="4" />
|
||||
<br /><br />Race :<br />
|
||||
</p>
|
||||
<table style="margin-left: auto; margin-right: auto; width: 75%;">
|
||||
<tr>
|
||||
<td>
|
||||
<label id="humain" for="humaini">
|
||||
<img src="images/humain.jpg" alt="Humain"/><br />
|
||||
<input type="radio" name="race" id="humaini" value="humain"<?php if ($_POST['race'] == 'humain'): ?> selected="selected"<?php endif; ?> 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; ?> tabindex="5" /> Covenant
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>
|
||||
<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" tabindex="8" />
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,53 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 16:26:18
|
||||
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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 20:44:44
|
||||
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); ?>
|
||||
<?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>Historique des mises à jour</h2>
|
||||
<table><thead><tr><th>Versions</th><th>Détails</th></tr></thead><tbody>
|
||||
<?php $_from = $this->_tpl_vars['versions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['version']):
|
||||
?>
|
||||
<tr><td><strong><?php echo $this->_tpl_vars['version']['numero']; ?>
|
||||
</strong><br /><?php echo $this->_tpl_vars['version']['date']; ?>
|
||||
</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['version']['description'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,83 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 16:35:53
|
||||
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,37 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-31 16:02:37
|
||||
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> <?php echo @nb_signatures; ?>
|
||||
</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