forked from halo-battle/game
32 lines
1.3 KiB
Smarty
32 lines
1.3 KiB
Smarty
{include file='game/header.tpl'}
|
|
<h2>Navigation</h2>
|
|
<form action="{$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="{$position.0}" id="galaxie" name="galaxie" /><label for="systeme">Système solaire :</label><input class="text" type="text" value="{$position.1}" id="systeme" name="ss" /><div><a href="{$menu.carte}&galaxie={$position.4}&ss={$position.5}"><<<</a><input class="submit" type="submit" value="GO" /><a href="{$menu.carte}&galaxie={$position.2}&ss={$position.3}">>>></a></div></fieldset></form>
|
|
<h2>Système Solaire</h2>
|
|
<table class="systeme">
|
|
<thead>
|
|
<tr>
|
|
<td colspan="6">Système: {$position.0}:{$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>
|
|
{foreach from=$carte item=plan}
|
|
<tr>
|
|
<td>{$plan.0}</td>
|
|
<td>{$plan.1|escape}</td>
|
|
<td>{$plan.2}</td>
|
|
<td>{$plan.3}</td>
|
|
<td>{if $plan.7}[{$plan.7}] {/if}{$plan.5} {$plan.4}</td>
|
|
<td>{$plan.6}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
{include file='game/footer.tpl'} |