forked from halo-battle/game
122 lines
12 KiB
PHP
122 lines
12 KiB
PHP
|
<?php if(!defined('SMARTY_DIR')) exit('no direct access allowed'); ?>
|
||
|
<?php $_smarty_tpl->decodeProperties('a:1:{s:15:"file_dependency";a:1:{s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}}}'); ?>
|
||
|
<?php /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:03
|
||
|
compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl" */ ?>
|
||
|
<ul>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['accueil'];?>
|
||
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="accueil"){?> class="hilight"<?php }?>>Accueil</a></li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['alli_chat'];?>
|
||
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="alliance/chat_ajax"||$_smarty_tpl->getVariable('page')->value=="alliance/chat_irc"){?> class="hilight"<?php }?>>Chat de l'alliance</a></li>
|
||
|
<?php if ($_smarty_tpl->getVariable('planete')->value->url_forum){?><li><a href="<?php echo $_smarty_tpl->getVariable('planete')->value->url_forum;?>
|
||
|
" class="external">Forum de l'alliance</a></li><?php }?>
|
||
|
<li>
|
||
|
<a href="<?php echo $_smarty_tpl->getVariable('menu')->value['alli_messagerie'];?>
|
||
|
"<?php if (ereg("Messagerie d'alliance",$_smarty_tpl->getVariable('titre')->value)){?> class="hilight"<?php }?>>Messagerie d'alliance</a>
|
||
|
<ul>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['alli_messagerie'];?>
|
||
|
&n=recus"<?php if (ereg("Messagerie d'alliance",$_smarty_tpl->getVariable('titre')->value)&&$_smarty_tpl->getVariable('onglet')->value!="rapports"&&$_smarty_tpl->getVariable('onglet')->value!="send"&&$_smarty_tpl->getVariable('onglet')->value!="envoyer"){?> class="hilight"<?php }?>>Reçus<?php if ($_smarty_tpl->getVariable('alertMail')->value[0]){?> (<?php echo $_smarty_tpl->getVariable('alertMail')->value[0];?>
|
||
|
)<?php }?></a></li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['alli_messagerie'];?>
|
||
|
&n=rapports"<?php if ($_smarty_tpl->getVariable('onglet')->value=="rapports"&&ereg("Messagerie d'alliance",$_smarty_tpl->getVariable('titre')->value)){?> class="hilight"<?php }?>>Rapports<?php if ($_smarty_tpl->getVariable('alertMail')->value[1]){?> (<?php echo $_smarty_tpl->getVariable('alertMail')->value[1];?>
|
||
|
)<?php }?></a></li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['alli_messagerie'];?>
|
||
|
&n=send"<?php if ($_smarty_tpl->getVariable('onglet')->value=="send"&&ereg("Messagerie d'alliance",$_smarty_tpl->getVariable('titre')->value)){?> class="hilight"<?php }?>>Envoyés</a></li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['alli_messagerie'];?>
|
||
|
&n=envoyer"<?php if ($_smarty_tpl->getVariable('onglet')->value=="envoyer"){?> class="hilight"<?php }?>>Ecrire</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<?php if ($_smarty_tpl->getVariable('planete')->value->permissions_alliance & 1||$_smarty_tpl->getVariable('planete')->value->permissions_alliance & 2){?>
|
||
|
<ul>
|
||
|
<?php if ($_smarty_tpl->getVariable('planete')->value->permissions_alliance & 1){?><li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['batiments'];?>
|
||
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="batiments_alli"){?> class="hilight"<?php }?>>Bâtiments</a></li><?php }?>
|
||
|
<?php if ($_smarty_tpl->getVariable('planete')->value->permissions_alliance & 2){?><li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['chantierspatial'];?>
|
||
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="chantierspatial"){?> class="hilight"<?php }?>><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['alli_batiments']['noms_sing'][3]),true);?>
|
||
|
</a></li><?php }?>
|
||
|
</ul>
|
||
|
<?php }?>
|
||
|
<ul>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['ressources'];?>
|
||
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="ressources_alli"){?> class="hilight"<?php }?>>Ressources</a></li>
|
||
|
<?php if ($_smarty_tpl->getVariable('planete')->value->permissions_alliance & 32||$_smarty_tpl->getVariable('planete')->value->permissions_alliance & 64||$_smarty_tpl->getVariable('planete')->value->permissions_alliance & 128){?>
|
||
|
<li>
|
||
|
<a href="<?php echo $_smarty_tpl->getVariable('menu')->value['gestion'];?>
|
||
|
"<?php if (ereg("gestion",$_smarty_tpl->getVariable('page')->value)){?> class="hilight"<?php }?>>Gestion</a>
|
||
|
<ul>
|
||
|
<?php if ($_smarty_tpl->getVariable('planete')->value->permissions_alliance & 32){?><li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['gestion'];?>
|
||
|
&g=membres"<?php if ($_smarty_tpl->getVariable('onglet')->value=="membres"&&ereg("gestion",$_smarty_tpl->getVariable('page')->value)){?> class="hilight"<?php }?>>Membres</a></li><?php }?>
|
||
|
<?php if ($_smarty_tpl->getVariable('planete')->value->permissions_alliance & 128){?><li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['gestion'];?>
|
||
|
&g=grades"<?php if ($_smarty_tpl->getVariable('onglet')->value=="grades"&&ereg("gestion",$_smarty_tpl->getVariable('page')->value)){?> class="hilight"<?php }?>>Grades</a></li><?php }?>
|
||
|
<?php if ($_smarty_tpl->getVariable('planete')->value->permissions_alliance & 64){?><li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['gestion'];?>
|
||
|
&g=wings"<?php if ($_smarty_tpl->getVariable('onglet')->value=="wings"&&ereg("gestion",$_smarty_tpl->getVariable('page')->value)){?> class="hilight"<?php }?>>Wings</a></li><?php }?>
|
||
|
<?php if ($_smarty_tpl->getVariable('planete')->value->permissions_alliance & 128&&!$_smarty_tpl->getVariable('planete')->value->wing){?><li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['gestion'];?>
|
||
|
&g=alliance"<?php if ($_smarty_tpl->getVariable('onglet')->value=="alliance"&&ereg("gestion",$_smarty_tpl->getVariable('page')->value)){?> class="hilight"<?php }?>>Alliance</a></li><?php }?>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<?php }?>
|
||
|
<li>
|
||
|
<a href="<?php echo $_smarty_tpl->getVariable('menu')->value['diplomatie'];?>
|
||
|
"<?php if (ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> class="hilight"<?php }?>>Diplomatie</a>
|
||
|
<ul>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['diplomatie'];?>
|
||
|
&o=actus"<?php if ($_smarty_tpl->getVariable('onglet')->value=="actus"&&ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> class="hilight"<?php }?>>Actualités</a></li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['diplomatie'];?>
|
||
|
&o=encours"<?php if ($_smarty_tpl->getVariable('onglet')->value=="encours"&&ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> class="hilight"<?php }?>>En place</a></li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['diplomatie'];?>
|
||
|
&o=archives"<?php if ($_smarty_tpl->getVariable('onglet')->value=="archives"&&ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> class="hilight"<?php }?>>Résiliés/annulés</a></li>
|
||
|
<?php if ($_smarty_tpl->getVariable('planete')->value->permissions_alliance & 8){?><li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['diplomatie'];?>
|
||
|
&o=new"<?php if ($_smarty_tpl->getVariable('onglet')->value=="new"&&ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> class="hilight"<?php }?>>Nouveau</a></li><?php }?>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['flotte'];?>
|
||
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="flotte"||$_smarty_tpl->getVariable('page')->value=="flotte1"||$_smarty_tpl->getVariable('page')->value=="flotte2"||$_smarty_tpl->getVariable('page')->value=="flotten"){?> class="hilight"<?php }?>>Flottes</a></li>
|
||
|
<!--<li><a href="?p=simulateur"<?php if ($_smarty_tpl->getVariable('page')->value=="simulateur_combat"){?> class="hilight"<?php }?>>Simulateur de combat</a></li>-->
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['carte'];?>
|
||
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="carte"){?> class="hilight"<?php }?>>Carte spatiale</a></li>
|
||
|
<li>
|
||
|
<a href="<?php echo $_smarty_tpl->getVariable('menu')->value['options'];?>
|
||
|
"<?php if (ereg("options/",$_smarty_tpl->getVariable('page')->value)){?> class="hilight"<?php }?>>Options</a>
|
||
|
<ul>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['options'];?>
|
||
|
&n=ext"<?php if ($_smarty_tpl->getVariable('onglet')->value=="ext"&&ereg("options/",$_smarty_tpl->getVariable('page')->value)){?> class="hilight"<?php }?>>Extérieures</a></li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['options'];?>
|
||
|
&n=compte"<?php if ($_smarty_tpl->getVariable('onglet')->value=="compte"&&ereg("options/",$_smarty_tpl->getVariable('page')->value)){?> class="hilight"<?php }?>>Compte</a></li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['options'];?>
|
||
|
&n=jeu"<?php if ($_smarty_tpl->getVariable('onglet')->value=="jeu"&&ereg("options/",$_smarty_tpl->getVariable('page')->value)){?> class="hilight"<?php }?>>Jeu</a></li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['options'];?>
|
||
|
&n=notif"<?php if ($_smarty_tpl->getVariable('onglet')->value=="notif"&&ereg("options/",$_smarty_tpl->getVariable('page')->value)){?> class="hilight"<?php }?>>Notifications</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<ul>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['messages'];?>
|
||
|
"<?php if (ereg("Messagerie - ",$_smarty_tpl->getVariable('titre')->value)||$_smarty_tpl->getVariable('page')->value=="envoyer"){?> class="hilight"<?php }?>>
|
||
|
<?php if ($_smarty_tpl->getVariable('alertMail')->value[0] + $_smarty_tpl->getVariable('alertMail')->value[1]>=1){?><b>Messages <?php if ($_smarty_tpl->getVariable('alertMail')->value[0]){?>(<?php echo $_smarty_tpl->getVariable('alertMail')->value[0];?>
|
||
|
) <?php }?>et rapports<?php if ($_smarty_tpl->getVariable('alertMail')->value[1]){?> (<?php echo $_smarty_tpl->getVariable('alertMail')->value[1];?>
|
||
|
)<?php }?></b><?php }else{ ?>Messages et rapports<?php }?></a>
|
||
|
<ul>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['messages'];?>
|
||
|
&n=recus"<?php if (ereg("Messagerie - ",$_smarty_tpl->getVariable('titre')->value)&&$_smarty_tpl->getVariable('onglet')->value!="rapports"&&$_smarty_tpl->getVariable('onglet')->value!="send"&&$_smarty_tpl->getVariable('onglet')->value!="envoyer"){?> class="hilight"<?php }?>>Reçus<?php if ($_smarty_tpl->getVariable('alertMail')->value[0]){?> (<?php echo $_smarty_tpl->getVariable('alertMail')->value[0];?>
|
||
|
)<?php }?></a></li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['messages'];?>
|
||
|
&n=rapports"<?php if ($_smarty_tpl->getVariable('onglet')->value=="rapports"&&ereg("Messagerie - ",$_smarty_tpl->getVariable('titre')->value)){?> class="hilight"<?php }?>>Rapports<?php if ($_smarty_tpl->getVariable('alertMail')->value[1]){?> (<?php echo $_smarty_tpl->getVariable('alertMail')->value[1];?>
|
||
|
)<?php }?></a></li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['messages'];?>
|
||
|
&n=send"<?php if ($_smarty_tpl->getVariable('onglet')->value=="send"&&ereg("Messagerie - ",$_smarty_tpl->getVariable('titre')->value)){?> class="hilight"<?php }?>>Envoyés</a></li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['messages'];?>
|
||
|
&n=envoyer"<?php if ($_smarty_tpl->getVariable('onglet')->value=="envoyer"){?> class="hilight"<?php }?>>Ecrire</a></li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['classement'];?>
|
||
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="classement"){?> class="hilight"<?php }?>>Classement</a></li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['chat'];?>
|
||
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="chat"){?> class="hilight"<?php }else{ ?> class="external"<?php }?>>Chat</a></li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['forums'];?>
|
||
|
" class="external">Forums</a></li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['bugs'];?>
|
||
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="bugs"){?> class="hilight"<?php }?>>Rapports de bug</a></li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['faq'];?>
|
||
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="faq"||ereg('/aide/',$_smarty_tpl->getVariable('page')->value)){?> class="hilight"<?php }?>>F.A.Q.</a></li>
|
||
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['deconnexion'];?>
|
||
|
">Déconnexion</a></li>
|
||
|
</ul>
|