HB/onyx2/modules/templates/compile/%%55^552^55258DA3%%nm_search.tpl.php

51 lines
2.8 KiB
PHP

<?php /* Smarty version 2.6.22, created on 2009-09-27 13:21:17
compiled from game/alliance/nm_search.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'game/alliance/nm_search.tpl', 14, false),array('modifier', 'escape', 'game/alliance/nm_search.tpl', 14, 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);
?>
<table>
<thead>
<tr>
<th>[TAG] Alliance</th>
<th>Race</th>
<th>Etat inscriptions </th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['recherches']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['recherche']):
?>
<tr>
<?php if ($this->_tpl_vars['recherche']['etat_inscription'] == 2): ?>
<td><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;signer=<?php echo $this->_tpl_vars['recherche']['id']; ?>
">[<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['recherche']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
] <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nom_alliance'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a></td>
<td>En fondation</td>
<td>En fondation</td>
<?php else: ?>
<td><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;v=<?php echo $this->_tpl_vars['recherche']['id']; ?>
">[<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['recherche']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
] <?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['nom_alliance'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</a></td>
<td><img src="<?php echo $this->_tpl_vars['url_images']; ?>
images/carte/<?php echo $this->_tpl_vars['recherche']['race']; ?>
.jpg" width="45" alt="<?php echo $this->_tpl_vars['recherche']['race']; ?>
" /></td>
<td><?php if ($this->_tpl_vars['recherche']['etat_inscription']): ?>Ouvertes<?php else: ?>Fermées<?php endif; ?></td>
<?php endif; ?>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<?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);
?>