game/onyx/tpl_compile/%%79^79F^79F1779C%%carte.tpl.php

65 lines
3.0 KiB
PHP

<?php /* Smarty version 2.6.19, created on 2008-09-13 16:39:58
compiled from game/carte.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/carte.tpl', 23, 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>Navigation</h2>
<form action="<?php echo $this->_tpl_vars['menu']['carte']; ?>
" method="get"><fieldset class="systeme"><label for="galaxie">Amas :</label><input type="hidden" value="carte" name="p" /><input class="text" type="text" value="<?php echo $this->_tpl_vars['position']['0']; ?>
" id="galaxie" name="galaxie" /><label for="systeme">Système solaire :</label><input class="text" type="text" value="<?php echo $this->_tpl_vars['position']['1']; ?>
" id="systeme" name="ss" /><div><a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
&amp;galaxie=<?php echo $this->_tpl_vars['position']['4']; ?>
&amp;ss=<?php echo $this->_tpl_vars['position']['5']; ?>
">&#60;&#60;&#60;</a><input class="submit" type="submit" value="GO" /><a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
&amp;galaxie=<?php echo $this->_tpl_vars['position']['2']; ?>
&amp;ss=<?php echo $this->_tpl_vars['position']['3']; ?>
">&#62;&#62;&#62;</a></div></fieldset></form>
<h2>Système Solaire</h2>
<table class="systeme">
<thead>
<tr>
<td colspan="6">Système: <?php echo $this->_tpl_vars['position']['0']; ?>
:<?php echo $this->_tpl_vars['position']['1']; ?>
</td>
</tr>
<tr>
<th>Position</th>
<th>Nom</th>
<th>Débris métal</th>
<th>Débris cristal</th>
<th>Joueur</th>
<th>Message</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['carte']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['plan']):
?>
<tr>
<td><?php echo $this->_tpl_vars['plan']['0']; ?>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['1'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
</td>
<td><?php echo $this->_tpl_vars['plan']['2']; ?>
</td>
<td><?php echo $this->_tpl_vars['plan']['3']; ?>
</td>
<td><?php if ($this->_tpl_vars['plan']['7']): ?>[<?php echo $this->_tpl_vars['plan']['7']; ?>
] <?php endif; ?><?php echo $this->_tpl_vars['plan']['5']; ?>
<?php echo $this->_tpl_vars['plan']['4']; ?>
</td>
<td><?php echo $this->_tpl_vars['plan']['6']; ?>
</td>
</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);
?>