forked from halo-battle/game
Version 1.13a
This commit is contained in:
parent
de31cd3e9a
commit
ba8f323879
1634 changed files with 10080 additions and 213021 deletions
|
|
@ -1,34 +1,41 @@
|
|||
{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>
|
||||
<h2>Navigation</h2>
|
||||
<form action="{$menu.carte}" method="get"><fieldset id="navigation">
|
||||
<label for="amas">Amas : <input type="text" class="text" name="amas" id="amas" value="{$position.0}" /></label>
|
||||
<label for="systeme">Système solaire : <input type="text" class="text" name="systeme" id="systeme" value="{$position.1}" /></label>
|
||||
<input type="hidden" value="carte" name="p" /><input type="submit" class="submit" value="GO" /><br />
|
||||
<a href="{$menu.carte}&galaxie={$position.4}&ss={$position.5}" class="button" title="système solaire précédent">précédent</a>
|
||||
<a href="{$menu.carte}&galaxie={$position.2}&ss={$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: {$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{if $plan.4} class="{$plan.4}"{/if}>
|
||||
<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'}
|
||||
Loading…
Add table
Add a link
Reference in a new issue