2008-11-03 11:00:00 +00:00
< ? php /* Smarty version 2.6 . 19 , created on 2008 - 06 - 22 23 : 36 : 11
2008-11-16 11:00:00 +00:00
compiled from game / rename . tpl */ ?>
< ? 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 );
?>
< img src = " images/planetes/<?php echo $this->_tpl_vars ['planete']['image']; ?>
. jpg " width= " 200 " height= " 200 " alt= " planète " />
< h2 > Renommer la planète </ h2 >
< form action = " ?p=rename " method = " post " >
< fieldset class = " options " >< label for = " planete " > Renommer la planète : ( < ? php echo $this -> _tpl_vars [ 'planete' ][ 'galaxie' ]; ?>
:< ? php echo $this -> _tpl_vars [ 'planete' ][ 'ss' ]; ?>
:< ? php echo $this -> _tpl_vars [ 'planete' ][ 'position' ]; ?>
) :</ label >< input class = " text " type = " text " name = " planete " maxlength = " 18 " value = " <?php echo $this->_tpl_vars ['planete']['nom_planete']; ?>
" id= " planete " /><br /><br /><input class= " submit " type= " submit " value= " OK " /></fieldset>
</ form >
< h2 > Abandonner la planète </ h2 >
< ? php if ( $this -> _tpl_vars [ 'abandonH' ]) : ?> <b>Attention, cette action est irréversible ; vous perdrez tous les batiments, vaisseaux et unités présents sur cette planète, les flottes ayant une mision qui a pour origine votre planète se perdront dans l'espace.</b><br /><br />Si vous êtes sur de vouloir abandonner cette planète : <a href="?p=rename&a=<?php echo $this->_tpl_vars['abandonH']; ?>
2008-11-03 11:00:00 +00:00
& amp ; i =< ? php echo $this -> _tpl_vars [ 'planete' ][ 'id' ]; ?>
2008-11-16 11:00:00 +00:00
" onclick= " return confirm ( 'Êtes-vous sûr de vouloir abandonner cette planète ?' ); " >cliquez sur ce lien</a>.<br /><br />
< ? php else : ?> Vous ne pouvez pas abandonner cette planète car vous n'en avez pas d'autre.<br /><br /><?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 );
?>