forked from halo-battle/game
Version 1.13a
This commit is contained in:
parent
de31cd3e9a
commit
ba8f323879
1634 changed files with 10080 additions and 213021 deletions
|
|
@ -1,59 +1,84 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-03-07 19:22:06
|
||||
<?php /* Smarty version 2.6.22, created on 2009-11-01 01:32:07
|
||||
compiled from game/header.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/header.tpl', 62, false),array('modifier', 'escape', 'game/header.tpl', 96, false),array('modifier', 'separenombre', 'game/header.tpl', 98, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/header.tpl', 15, false),array('modifier', 'sprintf', 'game/header.tpl', 44, false),array('modifier', 'escape', 'game/header.tpl', 62, false),array('modifier', 'ucfirst', 'game/header.tpl', 77, false),array('modifier', 'separerNombres', 'game/header.tpl', 77, false),)), $this); ?>
|
||||
<!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">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
|
||||
<head>
|
||||
<title><?php if ($this->_tpl_vars['titre']): ?>.: <?php echo $this->_tpl_vars['titre']; ?>
|
||||
- Halo-Battle :.<?php else: ?>.: Halo-Battle :.<?php endif; ?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Content-Language" content="fr" />
|
||||
|
||||
<meta http-equiv="ext-Cache" content="0" />
|
||||
<meta http-equiv="cache-control" content="no-cache" />
|
||||
<meta http-equiv="expires" content="0" />
|
||||
<meta http-equiv="pragma" content="no-cache" />
|
||||
|
||||
<title><?php echo $this->_tpl_vars['titre']; ?>
|
||||
</title>
|
||||
<?php if ($this->_tpl_vars['race'] == 'covenant'): ?><link rel="stylesheet" href="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
templates/covenants.css" type="text/css" media="all" title="Covenants" /><?php elseif ($this->_tpl_vars['auth_level'] >= 3): ?><link rel="alternate stylesheet" href="templates/covenants.css" type="text/css" media="all" title="Covenants" /><?php endif; ?>
|
||||
css/covenant/covenant.css" type="text/css" media="all" title="Covenants" /><?php elseif ($this->_tpl_vars['auth_level'] >= 3): ?><link rel="alternate stylesheet" href="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
css/covenant/covenant.css" type="text/css" media="all" title="Covenants" /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['race'] == 'humain'): ?><link rel="stylesheet" href="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
templates/csnu.css" type="text/css" media="all" title="CSNU" /><?php elseif ($this->_tpl_vars['auth_level'] >= 3): ?><link rel="alternate stylesheet" href="templates/csnu.css" type="text/css" media="all" title="CSNU" /><?php endif; ?>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
|
||||
<script src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
js/game.js" type="text/javascript"></script>
|
||||
css/csnu/csnu.css" type="text/css" media="all" title="CSNU" /><?php elseif ($this->_tpl_vars['auth_level'] >= 3): ?><link rel="alternate stylesheet" href="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
css/csnu/csnu.css" type="text/css" media="all" title="CSNU" /><?php endif; ?>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
favicon.ico" />
|
||||
<?php echo $this->_tpl_vars['scripth']; ?>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="cornertop"></div>
|
||||
<div id="top"></div>
|
||||
<div id="all">
|
||||
<div id="header">
|
||||
<div id="header_link"><span id="date"><?php echo $this->_tpl_vars['date']; ?>
|
||||
</span> | Vous jouez depuis <?php echo $this->_tpl_vars['tpsdejeu']; ?>
|
||||
<div><span id="date"><?php echo ((is_array($_tmp=time())) ? $this->_run_mod_handler('date_format', true, $_tmp, "%A %e %B %Y %H:%M") : smarty_modifier_date_format($_tmp, "%A %e %B %Y %H:%M")); ?>
|
||||
</span> | <?php echo $this->_tpl_vars['LANG']['hd_sup']['tempsDeJeu']; ?>
|
||||
<?php echo $this->_tpl_vars['tpsdejeu']; ?>
|
||||
| <a href="?p=version">Version <?php echo $this->_tpl_vars['version']; ?>
|
||||
</a><?php if ($this->_tpl_vars['multi']): ?> | <a href="?p=avertmulti" style="color: #FF0000;">! MULTICOMPTE !</a><?php endif; ?><?php if ($this->_tpl_vars['header']['messagedemarrage']): ?> | <a href="?p=demarrage"><?php echo $this->_tpl_vars['header']['messagedemarrage']; ?>
|
||||
</a><?php endif; ?><?php if ($this->_tpl_vars['planete']->mv < 0): ?> | <a href="?p=accueil" style="color: #FF0000;">Votre compte sera supprimé d'ici 48h</a><?php endif; ?></div><a href="<?php echo $this->_tpl_vars['link']['RSS']; ?>
|
||||
</a><?php endif; ?><?php if ($this->_tpl_vars['planete']->mv < 0): ?> | <a href="?p=accueil" style="color: #FF0000;">Votre compte sera supprimé d'ici 48h</a><?php endif; ?><?php if ($this->_tpl_vars['alertMail']['0'] + $this->_tpl_vars['alertMail']['1'] >= 1): ?> | <a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
" style="color: #FF0000;">Vous avez des messages non lu !</a><?php endif; ?></div><a href="<?php echo $this->_tpl_vars['link']['RSS']; ?>
|
||||
" id="rss">RSS :: s'abonner</a>
|
||||
<h1><a href="<?php echo $this->_tpl_vars['link']['self']; ?>
|
||||
<?php echo $this->_tpl_vars['first_page']; ?>
|
||||
"><span></span>Halo Battle</a></h1>
|
||||
<?php if ($this->_tpl_vars['page'] == 'admin'): ?> <div id="buttons"><div><a href="./">RETOUR AU JEU</a></div> <div><a href="<?php echo $this->_tpl_vars['menu']['webmail']; ?>
|
||||
">WEBMAIL</a></div> <div><a href="<?php echo $this->_tpl_vars['menu']['controle']; ?>
|
||||
">CONTROLE JOU.</a></div> <div><a href="<?php echo $this->_tpl_vars['menu']['vjoueurs']; ?>
|
||||
">VERIFIER JOUEUR</a></div> <div><a href="<?php echo $this->_tpl_vars['menu']['vplanetes']; ?>
|
||||
">VERIFIER PLANETE</a></div> <div><a href="./<?php echo $this->_tpl_vars['link']['operateur']; ?>
|
||||
">OPERATEUR !</a></div></div>
|
||||
<?php else: ?> <div id="buttons"><div><a href="<?php echo $this->_tpl_vars['link']['accueil']; ?>
|
||||
">ACCUEIL</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['blog']; ?>
|
||||
">BLOG</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
|
||||
">FORUM</a></div> <div><a href="<?php echo $this->_tpl_vars['menu']['chat']; ?>
|
||||
">CHAT</a></div> <div><?php if ($this->_tpl_vars['auth_level'] >= 4): ?><a href="admin.php">CONTROLES</a><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
|
||||
">F.A.Q.</a><?php endif; ?></div> <div><a href="<?php echo $this->_tpl_vars['link']['operateur']; ?>
|
||||
">OPERATEUR !</a></div></div><?php endif; ?>
|
||||
<form action="#" method="post"><fieldset id="recherche"><input class="text" type="text" name="recherche" value="rechercher..." onfocus="this.value = this.value!='rechercher...'?this.value:''" onblur="this.value=this.value==''?'rechercher...':this.value" /><input value="OK" class="submit" type="submit" /><br /><a href="#">Recherche Avancée</a></fieldset></form>
|
||||
<?php if ($this->_tpl_vars['page'] == 'admin'): ?>
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->_tpl_vars['link']['self']; ?>
|
||||
<?php echo $this->_tpl_vars['first_page']; ?>
|
||||
">RETOUR AU JEU</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['webmail']; ?>
|
||||
">WEBMAIL</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['cjoueurs']; ?>
|
||||
">CONTROLE JOU.</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['vjoueurs']; ?>
|
||||
">VERIFIER JOUEUR</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['vplanetes']; ?>
|
||||
">VERIFIER PLANETE</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['link']['self']; ?>
|
||||
<?php echo $this->_tpl_vars['link']['operateur']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['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 $this->_tpl_vars['link']['accueil']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['hd_menu']['accueil']; ?>
|
||||
</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['link']['blog']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['hd_menu']['blog']; ?>
|
||||
</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['hd_menu']['forum']; ?>
|
||||
</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['chat']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['hd_menu']['chat']; ?>
|
||||
</a></li>
|
||||
<li><?php if ($this->_tpl_vars['auth_level'] >= 4): ?><a href="admin.php">CONTROLES</a><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['hd_menu']['faq']; ?>
|
||||
</a><?php endif; ?></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
"<?php if ($this->_tpl_vars['alertMail']['0'] + $this->_tpl_vars['alertMail']['1'] >= 1): ?> style="color:#FF0000;"<?php endif; ?>><?php echo $this->_tpl_vars['LANG']['hd_menu']['messagerie']; ?>
|
||||
</a></li>
|
||||
<li><a href="<?php echo $this->_tpl_vars['link']['operateur']; ?>
|
||||
"><?php echo $this->_tpl_vars['LANG']['hd_menu']['operateurs']; ?>
|
||||
</a></li>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div id="banner">
|
||||
<?php $_from = $this->_tpl_vars['header']['infos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
|
|
@ -63,156 +88,92 @@ js/game.js" type="text/javascript"></script>
|
|||
;"<?php endif; ?>><?php echo $this->_tpl_vars['info']['texte']; ?>
|
||||
</div>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<div id="bannerright"><?php echo $this->_tpl_vars['header']['count']['0']; ?>
|
||||
Marines et <?php echo $this->_tpl_vars['header']['count']['1']; ?>
|
||||
Covenants se battent dans <ins><?php echo $this->_tpl_vars['header']['count']['2']; ?>
|
||||
galaxie<?php if ($this->_tpl_vars['header']['count']['2'] > 1): ?>s<?php endif; ?></ins></div>
|
||||
</div>
|
||||
<div>
|
||||
<div id="menu"><div class="menu_head"></div>
|
||||
<?php if ($this->_tpl_vars['page'] == 'admin'): ?> <a href="<?php echo $this->_tpl_vars['menu']['accueil']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'accueil'): ?> class="hightlight"<?php endif; ?>>Accueil</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['courrier']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'mail'): ?> class="hightlight"<?php endif; ?>>Courrier</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['webmail']; ?>
|
||||
" onclick="window.open(this.href); return false;">Webmail</a>
|
||||
<div class="space"></div>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['vip']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'vip'): ?> class="hightlight"<?php endif; ?>>Vérifier IP</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['vflottes']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'vflotte'): ?> class="hightlight"<?php endif; ?>>Vérifier flottes</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['vplanetes']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'print_choixP'): ?> class="hightlight"<?php endif; ?>>Vérifier planètes</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['vjoueurs']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'vjoueurs'): ?> class="hightlight"<?php endif; ?>>Vérifier joueurs</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['valliances']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'valliances'): ?> class="hightlight"<?php endif; ?>>Vérifier alliances</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['vrapports']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'vrapports'): ?> class="hightlight"<?php endif; ?>>Afficher rapports</a>
|
||||
<div class="space"></div>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['sjoueurs']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'sanctionU_choix'): ?> class="hightlight"<?php endif; ?>>Sanctions joueur</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['sancp']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'sancp'): ?> class="hightlight"<?php endif; ?>>Sanctions planète</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['controle']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'controle'): ?> class="hightlight"<?php endif; ?>>Prendre le contrôle</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['djoueurs']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'sjoueurs'): ?> class="hightlight"<?php endif; ?>>Supprimer joueurs</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['inscription']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'inscription'): ?> class="hightlight"<?php endif; ?>>Créer lien d'inscription</a>
|
||||
<div class="space"></div>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['bandeau']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'bandeau'): ?> class="hightlight"<?php endif; ?>>Bandeau d'informations</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['demarrage']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'demarrage'): ?> class="hightlight"<?php endif; ?>>Message démarrage</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['versions']; ?>
|
||||
"<?php if ($this->_tpl_vars['pagea'] == 'version'): ?> class="hightlight"<?php endif; ?>>Versions</a>
|
||||
<div class="space"></div>
|
||||
<?php elseif (SURFACE == 'asteroide'): ?> <a href="<?php echo $this->_tpl_vars['menu']['accueil']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'accueil'): ?> class="hightlight"<?php endif; ?>>Accueil</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'batiments'): ?> class="hightlight"<?php endif; ?>>Bâtiments</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'chantierspatial'): ?> class="hightlight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['8'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'chantierterrestre'): ?> class="hightlight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['7'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['defenses']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'defenses'): ?> class="hightlight"<?php endif; ?>>Défenses</a>
|
||||
<div class="space"></div>
|
||||
<?php else: ?> <a href="<?php echo $this->_tpl_vars['menu']['accueil']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'accueil'): ?> class="hightlight"<?php endif; ?>>Accueil</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'batiments'): ?> class="hightlight"<?php endif; ?>>Bâtiments</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'caserne'): ?> class="hightlight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['9'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'chantierspatial'): ?> class="hightlight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['8'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'chantierterrestre'): ?> class="hightlight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['7'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['defenses']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'defenses'): ?> class="hightlight"<?php endif; ?>>Défenses</a>
|
||||
<?php if ($this->_tpl_vars['planetes']['0']['id'] == $this->_tpl_vars['planete']->id): ?><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'laboratoire'): ?> class="hightlight"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['6'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</a><?php endif; ?>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'arbre' || $this->_tpl_vars['page'] == 'description'): ?> class="hightlight"<?php endif; ?>>Arbre technologique</a>
|
||||
<div class="space"></div>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['ressources']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'ressources'): ?> class="hightlight"<?php endif; ?>>Ressources</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'gestion' || $this->_tpl_vars['page'] == 'rename'): ?> class="hightlight"<?php endif; ?>>Gestion</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['marche']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'marche' || $this->_tpl_vars['page'] == 'bourse_ressources' || $this->_tpl_vars['page'] == 'bourseDetails'): ?> class="hightlight"<?php endif; ?>>Marché</a>
|
||||
<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="hightlight"<?php endif; ?>>Flottes</a>
|
||||
<!--<a href="?p=simulateur"<?php if ($this->_tpl_vars['page'] == 'simulateur_combat'): ?> class="hightlight"<?php endif; ?>>Simulateur de combat</a>-->
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'carte'): ?> class="hightlight"<?php endif; ?>>Carte spatiale</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'options'): ?> class="hightlight"<?php endif; ?>>Options</a>
|
||||
<div class="space"></div>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'messagerie' || $this->_tpl_vars['page'] == 'envoyer'): ?> class="hightlight"<?php endif; ?>><?php if ($this->_tpl_vars['alertMail']): ?><b>Messages et rapports (<?php echo $this->_tpl_vars['alertMail']; ?>
|
||||
)</b><?php else: ?>Messages et rapports<?php endif; ?></a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
"<?php if ($this->_tpl_vars['titre'] == 'Alliance'): ?> class="hightlight"<?php endif; ?>>Alliance</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['classement']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'classement'): ?> class="hightlight"<?php endif; ?>>Classement</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['chat']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'chat'): ?> class="hightlight"<?php endif; ?> onclick="window.open(this.href);return false;">Chat</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['forums']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'forums'): ?> class="hightlight"<?php endif; ?>>Forums</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['bugs']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'bugs'): ?> class="hightlight"<?php endif; ?>>Rapports de bug</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
|
||||
"<?php if ($this->_tpl_vars['page'] == 'faq'): ?> class="hightlight"<?php endif; ?>>F.A.Q.</a>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['deconnexion']; ?>
|
||||
">Déconnexion</a>
|
||||
<div class="space"></div>
|
||||
<?php endif; ?> <div class="menu_bt"></div></div>
|
||||
<?php if ($this->_tpl_vars['page'] != 'admin' && $this->_tpl_vars['page'] != 'vide' && $this->_tpl_vars['page'] != 'amis' && $this->_tpl_vars['page'] != 'flotten' && $this->_tpl_vars['page'] != 'messagerie' && $this->_tpl_vars['page'] != 'envoyer' && $this->_tpl_vars['page'] != 'bugs' && $this->_tpl_vars['page'] != 'carte' && $this->_tpl_vars['page'] != 'classement' && $this->_tpl_vars['page'] != 'options' && $this->_tpl_vars['page'] != 'simulation' && $this->_tpl_vars['page'] != 'vp' && $this->_tpl_vars['page'] != 'operateur' && $this->_tpl_vars['titre'] != 'Alliance'): ?>
|
||||
<div id="corps_top">
|
||||
<div class="border_top"></div>
|
||||
<a href="?p=rename"><img src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
<div id="bannerright"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG']['cntRaces'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, $this->_tpl_vars['header']['count']['1'], $this->_tpl_vars['header']['count']['0'], $this->_tpl_vars['header']['count']['2']) : smarty_modifier_sprintf($_tmp, $this->_tpl_vars['header']['count']['1'], $this->_tpl_vars['header']['count']['0'], $this->_tpl_vars['header']['count']['2'])); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div id="corps">
|
||||
<div id="menu"><span class="top"></span>
|
||||
<?php if ($this->_tpl_vars['page'] == 'admin'): ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'admin/menu.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<?php elseif (SURFACE == 'asteroide'): ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/menu_asteroide.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<?php else: ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/menu_joueurs.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<?php endif; ?>
|
||||
<span class="bottom"></span></div>
|
||||
</div>
|
||||
|
||||
<?php if ($this->_tpl_vars['page'] != 'admin' && $this->_tpl_vars['page'] != 'vide' && $this->_tpl_vars['page'] != 'amis' && $this->_tpl_vars['page'] != 'flotten' && $this->_tpl_vars['page'] != 'messagerie' && $this->_tpl_vars['page'] != 'pilori' && $this->_tpl_vars['page'] != 'envoyer' && $this->_tpl_vars['page'] != 'bugs' && $this->_tpl_vars['page'] != 'carte' && $this->_tpl_vars['page'] != 'classement' && $this->_tpl_vars['page'] != 'options' && $this->_tpl_vars['page'] != 'simulation' && $this->_tpl_vars['page'] != 'vp' && $this->_tpl_vars['page'] != 'operateur' && ! ereg ( "alliance/" , $this->_tpl_vars['page'] ) && ! ereg ( "diplomatie/" , $this->_tpl_vars['page'] )): ?>
|
||||
<div id="head">
|
||||
<span class="top"></span>
|
||||
|
||||
<a href="?p=rename" class="imglink"><img src="<?php echo $this->_tpl_vars['url_images']; ?>
|
||||
images/<?php if (SURFACE == 'planete'): ?>planetes<?php else: ?>asteroides<?php endif; ?>/<?php echo $this->_tpl_vars['planete']->image; ?>
|
||||
.jpg" width="70" height="70" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->nom_planete)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
" /></a>
|
||||
<div>Bonjour, <span><?php echo $this->_tpl_vars['planete']->pseudo; ?>
|
||||
.</span><br />Votre position actuelle:<br /><br /><form action="<?php echo $this->_tpl_vars['link']['changeplanete']; ?>
|
||||
" method="post"><fieldset><select onchange="this.form.submit();" name="Cplanete"><optgroup label="Planètes"><?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
<form action="<?php echo $this->_tpl_vars['link']['changeplanete']; ?>
|
||||
" method="post">
|
||||
<p>Bonjour, <span><?php echo $this->_tpl_vars['planete']->pseudo; ?>
|
||||
.</span><br />Votre position actuelle :</p>
|
||||
<fieldset>
|
||||
<select name="planete">
|
||||
<optgroup label="Planètes"><?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['plan']):
|
||||
?><option <?php if ($this->_tpl_vars['plan']['id'] == $this->_tpl_vars['planete']->id): ?>selected="selected" <?php endif; ?>value="<?php echo $this->_tpl_vars['plan']['id']; ?>
|
||||
?>
|
||||
<option <?php if (SURFACE == 'planete' && $this->_tpl_vars['plan']['id'] == $this->_tpl_vars['planete']->id): ?>selected="selected" <?php endif; ?>value="<?php echo $this->_tpl_vars['plan']['id']; ?>
|
||||
"><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['nom_planete'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
[<?php echo $this->_tpl_vars['plan']['galaxie']; ?>
|
||||
:<?php echo $this->_tpl_vars['plan']['ss']; ?>
|
||||
:<?php echo $this->_tpl_vars['plan']['position']; ?>
|
||||
]</option><?php endforeach; endif; unset($_from); ?></optgroup><?php if ($this->_tpl_vars['planete']->alliance): ?><optgroup label="Astéroïdes"><option value="A<?php echo $this->_tpl_vars['planete']->id_alliance; ?>
|
||||
"><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->alliance->nom_asteroide)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
]</option>
|
||||
<?php endforeach; endif; unset($_from); ?></optgroup>
|
||||
<?php if ($this->_tpl_vars['planete']->alliance): ?><optgroup label="Astéroïdes">
|
||||
<option value="A<?php echo $this->_tpl_vars['planete']->id_alliance; ?>
|
||||
" <?php if (SURFACE == 'asteroide'): ?>selected="selected" <?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->alliance->nom_asteroide)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
[<?php echo $this->_tpl_vars['planete']->alliance->galaxie; ?>
|
||||
:<?php echo $this->_tpl_vars['planete']->alliance->ss; ?>
|
||||
:A]</option></optgroup><?php endif; ?></select><noscript><div><br /><input class="submit" type="submit" value="GO" /></div></noscript></fieldset></form></div>
|
||||
<div class="ressource"><span><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['energie'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</span><br /><?php if ($this->_tpl_vars['planete']->energieConso >= $this->_tpl_vars['planete']->energie): ?><span class="lack"><?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->energieConso)) ? $this->_run_mod_handler('separenombre', true, $_tmp) : smarty_modifier_separenombre($_tmp)); ?>
|
||||
/<?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->energie)) ? $this->_run_mod_handler('separenombre', true, $_tmp) : smarty_modifier_separenombre($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['planete']->alert_ressources['4']): ?></span><?php endif; ?></div>
|
||||
<div class="ressource"><span><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</span><br /><?php if ($this->_tpl_vars['planete']->alert_ressources['2'] == true): ?><span class="lack"><?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->hydrogene)) ? $this->_run_mod_handler('separenombre', true, $_tmp) : smarty_modifier_separenombre($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['planete']->alert_ressources['2']): ?></span><?php endif; ?></div>
|
||||
<div class="ressource"><span><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</span><br /><?php if ($this->_tpl_vars['planete']->alert_ressources['1'] == true): ?><span class="lack"><?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->cristal)) ? $this->_run_mod_handler('separenombre', true, $_tmp) : smarty_modifier_separenombre($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['planete']->alert_ressources['1']): ?></span><?php endif; ?></div>
|
||||
<div class="ressource"><span><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</span><br /><?php if ($this->_tpl_vars['planete']->alert_ressources['0'] == true): ?><span class="lack"><?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->metal)) ? $this->_run_mod_handler('separenombre', true, $_tmp) : smarty_modifier_separenombre($_tmp)); ?>
|
||||
<?php if ($this->_tpl_vars['planete']->alert_ressources['0']): ?></span><?php endif; ?></div>
|
||||
<div class="border_bt"></div>
|
||||
:A]</option>
|
||||
</optgroup><?php endif; ?>
|
||||
</select>
|
||||
<noscript><fieldset><input class="submit" type="submit" value="GO" /></fieldset></noscript>
|
||||
</fieldset></form>
|
||||
<div>
|
||||
<div><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</strong><br /><span<?php if ($this->_tpl_vars['planete']->metal >= $this->_tpl_vars['planete']->cap): ?> class="lack"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->metal)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</span></div>
|
||||
<div><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</strong><br /><span<?php if ($this->_tpl_vars['planete']->cristal >= $this->_tpl_vars['planete']->cap): ?> class="lack"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->cristal)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</span></div>
|
||||
<div><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</strong><br /><span<?php if ($this->_tpl_vars['planete']->hydrogene >= $this->_tpl_vars['planete']->cap): ?> class="lack"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->hydrogene)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</span></div>
|
||||
<?php if (SURFACE == 'asteroide'): ?><div><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['credits'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</strong><br /><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->credits_alliance)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</div>
|
||||
<?php else: ?><div><strong><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['energie'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
|
||||
</strong><br /><span<?php if ($this->_tpl_vars['planete']->energieConso >= $this->_tpl_vars['planete']->energie): ?> class="lack"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->energieConso)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
/<?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->energie)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?>
|
||||
</span></div><?php endif; ?>
|
||||
</div>
|
||||
|
||||
<span class="bottom"></span>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['page'] != 'admin' && $this->_tpl_vars['page'] != 'operateur'): ?><div id="pub"><?php echo $this->_tpl_vars['pub']; ?>
|
||||
|
||||
<?php if ($this->_tpl_vars['page'] != 'admin' && $this->_tpl_vars['page'] != 'operateur'): ?><div id="pub"><?php echo $this->_tpl_vars['pub']; ?>
|
||||
</div><?php endif; ?>
|
||||
<div id="corps">
|
||||
<div class="border_top"></div>
|
||||
|
||||
<div id="body">
|
||||
<span class="top"></span>
|
||||
Loading…
Add table
Add a link
Reference in a new issue