2020-11-15 15:12:30 +00:00
|
|
|
<?php /* Smarty version 2.6.22, created on 2009-11-01 01:32:07
|
2009-11-01 11:00:00 +00:00
|
|
|
compiled from game/header.tpl */ ?>
|
|
|
|
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
2020-11-15 15:12:30 +00:00
|
|
|
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); ?>
|
2009-11-01 11:00:00 +00:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2020-11-15 15:12:30 +00:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
|
2009-11-01 11:00:00 +00:00
|
|
|
<head>
|
2020-11-15 15:12:30 +00:00
|
|
|
<title><?php if ($this->_tpl_vars['titre']): ?>.: <?php echo $this->_tpl_vars['titre']; ?>
|
|
|
|
- Halo-Battle :.<?php else: ?>.: Halo-Battle :.<?php endif; ?></title>
|
2009-11-01 11:00:00 +00:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
|
|
<?php if ($this->_tpl_vars['race'] == 'covenant'): ?><link rel="stylesheet" href="<?php echo $this->_tpl_vars['url_images']; ?>
|
2020-11-15 15:12:30 +00:00
|
|
|
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; ?>
|
2009-11-01 11:00:00 +00:00
|
|
|
<?php if ($this->_tpl_vars['race'] == 'humain'): ?><link rel="stylesheet" href="<?php echo $this->_tpl_vars['url_images']; ?>
|
2020-11-15 15:12:30 +00:00
|
|
|
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" />
|
2009-11-01 11:00:00 +00:00
|
|
|
<?php echo $this->_tpl_vars['scripth']; ?>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
2020-11-15 15:12:30 +00:00
|
|
|
<div id="top"></div>
|
2009-11-01 11:00:00 +00:00
|
|
|
<div id="all">
|
|
|
|
<div id="header">
|
2020-11-15 15:12:30 +00:00
|
|
|
<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']; ?>
|
2009-11-01 11:00:00 +00:00
|
|
|
| <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']; ?>
|
2020-11-15 15:12:30 +00:00
|
|
|
</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']; ?>
|
2009-11-01 11:00:00 +00:00
|
|
|
" 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>
|
2020-11-15 15:12:30 +00:00
|
|
|
<?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; ?>
|
2009-11-01 11:00:00 +00:00
|
|
|
</div>
|
|
|
|
<div id="banner">
|
|
|
|
<?php $_from = $this->_tpl_vars['header']['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); ?>
|
2020-11-15 15:12:30 +00:00
|
|
|
<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']; ?>
|
2009-11-01 11:00:00 +00:00
|
|
|
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>
|
2020-11-15 15:12:30 +00:00
|
|
|
<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)):
|
2009-11-01 11:00:00 +00:00
|
|
|
foreach ($_from as $this->_tpl_vars['plan']):
|
2020-11-15 15:12:30 +00:00
|
|
|
?>
|
|
|
|
<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']; ?>
|
2009-11-01 11:00:00 +00:00
|
|
|
"><?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']; ?>
|
2020-11-15 15:12:30 +00:00
|
|
|
]</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)); ?>
|
2009-11-01 11:00:00 +00:00
|
|
|
[<?php echo $this->_tpl_vars['planete']->alliance->galaxie; ?>
|
|
|
|
:<?php echo $this->_tpl_vars['planete']->alliance->ss; ?>
|
2020-11-15 15:12:30 +00:00
|
|
|
: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; ?>
|
2009-11-01 11:00:00 +00:00
|
|
|
</div>
|
2020-11-15 15:12:30 +00:00
|
|
|
|
|
|
|
<span class="bottom"></span>
|
|
|
|
</div>
|
2009-11-01 11:00:00 +00:00
|
|
|
<?php endif; ?>
|
2020-11-15 15:12:30 +00:00
|
|
|
|
|
|
|
<?php if ($this->_tpl_vars['page'] != 'admin' && $this->_tpl_vars['page'] != 'operateur'): ?><div id="pub"><?php echo $this->_tpl_vars['pub']; ?>
|
2009-11-01 11:00:00 +00:00
|
|
|
</div><?php endif; ?>
|
2020-11-15 15:12:30 +00:00
|
|
|
|
|
|
|
<div id="body">
|
|
|
|
<span class="top"></span>
|