2008-11-08 11:00:00 +00:00
< ? php /* Smarty version 2.6 . 19 , created on 2008 - 11 - 07 23 : 29 : 01
2008-09-20 10:00:00 +00:00
compiled from game / accueil . tpl */ ?>
< ? php require_once ( SMARTY_CORE_DIR . 'core.load_plugins.php' );
2008-11-08 11:00:00 +00:00
smarty_core_load_plugins ( array ( 'plugins' => array ( array ( 'modifier' , 'escape' , 'game/accueil.tpl' , 8 , false ), array ( 'modifier' , 'upper' , 'game/accueil.tpl' , 25 , false ),)), $this ); ?>
2008-09-20 10:00:00 +00:00
< ? 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' ]) :
2008-11-08 11:00:00 +00:00
?> <?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']; ?>
2008-09-20 10:00:00 +00:00
< ? php endif ; ?> <?php endforeach; endif; unset($_from); ?> durant cette session.</strong><br /><?php endif; ?>
2008-11-08 11:00:00 +00:00
< ? 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']; ?>
2008-09-20 10:00:00 +00:00
" >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)); ?>
2008-11-08 11:00:00 +00:00
</ a > ( < span >< ? php echo $this -> _tpl_vars [ 'planete' ] -> pseudo ; ?>
2008-09-20 10:00:00 +00:00
</ 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 ; ?>
2008-11-08 11:00:00 +00:00
cases disponibles sur < ? php echo $this -> _tpl_vars [ 'planete' ] -> cases ; ?>
) </ ins ></ h4 >
< h4 > Race : < ? php echo $this -> _tpl_vars [ 'planete' ] -> race ; ?>
2008-09-20 10:00:00 +00:00
</ h4 >
< h4 > position : < a href = " ?p=carte&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 >
2008-11-08 11:00:00 +00:00
< h4 > population : < ? php echo $this -> _tpl_vars [ 'planete' ] -> population ; ?>
</ h4 >
< h4 > crédits : < ? php echo $this -> _tpl_vars [ 'planete' ] -> credits ; ?>
</ h4 >
< h4 > Classement : < a href = " ?p=classement&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 >
2008-09-20 10:00:00 +00:00
< ? 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 );
?>