2020-11-15 15:12:32 +00:00
< ? php /* Smarty version 2.6 . 22 , created on 2009 - 10 - 31 21 : 37 : 48
2020-11-15 15:12:30 +00:00
compiled from game / flotte1 . tpl */ ?>
< ? php require_once ( SMARTY_CORE_DIR . 'core.load_plugins.php' );
smarty_core_load_plugins ( array ( 'plugins' => array ( array ( 'modifier' , 'escape' , 'game/flotte1.tpl' , 11 , false ), array ( 'modifier' , 'date_format' , 'game/flotte1.tpl' , 15 , false ), array ( 'modifier' , 'ucfirst' , 'game/flotte1.tpl' , 62 , false ), array ( 'modifier' , 'separerNombres' , 'game/flotte1.tpl' , 63 , 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 > Flottes en action </ h2 >
< table >
< thead >
< tr >< th > Nom </ th >< th > Mission </ th >< th > Nb . vaisseau ( x ) </ th >< th > Destination </ th >< th > Heure d ' arrivée </ th >< th > Retour </ th >< th > Heure de retour </ th ></ tr >
</ thead >
< tbody >
< ? php if ( $this -> _tpl_vars [ 'flottesEC' ]) : ?>
< ? php $_from = $this -> _tpl_vars [ 'flottesEC' ]; if ( ! is_array ( $_from ) && ! is_object ( $_from )) { settype ( $_from , 'array' ); } if ( count ( $_from )) :
foreach ( $_from as $this -> _tpl_vars [ 'flotteEC' ]) :
?>
< tr >
< td >< a href = " <?php echo $this->_tpl_vars ['menu']['flotte']; ?>
& amp ; n =< ? php echo $this -> _tpl_vars [ 'flotteEC' ] -> id ; ?>
" ><?php echo ((is_array( $_tmp = $this->_tpl_vars ['flotteEC']->nom)) ? $this->_run_mod_handler ('escape', true, $_tmp ) : smarty_modifier_escape( $_tmp )); ?>
</ a ></ td >
< td >< ? php echo $this -> _tpl_vars [ 'flotteEC' ] -> txtMission ( $this -> _tpl_vars [ 'flotteEC' ] -> mission ); ?>
</ td >
< td >< ? php echo $this -> _tpl_vars [ 'flotteEC' ] -> nb_vais ; ?>
</ td >
< td >< ? php if ( $this -> _tpl_vars [ 'flotteEC' ] -> end_type == '2' ) : ?> <?php echo $this->_tpl_vars['flotteEC']->end_planete->nom_alliance; ?>
[ < ? php echo $this -> _tpl_vars [ 'flotteEC' ] -> end_planete -> galaxie ; ?>
:< ? php echo $this -> _tpl_vars [ 'flotteEC' ] -> end_planete -> ss ; ?>
: A ] < ? php elseif ( $this -> _tpl_vars [ 'flotteEC' ] -> end_type == '1' ) : ?> [<?php echo $this->_tpl_vars['flotteEC']->end_planete; ?>
] < ? php elseif ( $this -> _tpl_vars [ 'flotteEC' ] -> end_type == '3' ) : ?> [<?php echo $this->_tpl_vars['flotteEC']->end_planete; ?>
: A ] < ? php else : ?> <?php echo $this->_tpl_vars['flotteEC']->end_planete->nom_planete; ?>
[ < ? php echo $this -> _tpl_vars [ 'flotteEC' ] -> end_planete -> galaxie ; ?>
:< ? php echo $this -> _tpl_vars [ 'flotteEC' ] -> end_planete -> ss ; ?>
:< ? php echo $this -> _tpl_vars [ 'flotteEC' ] -> end_planete -> position ; ?>
] < ? php endif ; ?> </td>
< td >< ? php echo (( is_array ( $_tmp = $this -> _tpl_vars [ 'flotteEC' ] -> printTime_end ())) ? $this -> _run_mod_handler ( 'date_format' , true , $_tmp , " %d/%m %H:%M:%S " ) : smarty_modifier_date_format ( $_tmp , " %d/%m %H:%M:%S " )); ?>
</ td >
< ? php if ( $this -> _tpl_vars [ 'flotteEC' ] -> printTime_ret ()) : ?> <td><?php if ($this->_tpl_vars['flotteEC']->start_type == '2'): ?><?php echo $this->_tpl_vars['flotteEC']->start_planete->nom_alliance; ?>
[ < ? php echo $this -> _tpl_vars [ 'flotteEC' ] -> start_planete -> galaxie ; ?>
:< ? php echo $this -> _tpl_vars [ 'flotteEC' ] -> start_planete -> ss ; ?>
: A ] < ? php elseif ( $this -> _tpl_vars [ 'flotteEC' ] -> start_type == '1' ) : ?> [<?php echo $this->_tpl_vars['flotteEC']->start_planete; ?>
] < ? php elseif ( $this -> _tpl_vars [ 'flotteEC' ] -> start_type == '3' ) : ?> [<?php echo $this->_tpl_vars['flotteEC']->start_planete; ?>
: A ] < ? php else : ?> <?php echo $this->_tpl_vars['flotteEC']->start_planete->nom_planete; ?>
[ < ? php echo $this -> _tpl_vars [ 'flotteEC' ] -> start_planete -> galaxie ; ?>
:< ? php echo $this -> _tpl_vars [ 'flotteEC' ] -> start_planete -> ss ; ?>
:< ? php echo $this -> _tpl_vars [ 'flotteEC' ] -> start_planete -> position ; ?>
] < ? php endif ; ?> </td>
< td >< ? php echo (( is_array ( $_tmp = $this -> _tpl_vars [ 'flotteEC' ] -> printTime_ret ())) ? $this -> _run_mod_handler ( 'date_format' , true , $_tmp , " %d/%m %H:%M:%S " ) : smarty_modifier_date_format ( $_tmp , " %d/%m %H:%M:%S " )); ?>
</ td >
< ? php else : ?> <td>-</td><td>-</td><?php endif; ?>
</ tr >
< ? php endforeach ; endif ; unset ( $_from ); ?>
< ? php else : ?>
< tr >
< td colspan = " 7 " > Aucune flotte en action </ td >
</ tr >
< ? php endif ; ?>
</ tbody >
</ table >
< ? php if ( $this -> _tpl_vars [ 'flottesEP' ]) : ?>
< h2 > Flottes en préparation </ h2 >
< table >
< thead >
< tr >< th > Statut </ th >< th > Nom </ th >< th > Mission </ th >< th > Nb . vaisseau ( x ) </ th >< th > Destination </ th ></ tr >
</ thead >
< tbody >
< ? php $_from = $this -> _tpl_vars [ 'flottesEP' ]; if ( ! is_array ( $_from ) && ! is_object ( $_from )) { settype ( $_from , 'array' ); } if ( count ( $_from )) :
foreach ( $_from as $this -> _tpl_vars [ 'key' ] => $this -> _tpl_vars [ 'flotteEP' ]) :
?>
< tr >
< td >< ? php echo $this -> _tpl_vars [ 'flotteEP' ][ 'statut' ]; ?>
</ td >
< td >< a href = " <?php echo $this->_tpl_vars ['menu']['flotte']; ?>
& amp ; c =< ? php echo $this -> _tpl_vars [ 'key' ]; ?>
" ><?php if ( $this->_tpl_vars ['flotteEP']['nom']): ?><?php echo ((is_array( $_tmp = $this->_tpl_vars ['flotteEP']['nom'])) ? $this->_run_mod_handler ('escape', true, $_tmp ) : smarty_modifier_escape( $_tmp )); ?>
< ? php else : ?> Sans nom<?php endif; ?></a></td>
< td >< ? php echo $this -> _tpl_vars [ 'flotteEP' ][ 'mission' ]; ?>
</ td >
< td >< ? php echo $this -> _tpl_vars [ 'flotteEP' ][ 'nbVaisseaux' ]; ?>
</ td >
< td >< ? php if ( $this -> _tpl_vars [ 'flotteEP' ][ 'end_position' ]) : ?> [<?php echo $this->_tpl_vars['flotteEP']['end_galaxie']; ?>
:< ? php echo $this -> _tpl_vars [ 'flotteEP' ][ 'end_systeme' ]; ?>
:< ? php echo $this -> _tpl_vars [ 'flotteEP' ][ 'end_position' ]; ?>
] < ? php else : ?> Indéterminé<?php endif; ?></td>
</ tr >
< ? php endforeach ; endif ; unset ( $_from ); ?>
</ tbody >
</ table >
< p > Cette liste sera perdue après votre déconnexion </ p >
< ? php endif ; ?>
< h2 > Vaisseaux disponibles sur cette planète </ h2 >
< form action = " <?php echo $this->_tpl_vars ['menu']['flotte']; ?>
" method= " post " >
< table >
< thead >
< tr >< th > Vaisseaux </ th >< th > Nombre disponible </ th >< th > Max </ th >< th > A envoyer < br /> Flottes : < ? php echo $this -> _tpl_vars [ 'nbflotte' ]; ?>
/< ? php echo $this -> _tpl_vars [ 'nbflottemax' ]; ?>
</ th ></ tr >
</ thead >
< tfoot >
< tr >< td colspan = " 4 " >< input class = " button " type = " button " value = " Tous les vaisseaux " onclick = " vaisseaux(true) " /> < input class = " button " type = " button " value = " Aucun vaisseau " onclick = " vaisseaux(false) " /></ td ></ tr >
< tr >< td colspan = " 4 " >< ? php echo $this -> _tpl_vars [ 'action' ]; ?>
</ td ></ tr >
</ tfoot >
< tbody >
< ? php $_from = $this -> _tpl_vars [ 'planete' ] -> vaisseaux ; if ( ! is_array ( $_from ) && ! is_object ( $_from )) { settype ( $_from , 'array' ); } if ( count ( $_from )) :
foreach ( $_from as $this -> _tpl_vars [ 'key' ] => $this -> _tpl_vars [ 'vaisseau' ]) :
?>
< ? php if ( $this -> _tpl_vars [ 'vaisseau' ] > 0 ) : ?>
< tr >
< td >< ? php if ( $this -> _tpl_vars [ 'vaisseau' ] > 1 ) : ?> <?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['noms_pluriel'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
< ? php else : ?> <?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['noms_sing'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
< ? php endif ; ?> </td>
< td >< ? php echo (( is_array ( $_tmp = $this -> _tpl_vars [ 'vaisseau' ])) ? $this -> _run_mod_handler ( 'separerNombres' , true , $_tmp ) : smarty_modifier_separerNombres ( $_tmp )); ?>
< span id = " v_<?php echo $this->_tpl_vars ['key']; ?>
" style= " display : none ; " ><?php echo $this->_tpl_vars ['vaisseau']; ?>
</ span ></ td >
< td >< input class = " button " type = " button " value = " Max " onclick = " max('<?php echo $this->_tpl_vars ['key']; ?>
' ) " /></td>
< td >< input class = " text " type = " text " name = " v<?php echo $this->_tpl_vars ['key']; ?>
" value= " 0 " /></td>
</ tr >
< ? php endif ; ?>
< ? php endforeach ; endif ; unset ( $_from ); ?>
</ tbody >
</ table >
</ form >
< ? 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 );
?>