game/onyx/tpl_compile/%%E7^E70^E70DD496%%header.tpl.php

201 lines
18 KiB
PHP

<?php /* Smarty version 2.6.19, created on 2009-01-17 17:48:13
compiled from game/header.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/header.tpl', 90, false),array('modifier', 'separenombre', 'game/header.tpl', 92, 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">
<head>
<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> ::Halo-Battle:: - <?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; ?>
<?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>
<?php echo $this->_tpl_vars['scripth']; ?>
</head>
<body>
<div id="cornertop"></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']; ?>
| <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['messdem']): ?> | <a href="?p=demarrage"><?php echo $this->_tpl_vars['messdem']['titre']; ?>
</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']; ?>
" 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['menua']['webmail']; ?>
">WEBMAIL</a></div> <div><a href="<?php echo $this->_tpl_vars['menua']['controle']; ?>
">CONTROLE JOU.</a></div> <div><a href="<?php echo $this->_tpl_vars['menua']['vjoueurs']; ?>
">VERIFIER JOUEUR</a></div> <div><a href="<?php echo $this->_tpl_vars['menua']['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>
</div>
<div id="banner">
<?php $_from = $this->_tpl_vars['infos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['info']):
?>
<div class="bannerleft"<?php if ($this->_tpl_vars['info']['color']): ?> style="color: <?php echo $this->_tpl_vars['info']['color']; ?>
;"<?php endif; ?>><?php echo $this->_tpl_vars['info']['texte']; ?>
</div>
<?php endforeach; endif; unset($_from); ?>
<div id="bannerright"><?php echo $this->_tpl_vars['count']['humains']; ?>
Marines et <?php echo $this->_tpl_vars['count']['covenants']; ?>
Covenants se battent dans <ins><?php echo $this->_tpl_vars['count']['serveurs']; ?>
galaxie<?php if ($this->_tpl_vars['count']['serveurs'] > 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['menua']['accueil']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'accueil'): ?> class="hightlight"<?php endif; ?>>Accueil</a>
<a href="<?php echo $this->_tpl_vars['menua']['courrier']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'mail'): ?> class="hightlight"<?php endif; ?>>Courrier</a>
<a href="<?php echo $this->_tpl_vars['menua']['webmail']; ?>
" onclick="window.open(this.href); return false;">Webmail</a>
<div class="space"></div>
<a href="<?php echo $this->_tpl_vars['menua']['vip']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'vip'): ?> class="hightlight"<?php endif; ?>>Vérifier IP</a>
<a href="<?php echo $this->_tpl_vars['menua']['vflottes']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'vflotte'): ?> class="hightlight"<?php endif; ?>>Vérifier flottes</a>
<a href="<?php echo $this->_tpl_vars['menua']['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['menua']['vjoueurs']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'vjoueurs'): ?> class="hightlight"<?php endif; ?>>Vérifier joueurs</a>
<a href="<?php echo $this->_tpl_vars['menua']['valliances']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'valliances'): ?> class="hightlight"<?php endif; ?>>Vérifier alliances</a>
<a href="<?php echo $this->_tpl_vars['menua']['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['menua']['sjoueurs']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'sanctionU_choix'): ?> class="hightlight"<?php endif; ?>>Sanctions joueur</a>
<a href="<?php echo $this->_tpl_vars['menua']['sancp']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'sancp'): ?> class="hightlight"<?php endif; ?>>Sanctions planète</a>
<a href="<?php echo $this->_tpl_vars['menua']['controle']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'controle'): ?> class="hightlight"<?php endif; ?>>Prendre le contrôle</a>
<a href="<?php echo $this->_tpl_vars['menua']['djoueurs']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'sjoueurs'): ?> class="hightlight"<?php endif; ?>>Supprimer joueurs</a>
<a href="<?php echo $this->_tpl_vars['menua']['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['menua']['bandeau']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'bandeau'): ?> class="hightlight"<?php endif; ?>>Bandeau d'informations</a>
<a href="<?php echo $this->_tpl_vars['menua']['demarrage']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'demarrage'): ?> class="hightlight"<?php endif; ?>>Message démarrage</a>
<a href="<?php echo $this->_tpl_vars['menua']['versions']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'version'): ?> class="hightlight"<?php endif; ?>>Versions</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&acirc;timents</a>
<a href="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
"<?php if ($this->_tpl_vars['page'] == 'caserne'): ?> class="hightlight"<?php endif; ?>><?php if ($this->_tpl_vars['race'] == 'covenant'): ?>Caserne<?php else: ?>Ecole militaire<?php endif; ?></a>
<a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
"<?php if ($this->_tpl_vars['page'] == 'chantierspatial'): ?> class="hightlight"<?php endif; ?>>Chantier spatial</a>
<a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
"<?php if ($this->_tpl_vars['page'] == 'chantierterrestre'): ?> class="hightlight"<?php endif; ?>>Chantier terrestre</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; ?>>Laboratoire</a><?php endif; ?>
<a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
"<?php if ($this->_tpl_vars['page'] == 'arbre'): ?> 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&eacute;</a>
<a href="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
"<?php if ($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']; ?>
images/planetes/<?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&egrave;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']; ?>
"><?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['asteroide']): ?><optgroup label="Astéroïdes"><option value="A<?php echo $this->_tpl_vars['asteroide']['id']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['asteroide']['nom_asteroide'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
[<?php echo $this->_tpl_vars['asteroide']['galaxie']; ?>
:<?php echo $this->_tpl_vars['asteroide']['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 $this->_tpl_vars['nomsressources']['3']; ?>
</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 $this->_tpl_vars['nomsressources']['2']; ?>
</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 $this->_tpl_vars['nomsressources']['1']; ?>
</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 $this->_tpl_vars['nomsressources']['0']; ?>
</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>
</div>
<?php endif; ?>
<?php if ($this->_tpl_vars['page'] != 'admin' && $this->_tpl_vars['page'] != 'operateur'): ?><div><?php echo $this->_tpl_vars['pub']; ?>
</div><?php endif; ?>
<div id="corps">
<div class="border_top"></div>