forked from halo-battle/game
Update templates
This commit is contained in:
parent
2be9fcd5c3
commit
c8cfbb1d49
@ -9,7 +9,8 @@
|
|||||||
<div class="header">Formulaire d'inscription</div>
|
<div class="header">Formulaire d'inscription</div>
|
||||||
<div class="corpsi">
|
<div class="corpsi">
|
||||||
<form action="{$menu.inscription}" method="post">
|
<form action="{$menu.inscription}" method="post">
|
||||||
<span><label for="pseudo">Pseudo :</label> <input class="text" name="HB_pseudo" id="pseudo" type="text" maxlength="16" value="{$smarty.post.HB_pseudo}" />
|
<span><label for="codeact">Code d'activation :</label> <input class="text" name="codeact" id="codeact" type="text" maxlength="16" value="{$smarty.post.codeact}" /><br />
|
||||||
|
<br /><span><label for="pseudo">Pseudo :</label> <input class="text" name="HB_pseudo" id="pseudo" type="text" maxlength="16" value="{$smarty.post.HB_pseudo}" />
|
||||||
<br /><label for="mdp">Mot de passe :</label> <input class="text" name="HB_mdp" id="mdp" type="password" maxlength="32" />
|
<br /><label for="mdp">Mot de passe :</label> <input class="text" name="HB_mdp" id="mdp" type="password" maxlength="32" />
|
||||||
<br /><label for="conf">Confirmation :</label> <input class="text" name="HB_conf" id="conf" type="password" maxlength="32" />
|
<br /><label for="conf">Confirmation :</label> <input class="text" name="HB_conf" id="conf" type="password" maxlength="32" />
|
||||||
<br /><label for="mail">Adresse électronique :</label> <input class="text" name="HB_mail" id="mail" type="text" value="{$smarty.post.HB_mail}" maxlength="64" />
|
<br /><label for="mail">Adresse électronique :</label> <input class="text" name="HB_mail" id="mail" type="text" value="{$smarty.post.HB_mail}" maxlength="64" />
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
{/if}
|
{/if}
|
||||||
<h2>Infos</h2>
|
<h2>Infos</h2>
|
||||||
{if $smarty.const.SURFACE == "planete"}
|
{if $smarty.const.SURFACE == "planete"}
|
||||||
<h4>{dDonnees::nameVilles($planete->batiments[17])}</h4>
|
<h4>{php}dDonnees::nameVilles($this->_tpl_vars['planete']->batiments[17]){/php}</h4>
|
||||||
<h4>Diamètre: {$diametre|separerNombres} km <ins>({$planete->casesRest} case{if $planete->casesRest > 1}s{/if} disponible{if $planete->casesRest > 1}s{/if} sur {dDonnees::capaciteVilles($planete)|separerNombres})</ins></h4>
|
<h4>Diamètre: {$diametre|separerNombres} km <ins>({$planete->casesRest} case{if $planete->casesRest > 1}s{/if} disponible{if $planete->casesRest > 1}s{/if} sur {php}dDonnees::capaciteVilles($this->_tpl_vars['planete']){/php})</ins></h4>
|
||||||
{/if}
|
{/if}
|
||||||
<h4>Race : {$planete->race}</h4>
|
<h4>Race : {$planete->race}</h4>
|
||||||
<h4>position: <a href="?p=carte&galaxie={$planete->galaxie}&ss={$planete->ss}">{$planete->galaxie}.{$planete->ss}.{$planete->position}</a></h4>
|
<h4>position: <a href="?p=carte&galaxie={$planete->galaxie}&ss={$planete->ss}">{$planete->galaxie}.{$planete->ss}.{$planete->position}</a></h4>
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
{include file='game/header.tpl'}
|
{include file='game/header.tpl'}
|
||||||
<ul class="onglets">
|
<ul class="onglets">
|
||||||
{for $i=0; $i<$planete->batiments.9; $i++}
|
{section name=nb start=0 loop=$planete->batiments.9}
|
||||||
|
{assign var=i value=$smarty.section.nb.index}
|
||||||
<li{if $lieu == $i} class="hilight"{/if}><a href="{$menu.caserne}&k={$i}">Caserne {$i+1}</a></li>
|
<li{if $lieu == $i} class="hilight"{/if}><a href="{$menu.caserne}&k={$i}">Caserne {$i+1}</a></li>
|
||||||
{/for}
|
{/section}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2>File d'attente</h2>
|
<h2>File d'attente</h2>
|
||||||
|
@ -5,9 +5,10 @@
|
|||||||
{assign var='max' value=$planete->batiments.3}
|
{assign var='max' value=$planete->batiments.3}
|
||||||
{/if}
|
{/if}
|
||||||
<ul class="onglets">
|
<ul class="onglets">
|
||||||
{for $i=0; $i<$max; $i++}
|
{section name=nb start=0 loop=$max}
|
||||||
|
{assign var=i value=$smarty.section.nb.index}
|
||||||
<li{if $lieu == $i} class="hilight"{/if}><a href="{$menu.chantierspatial}&k={$i}">Chantier {$i+1}</a></li>
|
<li{if $lieu == $i} class="hilight"{/if}><a href="{$menu.chantierspatial}&k={$i}">Chantier {$i+1}</a></li>
|
||||||
{/for}
|
{/section}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2>File d'attente</h2>
|
<h2>File d'attente</h2>
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
{include file='game/header.tpl'}
|
{include file='game/header.tpl'}
|
||||||
<ul class="onglets">
|
<ul class="onglets">
|
||||||
{for $i=0; $i<$planete->batiments.7; $i++}
|
{section name=nb start=0 loop=$planete->batiments.7}
|
||||||
|
{assign var=i value=$smarty.section.nb.index}
|
||||||
<li{if $lieu == $i} class="hilight"{/if}><a href="{$menu.chantierterrestre}&k={$i}&n={$onglet}">Chantier {$i+1}</a></li>
|
<li{if $lieu == $i} class="hilight"{/if}><a href="{$menu.chantierterrestre}&k={$i}&n={$onglet}">Chantier {$i+1}</a></li>
|
||||||
{/for}
|
{/section}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul class="onglets">
|
<ul class="onglets">
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
<span class="bottom"></span></div>
|
<span class="bottom"></span></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{if $page != "admin" && $page != "vide" && $page != "amis" && $page != "flotten" && $page != "messagerie" && $page != "pilori" && $page != "envoyer" && $page != "bugs" && $page != "carte" && $page != "classement" && $page != "options" && $page != "simulation" && $page != "vp" && $page != "operateur" && !ereg("alliance/", $page) && !ereg("diplomatie/", $page)}
|
{if $page != "admin" && $page != "vide" && $page != "amis" && $page != "flotten" && $page != "messagerie" && $page != "pilori" && $page != "envoyer" && $page != "bugs" && $page != "carte" && $page != "classement" && $page != "options" && $page != "simulation" && $page != "vp" && $page != "operateur" && !preg_match("#alliance/#", $page) && !preg_match("#diplomatie/#", $page)}
|
||||||
<div id="head">
|
<div id="head">
|
||||||
<span class="top"></span>
|
<span class="top"></span>
|
||||||
|
|
||||||
|
@ -3,11 +3,11 @@
|
|||||||
<li><a href="{$menu.alli_chat}"{if $page == "alliance/chat_ajax" || $page == "alliance/chat_irc"} class="hilight"{/if}>Chat de l'alliance</a></li>
|
<li><a href="{$menu.alli_chat}"{if $page == "alliance/chat_ajax" || $page == "alliance/chat_irc"} class="hilight"{/if}>Chat de l'alliance</a></li>
|
||||||
{if $planete->url_forum}<li><a href="{$planete->url_forum}" class="external">Forum de l'alliance</a></li>{/if}
|
{if $planete->url_forum}<li><a href="{$planete->url_forum}" class="external">Forum de l'alliance</a></li>{/if}
|
||||||
<li>
|
<li>
|
||||||
<a href="{$menu.alli_messagerie}"{if ereg("Messagerie d'alliance", $titre)} class="hilight"{/if}>Messagerie d'alliance</a>
|
<a href="{$menu.alli_messagerie}"{if preg_match("#Messagerie d'alliance#", $titre)} class="hilight"{/if}>Messagerie d'alliance</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="{$menu.alli_messagerie}&n=recus"{if ereg("Messagerie d'alliance", $titre) && $onglet != "rapports" && $onglet != "send" && $onglet != "envoyer"} class="hilight"{/if}>Reçus{if $alertMail.0} ({$alertMail.0}){/if}</a></li>
|
<li><a href="{$menu.alli_messagerie}&n=recus"{if preg_match("#Messagerie d'alliance#", $titre) && $onglet != "rapports" && $onglet != "send" && $onglet != "envoyer"} class="hilight"{/if}>Reçus{if $alertMail.0} ({$alertMail.0}){/if}</a></li>
|
||||||
<li><a href="{$menu.alli_messagerie}&n=rapports"{if $onglet == "rapports" && ereg("Messagerie d'alliance", $titre)} class="hilight"{/if}>Rapports{if $alertMail.1} ({$alertMail.1}){/if}</a></li>
|
<li><a href="{$menu.alli_messagerie}&n=rapports"{if $onglet == "rapports" && preg_match("#Messagerie d'alliance#", $titre)} class="hilight"{/if}>Rapports{if $alertMail.1} ({$alertMail.1}){/if}</a></li>
|
||||||
<li><a href="{$menu.alli_messagerie}&n=send"{if $onglet == "send" && ereg("Messagerie d'alliance", $titre)} class="hilight"{/if}>Envoyés</a></li>
|
<li><a href="{$menu.alli_messagerie}&n=send"{if $onglet == "send" && preg_match("#Messagerie d'alliance#", $titre)} class="hilight"{/if}>Envoyés</a></li>
|
||||||
<li><a href="{$menu.alli_messagerie}&n=envoyer"{if $onglet == "envoyer"} class="hilight"{/if}>Ecrire</a></li>
|
<li><a href="{$menu.alli_messagerie}&n=envoyer"{if $onglet == "envoyer"} class="hilight"{/if}>Ecrire</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
@ -22,44 +22,44 @@
|
|||||||
<li><a href="{$menu.ressources}"{if $page == "ressources_alli"} class="hilight"{/if}>Ressources</a></li>
|
<li><a href="{$menu.ressources}"{if $page == "ressources_alli"} class="hilight"{/if}>Ressources</a></li>
|
||||||
{if $planete->permissions_alliance &32 || $planete->permissions_alliance &64 || $planete->permissions_alliance &128}
|
{if $planete->permissions_alliance &32 || $planete->permissions_alliance &64 || $planete->permissions_alliance &128}
|
||||||
<li>
|
<li>
|
||||||
<a href="{$menu.gestion}"{if ereg("gestion", $page)} class="hilight"{/if}>Gestion</a>
|
<a href="{$menu.gestion}"{if preg_match("#gestion#", $page)} class="hilight"{/if}>Gestion</a>
|
||||||
<ul>
|
<ul>
|
||||||
{if $planete->permissions_alliance & 32}<li><a href="{$menu.gestion}&g=membres"{if $onglet == "membres" && ereg("gestion", $page)} class="hilight"{/if}>Membres</a></li>{/if}
|
{if $planete->permissions_alliance & 32}<li><a href="{$menu.gestion}&g=membres"{if $onglet == "membres" && preg_match("#gestion#", $page)} class="hilight"{/if}>Membres</a></li>{/if}
|
||||||
{if $planete->permissions_alliance & 128}<li><a href="{$menu.gestion}&g=grades"{if $onglet == "grades" && ereg("gestion", $page)} class="hilight"{/if}>Grades</a></li>{/if}
|
{if $planete->permissions_alliance & 128}<li><a href="{$menu.gestion}&g=grades"{if $onglet == "grades" && preg_match("#gestion#", $page)} class="hilight"{/if}>Grades</a></li>{/if}
|
||||||
{if $planete->permissions_alliance & 64}<li><a href="{$menu.gestion}&g=wings"{if $onglet == "wings" && ereg("gestion", $page)} class="hilight"{/if}>Wings</a></li>{/if}
|
{if $planete->permissions_alliance & 64}<li><a href="{$menu.gestion}&g=wings"{if $onglet == "wings" && preg_match("#gestion#", $page)} class="hilight"{/if}>Wings</a></li>{/if}
|
||||||
{if $planete->permissions_alliance & 128 && !$planete->wing}<li><a href="{$menu.gestion}&g=alliance"{if $onglet == "alliance" && ereg("gestion", $page)} class="hilight"{/if}>Alliance</a></li>{/if}
|
{if $planete->permissions_alliance & 128 && !$planete->wing}<li><a href="{$menu.gestion}&g=alliance"{if $onglet == "alliance" && preg_match("#gestion#", $page)} class="hilight"{/if}>Alliance</a></li>{/if}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
{/if}
|
{/if}
|
||||||
<li>
|
<li>
|
||||||
<a href="{$menu.diplomatie}"{if ereg("diplomatie/", $page)} class="hilight"{/if}>Diplomatie</a>
|
<a href="{$menu.diplomatie}"{if preg_match("#diplomatie/#", $page)} class="hilight"{/if}>Diplomatie</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="{$menu.diplomatie}&o=actus"{if $onglet == "actus" && ereg("diplomatie/", $page)} class="hilight"{/if}>Actualités</a></li>
|
<li><a href="{$menu.diplomatie}&o=actus"{if $onglet == "actus" && preg_match("#diplomatie/#", $page)} class="hilight"{/if}>Actualités</a></li>
|
||||||
<li><a href="{$menu.diplomatie}&o=encours"{if $onglet == "encours" && ereg("diplomatie/", $page)} class="hilight"{/if}>En place</a></li>
|
<li><a href="{$menu.diplomatie}&o=encours"{if $onglet == "encours" && preg_match("#diplomatie/#", $page)} class="hilight"{/if}>En place</a></li>
|
||||||
<li><a href="{$menu.diplomatie}&o=archives"{if $onglet == "archives" && ereg("diplomatie/", $page)} class="hilight"{/if}>Résiliés/annulés</a></li>
|
<li><a href="{$menu.diplomatie}&o=archives"{if $onglet == "archives" && preg_match("#diplomatie/#", $page)} class="hilight"{/if}>Résiliés/annulés</a></li>
|
||||||
{if $planete->permissions_alliance & 8}<li><a href="{$menu.diplomatie}&o=new"{if $onglet == "new" && ereg("diplomatie/", $page)} class="hilight"{/if}>Nouveau</a></li>{/if}
|
{if $planete->permissions_alliance & 8}<li><a href="{$menu.diplomatie}&o=new"{if $onglet == "new" && preg_match("#diplomatie/#", $page)} class="hilight"{/if}>Nouveau</a></li>{/if}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="{$menu.flotte}"{if $page == "flotte" || $page == "flotte1" || $page == "flotte2" || $page == "flotten"} class="hilight"{/if}>Flottes</a></li>
|
<li><a href="{$menu.flotte}"{if $page == "flotte" || $page == "flotte1" || $page == "flotte2" || $page == "flotten"} class="hilight"{/if}>Flottes</a></li>
|
||||||
<!--<li><a href="?p=simulateur"{if $page == "simulateur_combat"} class="hilight"{/if}>Simulateur de combat</a></li>-->
|
<!--<li><a href="?p=simulateur"{if $page == "simulateur_combat"} class="hilight"{/if}>Simulateur de combat</a></li>-->
|
||||||
<li><a href="{$menu.carte}"{if $page == "carte"} class="hilight"{/if}>Carte spatiale</a></li>
|
<li><a href="{$menu.carte}"{if $page == "carte"} class="hilight"{/if}>Carte spatiale</a></li>
|
||||||
<li>
|
<li>
|
||||||
<a href="{$menu.options}"{if ereg("options/", $page)} class="hilight"{/if}>Options</a>
|
<a href="{$menu.options}"{if preg_match("#options/#", $page)} class="hilight"{/if}>Options</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="{$menu.options}&n=ext"{if $onglet == "ext" && ereg("options/", $page)} class="hilight"{/if}>Extérieures</a></li>
|
<li><a href="{$menu.options}&n=ext"{if $onglet == "ext" && preg_match("#options/#", $page)} class="hilight"{/if}>Extérieures</a></li>
|
||||||
<li><a href="{$menu.options}&n=compte"{if $onglet == "compte" && ereg("options/", $page)} class="hilight"{/if}>Compte</a></li>
|
<li><a href="{$menu.options}&n=compte"{if $onglet == "compte" && preg_match("#options/#", $page)} class="hilight"{/if}>Compte</a></li>
|
||||||
<li><a href="{$menu.options}&n=jeu"{if $onglet == "jeu" && ereg("options/", $page)} class="hilight"{/if}>Jeu</a></li>
|
<li><a href="{$menu.options}&n=jeu"{if $onglet == "jeu" && preg_match("#options/#", $page)} class="hilight"{/if}>Jeu</a></li>
|
||||||
<li><a href="{$menu.options}&n=notif"{if $onglet == "notif" && ereg("options/", $page)} class="hilight"{/if}>Notifications</a></li>
|
<li><a href="{$menu.options}&n=notif"{if $onglet == "notif" && preg_match("#options/#", $page)} class="hilight"{/if}>Notifications</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="{$menu.messages}"{if ereg("Messagerie - ", $titre) || $page == "envoyer"} class="hilight"{/if}>
|
<li><a href="{$menu.messages}"{if preg_match("#Messagerie - #", $titre) || $page == "envoyer"} class="hilight"{/if}>
|
||||||
{if $alertMail.0 + $alertMail.1 >= 1}<b>Messages {if $alertMail.0}({$alertMail.0}) {/if}et rapports{if $alertMail.1} ({$alertMail.1}){/if}</b>{else}Messages et rapports{/if}</a>
|
{if $alertMail.0 + $alertMail.1 >= 1}<b>Messages {if $alertMail.0}({$alertMail.0}) {/if}et rapports{if $alertMail.1} ({$alertMail.1}){/if}</b>{else}Messages et rapports{/if}</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="{$menu.messages}&n=recus"{if ereg("Messagerie - ", $titre) && $onglet != "rapports" && $onglet != "send" && $onglet != "envoyer"} class="hilight"{/if}>Reçus{if $alertMail.0} ({$alertMail.0}){/if}</a></li>
|
<li><a href="{$menu.messages}&n=recus"{if preg_match("#Messagerie - #", $titre) && $onglet != "rapports" && $onglet != "send" && $onglet != "envoyer"} class="hilight"{/if}>Reçus{if $alertMail.0} ({$alertMail.0}){/if}</a></li>
|
||||||
<li><a href="{$menu.messages}&n=rapports"{if $onglet == "rapports" && ereg("Messagerie - ", $titre)} class="hilight"{/if}>Rapports{if $alertMail.1} ({$alertMail.1}){/if}</a></li>
|
<li><a href="{$menu.messages}&n=rapports"{if $onglet == "rapports" && preg_match("#Messagerie - #", $titre)} class="hilight"{/if}>Rapports{if $alertMail.1} ({$alertMail.1}){/if}</a></li>
|
||||||
<li><a href="{$menu.messages}&n=send"{if $onglet == "send" && ereg("Messagerie - ", $titre)} class="hilight"{/if}>Envoyés</a></li>
|
<li><a href="{$menu.messages}&n=send"{if $onglet == "send" && preg_match("#Messagerie - #", $titre)} class="hilight"{/if}>Envoyés</a></li>
|
||||||
<li><a href="{$menu.messages}&n=envoyer"{if $onglet == "envoyer"} class="hilight"{/if}>Ecrire</a></li>
|
<li><a href="{$menu.messages}&n=envoyer"{if $onglet == "envoyer"} class="hilight"{/if}>Ecrire</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
@ -67,6 +67,6 @@
|
|||||||
<li><a href="{$menu.chat}"{if $page == "chat"} class="hilight"{else} class="external"{/if}>Chat</a></li>
|
<li><a href="{$menu.chat}"{if $page == "chat"} class="hilight"{else} class="external"{/if}>Chat</a></li>
|
||||||
<li><a href="{$menu.forums}" class="external">Forums</a></li>
|
<li><a href="{$menu.forums}" class="external">Forums</a></li>
|
||||||
<li><a href="{$menu.bugs}"{if $page == "bugs"} class="hilight"{/if}>Rapports de bug</a></li>
|
<li><a href="{$menu.bugs}"{if $page == "bugs"} class="hilight"{/if}>Rapports de bug</a></li>
|
||||||
<li><a href="{$menu.faq}"{if $page == "faq" || ereg('/aide/', $page)} class="hilight"{/if}>F.A.Q.</a></li>
|
<li><a href="{$menu.faq}"{if $page == "faq" || preg_match('/aide/', $page)} class="#hilight#"{/if}>F.A.Q.</a></li>
|
||||||
<li><a href="{$menu.deconnexion}">Déconnexion</a></li>
|
<li><a href="{$menu.deconnexion}">Déconnexion</a></li>
|
||||||
</ul>
|
</ul>
|
@ -41,12 +41,12 @@
|
|||||||
<!--<li><a href="?p=simulateur"{if $page == "simulateur_combat"} class="hilight"{/if}>Simulateur de combat</a></li>-->
|
<!--<li><a href="?p=simulateur"{if $page == "simulateur_combat"} class="hilight"{/if}>Simulateur de combat</a></li>-->
|
||||||
<li><a href="{$menu.carte}"{if $page == "carte"} class="hilight"{/if}>Carte spatiale</a></li>
|
<li><a href="{$menu.carte}"{if $page == "carte"} class="hilight"{/if}>Carte spatiale</a></li>
|
||||||
<li>
|
<li>
|
||||||
<a href="{$menu.options}"{if ereg("options/", $page)} class="hilight"{/if}>Options</a>
|
<a href="{$menu.options}"{if preg_match("#options/#", $page)} class="hilight"{/if}>Options</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="{$menu.options}&n=ext"{if $onglet == "ext" && ereg("options/", $page)} class="hilight"{/if}>Extérieures</a></li>
|
<li><a href="{$menu.options}&n=ext"{if $onglet == "ext" && preg_match("#options/#", $page)} class="hilight"{/if}>Extérieures</a></li>
|
||||||
<li><a href="{$menu.options}&n=compte"{if $onglet == "compte" && ereg("options/", $page)} class="hilight"{/if}>Compte</a></li>
|
<li><a href="{$menu.options}&n=compte"{if $onglet == "compte" && preg_match("#options/#", $page)} class="hilight"{/if}>Compte</a></li>
|
||||||
<li><a href="{$menu.options}&n=jeu"{if $onglet == "jeu" && ereg("options/", $page)} class="hilight"{/if}>Jeu</a></li>
|
<li><a href="{$menu.options}&n=jeu"{if $onglet == "jeu" && preg_match("#options/#", $page)} class="hilight"{/if}>Jeu</a></li>
|
||||||
<li><a href="{$menu.options}&n=notif"{if $onglet == "notif" && ereg("options/", $page)} class="hilight"{/if}>Notifications</a></li>
|
<li><a href="{$menu.options}&n=notif"{if $onglet == "notif" && preg_match("#options/#", $page)} class="hilight"{/if}>Notifications</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -60,11 +60,11 @@
|
|||||||
<li><a href="{$menu.messages}&n=envoyer"{if $onglet == "envoyer"} class="hilight"{/if}>Ecrire</a></li>
|
<li><a href="{$menu.messages}&n=envoyer"{if $onglet == "envoyer"} class="hilight"{/if}>Ecrire</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="{$menu.alliance}"{if ereg("alliance/", $page)} class="hilight"{/if}>Alliance</a></li>
|
<li><a href="{$menu.alliance}"{if preg_match("#alliance/#", $page)} class="hilight"{/if}>Alliance</a></li>
|
||||||
<li><a href="{$menu.classement}"{if $page == "classement"} class="hilight"{/if}>Classement</a></li>
|
<li><a href="{$menu.classement}"{if $page == "classement"} class="hilight"{/if}>Classement</a></li>
|
||||||
<li><a href="{$menu.chat}"{if $page == "chat"} class="hilight"{else} class="external"{/if}>Chat</a></li>
|
<li><a href="{$menu.chat}"{if $page == "chat"} class="hilight"{else} class="external"{/if}>Chat</a></li>
|
||||||
<li><a href="{$menu.forums}" class="external">Forums</a></li>
|
<li><a href="{$menu.forums}" class="external">Forums</a></li>
|
||||||
<li><a href="{$menu.bugs}"{if $page == "bugs"} class="hilight"{/if}>Rapports de bug</a></li>
|
<li><a href="{$menu.bugs}"{if $page == "bugs"} class="hilight"{/if}>Rapports de bug</a></li>
|
||||||
<li><a href="{$menu.faq}"{if $page == "faq" || ereg('/aide/', $page)} class="hilight"{/if}>F.A.Q.</a></li>
|
<li><a href="{$menu.faq}"{if $page == "faq" || preg_match('/aide/', $page)} class="#hilight#"{/if}>F.A.Q.</a></li>
|
||||||
<li><a href="{$menu.deconnexion}">Déconnexion</a></li>
|
<li><a href="{$menu.deconnexion}">Déconnexion</a></li>
|
||||||
</ul>
|
</ul>
|
@ -19,7 +19,7 @@
|
|||||||
<h2>{$LANG[$race].batiments.noms_sing.4|ucfirst} : augmentation de la capacité</h2>
|
<h2>{$LANG[$race].batiments.noms_sing.4|ucfirst} : augmentation de la capacité</h2>
|
||||||
<form method="post" action="{$menu.ressources}">
|
<form method="post" action="{$menu.ressources}">
|
||||||
<fieldset class="form">
|
<fieldset class="form">
|
||||||
<label for="nb">Capacité à acheter pour {7000-$planete->batiments[4]*1250} {$LANG[$race].ressources.noms.hydrogene} : <input type="text" id="nb" name="anb" value="0" size="2" /></label>
|
<label for="nb">Capacité à acheter pour {math equation="7000-x*1250" x=$planete->batiments[4]} {$LANG[$race].ressources.noms.hydrogene} : <input type="text" id="nb" name="anb" value="0" size="2" /></label>
|
||||||
<input type="submit" class="submit" value="GO" />
|
<input type="submit" class="submit" value="GO" />
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user