85 lines
4.7 KiB
PHP
85 lines
4.7 KiB
PHP
<?php /* Smarty version 2.6.22, created on 2009-10-31 16:59:59
|
|
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', 31, 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 id="navigation">
|
|
<label for="amas">Amas : <input type="text" class="text" name="amas" id="amas" value="<?php echo $this->_tpl_vars['position']['0']; ?>
|
|
" /></label>
|
|
<label for="systeme">Système solaire : <input type="text" class="text" name="systeme" id="systeme" value="<?php echo $this->_tpl_vars['position']['1']; ?>
|
|
" /></label>
|
|
<input type="hidden" value="carte" name="p" /><input type="submit" class="submit" value="GO" /><br />
|
|
<a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
|
|
&galaxie=<?php echo $this->_tpl_vars['position']['4']; ?>
|
|
&ss=<?php echo $this->_tpl_vars['position']['5']; ?>
|
|
" class="button" title="système solaire précédent">précédent</a>
|
|
<a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
|
|
&galaxie=<?php echo $this->_tpl_vars['position']['2']; ?>
|
|
&ss=<?php echo $this->_tpl_vars['position']['3']; ?>
|
|
" class="button" title="système solaire suivant">suivant</a>
|
|
</fieldset></form>
|
|
|
|
<h2>Système Solaire</h2>
|
|
<table id="carte">
|
|
<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 <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?>
|
|
| <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['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<?php if ($this->_tpl_vars['plan']['4']): ?> class="<?php echo $this->_tpl_vars['plan']['4']; ?>
|
|
"<?php endif; ?>>
|
|
<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: ?> <?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: ?> <?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: ?> <?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: ?> <?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&d=<?php echo $this->_tpl_vars['plan']['5']; ?>
|
|
" class="msg"><span>Message</span></a><?php else: ?> <?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);
|
|
?>
|