HB/onyx2/tpl/game/carte.tpl

34 lines
2.0 KiB
Smarty
Raw Normal View History

2009-11-01 11:00:00 +00:00
{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}&amp;galaxie={$position.4}&amp;ss={$position.5}">&#60;&#60;&#60;</a><input class="submit" type="submit" value="GO" /><a href="{$menu.carte}&amp;galaxie={$position.2}&amp;ss={$position.3}">&#62;&#62;&#62;</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}&nbsp;{/if}</td>
<td>{if $plan.1}{$plan.1|escape}<br />{if $plan.6}[{$plan.6}]<br />{/if}{$plan.5}{else}&nbsp;{/if}</td>
<td style="width: 45px;">{if $plan.4}<img src="{$url_images}images/carte/{$plan.4}.jpg" width="45" alt="{$plan.4}" />{else}&nbsp;{/if}</td>
<td style="width: 45px;">{if $plan.4}<img src="{$url_images}images/carte/{$plan.6}.jpg" width="45" alt="{$plan.6}" />{else}&nbsp;{/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&amp;d={$plan.5}" class="msg"><span>Message</span></a>{else}&nbsp;{/if}</td>
</tr>
{/foreach}
</tbody>
</table>
{include file='game/footer.tpl'}