game/onyx2/modules/templates_anc/compile/%%BF^BFC^BFCDAC2B%%print.tpl.php

33 lines
2.1 KiB
PHP

<?php /* Smarty version 2.6.22, created on 2009-10-31 21:11:59
compiled from admin/print.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'admin/print.tpl', 7, false),array('modifier', 'truncate', 'admin/print.tpl', 7, 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);
?>
<?php if ($this->_tpl_vars['linkpage'] == 'vplanetes'): ?><a href="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
&amp;id=<?php echo $this->_tpl_vars['idPlan']; ?>
&amp;key=hash_planete">Recalculer le hash (après déplacement d'une planète)</a><?php endif; ?>
<table>
<?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="?p=<?php echo $this->_tpl_vars['linkpage']; ?>
&amp;id=<?php echo $this->_tpl_vars['idPlan']; ?>
&amp;key=<?php echo $this->_tpl_vars['key']; ?>
"><?php echo $this->_tpl_vars['key']; ?>
</a></td>
<td><?php if ($this->_tpl_vars['ligne'] > 0 && ( ereg ( "^time" , $this->_tpl_vars['key'] ) || $this->_tpl_vars['key'] == 'last_visite' || $this->_tpl_vars['key'] == 'politique_lastchange' )): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "timestamp : %d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "timestamp : %d/%m/%y %H:%M:%S")); ?>
<?php else: ?><?php echo ((is_array($_tmp=$this->_tpl_vars['ligne'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 82) : smarty_modifier_truncate($_tmp, 82)); ?>
<?php endif; ?></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</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);
?>