game/includes/onyx/templates/templates_c/%%E7^E70^E70DD496%%header.tpl.php

124 lines
12 KiB
PHP

<?php /* Smarty version 2.6.19, created on 2008-05-19 18:07:18
compiled from 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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="fr" />
<title> ::Halo-Battle:: - <?php echo $this->_tpl_vars['titre']; ?>
</title>
<?php if ($this->_tpl_vars['race'] == 'covenant'): ?><link rel="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="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="js/fonctions.js" type="text/javascript"></script>
<script src="js/img_manques.js" type="text/javascript"></script>
<script src="js/infos.js" type="text/javascript"></script>
<?php echo $this->_tpl_vars['scripth']; ?>
</head>
<body onload="first(<?php echo $this->_tpl_vars['nbinfos']; ?>
);">
<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></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']; ?>
" id="img"><span></span>Halo Battle</a></h1>
<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']['jeu']; ?>
">LE JEU</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['inscription']; ?>
">S'INSCRIRE</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
">FORUM</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['staff']; ?>
">STAFF</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['faq']; ?>
">F.A.Q.</a></div></div>
<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="annonce">
<?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['key'] => $this->_tpl_vars['info']):
?>
<div id="quadri<?php echo $this->_tpl_vars['key']; ?>
" class="annonceleft"<?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); ?>
<span id="annonceright"><?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></span>
</div>
<div>
<div id="menu"><div class="menu_head"></div>
<?php if ($this->_tpl_vars['page'] == 'admin'): ?> <?php if ($this->_tpl_vars['pagea'] == 'accueil'): ?><span>Accueil</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['accueil']; ?>
">Accueil</a><?php endif; ?><div class="space"></div>
<?php if ($this->_tpl_vars['pagea'] == 'vip'): ?><span>Vérifier IP</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['vip']; ?>
">Vérifier IP</a><?php endif; ?> <?php if ($this->_tpl_vars['pagea'] == 'vflottes'): ?><span>Vérifier flottes</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['vflottes']; ?>
">Vérifier flottes</a><?php endif; ?> <?php if ($this->_tpl_vars['pagea'] == 'vplanetes'): ?><span>Vérifier planètes</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['vplanetes']; ?>
">Vérifier planètes</a><?php endif; ?> <?php if ($this->_tpl_vars['pagea'] == 'vjoueurs'): ?><span>Vérifier joueurs</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['vjoueurs']; ?>
">Vérifier joueurs</a><?php endif; ?> <?php if ($this->_tpl_vars['pagea'] == 'valliances'): ?><span>Vérifier alliances</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['valliances']; ?>
">Vérifier alliances</a><?php endif; ?><div class="space"></div>
<?php else: ?> <?php if ($this->_tpl_vars['page'] == 'accueil'): ?><span>Accueil</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['accueil']; ?>
">Accueil</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'batiments'): ?><span>Batiments</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
">Batiments</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'caserne'): ?><span>Caserne</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
">Caserne</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'chantierspatial'): ?><span>Chantier spatial</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
">Chantier spatial</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'chantierterrestre'): ?><span>Chantier terrestre</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
">Chantier terrestre</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'defenses'): ?><span>Défenses</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['defenses']; ?>
">Défenses</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'laboratoire'): ?><span>Laboratoire</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
">Laboratoire</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'arbre'): ?><span>Arbre technologique</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
">Arbre technologique</a><?php endif; ?><div class="space"></div>
<?php if ($this->_tpl_vars['page'] == 'ressources'): ?><span>Ressources</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['ressources']; ?>
">Ressources</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'gestion' || $this->_tpl_vars['page'] == 'rename'): ?><span>Gestion</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
">Gestion</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'flotte1' || $this->_tpl_vars['page'] == 'flotte2'): ?><span>Flottes</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
">Flottes</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'armee'): ?><span>Armée</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['armee']; ?>
">Armée</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'carte'): ?><span>Carte spatiale</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
">Carte spatiale</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'options'): ?><span>Options</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
">Options</a><?php endif; ?><div class="space"></div>
<?php if ($this->_tpl_vars['page'] == 'messagerie' || $this->_tpl_vars['page'] == 'envoyer'): ?><span>Messages et rapports</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
"><?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><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'alliance'): ?><span>Alliance</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
">Alliance</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'classement'): ?><span>Classement</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['classement']; ?>
">Classement</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'forums'): ?><span>Forums</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['forums']; ?>
">Forums</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'bugs'): ?><span>Rapports de bug</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['bugs']; ?>
">Rapports de bug</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'faq'): ?><span>F.A.Q.</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
">F.A.Q.</a><?php endif; ?> <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'] != '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'] != 'vp'): ?>
<div id="corps_top">
<div class="border_top"></div>
<img src="images/planetes/<?php echo $this->_tpl_vars['planete']['image']; ?>
.jpg" width="70" height="70" alt="planète" />
<div>Bonjour, <span><?php echo $this->_tpl_vars['user']['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"><?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 $this->_tpl_vars['plan']['nom_planete']; ?>
[<?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); ?></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['alertes']['4'] == true): ?><span class="lack"><?php endif; ?><?php echo $this->_tpl_vars['alertes']['3']; ?>
<?php if ($this->_tpl_vars['alertes']['4']): ?></span><?php endif; ?></div>
<div class="ressource"><span><?php echo $this->_tpl_vars['nomsressources']['2']; ?>
</span><br /><?php if ($this->_tpl_vars['alertes']['2'] == true): ?><span class="lack"><?php endif; ?><?php echo $this->_tpl_vars['planete']['hydrogeneS']; ?>
<?php if ($this->_tpl_vars['alertes']['2']): ?></span><?php endif; ?></div>
<div class="ressource"><span><?php echo $this->_tpl_vars['nomsressources']['1']; ?>
</span><br /><?php if ($this->_tpl_vars['alertes']['1'] == true): ?><span class="lack"><?php endif; ?><?php echo $this->_tpl_vars['planete']['cristalS']; ?>
<?php if ($this->_tpl_vars['alertes']['1']): ?></span><?php endif; ?></div>
<div class="ressource"><span><?php echo $this->_tpl_vars['nomsressources']['0']; ?>
</span><br /><?php if ($this->_tpl_vars['alertes']['0'] == true): ?><span class="lack"><?php endif; ?><?php echo $this->_tpl_vars['planete']['metalS']; ?>
<?php if ($this->_tpl_vars['alertes']['0']): ?></span><?php endif; ?></div>
<div class="border_bt"></div>
</div>
<?php endif; ?>
<div><?php echo $this->_tpl_vars['pub']; ?>
</div>
<div id="corps">