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

75 lines
4.3 KiB
PHP

<?php /* Smarty version 2.6.19, created on 2009-01-09 23:17:28
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', 24, 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="7">Système: <?php echo $this->_tpl_vars['position']['0']; ?>
:<?php echo $this->_tpl_vars['position']['1']; ?>
</td>
</tr>
<tr>
<th>Position</th>
<th></th>
<th>Nom planète<br />Alliance<br />Joueur</th>
<th>Race</th>
<th>Gouvernement</th>
<th>Débris métal | cristal</th>
<th>Fonctions</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 style="width: 45px;"><?php if ($this->_tpl_vars['plan']['7']): ?><img src="<?php echo $this->_tpl_vars['url_images']; ?>
images/planetes/<?php echo $this->_tpl_vars['plan']['7']; ?>
.jpg" width="45" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['1'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" /><?php else: ?>&nbsp;<?php endif; ?></td>
<td><?php if ($this->_tpl_vars['plan']['1']): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['1'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
<br /><?php if ($this->_tpl_vars['plan']['6']): ?>[<?php echo $this->_tpl_vars['plan']['6']; ?>
]<br /><?php endif; ?><?php echo $this->_tpl_vars['plan']['5']; ?>
<?php else: ?>&nbsp;<?php endif; ?></td>
<td style="width: 45px;"><?php if ($this->_tpl_vars['plan']['4']): ?><img src="<?php echo $this->_tpl_vars['url_images']; ?>
images/carte/<?php echo $this->_tpl_vars['plan']['4']; ?>
.jpg" width="45" alt="<?php echo $this->_tpl_vars['plan']['4']; ?>
" /><?php else: ?>&nbsp;<?php endif; ?></td>
<td style="width: 45px;"><?php if ($this->_tpl_vars['plan']['4']): ?><img src="<?php echo $this->_tpl_vars['url_images']; ?>
images/carte/<?php echo $this->_tpl_vars['plan']['6']; ?>
.jpg" width="45" alt="<?php echo $this->_tpl_vars['plan']['6']; ?>
" /><?php else: ?>&nbsp;<?php endif; ?></td>
<td><?php if ($this->_tpl_vars['plan']['2']): ?><?php echo $this->_tpl_vars['plan']['2']; ?>
<?php else: ?>0<?php endif; ?> | <?php if ($this->_tpl_vars['plan']['3']): ?><?php echo $this->_tpl_vars['plan']['3']; ?>
<?php else: ?>0<?php endif; ?></td>
<td><?php if ($this->_tpl_vars['plan']['5']): ?><a href="?p=envoyer&amp;d=<?php echo $this->_tpl_vars['plan']['5']; ?>
" class="msg"><span>Message</span></a><?php else: ?>&nbsp;<?php endif; ?></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);
?>