123 lines
12 KiB
PHP
123 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:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}}}'); ?>
|
|
<?php /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:06
|
|
compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.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['batiments'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="batiments"){?> class="hilight"<?php }?>>Bâtiments</a>
|
|
<ul>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['batiments'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="batiments"&&$_smarty_tpl->getVariable('onglet')->value==0){?> class="hilight"<?php }?>>Tous</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['batiments'];?>
|
|
&n=1"<?php if ($_smarty_tpl->getVariable('page')->value=="batiments"&&$_smarty_tpl->getVariable('onglet')->value & 1){?> class="hilight"<?php }?>>Mines/centrales</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['batiments'];?>
|
|
&n=2"<?php if ($_smarty_tpl->getVariable('page')->value=="batiments"&&$_smarty_tpl->getVariable('onglet')->value & 2){?> class="hilight"<?php }?>>Civils</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['batiments'];?>
|
|
&n=4"<?php if ($_smarty_tpl->getVariable('page')->value=="batiments"&&$_smarty_tpl->getVariable('onglet')->value & 4){?> class="hilight"<?php }?>>Militaires</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['caserne'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="caserne"){?> class="hilight"<?php }?>><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][9]),true);?>
|
|
</a></li>
|
|
<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]['batiments']['noms_sing'][8]),true);?>
|
|
</a></li>
|
|
<li>
|
|
<a href="<?php echo $_smarty_tpl->getVariable('menu')->value['chantierterrestre'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="chantierterrestre"){?> class="hilight"<?php }?>><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][7]),true);?>
|
|
</a>
|
|
<ul>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['chantierterrestre'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="chantierterrestre"&&$_smarty_tpl->getVariable('onglet')->value!="defenses"){?> class="hilight"<?php }?>>Unités</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['chantierterrestre'];?>
|
|
&n=defenses"<?php if ($_smarty_tpl->getVariable('page')->value=="chantierterrestre"&&$_smarty_tpl->getVariable('onglet')->value=="defenses"){?> class="hilight"<?php }?>>Défenses</a></li>
|
|
</ul>
|
|
</li>
|
|
<?php if ($_smarty_tpl->getVariable('planetes')->value[0]['id']==$_smarty_tpl->getVariable('planete')->value->id){?><li>
|
|
<a href="<?php echo $_smarty_tpl->getVariable('menu')->value['laboratoire'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="laboratoire"){?> class="hilight"<?php }?>><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][6]),true);?>
|
|
</a>
|
|
<ul>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['laboratoire'];?>
|
|
&n=0"<?php if ($_smarty_tpl->getVariable('page')->value=="laboratoire"&&$_smarty_tpl->getVariable('onglet')->value==0){?> class="hilight"<?php }?>>Industrie</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['laboratoire'];?>
|
|
&n=1"<?php if ($_smarty_tpl->getVariable('page')->value=="laboratoire"&&($_smarty_tpl->getVariable('onglet')->value==1||$_smarty_tpl->getVariable('onglet')->value==2)){?> class="hilight"<?php }?>>Ingénierie</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['laboratoire'];?>
|
|
&n=3"<?php if ($_smarty_tpl->getVariable('page')->value=="laboratoire"&&$_smarty_tpl->getVariable('onglet')->value==3){?> class="hilight"<?php }?>>Politique</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['laboratoire'];?>
|
|
&n=4"<?php if ($_smarty_tpl->getVariable('page')->value=="laboratoire"&&$_smarty_tpl->getVariable('onglet')->value==4){?> class="hilight"<?php }?>>Armement</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['laboratoire'];?>
|
|
&n=5"<?php if ($_smarty_tpl->getVariable('page')->value=="laboratoire"&&($_smarty_tpl->getVariable('onglet')->value==5||$_smarty_tpl->getVariable('onglet')->value==6)){?> class="hilight"<?php }?>>Défenses</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['laboratoire'];?>
|
|
&n=7"<?php if ($_smarty_tpl->getVariable('page')->value=="laboratoire"&&$_smarty_tpl->getVariable('onglet')->value==7){?> class="hilight"<?php }?>>Projets expérimentaux</a></li>
|
|
</ul>
|
|
</li><?php }?>
|
|
<li>
|
|
<a href="<?php echo $_smarty_tpl->getVariable('menu')->value['arbre'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="arbre"||$_smarty_tpl->getVariable('page')->value=="description"){?> class="hilight"<?php }?>>Arbre technologique</a>
|
|
</li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['ressources'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="ressources"){?> class="hilight"<?php }?>>Ressources</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['gestion'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="gestion"||$_smarty_tpl->getVariable('page')->value=="rename"){?> class="hilight"<?php }?>>Gestion</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['marche'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('page')->value=="marche"||$_smarty_tpl->getVariable('page')->value=="bourse_ressources"||$_smarty_tpl->getVariable('page')->value=="bourseDetails"){?> class="hilight"<?php }?>>Marché</a></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 ($_smarty_tpl->getVariable('page')->value=="messagerie"||$_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 ($_smarty_tpl->getVariable('page')->value=="messagerie"&&$_smarty_tpl->getVariable('onglet')->value!="rapports"&&$_smarty_tpl->getVariable('onglet')->value!="send"&&$_smarty_tpl->getVariable('onglet')->value!="envoyer"){?> class="hilight"<?php }?>>Reçus</a><?php if ($_smarty_tpl->getVariable('alertMail')->value[0]){?> (<?php echo $_smarty_tpl->getVariable('alertMail')->value[0];?>
|
|
)<?php }?></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['messages'];?>
|
|
&n=rapports"<?php if ($_smarty_tpl->getVariable('onglet')->value=="rapports"&&$_smarty_tpl->getVariable('page')->value=="messagerie"){?> class="hilight"<?php }?>>Rapports</a><?php if ($_smarty_tpl->getVariable('alertMail')->value[1]){?> (<?php echo $_smarty_tpl->getVariable('alertMail')->value[1];?>
|
|
)<?php }?></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['messages'];?>
|
|
&n=send"<?php if ($_smarty_tpl->getVariable('onglet')->value=="send"&&$_smarty_tpl->getVariable('page')->value=="messagerie"){?> 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['alliance'];?>
|
|
"<?php if (ereg("alliance/",$_smarty_tpl->getVariable('page')->value)){?> class="hilight"<?php }?>>Alliance</a></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>
|