game/onyx/tpl_compile/%%69^69D^69D54D9C%%accueil.tpl.php

154 lines
11 KiB
PHP

<?php /* Smarty version 2.6.19, created on 2009-01-09 23:20:37
compiled from game/accueil.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/accueil.tpl', 8, false),array('modifier', 'separerNombres', 'game/accueil.tpl', 23, false),array('modifier', 'upper', 'game/accueil.tpl', 27, false),array('modifier', 'count', 'game/accueil.tpl', 30, false),array('modifier', 'nom', 'game/accueil.tpl', 34, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<h2>&Eacute;vénements</h2>
<?php if ($this->_tpl_vars['multi']): ?><strong style="color: #FF0000;"><a href="?p=avertmulti">Multicompte :</a> évitez toute interaction avec <?php $_from = $this->_tpl_vars['multi']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['cmpt']):
?><?php if ($this->_tpl_vars['cmpt']['id_util'] != $this->_tpl_vars['planete']->id_user): ?><?php if ($this->_tpl_vars['key'] > 0): ?>, <?php endif; ?><?php echo $this->_tpl_vars['cmpt']['pseudo']; ?>
<?php endif; ?><?php endforeach; endif; unset($_from); ?> durant cette session.</strong><br /><?php endif; ?>
<?php if ($this->_tpl_vars['planete']->mv < 0): ?><strong style="color: #FF0000;">Une demande de suppression de votre compte est en cours. Il sera supprimé sous 48h.<br />Si vous n'avez pas demandé la suppression de votre compte, <a href="<?php echo $this->_tpl_vars['link']['operateur']; ?>
">contactez un opérateur</a> au plus vite.</strong><?php endif; ?>
<em>Heure du serveur: <?php echo $this->_tpl_vars['datehb']; ?>
</em>
<?php $_from = $this->_tpl_vars['radar']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['flottes']):
?>
<?php $_from = $this->_tpl_vars['flottes']['0']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['flotte']):
?>
<?php if ($this->_tpl_vars['flotte']['mission'] == 1): ?><h4 class="attaque">attaque: Une flotte ennemie en provenance de <?php echo ((is_array($_tmp=$this->_tpl_vars['flotte']['nom_planete'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
[<?php echo $this->_tpl_vars['flotte']['start_galaxie']; ?>
:<?php echo $this->_tpl_vars['flotte']['start_ss']; ?>
:<?php echo $this->_tpl_vars['flotte']['start_position']; ?>
] atteint la planète <?php echo ((is_array($_tmp=$this->_tpl_vars['flottes']['1']['0'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
[<?php echo $this->_tpl_vars['flottes']['1']['1']; ?>
:<?php echo $this->_tpl_vars['flottes']['1']['2']; ?>
:<?php echo $this->_tpl_vars['flottes']['1']['3']; ?>
] dans <span id="reste<?php echo $this->_tpl_vars['key']; ?>
"><?php echo $this->_tpl_vars['flotte']['arrive_time']; ?>
</span><script type="text/javascript">reste(<?php echo $this->_tpl_vars['flotte']['arrive_time']; ?>
,'reste<?php echo $this->_tpl_vars['key']; ?>
', true);</script></h4>
<?php elseif ($this->_tpl_vars['flotte']['mission'] == 2): ?><h4 class="attaque">transport: Une flotte en provenance de <?php echo ((is_array($_tmp=$this->_tpl_vars['flotte']['nom_planete'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
[<?php echo $this->_tpl_vars['flotte']['start_galaxie']; ?>
:<?php echo $this->_tpl_vars['flotte']['start_ss']; ?>
:<?php echo $this->_tpl_vars['flotte']['start_position']; ?>
] atteint la planète <?php echo ((is_array($_tmp=$this->_tpl_vars['flottes']['1']['0'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
[<?php echo $this->_tpl_vars['flottes']['1']['1']; ?>
:<?php echo $this->_tpl_vars['flottes']['1']['2']; ?>
:<?php echo $this->_tpl_vars['flottes']['1']['3']; ?>
] dans <span id="reste<?php echo $this->_tpl_vars['key']; ?>
"><?php echo $this->_tpl_vars['flotte']['arrive_time']; ?>
</span><script type="text/javascript">reste(<?php echo $this->_tpl_vars['flotte']['arrive_time']; ?>
,'reste<?php echo $this->_tpl_vars['key']; ?>
', true);</script></h4>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
<?php endforeach; endif; unset($_from); ?>
<?php if ($this->_tpl_vars['mail']['nbre'] >= 2): ?><h4>messagerie: <a href="?p=messagerie"><?php echo $this->_tpl_vars['mail']['nbre']; ?>
messages non lu</a></h4>
<?php elseif ($this->_tpl_vars['mail']['nbre'] >= 1): ?><h4>messagerie: <a href="?p=messagerie"><?php echo $this->_tpl_vars['mail']['nbre']; ?>
message non lu</a></h4>
<?php endif; ?>
<h3><a href="?p=rename"><?php if (! $this->_tpl_vars['planete']->nom_planete): ?>Sans nom<?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->nom_planete)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a> (<span><?php echo $this->_tpl_vars['planete']->pseudo; ?>
</span>)</h3>
<img src="<?php echo $this->_tpl_vars['url_images']; ?>
images/planetes/<?php echo $this->_tpl_vars['planete']->image; ?>
.jpg" width="200" height="200" alt="Planète" />
<h2>Infos</h2>
<?php if (SURFACE == 'planete'): ?><h4>Diamètre: <?php echo $this->_tpl_vars['diametre']; ?>
km <ins>(<?php echo $this->_tpl_vars['planete']->casesRest; ?>
cases disponibles sur <?php echo $this->_tpl_vars['planete']->cases; ?>
)</ins></h4><?php endif; ?>
<h4>Race : <?php echo $this->_tpl_vars['planete']->race; ?>
</h4>
<h4>position: <a href="?p=carte&amp;galaxie=<?php echo $this->_tpl_vars['planete']->galaxie; ?>
&amp;ss=<?php echo $this->_tpl_vars['planete']->ss; ?>
"><?php echo $this->_tpl_vars['planete']->galaxie; ?>
.<?php echo $this->_tpl_vars['planete']->ss; ?>
.<?php echo $this->_tpl_vars['planete']->position; ?>
</a></h4>
<?php if (SURFACE == 'planete'): ?>
<h4>population: <?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->population)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
</h4>
<h4>crédits: <?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->credits)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : separerNombres($_tmp)); ?>
</h4>
<?php endif; ?>
<h4>Classement: <a href="?p=classement&amp;j=<?php echo $this->_tpl_vars['planete']->id; ?>
&amp;c=<?php echo $this->_tpl_vars['planete']->place_points; ?>
#moi"><?php if ($this->_tpl_vars['planete']->place_points == '0'): ?>non classé<?php else: ?><?php echo $this->_tpl_vars['planete']->place_points; ?>
<?php if ($this->_tpl_vars['planete']->place_points == '1'): ?>er<?php else: ?>ème<?php endif; ?><?php endif; ?> (<?php echo $this->_tpl_vars['points']; ?>
points)</a></h4>
<?php if ($this->_tpl_vars['alliance']): ?><h4>Alliance: <a href="?p=alliances">[<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
] <?php echo $this->_tpl_vars['alliance']['nom']; ?>
</a></h4><?php endif; ?>
<?php if (SURFACE == 'planete'): ?>
<h2>En cours sur la planète</h2>
<?php if (count($this->_tpl_vars['planete']->file_bat) > 1): ?>
<h4>
<?php $_from = $this->_tpl_vars['planete']->file_bat; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['file']):
?>
<?php if ($this->_tpl_vars['key'] != 0): ?>
<?php if ($this->_tpl_vars['key'] != 1): ?> - <?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
">Bâtiments</a> : <?php endif; ?><?php echo ((is_array($_tmp=$this->_tpl_vars['file']['0'])) ? $this->_run_mod_handler('nom', true, $_tmp, 'batiment') : smarty_modifier_nom($_tmp, 'batiment')); ?>
<?php if ($this->_tpl_vars['file']['1'] < 0): ?> (démolition)<?php endif; ?>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
</h4>
<?php endif; ?>
<?php if (count($this->_tpl_vars['planete']->file_cas) > 1): ?>
<h4>
<?php $_from = $this->_tpl_vars['planete']->file_cas; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['file']):
?>
<?php if ($this->_tpl_vars['key'] != 0): ?>
<?php if ($this->_tpl_vars['key'] != 1): ?> - <?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
"><?php if ($this->_tpl_vars['race'] == 'covenant'): ?>Caserne<?php else: ?>Ecole militaire<?php endif; ?></a> : <?php endif; ?><?php echo $this->_tpl_vars['file']['1']; ?>
<?php echo ((is_array($_tmp=$this->_tpl_vars['file']['0'])) ? $this->_run_mod_handler('nom', true, $_tmp, 'casernea') : smarty_modifier_nom($_tmp, 'casernea')); ?>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
</h4>
<?php endif; ?>
<?php if (count($this->_tpl_vars['planete']->file_vais) > 1): ?>
<h4>
<?php $_from = $this->_tpl_vars['planete']->file_vais; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['file']):
?>
<?php if ($this->_tpl_vars['key'] != 0): ?>
<?php if ($this->_tpl_vars['key'] != 1): ?> - <?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
">Chantier spatial</a> : <?php endif; ?><?php echo $this->_tpl_vars['file']['1']; ?>
<?php echo ((is_array($_tmp=$this->_tpl_vars['file']['0'])) ? $this->_run_mod_handler('nom', true, $_tmp, 'nomvaisa') : smarty_modifier_nom($_tmp, 'nomvaisa')); ?>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
</h4>
<?php endif; ?>
<?php if (count($this->_tpl_vars['planete']->file_ter) > 1): ?>
<h4>
<?php $_from = $this->_tpl_vars['planete']->file_ter; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['file']):
?>
<?php if ($this->_tpl_vars['key'] != 0): ?>
<?php if ($this->_tpl_vars['key'] != 1): ?> - <?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
">Chantier terrestre</a> : <?php endif; ?><?php echo $this->_tpl_vars['file']['1']; ?>
<?php echo ((is_array($_tmp=$this->_tpl_vars['file']['0'])) ? $this->_run_mod_handler('nom', true, $_tmp, 'nomterra') : smarty_modifier_nom($_tmp, 'nomterra')); ?>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
</h4>
<?php endif; ?>
<?php endif; ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>