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

89 lines
6.7 KiB
PHP

<?php /* Smarty version 2.6.19, created on 2008-09-14 19:56:45
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', 'upper', 'game/accueil.tpl', 23, 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>Evé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['user']['id']): ?><?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['user']['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['user']['pseudo']; ?>
</span>)</h3>
<img src="images/planetes/<?php echo $this->_tpl_vars['planete']->image; ?>
.jpg" width="200" height="200" alt="Planète" />
<h2>Infos</h2>
<h4>Diamètre: <?php echo $this->_tpl_vars['diametre']; ?>
km <ins>(<?php echo $this->_tpl_vars['planete']->casesRest; ?>
/<?php echo $this->_tpl_vars['planete']->cases; ?>
cases)</ins></h4>
<h4>Race : <?php echo $this->_tpl_vars['user']['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>
<h4>Classement: <a href="?p=classement&amp;j=<?php echo $this->_tpl_vars['user']['id']; ?>
&amp;c=<?php echo $this->_tpl_vars['user']['place_points']; ?>
#moi"><?php echo $this->_tpl_vars['points']; ?>
points (<?php if ($this->_tpl_vars['user']['place_points'] == '0'): ?>non classé<?php else: ?><?php echo $this->_tpl_vars['user']['place_points']; ?>
<?php if ($this->_tpl_vars['user']['place_points'] == '1'): ?>er<?php else: ?>ème<?php endif; ?><?php endif; ?>)</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 $_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);
?>