HB/onyx/tpl_compile/%%21^214^2142E613%%amis.tpl.php

43 lines
1.8 KiB
PHP

<?php /* Smarty version 2.6.19, created on 2008-10-12 00:30:52
compiled from game/amis.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/amis.tpl', 13, 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>Amis existants</h2>
<table>
<thead>
<tr>
<th>Nom du joueur</th>
<th>Supprimer</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['destins']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['destin']):
?>
<tr>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['destin']['1'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</td>
<td><a href="?p=amis&amp;d=<?php echo $this->_tpl_vars['destin']['0']; ?>
&amp;a=<?php echo $this->_tpl_vars['destin']['2']; ?>
">Supprimer</a></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<h2>Ajouter un ami</h2>
<form action="?p=amis" method="post">
<fieldset class="options">
<label for="nom">Nom du joueur</label><input class="text" type="text" id="nom" name="nom" maxlength="32" /><br />
<input class="submit" type="submit" value="Ajouter" />
</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);
?>