game/onyx2/modules/templates_anc/compile/%%B8^B8A^B8A391E0%%menu_asteroide.tpl.php

122 lines
11 KiB
PHP

<?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']; ?>
&amp;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']; ?>
&amp;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']; ?>
&amp;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']; ?>
&amp;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&acirc;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']; ?>
&amp;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']; ?>
&amp;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']; ?>
&amp;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']; ?>
&amp;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']; ?>
&amp;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']; ?>
&amp;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']; ?>
&amp;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']; ?>
&amp;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']; ?>
&amp;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']; ?>
&amp;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']; ?>
&amp;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']; ?>
&amp;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']; ?>
&amp;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']; ?>
&amp;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']; ?>
&amp;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']; ?>
&amp;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>