573 lines
53 KiB
PHP
573 lines
53 KiB
PHP
<?php if(!defined('SMARTY_DIR')) exit('no direct access allowed'); ?>
|
|
<?php $_smarty_tpl->decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:10:"F486750957";a:2:{i:0;s:89:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/chantierspatial.tpl";i:1;i:1257038674;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}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;}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;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?>
|
|
<?php /* Smarty version Smarty-3.0b1, created on 2009-11-01 02:24:43
|
|
compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/chantierspatial.tpl" */ ?>
|
|
<?php $_template = new Smarty_Template ('game/header.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00
|
|
compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?>
|
|
<!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 ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?>
|
|
- Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?></title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<?php if ($_smarty_tpl->getVariable('race')->value=="covenant"){?><link rel="stylesheet" href="<?php echo $_smarty_tpl->getVariable('url_images')->value;?>
|
|
css/covenant/covenant.css" type="text/css" media="all" title="Covenants" /><?php }elseif($_smarty_tpl->getVariable('auth_level')->value>=3){?><link rel="alternate stylesheet" href="<?php echo $_smarty_tpl->getVariable('url_images')->value;?>
|
|
css/covenant/covenant.css" type="text/css" media="all" title="Covenants" /><?php } if ($_smarty_tpl->getVariable('race')->value=="humain"){?><link rel="stylesheet" href="<?php echo $_smarty_tpl->getVariable('url_images')->value;?>
|
|
css/csnu/csnu.css" type="text/css" media="all" title="CSNU" /><?php }elseif($_smarty_tpl->getVariable('auth_level')->value>=3){?><link rel="alternate stylesheet" href="<?php echo $_smarty_tpl->getVariable('url_images')->value;?>
|
|
css/csnu/csnu.css" type="text/css" media="all" title="CSNU" /><?php }?>
|
|
<link rel="shortcut icon" type="image/x-icon" href="<?php echo $_smarty_tpl->getVariable('url_images')->value;?>
|
|
favicon.ico" />
|
|
<?php echo $_smarty_tpl->getVariable('scripth')->value;?>
|
|
|
|
</head>
|
|
<body>
|
|
<div id="top"></div>
|
|
<div id="all">
|
|
<div id="header">
|
|
<div><span id="date"><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('date_format',array(time(),"/%e%m%y/%H%M%S"),true);?>
|
|
</span> | <?php echo $_smarty_tpl->getVariable('LANG')->value['hd_sup']['tempsDeJeu'];?>
|
|
<?php echo $_smarty_tpl->getVariable('tpsdejeu')->value;?>
|
|
| <a href="?p=version">Version <?php echo $_smarty_tpl->getVariable('version')->value;?>
|
|
</a><?php if ($_smarty_tpl->getVariable('multi')->value){?> | <a href="?p=avertmulti" style="color: #FF0000;">! MULTICOMPTE !</a><?php } if ($_smarty_tpl->getVariable('header')->value['messagedemarrage']){?> | <a href="?p=demarrage"><?php echo $_smarty_tpl->getVariable('header')->value['messagedemarrage'];?>
|
|
</a><?php } if ($_smarty_tpl->getVariable('planete')->value->mv<0){?> | <a href="?p=accueil" style="color: #FF0000;">Votre compte sera supprimé d'ici 48h</a><?php } if ($_smarty_tpl->getVariable('alertMail')->value[0] + $_smarty_tpl->getVariable('alertMail')->value[1]>=1){?> | <a href="<?php echo $_smarty_tpl->getVariable('menu')->value['messages'];?>
|
|
" style="color: #FF0000;">Vous avez des messages non lu !</a><?php }?></div><a href="<?php echo $_smarty_tpl->getVariable('link')->value['RSS'];?>
|
|
" id="rss">RSS :: s'abonner</a>
|
|
<h1><a href="<?php echo $_smarty_tpl->getVariable('link')->value['self']; echo $_smarty_tpl->getVariable('first_page')->value;?>
|
|
"><span></span>Halo Battle</a></h1>
|
|
<?php if ($_smarty_tpl->getVariable('page')->value=="admin"){?>
|
|
<ul>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('link')->value['self']; echo $_smarty_tpl->getVariable('first_page')->value;?>
|
|
">RETOUR AU JEU</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['webmail'];?>
|
|
">WEBMAIL</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['cjoueurs'];?>
|
|
">CONTROLE JOU.</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['vjoueurs'];?>
|
|
">VERIFIER JOUEUR</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['vplanetes'];?>
|
|
">VERIFIER PLANETE</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('link')->value['self']; echo $_smarty_tpl->getVariable('link')->value['operateur'];?>
|
|
"><?php echo $_smarty_tpl->getVariable('LANG')->value['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 $_smarty_tpl->getVariable('link')->value['accueil'];?>
|
|
"><?php echo $_smarty_tpl->getVariable('LANG')->value['hd_menu']['accueil'];?>
|
|
</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('link')->value['blog'];?>
|
|
"><?php echo $_smarty_tpl->getVariable('LANG')->value['hd_menu']['blog'];?>
|
|
</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('link')->value['forum'];?>
|
|
"><?php echo $_smarty_tpl->getVariable('LANG')->value['hd_menu']['forum'];?>
|
|
</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['chat'];?>
|
|
"><?php echo $_smarty_tpl->getVariable('LANG')->value['hd_menu']['chat'];?>
|
|
</a></li>
|
|
<li><?php if ($_smarty_tpl->getVariable('auth_level')->value>=4){?><a href="admin.php">CONTROLES</a><?php }else{ ?><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['faq'];?>
|
|
"><?php echo $_smarty_tpl->getVariable('LANG')->value['hd_menu']['faq'];?>
|
|
</a><?php }?></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['messages'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('alertMail')->value[0] + $_smarty_tpl->getVariable('alertMail')->value[1]>=1){?> style="color:#FF0000;"<?php }?>><?php echo $_smarty_tpl->getVariable('LANG')->value['hd_menu']['messagerie'];?>
|
|
</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('link')->value['operateur'];?>
|
|
"><?php echo $_smarty_tpl->getVariable('LANG')->value['hd_menu']['operateurs'];?>
|
|
</a></li>
|
|
</ul>
|
|
<?php }?>
|
|
</div>
|
|
<div id="banner">
|
|
<?php $_smarty_tpl->tpl_vars['info'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->getVariable('header')->value['infos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
if (count($_from) > 0){
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['info']->key => $_smarty_tpl->tpl_vars['info']->value){
|
|
?>
|
|
<div class="bannerleft"<?php if ($_smarty_tpl->getVariable('info')->value['color']){?> style="color: <?php echo $_smarty_tpl->getVariable('info')->value['color'];?>
|
|
;"<?php }?>><?php echo $_smarty_tpl->getVariable('info')->value['texte'];?>
|
|
</div>
|
|
<?php }} ?>
|
|
<div id="bannerright"><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('sprintf',array($_smarty_tpl->getVariable('LANG')->value['cntRaces'],$_smarty_tpl->getVariable('header')->value['count'][1],$_smarty_tpl->getVariable('header')->value['count'][0],$_smarty_tpl->getVariable('header')->value['count'][2]),true);?>
|
|
</div>
|
|
</div>
|
|
<div id="corps">
|
|
<div id="menu"><span class="top"></span>
|
|
<?php if ($_smarty_tpl->getVariable('page')->value=="admin"){?>
|
|
<?php $_template = new Smarty_Template ('admin/menu.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:02
|
|
compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl" */ ?>
|
|
<ul>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['accueil'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('pagea')->value=="accueil"){?> class="hilight"<?php }?>>Accueil</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['courrier'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('pagea')->value=="mail"){?> class="hilight"<?php }?>>Courrier</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['webmail'];?>
|
|
" class="external">Webmail</a></li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['vip'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('pagea')->value=="vip"){?> class="hilight"<?php }?>>Vérifier IP</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['vflottes'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('pagea')->value=="vflotte"){?> class="hilight"<?php }?>>Vérifier flottes</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['vplanetes'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('pagea')->value=="print_choixP"){?> class="hilight"<?php }?>>Vérifier planètes</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['vjoueurs'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('pagea')->value=="vjoueurs"){?> class="hilight"<?php }?>>Vérifier joueurs</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['vrapports'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('pagea')->value=="vrapports"){?> class="hilight"<?php }?>>Afficher rapports</a></li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href="?p=snalliances"<?php if ($_smarty_tpl->getVariable('pagea')->value=="snalliances"){?> class="hilight"<?php }?>>Voir les futurs alliances</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['valliances'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('pagea')->value=="valliances"){?> class="hilight"<?php }?>>Vérifier alliances</a></li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['sjoueurs'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('pagea')->value=="sanctionU_choix"){?> class="hilight"<?php }?>>Sanctions joueur</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['cjoueurs'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('pagea')->value=="controle"){?> class="hilight"<?php }?>>Prendre le contrôle</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['djoueurs'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('pagea')->value=="sjoueurs"){?> class="hilight"<?php }?>>Supprimer joueurs</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['inscription'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('pagea')->value=="inscription"){?> class="hilight"<?php }?>>Créer lien d'inscription</a></li>
|
|
</ul>
|
|
<ul>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['bandeau'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('pagea')->value=="bandeau"){?> class="hilight"<?php }?>>Bandeau d'informations</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['demarrage'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('pagea')->value=="demarrage"){?> class="hilight"<?php }?>>Message démarrage</a></li>
|
|
<li><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['versions'];?>
|
|
"<?php if ($_smarty_tpl->getVariable('pagea')->value=="version"){?> class="hilight"<?php }?>>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><?php /* End of included template "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl" */ $_smarty_tpl = array_pop($_tpl_stack); unset($_template); ?>
|
|
<?php }elseif(@SURFACE=="asteroide"){?>
|
|
<?php $_template = new Smarty_Template ('game/menu_asteroide.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* 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><?php /* End of included template "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl" */ $_smarty_tpl = array_pop($_tpl_stack); unset($_template); ?>
|
|
<?php }else{ ?>
|
|
<?php $_template = new Smarty_Template ('game/menu_joueurs.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* 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><?php /* End of included template "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl" */ $_smarty_tpl = array_pop($_tpl_stack); unset($_template); ?>
|
|
<?php }?>
|
|
<span class="bottom"></span></div>
|
|
</div>
|
|
|
|
<?php if ($_smarty_tpl->getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?>
|
|
<div id="head">
|
|
<span class="top"></span>
|
|
|
|
<a href="?p=rename" class="imglink"><img src="<?php echo $_smarty_tpl->getVariable('url_images')->value;?>
|
|
images/<?php if (@SURFACE=="planete"){?>planetes<?php }else{ ?>asteroides<?php }?>/<?php echo $_smarty_tpl->getVariable('planete')->value->image;?>
|
|
.jpg" width="70" height="70" alt="<?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('planete')->value->nom_planete),true);?>
|
|
" /></a>
|
|
<form action="<?php echo $_smarty_tpl->getVariable('link')->value['changeplanete'];?>
|
|
" method="post">
|
|
<p>Bonjour, <span><?php echo $_smarty_tpl->getVariable('planete')->value->pseudo;?>
|
|
.</span><br />Votre position actuelle :</p>
|
|
<fieldset>
|
|
<select name="planete">
|
|
<optgroup label="Planètes"><?php $_smarty_tpl->tpl_vars['plan'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->getVariable('planetes')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
if (count($_from) > 0){
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['plan']->key => $_smarty_tpl->tpl_vars['plan']->value){
|
|
?>
|
|
<option <?php if (@SURFACE=='planete'&&$_smarty_tpl->getVariable('plan')->value['id']==$_smarty_tpl->getVariable('planete')->value->id){?>selected="selected" <?php }?>value="<?php echo $_smarty_tpl->getVariable('plan')->value['id'];?>
|
|
"><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('plan')->value['nom_planete']),true);?>
|
|
[<?php echo $_smarty_tpl->getVariable('plan')->value['galaxie'];?>
|
|
:<?php echo $_smarty_tpl->getVariable('plan')->value['ss'];?>
|
|
:<?php echo $_smarty_tpl->getVariable('plan')->value['position'];?>
|
|
]</option>
|
|
<?php }} ?></optgroup>
|
|
<?php if ($_smarty_tpl->getVariable('planete')->value->alliance){?><optgroup label="Astéroïdes">
|
|
<option value="A<?php echo $_smarty_tpl->getVariable('planete')->value->id_alliance;?>
|
|
" <?php if (@SURFACE=='asteroide'){?>selected="selected" <?php }?>><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('planete')->value->alliance->nom_asteroide),true);?>
|
|
[<?php echo $_smarty_tpl->getVariable('planete')->value->alliance->galaxie;?>
|
|
:<?php echo $_smarty_tpl->getVariable('planete')->value->alliance->ss;?>
|
|
:A]</option>
|
|
</optgroup><?php }?>
|
|
</select>
|
|
<noscript><fieldset><input class="submit" type="submit" value="GO" /></fieldset></noscript>
|
|
</fieldset></form>
|
|
<div>
|
|
<div><strong><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['metal']),true);?>
|
|
</strong><br /><span<?php if ($_smarty_tpl->getVariable('planete')->value->metal>=$_smarty_tpl->getVariable('planete')->value->cap){?> class="lack"<?php }?>><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('planete')->value->metal),true);?>
|
|
</span></div>
|
|
<div><strong><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['cristal']),true);?>
|
|
</strong><br /><span<?php if ($_smarty_tpl->getVariable('planete')->value->cristal>=$_smarty_tpl->getVariable('planete')->value->cap){?> class="lack"<?php }?>><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('planete')->value->cristal),true);?>
|
|
</span></div>
|
|
<div><strong><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['hydrogene']),true);?>
|
|
</strong><br /><span<?php if ($_smarty_tpl->getVariable('planete')->value->hydrogene>=$_smarty_tpl->getVariable('planete')->value->cap){?> class="lack"<?php }?>><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('planete')->value->hydrogene),true);?>
|
|
</span></div>
|
|
<?php if (@SURFACE=="asteroide"){?><div><strong><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['credits']),true);?>
|
|
</strong><br /><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('planete')->value->credits_alliance),true);?>
|
|
</div>
|
|
<?php }else{ ?><div><strong><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['energie']),true);?>
|
|
</strong><br /><span<?php if ($_smarty_tpl->getVariable('planete')->value->energieConso>=$_smarty_tpl->getVariable('planete')->value->energie){?> class="lack"<?php }?>><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('planete')->value->energieConso),true);?>
|
|
/<?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('planete')->value->energie),true);?>
|
|
</span></div><?php }?>
|
|
</div>
|
|
|
|
<span class="bottom"></span>
|
|
</div>
|
|
<?php }?>
|
|
|
|
<?php if ($_smarty_tpl->getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?><div id="pub"><?php echo $_smarty_tpl->getVariable('pub')->value;?>
|
|
</div><?php }?>
|
|
|
|
<div id="body">
|
|
<span class="top"></span><?php /* End of included template "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ $_smarty_tpl = array_pop($_tpl_stack); unset($_template); if (@SURFACE=="planete"){?>
|
|
<?php $_smarty_tpl->assign('max',$_smarty_tpl->getVariable('planete')->value->batiments[8],null,null); }else{ ?>
|
|
<?php $_smarty_tpl->assign('max',$_smarty_tpl->getVariable('planete')->value->batiments[3],null,null); }?>
|
|
<ul class="onglets">
|
|
<?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['i']->value = 0;
|
|
if ($_smarty_tpl->getVariable('i')->value<$_smarty_tpl->getVariable('max')->value){ for ($_foo=true;$_smarty_tpl->getVariable('i')->value<$_smarty_tpl->getVariable('max')->value; $_smarty_tpl->tpl_vars['i']->value++){
|
|
?>
|
|
<li<?php if ($_smarty_tpl->getVariable('lieu')->value==$_smarty_tpl->getVariable('i')->value){?> class="hilight"<?php }?>><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['chantierspatial'];?>
|
|
&k=<?php echo $_smarty_tpl->getVariable('i')->value;?>
|
|
">Chantier <?php echo $_smarty_tpl->getVariable('i')->value+1;?>
|
|
</a></li>
|
|
<?php }} ?>
|
|
</ul>
|
|
|
|
<h2>File d'attente</h2>
|
|
<ul id="file">
|
|
<?php ob_start(); $_smarty_tpl->assign('keyF',$_smarty_tpl->getVariable('lieu')->value,null,null); $_smarty_tpl->tpl_vars['element'] = new Smarty_Variable;
|
|
$_smarty_tpl->tpl_vars['keyE'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->getVariable('files')->value[$_smarty_tpl->getVariable('lieu')->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
if (count($_from) > 0){
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['element']->key => $_smarty_tpl->tpl_vars['element']->value){
|
|
$_smarty_tpl->tpl_vars['keyE']->value = $_smarty_tpl->tpl_vars['element']->key;
|
|
?>
|
|
<?php if ($_smarty_tpl->getVariable('element')->value[5]){?><li><strong>Prochain vaisseau </strong> : <span class="countdown"><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('countdown',array($_smarty_tpl->getVariable('element')->value[4]),true);?>
|
|
</span></li><?php }?>
|
|
<li><?php echo $_smarty_tpl->getVariable('element')->value[1];?>
|
|
<?php if ($_smarty_tpl->getVariable('element')->value[1]>1){ echo $_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['vaisseaux']['noms_pluriel'][$_smarty_tpl->getVariable('element')->value[0]]; }else{ echo $_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['vaisseaux']['noms_sing'][$_smarty_tpl->getVariable('element')->value[0]]; }?> <?php if ($_smarty_tpl->getVariable('element')->value[2]){?> (démolition)<?php }?> - <span<?php if ($_smarty_tpl->getVariable('element')->value[5]){?> class="countdown"<?php }?>><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('countdown',array($_smarty_tpl->getVariable('element')->value[3]),true);?>
|
|
</span> - <a href="<?php echo $_smarty_tpl->getVariable('menu')->value['chantierspatial'];?>
|
|
&n=<?php echo $_smarty_tpl->getVariable('onglet')->value;?>
|
|
&k=<?php echo $_smarty_tpl->getVariable('lieu')->value;?>
|
|
&a=<?php echo $_smarty_tpl->getVariable('keyF')->value;?>
|
|
&b=<?php echo $_smarty_tpl->getVariable('keyE')->value;?>
|
|
">Annuler un</a> - <a href="<?php echo $_smarty_tpl->getVariable('menu')->value['chantierspatial'];?>
|
|
&n=<?php echo $_smarty_tpl->getVariable('onglet')->value;?>
|
|
&k=<?php echo $_smarty_tpl->getVariable('lieu')->value;?>
|
|
&a=<?php echo $_smarty_tpl->getVariable('keyF')->value;?>
|
|
&b=<?php echo $_smarty_tpl->getVariable('keyE')->value;?>
|
|
&s=<?php echo $_smarty_tpl->getVariable('element')->value[1];?>
|
|
">Annuler tous</a></li>
|
|
<?php }} $_smarty_tpl->smarty->_smarty_vars['capture']['expFile']=ob_get_clean(); if ($_smarty_tpl->getVariable('files')->value&&$_smarty_tpl->smarty->_smarty_vars['capture']['expFile']){?>
|
|
<?php echo $_smarty_tpl->smarty->_smarty_vars['capture']['expFile'];?>
|
|
|
|
<?php }else{ ?>
|
|
<li>Aucun vaisseau dans la file d'attente</li>
|
|
<?php }?>
|
|
</ul>
|
|
<h3><a href="<?php echo $_smarty_tpl->getVariable('menu')->value['arbre'];?>
|
|
&q=vaisseaux">Arbre des technologies</a></h3><br />
|
|
<h2><?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);?>
|
|
</h2>
|
|
<?php if ($_smarty_tpl->getVariable('vaisseaux')->value){?>
|
|
<div id="constructions">
|
|
<?php $_smarty_tpl->tpl_vars['vaisseau'] = new Smarty_Variable;
|
|
$_from = $_smarty_tpl->getVariable('vaisseaux')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
|
|
if (count($_from) > 0){
|
|
foreach ($_from as $_smarty_tpl->tpl_vars['vaisseau']->key => $_smarty_tpl->tpl_vars['vaisseau']->value){
|
|
?>
|
|
<dl>
|
|
<dt><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['vaisseaux']['noms_sing'][$_smarty_tpl->getVariable('vaisseau')->value['id']]),true); if ($_smarty_tpl->getVariable('vaisseau')->value['nombre']>0){?> (<?php echo $_smarty_tpl->getVariable('vaisseau')->value['nombre'];?>
|
|
unité<?php if ($_smarty_tpl->getVariable('vaisseau')->value['nombre']>1){?>s<?php }?>)<?php }?></dt>
|
|
<dd class="description"><a href="?p=description&v=<?php echo $_smarty_tpl->getVariable('vaisseau')->value['id'];?>
|
|
#body"><img src="<?php echo $_smarty_tpl->getVariable('url_images')->value;?>
|
|
images/vaisseaux/<?php echo $_smarty_tpl->getVariable('vaisseau')->value['image'];?>
|
|
" alt="<?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['vaisseaux']['noms_sing'][$_smarty_tpl->getVariable('vaisseau')->value['id']]),true);?>
|
|
" /></a><p><?php echo $_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['vaisseaux']['descriptions'][$_smarty_tpl->getVariable('vaisseau')->value['id']];?>
|
|
</p></dd>
|
|
<dd>
|
|
<?php if ($_smarty_tpl->getVariable('vaisseau')->value['nombre']>0){?><strong>Nombre actuel :</strong> <?php echo $_smarty_tpl->getVariable('vaisseau')->value['nombre'];?>
|
|
<br /><br /><?php }?>
|
|
<?php if ($_smarty_tpl->getVariable('vaisseau')->value['nec_metal']>0){?><strong>Coût <?php echo $_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['metal'];?>
|
|
:</strong> <?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('vaisseau')->value['nec_metal']),true);?>
|
|
<br /><?php }?>
|
|
<?php if ($_smarty_tpl->getVariable('vaisseau')->value['nec_cristal']>0){?><strong>Coût <?php echo $_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['cristal'];?>
|
|
:</strong> <?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('vaisseau')->value['nec_cristal']),true);?>
|
|
<br /><?php }?>
|
|
<?php if ($_smarty_tpl->getVariable('vaisseau')->value['nec_hydrogene']>0){?><strong>Coût <?php echo $_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['hydrogene'];?>
|
|
:</strong> <?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('vaisseau')->value['nec_hydrogene']),true);?>
|
|
<br /><?php }?>
|
|
<strong>Temps de construction :</strong> <?php echo $_smarty_tpl->getVariable('vaisseau')->value['temps'];?>
|
|
<br />
|
|
<br />
|
|
<?php if ($_smarty_tpl->getVariable('vaisseau')->value['nec_hydrogene']>$_smarty_tpl->getVariable('planete')->value->hydrogene||$_smarty_tpl->getVariable('vaisseau')->value['nec_cristal']>$_smarty_tpl->getVariable('planete')->value->cristal||$_smarty_tpl->getVariable('vaisseau')->value['nec_metal']>$_smarty_tpl->getVariable('planete')->value->metal){?><span class="lack">Ressources insuffisantes</span>
|
|
<?php }else{ ?><form action="<?php echo $_smarty_tpl->getVariable('menu')->value['chantierspatial'];?>
|
|
&k=<?php echo $_smarty_tpl->getVariable('lieu')->value;?>
|
|
&v=<?php echo $_smarty_tpl->getVariable('vaisseau')->value['id'];?>
|
|
" method="post"><fieldset>
|
|
<label for="vais<?php echo $_smarty_tpl->getVariable('vaisseau')->value['id'];?>
|
|
">Nombre : <input type="text" class="text" name="vais<?php echo $_smarty_tpl->getVariable('vaisseau')->value['id'];?>
|
|
" id="vais<?php echo $_smarty_tpl->getVariable('vaisseau')->value['id'];?>
|
|
" value="0" /></label>
|
|
<input type="submit" class="submit" value="OK" />
|
|
</fieldset></form><?php }?>
|
|
</dd>
|
|
</dl>
|
|
<?php }} ?>
|
|
</div>
|
|
<?php }else{ ?> <div id="erreur">Aucun vaisseau à construire actuellement.</div><?php } $_template = new Smarty_Template ('game/footer.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14
|
|
compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//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 $_smarty_tpl->getVariable('header')->value['count'][3];?>
|
|
joueurs<br /><br /><br /><a href="<?php echo $_smarty_tpl->getVariable('link')->value['accueil'];?>
|
|
">Accueil</a> | <a href="<?php echo $_smarty_tpl->getVariable('link')->value['blog'];?>
|
|
">Blog</a> | <a href="<?php echo $_smarty_tpl->getVariable('link')->value['forum'];?>
|
|
">Forum</a> | <a href="<?php echo $_smarty_tpl->getVariable('menu')->value['chat'];?>
|
|
">Chat</a> | <a href="<?php echo $_smarty_tpl->getVariable('menu')->value['faq'];?>
|
|
">F.A.Q.</a> | <a href="<?php echo $_smarty_tpl->getVariable('link')->value['operateur'];?>
|
|
">Nous contacter</a></div>
|
|
</div>
|
|
<div id="bottom"></div>
|
|
<script src="<?php echo $_smarty_tpl->getVariable('url_images')->value;?>
|
|
js/game.js" type="text/javascript"></script>
|
|
<?php if ($_smarty_tpl->getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?>
|
|
|
|
</body>
|
|
</html><?php /* End of included template "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ $_smarty_tpl = array_pop($_tpl_stack); unset($_template); ?>
|