forked from halo-battle/game
115 lines
9.2 KiB
PHP
115 lines
9.2 KiB
PHP
<?php /* Smarty version 2.6.22, created on 2009-11-01 01:32:07
|
|
compiled from game/menu_joueurs.tpl */ ?>
|
|
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
|
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/menu_joueurs.tpl', 12, false),)), $this); ?>
|
|
<ul>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['accueil']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'accueil'): ?> class="hilight"<?php endif; ?>>Accueil</a></li>
|
|
<li>
|
|
<a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'batiments'): ?> class="hilight"<?php endif; ?>>Bâtiments</a>
|
|
<ul>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'batiments' && $this->_tpl_vars['onglet'] == 0): ?> class="hilight"<?php endif; ?>>Tous</a></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
|
&n=1"<?php if ($this->_tpl_vars['page'] == 'batiments' && $this->_tpl_vars['onglet'] & 1): ?> class="hilight"<?php endif; ?>>Mines/centrales</a></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
|
&n=2"<?php if ($this->_tpl_vars['page'] == 'batiments' && $this->_tpl_vars['onglet'] & 2): ?> class="hilight"<?php endif; ?>>Civils</a></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
|
&n=4"<?php if ($this->_tpl_vars['page'] == 'batiments' && $this->_tpl_vars['onglet'] & 4): ?> class="hilight"<?php endif; ?>>Militaires</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'caserne'): ?> class="hilight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['9'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
|
</a></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'chantierspatial'): ?> class="hilight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['8'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
|
</a></li>
|
|
<li>
|
|
<a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'chantierterrestre'): ?> class="hilight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['7'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
|
</a>
|
|
<ul>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'chantierterrestre' && $this->_tpl_vars['onglet'] != 'defenses'): ?> class="hilight"<?php endif; ?>>Unités</a></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
|
&n=defenses"<?php if ($this->_tpl_vars['page'] == 'chantierterrestre' && $this->_tpl_vars['onglet'] == 'defenses'): ?> class="hilight"<?php endif; ?>>Défenses</a></li>
|
|
</ul>
|
|
</li>
|
|
<?php if ($this->_tpl_vars['planetes']['0']['id'] == $this->_tpl_vars['planete']->id): ?><li><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'laboratoire'): ?> class="hilight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['6'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
|
</a></li><?php endif; ?>
|
|
<li>
|
|
<a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'arbre' || $this->_tpl_vars['page'] == 'description'): ?> class="hilight"<?php endif; ?>>Arbre technologique</a>
|
|
<ul>
|
|
<li><a href="#">Industrie</a></li>
|
|
<li><a href="#">Ingenierie</a></li>
|
|
<li><a href="#">Politique</a></li>
|
|
<li><a href="#">Armement</a></li>
|
|
<li><a href="#">Défenses</a></li>
|
|
<li><a href="#">Expérimentations</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['ressources']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'ressources'): ?> class="hilight"<?php endif; ?>>Ressources</a></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'gestion' || $this->_tpl_vars['page'] == 'rename'): ?> class="hilight"<?php endif; ?>>Gestion</a></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['marche']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'marche' || $this->_tpl_vars['page'] == 'bourse_ressources' || $this->_tpl_vars['page'] == 'bourseDetails'): ?> class="hilight"<?php endif; ?>>Marché</a></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'flotte' || $this->_tpl_vars['page'] == 'flotte1' || $this->_tpl_vars['page'] == 'flotte2' || $this->_tpl_vars['page'] == 'flotten'): ?> class="hilight"<?php endif; ?>>Flottes</a></li>
|
|
<!--<li><a href="?p=simulateur"<?php if ($this->_tpl_vars['page'] == 'simulateur_combat'): ?> class="hilight"<?php endif; ?>>Simulateur de combat</a></li>-->
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'carte'): ?> class="hilight"<?php endif; ?>>Carte spatiale</a></li>
|
|
<li>
|
|
<a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
|
"<?php if (ereg ( "options/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Options</a>
|
|
<ul>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
|
&n=ext"<?php if ($this->_tpl_vars['onglet'] == 'ext' && ereg ( "options/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Extérieures</a></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
|
&n=compte"<?php if ($this->_tpl_vars['onglet'] == 'compte' && ereg ( "options/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Compte</a></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
|
&n=jeu"<?php if ($this->_tpl_vars['onglet'] == 'jeu' && ereg ( "options/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Jeu</a></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
|
&n=notif"<?php if ($this->_tpl_vars['onglet'] == 'notif' && ereg ( "options/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Notifications</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'messagerie' || $this->_tpl_vars['page'] == 'envoyer'): ?> class="hilight"<?php endif; ?>>
|
|
<?php if ($this->_tpl_vars['alertMail']['0'] + $this->_tpl_vars['alertMail']['1'] >= 1): ?><b>Messages <?php if ($this->_tpl_vars['alertMail']['0']): ?>(<?php echo $this->_tpl_vars['alertMail']['0']; ?>
|
|
) <?php endif; ?>et rapports<?php if ($this->_tpl_vars['alertMail']['1']): ?> (<?php echo $this->_tpl_vars['alertMail']['1']; ?>
|
|
)<?php endif; ?></b><?php else: ?>Messages et rapports<?php endif; ?></a>
|
|
<ul>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
|
&n=recus"<?php if ($this->_tpl_vars['page'] == 'messagerie' && $this->_tpl_vars['onglet'] != 'rapports' && $this->_tpl_vars['onglet'] != 'send' && $this->_tpl_vars['onglet'] != 'envoyer'): ?> class="hilight"<?php endif; ?>>Reçus</a><?php if ($this->_tpl_vars['alertMail']['0']): ?> (<?php echo $this->_tpl_vars['alertMail']['0']; ?>
|
|
)<?php endif; ?></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
|
&n=rapports"<?php if ($this->_tpl_vars['onglet'] == 'rapports' && $this->_tpl_vars['page'] == 'messagerie'): ?> class="hilight"<?php endif; ?>>Rapports</a><?php if ($this->_tpl_vars['alertMail']['1']): ?> (<?php echo $this->_tpl_vars['alertMail']['1']; ?>
|
|
)<?php endif; ?></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
|
&n=send"<?php if ($this->_tpl_vars['onglet'] == 'send' && $this->_tpl_vars['page'] == 'messagerie'): ?> class="hilight"<?php endif; ?>>Envoyés</a></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
|
&n=envoyer"<?php if ($this->_tpl_vars['onglet'] == 'envoyer'): ?> class="hilight"<?php endif; ?>>Ecrire</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
|
"<?php if (ereg ( "alliance/" , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>Alliance</a></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['classement']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'classement'): ?> class="hilight"<?php endif; ?>>Classement</a></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['chat']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'chat'): ?> class="hilight"<?php else: ?> class="external"<?php endif; ?>>Chat</a></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['forums']; ?>
|
|
" class="external">Forums</a></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['bugs']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'bugs'): ?> class="hilight"<?php endif; ?>>Rapports de bug</a></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
|
|
"<?php if ($this->_tpl_vars['page'] == 'faq' || ereg ( '/aide/' , $this->_tpl_vars['page'] )): ?> class="hilight"<?php endif; ?>>F.A.Q.</a></li>
|
|
<li><a href="<?php echo $this->_tpl_vars['menu']['deconnexion']; ?>
|
|
">Déconnexion</a></li>
|
|
</ul>
|