forked from halo-battle/game
34 lines
2.0 KiB
Smarty
34 lines
2.0 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="7">Système: {$position.0}:{$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 {$LANG.$race.ressources.noms.metal} | {$LANG.$race.ressources.noms.cristal}</th>
|
|
<th>Fonctions</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{foreach from=$carte item=plan}
|
|
<tr>
|
|
<td>{$plan.0}</td>
|
|
<td style="width: 45px;">{if $plan.7}<img src="{$url_images}images/planetes/{$plan.7}.jpg" width="45" alt="{$plan.1|escape}" />{else} {/if}</td>
|
|
<td>{if $plan.1}{$plan.1|escape}<br />{if $plan.6}[{$plan.6}]<br />{/if}{$plan.5}{else} {/if}</td>
|
|
<td style="width: 45px;">{if $plan.4}<img src="{$url_images}images/carte/{$plan.4}.jpg" width="45" alt="{$plan.4}" />{else} {/if}</td>
|
|
<td style="width: 45px;">{if $plan.4}<img src="{$url_images}images/carte/{$plan.6}.jpg" width="45" alt="{$plan.6}" />{else} {/if}</td>
|
|
<td>{if $plan.2}{$plan.2}{else}0{/if} | {if $plan.3}{$plan.3}{else}0{/if}</td>
|
|
<td>{if $plan.5}<a href="?p=envoyer&d={$plan.5}" class="msg"><span>Message</span></a>{else} {/if}</td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
{include file='game/footer.tpl'} |