forked from halo-battle/game
Version 1.14a
This commit is contained in:
parent
ba8f323879
commit
dc48225dc9
1094 changed files with 189052 additions and 13889 deletions
|
|
@ -1,53 +1,31 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>File d'attente</h2>
|
||||
<div class="file">
|
||||
{if $file}
|
||||
{foreach from=$file item=element key=key}
|
||||
<span>{$LANG.$race.technologies.noms_sing[$element.0][$element.1]|ucfirst} - <em id="reste{$key}"></em><script type="text/javascript">reste({$element.2},'reste{$key}', {if $i != true}{assign var='i' value=true}true{else}false{/if});</script> - <a href="{$menu.laboratoire}&a={$key}">Annuler</a></span>
|
||||
{/foreach}
|
||||
{else} <span>Aucune technologie dans la file d'attente</span>{/if}
|
||||
<br />
|
||||
</div>
|
||||
<h3><a href="{$menu.arbre}&q=technologies">Arbre des technologies</a></h3><br />
|
||||
<h2>{$LANG.$race.batiments.noms_sing.6|ucfirst}</h2>
|
||||
{if $recherches}
|
||||
<table class="construction">
|
||||
{foreach from=$recherches item=recherche}
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="javascript:alert('Pas de description, arbre en cours de programmation');">
|
||||
<img width="130" height="132" src="{$url_images}images/technologies/{$recherche.image}" alt="{$LANG.$race.technologies.noms_sing[$recherche.id][$recherche.tech]}" />
|
||||
<span>{$LANG.$race.technologies.descriptions[$recherche.id][$recherche.tech]}</span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<strong>{$LANG.$race.technologies.noms_sing[$recherche.id][$recherche.tech]|ucfirst}</strong><br /><br />
|
||||
{if $recherche.nec_metal > 0}
|
||||
{if $recherche.nec_metal > $planete->metal}<span class="lack">Coût {$LANG.$race.ressources.noms.metal} : {$recherche.nec_metal|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.metal} : {$recherche.nec_metal|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
{if $recherche.nec_cristal > 0}
|
||||
{if $recherche.nec_cristal > $planete->cristal}<span class="lack">Coût {$LANG.$race.ressources.noms.cristal} : {$recherche.nec_cristal|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.cristal} : {$recherche.nec_cristal|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
{if $recherche.nec_hydrogene > 0}
|
||||
{if $recherche.nec_hydrogene > $planete->hydrogene}<span class="lack">Coût {$LANG.$race.ressources.noms.hydrogene} : {$recherche.nec_hydrogene|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.hydrogene} : {$recherche.nec_hydrogene|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
{if $recherche.nec_credits > 0}
|
||||
{if $recherche.nec_credits > $planete->credits}<span class="lack">Coût {$LANG.$race.ressources.noms.credits} : {$recherche.nec_credits|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.credits} : {$recherche.nec_credits|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
Temps de recherche : {$recherche.temps}<br /><br />
|
||||
{if $recherche.enfile !== false}<a href="{$menu.laboratoire}&a={$recherche.enfile}">Arrêter</a>
|
||||
{elseif $recherche.nec_credits > $planete->credits || $recherche.nec_hydrogene > $planete->hydrogene || $recherche.nec_cristal > $planete->cristal || $recherche.nec_metal > $planete->metal}<span class="lack">{$LANG.$race.ressources.noms.credits|ucfirst} insuffisants</span>
|
||||
{else}<a href="{$menu.laboratoire}&t={$recherche.id}&f={$recherche.tech}">Rechercher</a>
|
||||
{/if}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
<ul class="onglets">
|
||||
<li{if $onglet == 0} class="hilight"{/if}><a href="{$menu.laboratoire}">Industrie</a></li>
|
||||
<li{if $onglet == 1 || $onglet == 2} class="hilight"{/if}><a href="{$menu.laboratoire}&n=1">Ingénierie</a></li>
|
||||
<li{if $onglet == 3} class="hilight"{/if}><a href="{$menu.laboratoire}&n=3">Politique</a></li>
|
||||
<li{if $onglet == 4} class="hilight"{/if}><a href="{$menu.laboratoire}&n=4">Armement</a></li>
|
||||
<li{if $onglet == 5 || $onglet == 6} class="hilight"{/if}><a href="{$menu.laboratoire}&n=5">Défense</a></li>
|
||||
<li{if $onglet == 7} class="hilight"{/if}><a href="{$menu.laboratoire}&n=7">Projets expérimentaux</a></li>
|
||||
</ul>
|
||||
<h2>File d'attente</h2>
|
||||
<div class="file">
|
||||
<ul id="file">
|
||||
{capture name='expFile'}
|
||||
{foreach from=$files item=file key=keyF}
|
||||
{foreach from=$file item=element key=keyE}
|
||||
<li>{$LANG[$race].technologies.noms_sing[$element.0][$element.1]|ucfirst} - <span{if $element.3} class="countdown"{/if}>{$element.2|countdown}</span> - <a href="{$menu.laboratoire}&n={$onglet}&a={$keyF}&b={$keyE}">Annuler</a></li>
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
{/capture}
|
||||
{if $files && $smarty.capture.expFile}
|
||||
{$smarty.capture.expFile}
|
||||
{else}
|
||||
<li>Aucune recherches dans la file d'attente</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</div>
|
||||
<h2>{$LANG[$race].batiments.noms_sing.6|ucfirst}</h2>
|
||||
{if $arbre}
|
||||
{$arbre}
|
||||
{else}<div class="error" style="color: red;">Aucune technologie à développer actuellement</div>{/if}
|
||||
{include file='game/footer.tpl'}
|
||||
Loading…
Add table
Add a link
Reference in a new issue