2020-11-15 15:12:30 +00:00
< ? php /* Smarty version 2.6 . 22 , created on 2009 - 09 - 26 01 : 17 : 11
2009-11-01 11:00:00 +00:00
compiled from admin / demarrage . tpl */ ?>
< ? php require_once ( SMARTY_CORE_DIR . 'core.load_plugins.php' );
2020-11-15 15:12:30 +00:00
smarty_core_load_plugins ( array ( 'plugins' => array ( array ( 'modifier' , 'escape' , 'admin/demarrage.tpl' , 16 , false ), array ( 'modifier' , 'date_format' , 'admin/demarrage.tpl' , 17 , false ),)), $this ); ?>
2009-11-01 11: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 > Pages de démarrage </ h2 >
< h3 > La première news est celle qui sera affichée à la connexion des joueurs </ h3 >
< table >
< thead >
< tr >
< th > Action </ th >
< th > Titre </ th >
< th > Date de visibilité </ th >
</ tr >
</ thead >
< tbody >
< ? php $_from = $this -> _tpl_vars [ 'tableau' ]; if ( ! is_array ( $_from ) && ! is_object ( $_from )) { settype ( $_from , 'array' ); } if ( count ( $_from )) :
foreach ( $_from as $this -> _tpl_vars [ 'key' ] => $this -> _tpl_vars [ 'ligne' ]) :
?>
< tr >
< td >< a href = " <?php echo $this->_tpl_vars ['menu']['demarrage']; ?>
& amp ; i =< ? php echo $this -> _tpl_vars [ 'ligne' ][ 'id' ]; ?>
" >EDIT</a> | <a href= " < ? php echo $this -> _tpl_vars [ 'menu' ][ 'demarrage' ]; ?>
& amp ; d =< ? php echo $this -> _tpl_vars [ 'ligne' ][ 'id' ]; ?>
" >SUPPR</a></td>
< td >< b >< ? php echo (( is_array ( $_tmp = $this -> _tpl_vars [ 'ligne' ][ 'titre' ])) ? $this -> _run_mod_handler ( 'escape' , true , $_tmp ) : smarty_modifier_escape ( $_tmp )); ?>
</ b ></ td >
< td >< ? php echo (( is_array ( $_tmp = $this -> _tpl_vars [ 'ligne' ][ 'time' ])) ? $this -> _run_mod_handler ( 'date_format' , true , $_tmp , " %d/%m/%y %H:%M:%S " ) : smarty_modifier_date_format ( $_tmp , " %d/%m/%y %H:%M:%S " )); ?>
</ td >
</ tr >
< ? php endforeach ; endif ; unset ( $_from ); ?>
</ tbody >
</ table >
< h2 > Gestion du cache </ h2 >
< a href = " <?php echo $this->_tpl_vars ['menu']['demarrage']; ?>
& amp ; actuCache " >Mettre à jour le cache</a>
< h2 >< ? php if ( $this -> _tpl_vars [ 'id' ] == 'add' ) : ?> Ajouter<?php else: ?>Modifier<?php endif; ?> une page de démarrage<?php if ($this->_tpl_vars['id'] != 'add'): ?> : <?php echo $this->_tpl_vars['id']; ?>
< ? php endif ; ?> </h2>
< form action = " <?php echo $this->_tpl_vars ['menu']['demarrage']; ?>
& amp ; i =< ? php echo $this -> _tpl_vars [ 'id' ]; ?>
" method= " post " >
< fieldset class = " options " >
< label for = " titre " > Titre :</ label > < input type = " text " name = " titre " id = " titre " value = " <?php echo $this->_tpl_vars ['mod']['titre']; ?>
2020-11-15 15:12:30 +00:00
" tabindex= " 1 " /><br />
< label for = " contenu " > Texte :</ label >< br />< textarea name = " contenu " id = " contenu " rows = " 10 " cols = " 10 " tabindex = " 2 " >< ? php echo $this -> _tpl_vars [ 'mod' ][ 'contenu' ]; ?>
2009-11-01 11:00:00 +00:00
</ textarea >< br />
2020-11-15 15:12:30 +00:00
< ? php if ( $this -> _tpl_vars [ 'mod' ][ 'titre' ]) : ?> <input type="checkbox" name="reset" id="reset" value="1" tabindex="3" /><label for="reset"> Actualiser la date et l'heure d'écriture</label> <i>Les utilisateurs ayant déjà vu la page la revéront de nouveau.</i><br /><br /><br /><?php endif; ?>
< input type = " submit " class = " submit " value = " GO " tabindex = " 4 " />
2009-11-01 11:00:00 +00:00
</ fieldset >
</ 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 );
?>