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,11 +1,11 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Evénements</h2>
|
||||
<em>Heure du serveur: {$datehb}</em>
|
||||
<em>Heure du serveur: {$smarty.now|date_format:"/%a %d %b %Y/%H%M %S"}</em>
|
||||
<h4>Version du serveur : <a href="./?p=version">{$version}</a></h4>
|
||||
{foreach from=$news item=new key=key}
|
||||
<h1><strong>{$new.titre}</strong> : {$new.contenu|escape|nl2br}</h1>
|
||||
{/foreach}
|
||||
<h2>Infos</h2>
|
||||
<h4><a href="{$menua.courrier}">Messagerie :</a> {$nbMail} message{if $nbMail > 1}s{/if} en attente</h4>
|
||||
<h4><a href="{$menu.courrier}">Messagerie :</a> {$nbMail} message{if $nbMail > 1}s{/if} en attente</h4>
|
||||
<h4><a href="./{$menu.pilori}">Pilori :</a> {$nbPilori} joueur{if $nbPilori > 1}s{/if} dans le pilori de la galaxie</h4>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -19,9 +19,9 @@
|
|||
<h2>{if $id == "add"}Ajouter{else}Modifier{/if} une information{if $id != "add"} : {$id}{/if}</h2>
|
||||
<form action="{$menu.bandeau}&i={$id}" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="texte">Texte :</label> <input type="text" name="texte" id="texte" value="{$mod.texte|escape}" size="40" maxlength="255" /><br /><br />
|
||||
<label for="color">Couleur :</label> <input type="text" name="color" id="color" value="{$mod.color|escape}" size="25" maxlength="255" /><br /><br />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
<label for="texte">Texte :</label> <input type="text" name="texte" id="texte" value="{$mod.texte|escape}" size="40" maxlength="255" tabindex="1" /><br /><br />
|
||||
<label for="color">Couleur :</label> <input type="text" name="color" id="color" value="{$mod.color|escape}" size="25" maxlength="255" tabindex="2" /><br /><br />
|
||||
<input type="submit" class="submit" value="GO" tabindex="3" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<h2>Gestion du cache</h2>
|
||||
|
|
|
|||
37
onyx2/tpl/admin/bdd.tpl
Normal file
37
onyx2/tpl/admin/bdd.tpl
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{include file='game/header.tpl'}
|
||||
{if $smarty.post.req || $smarty.get.req}
|
||||
<h2>Réponse de la base de données - <a href="#req">Aller à la requête</a></h2>
|
||||
<h3><strong>Requête :</strong> <em>{$smarty.post.req|escape}</em></h3>
|
||||
{if $affected}
|
||||
<h3><strong>Enregistrement(s) affecté(s) :</strong> {$affected}</h3>
|
||||
{/if}
|
||||
{if $erreur}
|
||||
<h3 style="color: #FF0000;"><strong>Erreur :</strong> <em>{$erreur}</em></h3>
|
||||
{/if}
|
||||
{if $reponses}
|
||||
<div id="gestion">
|
||||
<table style="empty-cells:show;">
|
||||
<tr>
|
||||
{foreach from=$reponses.0 key=key item=reponse}
|
||||
<th>{$key}</th>
|
||||
{/foreach}
|
||||
</tr>
|
||||
{foreach from=$reponses item=reponse}
|
||||
<tr>
|
||||
{foreach from=$reponse item=ligne}
|
||||
<td>{if $lien}<a href="?p=bdd&req={$lien}{$ligne}">{/if}{$ligne}</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
<h2>Administration de la base de données</h2>
|
||||
<form action="?p=bdd" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="req">Requête :</label><br /><textarea name="req" id="req" rows="5" cols="15" tabindex="2">{if $smarty.get.req}{$smarty.get.req}{/if}{$smarty.post.req|escape}</textarea><br />
|
||||
<input type="submit" class="submit" value="GO" tabindex="3" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -24,10 +24,10 @@
|
|||
<h2>{if $id == "add"}Ajouter{else}Modifier{/if} une page de démarrage{if $id != "add"} : {$id}{/if}</h2>
|
||||
<form action="{$menu.demarrage}&i={$id}" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="titre">Titre :</label> <input type="text" name="titre" id="titre" value="{$mod.titre}" /><br />
|
||||
<label for="contenu">Texte :</label><br /><textarea name="contenu" id="contenu" rows="10" cols="10">{$mod.contenu}</textarea><br />
|
||||
{if $mod.titre}<input type="checkbox" name="reset" id="reset" value="1" /><label for="reset"> Actualiser la date et l'heure d'écriture</label> <i>Les utilisateurs ayant déjà vu la page la revéront de nouveau.</i><br /><br /><br />{/if}
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
<label for="titre">Titre :</label> <input type="text" name="titre" id="titre" value="{$mod.titre}" tabindex="1" /><br />
|
||||
<label for="contenu">Texte :</label><br /><textarea name="contenu" id="contenu" rows="10" cols="10" tabindex="2">{$mod.contenu}</textarea><br />
|
||||
{if $mod.titre}<input type="checkbox" name="reset" id="reset" value="1" tabindex="3" /><label for="reset"> Actualiser la date et l'heure d'écriture</label> <i>Les utilisateurs ayant déjà vu la page la revéront de nouveau.</i><br /><br /><br />{/if}
|
||||
<input type="submit" class="submit" value="GO" tabindex="4" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -1,3 +1 @@
|
|||
{include file='game/header.tpl'}
|
||||
<div class="error"{if $couleur} style="color: {$couleur};"{/if}>{$message}</div>
|
||||
{include file='game/footer.tpl'}
|
||||
{include file='game/erreur.tpl'}
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
{include file='game/header.tpl'}
|
||||
<div class="corpsi">
|
||||
<form action="" method="post">
|
||||
<p><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="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" />
|
||||
<p><label for="pseudo">Pseudo :</label> <input class="text" name="HB_pseudo" id="pseudo" type="text" maxlength="16" value="{$smarty.post.HB_pseudo}" tabindex="1" />
|
||||
<br /><label for="mdp">Mot de passe :</label> <input class="text" name="HB_mdp" id="mdp" type="password" maxlength="32" tabindex="2" /> <em>Laisser vide pour en générer un mot de passe aléatoire</em>
|
||||
<br /><label for="conf">Confirmation :</label> <input class="text" name="HB_conf" id="conf" type="password" maxlength="32" tabindex="3" />
|
||||
<br /><label for="mail">Adresse électronique :</label> <input class="text" name="HB_mail" id="mail" type="text" value="{$smarty.post.HB_mail}" maxlength="64" tabindex="4" />
|
||||
<br /><br />Race :<br />
|
||||
</p>
|
||||
<table style="margin-left: auto; margin-right: auto; width: 75%;">
|
||||
|
|
@ -12,21 +12,21 @@
|
|||
<td>
|
||||
<label id="humain" for="humaini">
|
||||
<img src="images/humain.jpg" alt="Humain"/><br />
|
||||
<input type="radio" name="race" id="humaini" value="humain"{if $smarty.post.race == "humain"} selected="selected"{/if} /> Humain
|
||||
<input type="radio" name="race" id="humaini" value="humain"{if $smarty.post.race == "humain"} selected="selected"{/if} tabindex="4" /> Humain
|
||||
</label>
|
||||
</td>
|
||||
<td>
|
||||
<label id="covenant" for="covenanti">
|
||||
<img src="images/covenant.jpg" alt="Covenant"/><br />
|
||||
<input type="radio" name="race" id="covenanti" value="covenant"{if $smarty.post.race == "covenant"} selected="selected"{/if} /> Covenant
|
||||
<input type="radio" name="race" id="covenanti" value="covenant"{if $smarty.post.race == "covenant"} selected="selected"{/if} tabindex="5" /> Covenant
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>
|
||||
<br /><label for="servers">Galaxie :</label> <select name="servers" id="servers"><option value="1"> Alpha</option></select>
|
||||
<br /><label for="placement">Placement préférentiel :</label> <input class="text" name="HB_placement" id="placement" type="text" value="{$smarty.post.HB_placement}" />
|
||||
<br /><br /><input class="submit" value="OK" type="submit" />
|
||||
<br /><label for="servers">Galaxie :</label> <select name="servers" id="servers" tabindex="6"><option value="1"> Alpha</option></select>
|
||||
<br /><label for="placement">Placement préférentiel :</label> <input class="text" name="HB_placement" id="placement" type="text" tabindex="7" value="{$smarty.post.HB_placement}" />
|
||||
<br /><br /><input class="submit" value="OK" type="submit" tabindex="8" />
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
10
onyx2/tpl/admin/mail_mass.tpl
Normal file
10
onyx2/tpl/admin/mail_mass.tpl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Envoyer un courriel en masse à tous les joueurs de la galaxie</h2>
|
||||
<form action="?p=mail_mass" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="sujet">Sujet :</label> <input type="text" name="sujet" id="sujet" tabindex="1" /><br /><br />
|
||||
<label for="message">Contenu du mail :</label><br /><textarea name="message" id="message" rows="10" cols="15" tabindex="2"></textarea><br />
|
||||
<input type="submit" class="submit" value="GO" tabindex="3" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
32
onyx2/tpl/admin/menu.tpl
Normal file
32
onyx2/tpl/admin/menu.tpl
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
<ul>
|
||||
<li><a href="{$menu.accueil}"{if $pagea == "accueil"} class="hilight"{/if}>Accueil</a></li>
|
||||
<li><a href="{$menu.courrier}"{if $pagea == "mail"} class="hilight"{/if}>Courrier</a></li>
|
||||
<li><a href="{$menu.webmail}" class="external">Webmail</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="{$menu.vip}"{if $pagea == "vip"} class="hilight"{/if}>Vérifier IP</a></li>
|
||||
<li><a href="{$menu.vflottes}"{if $pagea == "vflotte"} class="hilight"{/if}>Vérifier flottes</a></li>
|
||||
<li><a href="{$menu.vplanetes}"{if $pagea == "print_choixP"} class="hilight"{/if}>Vérifier planètes</a></li>
|
||||
<li><a href="{$menu.vjoueurs}"{if $pagea == "vjoueurs"} class="hilight"{/if}>Vérifier joueurs</a></li>
|
||||
<li><a href="{$menu.vrapports}"{if $pagea == "vrapports"} class="hilight"{/if}>Afficher rapports</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="?p=snalliances"{if $pagea == "snalliances"} class="hilight"{/if}>Voir les futurs alliances</a></li>
|
||||
<li><a href="{$menu.valliances}"{if $pagea == "valliances"} class="hilight"{/if}>Vérifier alliances</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="{$menu.sjoueurs}"{if $pagea == "sanctionU_choix"} class="hilight"{/if}>Sanctions joueur</a></li>
|
||||
<li><a href="{$menu.cjoueurs}"{if $pagea == "controle"} class="hilight"{/if}>Prendre le contrôle</a></li>
|
||||
<li><a href="{$menu.djoueurs}"{if $pagea == "sjoueurs"} class="hilight"{/if}>Supprimer joueurs</a></li>
|
||||
<li><a href="{$menu.inscription}"{if $pagea == "inscription"} class="hilight"{/if}>Créer lien d'inscription</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="{$menu.bandeau}"{if $pagea == "bandeau"} class="hilight"{/if}>Bandeau d'informations</a></li>
|
||||
<li><a href="{$menu.demarrage}"{if $pagea == "demarrage"} class="hilight"{/if}>Message démarrage</a></li>
|
||||
<li><a href="{$menu.versions}"{if $pagea == "version"} class="hilight"{/if}>Versions</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="./arbre.php">Arbre des technologies</a></li>
|
||||
<li><a href="./integrite.php">Vérifier l'intégrité</a></li>
|
||||
<li><a href="./lectlog.php">Lecteur de logs</a></li>
|
||||
</ul>
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
{foreach from=$tableau item=ligne key=key}
|
||||
<tr>
|
||||
<td><a href="?p={$linkpage}&id={$idPlan}&key={$key}">{$key}</a></td>
|
||||
<td>{$ligne|truncate:82}</td>
|
||||
<td>{if $ligne > 0 && (ereg("^time", $key) || $key == "last_visite" || $key == "politique_lastchange")}{$ligne|date_format:"timestamp : %d/%m/%y %H:%M:%S"}{else}{$ligne|truncate:82}{/if}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -4,24 +4,35 @@
|
|||
<tr>
|
||||
<td>
|
||||
<form action="admin.php" method="get">
|
||||
<p>
|
||||
ID de la planète : <input type="text" value="" name="id" />
|
||||
<input type="hidden" value="{$linkpage}" name="p" />
|
||||
<fieldset class="options" style="margin: 0;">
|
||||
<label for="idplan">ID de la planète :</label> <input type="text" value="" id="idplan" name="id" tabindex="1" /><br />
|
||||
<input type="hidden" value="{$linkpage}" name="p" /><br />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form action="admin.php" method="get">
|
||||
<p>
|
||||
Amas : <input type="text" name="amas" />
|
||||
Système : <input type="text" name="ss" />
|
||||
Position : <input type="text" name="pos" />
|
||||
<input type="hidden" value="{$linkpage}" name="p" />
|
||||
<fieldset class="options" style="margin: 0;">
|
||||
<label for="amas">Amas :</label> <input type="text" id="amas" name="amas" maxlength="2" tabindex="2" /><br /><br />
|
||||
<label for="ss">Système :</label> <input type="text" id="ss" name="ss" maxlength="3" tabindex="3" /><br /><br />
|
||||
<label for="pos">Position :</label> <input type="text" id="pos" name="pos" maxlength="2" tabindex="4" /><br /><br />
|
||||
<input type="hidden" value="{$linkpage}" name="p" /><br />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form action="admin.php" method="get">
|
||||
<fieldset class="options" style="margin: 0;">
|
||||
<label for="format">Affichage ([a:s:p]) :</label> <input type="text" id="format" name="format" maxlength="10" tabindex="5" /><br />
|
||||
<input type="hidden" value="{$linkpage}" name="p" /><br />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -4,22 +4,22 @@
|
|||
<tr>
|
||||
<td>
|
||||
<form action="admin.php" method="get">
|
||||
<p>
|
||||
ID : <input type="text" value="" name="id" />
|
||||
<input type="hidden" value="{$linkpage}" name="p" />
|
||||
<fieldset class="options" style="margin: 0;">
|
||||
<label for="iduser">ID :</label> <input type="text" value="" id="iduser" name="id" tabindex="1" /><br />
|
||||
<input type="hidden" value="{$linkpage}" name="p" /><br />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form action="admin.php" method="get">
|
||||
<p>
|
||||
Nom : <input type="text" name="name" />
|
||||
<input type="hidden" value="{$linkpage}" name="p" />
|
||||
<fieldset class="options" style="margin: 0;">
|
||||
<label for="nameU">Nom :</label> <input type="text" id="nameU" name="name" tabindex="2" /><br />
|
||||
<input type="hidden" value="{$linkpage}" name="p" /><br />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -6,10 +6,10 @@
|
|||
<tr>
|
||||
<td>
|
||||
<form action="?p={$linkpage}&id={$idPlan}&" method="post">
|
||||
{if $type.0 == 'text' || $type.0 == 'longtext'}<textarea cols="10" rows="10" name="mod">{$tableau.$key}</textarea><br />
|
||||
{else}<input type="text" value="{$tableau.$key}" name="mod" />{/if}
|
||||
{if $type.0 == 'text' || $type.0 == 'longtext'}<textarea cols="10" rows="10" name="mod" tabindex="1">{$tableau.$key}</textarea><br />
|
||||
{else}<input type="text" value="{$tableau.$key}" name="mod" tabindex="1" />{/if}
|
||||
<input type="hidden" value="{$key}" name="key" />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
<input type="submit" class="submit" value="GO" tabindex="2" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{include file='game/header.tpl'}
|
||||
{foreach from=$tableau item=ligne key=key}
|
||||
<dl>
|
||||
<dt><input class="button2" type="button" onclick="hide(this); return false;" />{$ligne.sujet} de {$ligne.destinataire} à {$ligne.temps|date_format:"%d/%m/%y %H:%M:%S"}</dt><dd>{$ligne.contenu}</dd>
|
||||
<dt><input class="button2" type="button" onclick="hide(this); return false;" name="{$key}" />{$ligne.sujet} de {$ligne.destinataire} à {$ligne.temps|date_format:"%d/%m/%y %H:%M:%S"}</dt><dd>{$ligne.contenu}</dd>
|
||||
</dl>
|
||||
{/foreach}
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -4,19 +4,19 @@
|
|||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
Temps de vacances forcées : <input type="text" value="" name="sanc" /> jours ("d" pour définitif, -3 pour réactiver le compte tout de suite)<br />
|
||||
Raison : <input type="text" maxlength="255" name="raisonmv" />
|
||||
<label for="temps">Temps de vacances forcées :</label> <input type="text" value="" id="temps" name="sanc" tabindex="1" /> jours<br />("d" pour définitif, -3 pour réactiver le compte tout de suite)<br /><br />
|
||||
<label for="raison">Raison :</label> <input type="text" id="raison" maxlength="255" name="raisonmv" tabindex="2" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
ID : <input type="text" value="" name="id" />
|
||||
<label for="idUser">ID :</label> <input type="text" value="" id="idUser" name="id" tabindex="3" />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Nom : <input type="text" name="name" />
|
||||
<label for="nomUser">Nom :</label> <input type="text" id="nomUser" name="name" tabindex="4" />
|
||||
<input type="hidden" value="{$linkpage}" name="p" />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
<h2>{if $id == "add"}Ajouter{else}Modifier{/if} une version{if $id != "add"} : {$id}{/if}</h2>
|
||||
<form action="{$menu.versions}&i={$id}" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="version">Version :</label> <input type="text" name="version" id="version" value="{$mod.version}" /><br />
|
||||
<label for="contenu">Contenu :</label><br /><textarea cols="10" rows="10" name="contenu" id="contenu">{$mod.contenu}</textarea><br />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
<label for="version">Version :</label> <input type="text" name="version" id="version" value="{$mod.version}" tabindex="1" /><br />
|
||||
<label for="contenu">Contenu :</label><br /><textarea cols="10" rows="10" name="contenu" id="contenu" tabindex="2">{$mod.contenu}</textarea><br />
|
||||
<input type="submit" class="submit" value="GO" tabindex="3" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<h2>Liste des versions</h2>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Vérification des IP</h2>
|
||||
<a href="?p=vip&v={$numpage-1}"><<<</a> page {$numpage}/{$nbpage} <a href="?p=vip&v={$numpage+1}">>>></a>
|
||||
<a href="{$menu.vip}&v={$numpage-1}"><<<</a> page {$numpage}/{$nbpage} <a href="{$menu.vip}&v={$numpage+1}">>>></a>
|
||||
<table style="text-align: center; margin: auto;">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -14,14 +14,14 @@
|
|||
<tbody>
|
||||
{foreach from=$ips item=ip}
|
||||
<tr{if $ip.6} style="background-color: #{$ip.6};"{/if}>
|
||||
<td><a href="?p=vip&ip={$ip.0}">{$ip.0}</a></td>
|
||||
<td><a href="?p=vip&util={$ip.2}">{$ip.3} ({$ip.2})</a></td>
|
||||
<td><a href="{$menu.vip}&ip={$ip.0}">{$ip.0}</a></td>
|
||||
<td><a href="{$menu.vip}&util={$ip.2}">{$ip.3} ({$ip.2})</a></td>
|
||||
<td>{$ip.4|date_format:"%d/%m/%y %H:%M:%S"}</td>
|
||||
<td>{$ip.1}</td>
|
||||
<td><a href="?p=vip&util={$ip.2}&act=multiok">Déclaré</a><br /><a href="{$menua.sjoueurs}&id={$ip.2}&sanc=d&raisonmv=Multi-compte">Définitivement</a></td>
|
||||
<td><a href="{$menu.vip}&util={$ip.2}&act=multiok">Déclaré</a><br /><a href="{$menu.sjoueurs}&id={$ip.2}&sanc=d&raisonmv=Multi-compte">Définitivement</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<a href="?p=vip&v={$numpage-1}"><<<</a> page {$numpage}/{$nbpage} <a href="?p=vip&v={$numpage+1}">>>></a>
|
||||
<a href="{$menu.vip}&v={$numpage-1}"><<<</a> page {$numpage}/{$nbpage} <a href="{$menu.vip}&v={$numpage+1}">>>></a>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -1,4 +1 @@
|
|||
{include file='game/header.tpl'}
|
||||
<div class="error">... veuillez patienter ...</div>
|
||||
{$contenu}
|
||||
{include file='game/footer.tpl'}
|
||||
{include file='game/vp.tpl'}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Aide de Halo-Battle :: Sommaire</h2>
|
||||
<h3><a href="{$menu.faq}&q=1">Avertissements</a></h3>
|
||||
<h3><a href="{$menu.faq}&q=2">Configuration nécessaire & démarrage du jeu</a></h3>
|
||||
<h3><a href="{$menu.faq}&q=2">Configuration nécessaire & démarrage du jeu</a></h3>
|
||||
<h3><a href="{$menu.faq}&q=3">Introduction</a></h3>
|
||||
<h3><a href="{$menu.faq}&q=4">Comment jouer ?</a></h3>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -6,8 +6,8 @@
|
|||
<meta http-equiv="Content-Language" content="fr" />
|
||||
|
||||
<title> ::Halo-Battle:: - {$titre}</title>
|
||||
<link rel="stylesheet" href="templates/cms/default.css" type="text/css" media="all" />
|
||||
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
|
||||
<link rel="stylesheet" href="{$url_images}templates/cms/default.css" type="text/css" media="all" />
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{$url_images}favicon.ico" />
|
||||
<script src="{$url_images}js/game.js" type="text/javascript"></script>
|
||||
</head>
|
||||
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
<div id="cornertop"></div>
|
||||
<div id="all">
|
||||
<div id="header">
|
||||
<div id="header_link"><span id="date">{$date}</span> | <a href="{$link.lastNews}">{$lastNews}</a> | <a href="{$link.lastTopic}">{$lastTopic}</a> | <a href="{$link.lastUser}">{$lastUser}</a> | <a href="{$link.lastDownload}">{$lastDownload}</a> | <a href="{$link.lastLink}">{$lastLink}</a></div><a href="{$link.RSS}" id="rss">{$LANG.hd_menu_rss}</a>
|
||||
<div id="header_link"><span id="date">{$smarty.now|date_format:"%A %e %B %Y %H:%M"}</span> | <a href="{$link.lastNews}">{$lastNews}</a> | <a href="{$link.lastTopic}">{$lastTopic}</a> | <a href="{$link.lastUser}">{$lastUser}</a> | <a href="{$link.lastDownload}">{$lastDownload}</a> | <a href="{$link.lastLink}">{$lastLink}</a></div><a href="{$link.RSS}" id="rss">{$LANG.hd_menu_rss}</a>
|
||||
<a href="{$link.self}" id="img"><span></span>Halo Battle</a>
|
||||
<div id="buttons"><div><a href="{$link.accueil}">{$LANG.hd_menu_Accueil}</a></div> <div><a href="{$link.jeu}">{$LANG.hd_menu_Jeu}</a></div> <div><a href="{$link.inscription}">{$LANG.hd_menu_Inscrire}</a></div> <div><a href="{$link.forum}">{$LANG.hd_menu_Forum}</a></div> <div><a href="{$link.blog}">{$LANG.hd_menu_Blog}</a></div> <div><a href="http://www.halo.fr/">{$LANG.hd_menu_Hfr}</a></div></div>
|
||||
<form action="#" method="post"><fieldset id="recherche"><input class="text" type="text" name="recherche" value="{$LANG.hd_menu_search}" maxlength="128" tabindex="10" onfocus="this.value = this.value!='{$LANG.hd_menu_search}'?this.value:''" onblur="this.value=this.value==''?'{$LANG.hd_menu_search}':this.value" /><input value="OK" class="submit" type="submit" tabindex="11" /><br /><a href="#" tabindex="12">{$LANG.hd_menu_advSearch}</a></fieldset></form>
|
||||
|
|
@ -25,4 +25,4 @@
|
|||
<div class="bannerleft"{if $info.color} style="color: {$info.color};"{/if}>{$info.texte}</div>
|
||||
{/foreach}
|
||||
<span id="bannerright">{$LANG.cntRaces|sprintf:$header.count.1:$header.count.0}</span></div>
|
||||
<div id="corps">
|
||||
<div id="corps">
|
||||
|
|
@ -10,12 +10,7 @@
|
|||
<input type="submit" class="submit" value="GO" tabindex="3" />
|
||||
</span>
|
||||
<span>
|
||||
<label for="galaxie">{$LANG.mod_login_galaxie}:</label>
|
||||
<select name="galaxie" id="galaxie">
|
||||
<optgroup label="Galaxies standards">
|
||||
<option> Alpha</option>
|
||||
</optgroup>
|
||||
</select>
|
||||
<label for="galaxie">{$LANG.mod_login_galaxie}:</label> {$serveur_name}
|
||||
<a href="{$link.oubliemdp}" tabindex="4">{$LANG.mod_login_forgotMdp}</a>
|
||||
</span>
|
||||
</fieldset>
|
||||
|
|
@ -25,6 +20,6 @@
|
|||
|
||||
<div id="inscription" class="block">{$LANG.mod_inscription_texte|sprintf:$link.inscription:$link.inscription:$link.inscription}</div>
|
||||
<div id="dernierminute" class="block">
|
||||
<a href="http://www.halo.fr/" onclick="window.open(this.href); return false;"><img src="images/hfr.jpg" alt="Halo.fr" /></a>
|
||||
<a href="http://www.halo.fr/" onclick="window.open(this.href); return false;"><img src="{$url_images}images/hfr.jpg" alt="Halo.fr" /></a>
|
||||
</div>
|
||||
{include file='cms/footer.tpl'}
|
||||
{include file='cms/footer.tpl'}
|
||||
|
|
@ -1,20 +1,22 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Événements</h2>
|
||||
{if $multi}<strong style="color: #FF0000;"><a href="?p=avertmulti">Multicompte :</a> évitez toute interaction avec {foreach from=$multi item=cmpt key=key}{if $cmpt.id_util != $planete->id_user}{if $key > 0}, {/if}{$cmpt.pseudo}{/if}{/foreach} durant cette session.</strong><br />{/if}
|
||||
{if $planete->mv < 0}<strong style="color: #FF0000;">Une demande de suppression de votre compte est en cours. Il sera supprimé sous 48h.<br />Si vous n'avez pas demandé la suppression de votre compte, <a href="{$link.operateur}">contactez un opérateur</a> au plus vite.</strong>{/if}
|
||||
<em>Heure du serveur: {$datehb}</em>
|
||||
{if $planete->mv < 0}<strong style="color: #FF0000;">Une demande de suppression de votre compte est en cours. Il sera supprimé sous 48h.<br />Si vous n'avez pas demandé la suppression de votre compte, <a href="{$link.operateur}">contactez un opérateur</a> au plus vite.</strong><br />{/if}
|
||||
<em>Heure du serveur : {$smarty.now|date_format:"/%a %d %b %Y/%H%M %S"}</em>
|
||||
{foreach from=$radar item=flottes key=key}
|
||||
{foreach from=$flottes.0 item=flotte key=key}
|
||||
{if $flotte.mission == 1}<h4 class="attaque">attaque: Une flotte ennemie en provenance de {$flotte.nom_planete|escape} [{$flotte.start_galaxie}:{$flotte.start_ss}:{$flotte.start_position}] atteint la planète {$flottes.1.0|escape} [{$flottes.1.1}:{$flottes.1.2}:{$flottes.1.3}] dans <span id="reste{$key}">{$flotte.arrive_time}</span><script type="text/javascript">reste({$flotte.arrive_time},'reste{$key}', true);</script></h4>
|
||||
{elseif $flotte.mission == 2}<h4 class="attaque">transport: Une flotte en provenance de {$flotte.nom_planete|escape} [{$flotte.start_galaxie}:{$flotte.start_ss}:{$flotte.start_position}] atteint la planète {$flottes.1.0|escape} [{$flottes.1.1}:{$flottes.1.2}:{$flottes.1.3}] dans <span id="reste{$key}">{$flotte.arrive_time}</span><script type="text/javascript">reste({$flotte.arrive_time},'reste{$key}', true);</script></h4>
|
||||
{elseif $flotte.mission == 6 || $flotte.mission == 7}<h4 class="attaque">stationnement/don: Une flotte en provenance de {$flotte.nom_planete|escape} [{$flotte.start_galaxie}:{$flotte.start_ss}:{$flotte.start_position}] atteint la planète {$flottes.1.0|escape} [{$flottes.1.1}:{$flottes.1.2}:{$flottes.1.3}] dans <span id="reste{$key}">{$flotte.arrive_time}</span><script type="text/javascript">reste({$flotte.arrive_time},'reste{$key}', true);</script></h4>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
{if $alertMail >= 2}<h4>messagerie: <a href="?p=messagerie">{$alertMail} messages non lu</a></h4>
|
||||
{elseif $alertMail >= 1}<h4>messagerie: <a href="?p=messagerie">{$alertMail} message non lu</a></h4>
|
||||
{if $alertMail.0 + $alertMail.1 >= 1}<h4>messagerie: {if $alertMail.0}<a href="?p=messagerie">{$alertMail.0} message{if $alertMail.0 > 1}s{/if}{/if}{if $alertMail.0 != 0 && $alertMail.1 != 0}</a> et {else} non lu</a>{/if}{if $alertMail.1}<a href="?p=messagerie&n=rapports">{$alertMail.1} rapport{if $alertMail.1 > 1}s{/if} non lu</a>{/if}</h4>
|
||||
{/if}
|
||||
<h3><a href="?p=rename">{if !$planete->nom_planete}Sans nom{/if}{$planete->nom_planete|escape}</a> (<span>{$planete->pseudo}</span>)</h3>
|
||||
<img src="{$url_images}images/planetes/{$planete->image}.jpg" width="200" height="200" alt="Planète" />
|
||||
{if SURFACE == "planete"}<img src="{$url_images}images/planetes/{$planete->image}.jpg" width="200" height="200" alt="Planète" />
|
||||
{else}<img src="{$url_images}images/asteroides/{$planete->image}.jpg" width="200" height="200" alt="Astéroïde" />
|
||||
{/if}
|
||||
<h2>Infos</h2>
|
||||
{if SURFACE == "planete"}<h4>Diamètre: {$diametre|separerNombres} km <ins>({$planete->casesRest} case{if $planete->casesRest > 1}s{/if} disponible{if $planete->casesRest > 1}s{/if} sur {$planete->cases})</ins></h4>{/if}
|
||||
<h4>Race : {$planete->race}</h4>
|
||||
|
|
@ -22,6 +24,10 @@
|
|||
{if SURFACE == "planete"}
|
||||
<h4>population: {$planete->population|separerNombres}</h4>
|
||||
<h4>crédits: {$planete->credits|separerNombres}</h4>
|
||||
{else}
|
||||
<h4>nombre de membres: {123456789|separerNombres}</h4>
|
||||
<h4>fondateur: {$planete->fondateur->pseudo}</h4>
|
||||
<h4>crédits: {$planete->credits_alliance|separerNombres}</h4>
|
||||
{/if}
|
||||
<h4>Classement: <a href="?p=classement&j={$planete->id}&c={$planete->place_points}#moi">{if $planete->place_points == '0'}non classé{else}{$planete->place_points}{if $planete->place_points == '1'}er{else}ème{/if}{/if} ({$points|separerNombres} points)</a></h4>
|
||||
{if $alliance}<h4>Alliance: <a href="?p=alliances">[{$alliance.tag|upper}] {$alliance.nom}</a></h4>{/if}
|
||||
|
|
@ -29,8 +35,8 @@
|
|||
<h2>En cours sur la planète</h2>
|
||||
{if $fileBat}
|
||||
<h4>
|
||||
{foreach from=$fileBat item=element}
|
||||
{if $i == true} - {else}{assign var='i' value=true}<a href="{$menu.batiments}">Bâtiments</a> : {/if}{$LANG.$race.batiments.noms_sing[$element.0]}{if $element.1} (démolition){/if}
|
||||
{foreach from=$fileBat key=key item=element}
|
||||
{if $key < 3}{if $i == true} - {else}{assign var='i' value=true}<a href="{$menu.batiments}">Bâtiments</a> : {/if}{$LANG.$race.batiments.noms_sing[$element.0]}{if $element.1} (démolition){/if}{elseif $key == 3}...{/if}
|
||||
{/foreach}
|
||||
</h4>
|
||||
{/if}
|
||||
|
|
@ -62,5 +68,8 @@
|
|||
{/foreach}
|
||||
</h4>
|
||||
{/if}
|
||||
{else}
|
||||
<h2>Infos de l'alliance</h2>
|
||||
{$planete->details.texte_interne}
|
||||
{/if}
|
||||
{include file='game/footer.tpl'}
|
||||
27
onyx2/tpl/game/alliance/chat_ajax.tpl
Normal file
27
onyx2/tpl/game/alliance/chat_ajax.tpl
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Chat</h2>
|
||||
<noscript><div id="erreur" style="color: red;">Vous devez activer le JavaScript pour pouvoir utiliser le chat !</div></noscript>
|
||||
{if $planete->permissions_alliance &256}
|
||||
<form method="post" action="{$menu.chat_alli}" onsubmit="return chat_sendMessage();">
|
||||
<label for="msg">Réponse :</label> <input name="msg" id="msg" type="text" size="50" maxlength="250" /> <input value="GO" class="submit" type="submit" /> <input value="MAJ" onclick="chat_MAJ();" class="submit" type="button" />
|
||||
</form>
|
||||
<br />
|
||||
{/if}
|
||||
<div style="height: 550px; overflow: auto; width: 99%;">
|
||||
<table style="width: 100%; margin: 0px;">
|
||||
<tbody id="chat">
|
||||
<tr>
|
||||
<td colspan="2">Vous vous connectez au chat</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 172px;">[pseudo] heure</td>
|
||||
<th style="width: 536px;">Message</td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
<script type="text/javascript" src="js/prototype.js"></script>
|
||||
<script type="text/javascript" src="js/chat.js"></script>
|
||||
{include file='game/footer.tpl'}
|
||||
48
onyx2/tpl/game/alliance/chat_irc.tpl
Normal file
48
onyx2/tpl/game/alliance/chat_irc.tpl
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Chat</h2>
|
||||
<applet name="coolsmile" code="EIRC.class" style="height: 450px; width: 98%;">
|
||||
<param name="archive" value="java/EIRC.jar,java/EIRC-cfg.jar">
|
||||
<param name="cabbase" value="java/EIRC.cab,java/EIRC-cfg.cab">
|
||||
<param name="server" value="{$planete->url_chat}">
|
||||
<param name="port" value="{$planete->details.port_chat}">
|
||||
<param name="irc_pass" value="{$planete->details.pass_chat}">
|
||||
|
||||
<param name="font_name" value="Helvetica">
|
||||
<param name="font_size" value="11">
|
||||
<param name="language" value="">
|
||||
<param name="mainbg" value="{if $race == "humain"}#2E3122{else}#2E293D{/if}">
|
||||
<param name="mainfg" value="{if $race == "humain"}#999966{else}#6993A7{/if}">
|
||||
<param name="textbg" value="#FFFFFF">
|
||||
<param name="textfg" value="#000000">
|
||||
<param name="selbg" value="#F0F0FF">
|
||||
<param name="selfg" value="#000000">
|
||||
|
||||
<param name="join" value="{if !ereg("#", $planete->details.chan_chat)}#{/if}{$planete->details.chan_chat}">
|
||||
<param name="username" value="Appletweb">
|
||||
<param name="realname" value="">
|
||||
<param name="nickname" value="{$planete->pseudo}">
|
||||
<param name="nicksrv_pass" value="">
|
||||
<param name="login" value="1">
|
||||
<param name="asl" value="1">
|
||||
<param name="spawn_frame" value="0">
|
||||
<param name="gui_nick" value="1">
|
||||
|
||||
<param name="gui_away" value="1">
|
||||
<param name="gui_chanlist" value="1">
|
||||
<param name="gui_userlist" value="1">
|
||||
<param name="gui_options" value="1">
|
||||
<param name="gui_help" value="1">
|
||||
<param name="gui_connect" value="1">
|
||||
<param name="width" value="700">
|
||||
<param name="height" value="500">
|
||||
<param name="write_color" value="12">
|
||||
|
||||
<param name="debug_traffic" value="0">
|
||||
<param name="boxmessage" value="Patientez quelques instants svp ...">
|
||||
<param name="boxbgcolor" value="blue">
|
||||
<param name="boxfgcolor" value="black">
|
||||
<param name="progressbar" value="true">
|
||||
<param name="progresscolor" value="red">
|
||||
</applet>
|
||||
<br /><br />Vous pouvez aussi utiliser votre propre client IRC : <a href="irc:{$planete->url_chat}:{$planete->details.port_chat}{if !ereg("#", $planete->details.chan_chat)}#{/if}{$planete->details.chan_chat}">irc:{$planete->url_chat}:{$planete->details.port_chat}{if !ereg("#", $planete->details.chan_chat)}#{/if}{$planete->details.chan_chat}</a><br />
|
||||
{include file='game/footer.tpl'}
|
||||
62
onyx2/tpl/game/alliance/gestion_alliance.tpl
Normal file
62
onyx2/tpl/game/alliance/gestion_alliance.tpl
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
{include file='game/header.tpl'}
|
||||
{include file='game/alliance/gestion_common.tpl'}
|
||||
<h2>Designation de l'alliance</h2><br />
|
||||
<label>Nom de l'alliance :</label> {$planete->nom_alliance}<br />
|
||||
<label>Tag de l'alliance :</label> {$planete->tag}<br />
|
||||
<label>Race de l'alliance :</label> {$planete->race}<br /><br />
|
||||
<em>Pour changer le tag ou le nom de votre alliance, veuillez contacter un opérateur.</em><br /><br /><br />
|
||||
<form method="post" action="{$menu.gestion}&g=alliance">
|
||||
<fieldset class="options">
|
||||
<label for="asteroide_name">Nom de l'astéroïde : <input type="text" class="text" name="asteroide_name" id="asteroide_name" value="{$planete->nom_asteroide}" maxlength="32" /></label><br /><br />
|
||||
<input type="submit" class="submit" value="Go" /><br /><br />
|
||||
</fieldset>
|
||||
</form>
|
||||
<h2>Communication et défense de l'alliance</h2><br />
|
||||
<form method="post" action="{$menu.gestion}&g=alliance">
|
||||
<fieldset class="options">
|
||||
<label for="texte_interne">Message interne :<br /><textarea name="texte_interne" id="texte_interne">{$planete->details.texte_interne|escape}</textarea></label><br /><br />
|
||||
<label for="defcon">Defcon : <select name="defcon" id="defcon"><option value="1"{if $planete->details.defcon == 1} selected="selected"{/if}>Niveau 1</option><option value="2"{if $planete->details.defcon == 2} selected="selected"{/if}>Niveau 2</option><option value="3"{if $planete->details.defcon == 3} selected="selected"{/if}>Niveau 3</option><option value="4"{if $planete->details.defcon == 4} selected="selected"{/if}>Niveau 4</option><option value="5"{if $planete->details.defcon == 5} selected="selected"{/if}>Niveau 5</option></select></label><br />
|
||||
<label for="defcon_txt"><textarea name="defcon_txt" id="defcon_txt">{$planete->details.defcon_txt|escape}</textarea></label><br /><br />
|
||||
<input type="submit" class="submit" value="Go" /><br /><br />
|
||||
</fieldset>
|
||||
</form>
|
||||
<h2>Paramètres des moyens de communication</h2><br />
|
||||
<form method="post" action="{$menu.gestion}&g=alliance">
|
||||
<fieldset class="options">
|
||||
<label for="url_forum">URL du forum de l'alliance : <input name="url_forum" id="url_forum" maxlength="64" class="text" type="text" value="{$planete->url_forum}" /></label><br />
|
||||
<br />
|
||||
<label for="url_chat">Adresse sur serveur IRC de l'alliance : <input name="url_chat" id="url_chat" maxlength="64" class="text" type="text" value="{$planete->url_chat}" /></label><br />
|
||||
<label for="port_chat">Port du serveur IRC : <input name="port_chat" id="port_chat" maxlength="64" class="text" type="text" value="{$planete->details.port_chat}" /></label><br />
|
||||
<label for="pass_chat">Mot de passe du serveur sur le serveur : <input name="pass_chat" id="pass_chat" maxlength="64" class="text" type="password" value="{$planete->details.pass_chat}" /></label><br />
|
||||
<label for="chan_chat">Channel de l'alliance sur le serveur : <input name="chan_chat" id="chan_chat" maxlength="64" class="text" type="text" value="{$planete->details.chan_chat}" /></label><br />
|
||||
<em>Laissez l'adresse du serveur IRC vide pour utiliser le chat par défaut du jeu.</em><br /><br /><br />
|
||||
<input type="submit" class="submit" value="Go" /><br /><br />
|
||||
</fieldset>
|
||||
</form>
|
||||
<h2>Réglages des inscriptions</h2><br />
|
||||
<form method="post" action="{$menu.gestion}&g=alliance">
|
||||
<fieldset class="options">
|
||||
<label for="etatinscriptions"><input type="checkbox" name="etatinscriptions" id="etatinscriptions" {if $planete->details.etat_inscription} checked="checked"{/if} /> Ouvrir les inscriptions</label><br /><br />
|
||||
<label for="message_inscription">Message affiché pour les inscriptions (activées ou désactivées) :<br /><textarea name="message_inscription" id="message_inscription">{$planete->details.message_inscription|escape}</textarea></label><br /><br />
|
||||
<br />
|
||||
<label for="presentation">Texte de présentation de l'alliance :<br /><textarea name="presentation" id="presentation">{$planete->details.presentation|escape}</textarea></label><br /><br />
|
||||
<br />
|
||||
<input type="submit" class="submit" value="Go" /><br /><br />
|
||||
</fieldset>
|
||||
</form>
|
||||
{if $planete->fondateur == $planete->id_user}
|
||||
<h2>Changer de fondateur</h2><br />
|
||||
<form method="post" action="{$menu.gestion}&g=alliance">
|
||||
<fieldset class="options">
|
||||
Vous êtres actuellement le fondateur de l'alliance.<br /><br />
|
||||
<label for="newfondateur">Nouveau fondateur :</label> <select id="newfondateur" name="newfondateur">
|
||||
{foreach from=$membres item=membre}
|
||||
<option value="{$membre.id}">{$membre.pseudo}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<br />
|
||||
<input type="submit" class="submit" value="Go" /><br /><br />
|
||||
</fieldset>
|
||||
</form>
|
||||
{/if}
|
||||
{include file='game/footer.tpl'}
|
||||
6
onyx2/tpl/game/alliance/gestion_common.tpl
Normal file
6
onyx2/tpl/game/alliance/gestion_common.tpl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<ul class="onglets">
|
||||
{if $planete->permissions_alliance & 32}<li><a href="{$menu.gestion}&g=membres"{if $onglet == "membres"} class="hilight"{/if}>Membres</a></li>{/if}
|
||||
{if $planete->permissions_alliance & 128}<li><a href="{$menu.gestion}&g=grades"{if $onglet == "grades"} class="hilight"{/if}>Grades</a></li>{/if}
|
||||
{if $planete->permissions_alliance & 64}<li><a href="{$menu.gestion}&g=wings"{if $onglet == "wings" || ($onglet == "alliance" && $planete->wing)} class="hilight"{/if}>Wings</a></li>{/if}
|
||||
{if $planete->permissions_alliance & 128 && !$planete->wing}<li><a href="{$menu.gestion}&g=alliance"{if $onglet == "alliance"} class="hilight"{/if}>Alliance</a></li>{/if}
|
||||
</ul>
|
||||
8
onyx2/tpl/game/alliance/gestion_first.tpl
Normal file
8
onyx2/tpl/game/alliance/gestion_first.tpl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Gestion de l'alliance</h2>
|
||||
<h4><a href="{$menu.gestion}&g=membres">Gérer les membres et postulants</a></h4>
|
||||
<h4><a href="{$menu.gestion}&g=grades">Gérer les grades</a></h4>
|
||||
<h4><a href="{$menu.gestion}&g=wings">Gérer des wings</a></h4>
|
||||
<br />
|
||||
<h4><a href="{$menu.gestion}&g=alliance">Gérer l'alliance</a></h4>
|
||||
{include file='game/footer.tpl'}
|
||||
57
onyx2/tpl/game/alliance/gestion_grades.tpl
Normal file
57
onyx2/tpl/game/alliance/gestion_grades.tpl
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{include file='game/header.tpl'}
|
||||
{include file='game/alliance/gestion_common.tpl'}
|
||||
<h2>Gestion des grades existants</h2>
|
||||
<table>
|
||||
<tbody>
|
||||
{foreach from=$grades item=grade}
|
||||
<tr>
|
||||
<td><a href="{$menu.gestion}&g=grades&i={$grade.id}">{$grade.nom|escape}</a></td>
|
||||
<td>{if $grade.auth & 1}Oui{else}Non{/if}</td>
|
||||
<td>{if $grade.auth & 2}Oui{else}Non{/if}</td>
|
||||
<td>{if $grade.auth & 4}Oui{else}Non{/if}</td>
|
||||
<td>{if $grade.auth & 8}Oui{else}Non{/if}</td>
|
||||
<td>{if $grade.auth & 16}Oui{else}Non{/if}</td>
|
||||
<td>{if $grade.auth & 32}Oui{else}Non{/if}</td>
|
||||
<td>{if $grade.auth & 64}Oui{else}Non{/if}</td>
|
||||
<td>{if $grade.auth & 128}Oui{else}Non{/if}</td>
|
||||
<td>{if $grade.auth & 256}Oui{else}Non{/if}</td>
|
||||
<td>{if $grade.auth & 512}Oui{else}Non{/if}</td>
|
||||
<td><a href="{$menu.gestion}&g=grades&d={$grade.id}" onclick="return confirm('Êtes-vous sûr de vouloir supprimer ce grade ?');">Supprimer</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Nom</th>
|
||||
<th>Bâtiments</th>
|
||||
<th>Vaisseaux</th>
|
||||
<th>Flottes</th>
|
||||
<th>Diplomatie</th>
|
||||
<th>Crédits</th>
|
||||
<th>Membres</th>
|
||||
<th>Wings</th>
|
||||
<th>Alliance</th>
|
||||
<th>Chat</th>
|
||||
<th>Messagerie</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<h2>{if $grade_mod}Modifier{else}Créer{/if} un grade</h2><br />
|
||||
<form action="{$menu.gestion}&g=grades{if $grade_mod}&i={$grade_mod.id}{/if}" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="nom">Nom :</label> <input type="text" name="nom" id="nom" value="{$grade_mod.nom|escape}" size="30" maxlength="32" tabindex="1" /><br /><br />
|
||||
<input type="checkbox" name="gbats" id="gbats" value="1"{if $grade_mod.auth & 1} checked="checked"{/if} /> <label for="gbats">Gestion des bâtiments</label><br />
|
||||
<input type="checkbox" name="gvais" id="gvais" value="1"{if $grade_mod.auth & 2} checked="checked"{/if} /> <label for="gvais">Gestion des vaisseaux</label><br />
|
||||
<input type="checkbox" name="gflot" id="gflot" value="1"{if $grade_mod.auth & 4} checked="checked"{/if} /> <label for="gflot">Gestion des flottes</label><br />
|
||||
<input type="checkbox" name="gdipl" id="gdipl" value="1"{if $grade_mod.auth & 8} checked="checked"{/if} /> <label for="gdipl">Gestion de la diplomatie</label><br />
|
||||
<input type="checkbox" name="gcred" id="gcred" value="1"{if $grade_mod.auth & 16} checked="checked"{/if} /> <label for="gcred">Gestion des crédits</label><br /><br />
|
||||
<input type="checkbox" name="gmemb" id="gmemb" value="1"{if $grade_mod.auth & 32} checked="checked"{/if} /> <label for="gmemb">Gestion des membres</label><br />
|
||||
<input type="checkbox" name="gwing" id="gwing" value="1"{if $grade_mod.auth & 64} checked="checked"{/if} /> <label for="gwing">Gestion des wings</label><br />
|
||||
<input type="checkbox" name="galli" id="galli" value="1"{if $grade_mod.auth & 128} checked="checked"{/if} /> <label for="galli">Gestion de l'alliance</label><br />
|
||||
<input type="checkbox" name="gchat" id="gchat" value="1"{if $grade_mod.auth & 256} checked="checked"{/if} /> <label for="gchat">Participe au chat</label><br />
|
||||
<input type="checkbox" name="gmess" id="gmess" value="1"{if $grade_mod.auth & 512} checked="checked"{/if} /> <label for="gmess">Utilisation de la messagerie d'alliance</label><br />
|
||||
<br /><input type="submit" class="submit" value="GO" tabindex="3" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
37
onyx2/tpl/game/alliance/gestion_membres.tpl
Normal file
37
onyx2/tpl/game/alliance/gestion_membres.tpl
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{include file='game/header.tpl'}
|
||||
{include file='game/alliance/gestion_common.tpl'}
|
||||
<h2>Gestion des membres</h2>
|
||||
<table>
|
||||
<tbody>
|
||||
{foreach from=$membres item=membre}
|
||||
<tr>
|
||||
<td>{$membre.pseudo}</td>
|
||||
<td>{$membre.race}</td>
|
||||
<td>{$membre.last_visite|date_format:"%d/%m/%y %H:%M:%S"}</td>
|
||||
<td><form action="{$menu.gestion}&g=membres&i={$membre.id}" method="post"><p><select name="grade" onchange="this.form.submit();"><option label="Aucun" value="0">Aucun</option>{foreach from=$grades item=grade}<option label="{$grade.nom}" value="{$grade.id}"{if $grade.id == $membre.id_grade_alliance} selected="selected"{/if}>{$grade.nom}</option>{/foreach}</select><noscript> <input type="submit" class="submit" value="GO" /></noscript></p></form></td>
|
||||
<td><a href="{$menu.messages}&n=envoyer&d={$membre.pseudo}" class="msg"><span>Message</span></a></td>
|
||||
<td><a href="{$menu.gestion}&g=membres&u={$membre.id}"><em>Exclure</em></a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Pseudo</th>
|
||||
<th>Race</th>
|
||||
<th>Dernière connexion </th>
|
||||
<th>Grade</th>
|
||||
<th>MP</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<h2>Gestion des postulants</h2>
|
||||
<div id="messagerie">
|
||||
{foreach from=$postulants item=postulant}
|
||||
<dl class="new">
|
||||
<dt><a href="?p=...&i={$postulant.id_user}">{$postulant.pseudo}</a> le {$postulant.timestamp|date_format:"%d/%m/%y %H:%M:%S"}</dt>
|
||||
<dd>{$postulant.message|escape|nl2br}<br /><div style="text-align: right;"><a href="{$menu.gestion}&g=membres&pa={$postulant.id}"><em>Accepter</em></a> | <a href="{$menu.gestion}&g=membres&pr={$postulant.id}"><em>Refuser</em></a></div></dd>
|
||||
</dl>
|
||||
{/foreach}
|
||||
</div>
|
||||
{include file='game/footer.tpl'}
|
||||
43
onyx2/tpl/game/alliance/gestion_wing.tpl
Normal file
43
onyx2/tpl/game/alliance/gestion_wing.tpl
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{include file='game/header.tpl'}
|
||||
{include file='game/alliance/gestion_common.tpl'}
|
||||
<h2>Gestion des wings</h2>
|
||||
{if $wings}
|
||||
<table>
|
||||
<tbody>
|
||||
{foreach from=$wings item=wing}
|
||||
<tr>
|
||||
<td>{$wing.nom_alliance}</td>
|
||||
<td>{$wing.race}</td>
|
||||
<td>{$wing.nbMembres}</td>
|
||||
<td>{$wing.pseudo}</td>
|
||||
<td><a href="{$menu.messages}&n=envoyer&d={$wing.fondateur}" class="msg"><span>Message</span></a></td>
|
||||
<td><a href="{$menu.gestion}&g=wing&u={$membre.id}"><em>supprimer</em></a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Nom de la wing</th>
|
||||
<th>Race</th>
|
||||
<th>Nombre de membres</th>
|
||||
<th>Fondateur</th>
|
||||
<th>MP fondateur</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
{else}
|
||||
<div id="erreur">L'alliance ne possède aucune wing.</div>
|
||||
{/if}
|
||||
<h2>Créer une wing</h2>
|
||||
<form method="post" action="{$menu.gestion}&g=wings">
|
||||
<fieldset class="options">
|
||||
<label for="nom">Nom de la wing : <input type="text" class="text" name="nom" id="nom" maxlength="32" /></label><br />
|
||||
<label for="tag">Tag de la wing : <input type="text" class="text" name="tag" id="tag" maxlength="5" /></label><br />
|
||||
<label for="race">Race de la wing : <select name="race" id="race"><option value="humain">Humaine</option><option value="covenant">Covenante</option></select></label><br />
|
||||
<label for="fondateur">Membre fondateur : <input type="text" class="text" name="fondateur" id="fondateur" maxlength="64" /></label><br />
|
||||
<em>Le membre fondateur ne doit faire actuellement parti d'aucune alliance.<br />La wing sera créée une fois que le fondateur aura accepté votre demande.</em><br />
|
||||
<input type="submit" class="submit" value="Go" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
13
onyx2/tpl/game/alliance/nm_accueil.tpl
Normal file
13
onyx2/tpl/game/alliance/nm_accueil.tpl
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Rechercher une alliance</h2>
|
||||
<form method="post" action="{$menu.alliance}">
|
||||
<fieldset class="form">
|
||||
<label for="tag">Tag : <input type="text" class="text" name="search_tag" id="tag" maxlength="5" /></label><br />
|
||||
<label for="nom">Nom : <input type="text" class="text" name="search_nom" id="nom" /></label><br />
|
||||
<input type="submit" class="submit" value="Ok" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<br />
|
||||
<h2>Créer une alliance</h2>
|
||||
<h3><a href="{$menu.alliance}&q=fonder">{if $fondation}Consulter le statut de votre alliance{else}Fonder une alliance{/if}</a></h3>
|
||||
{include file='game/footer.tpl'}
|
||||
11
onyx2/tpl/game/alliance/nm_fonder.tpl
Normal file
11
onyx2/tpl/game/alliance/nm_fonder.tpl
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Création d'une alliance</h2>
|
||||
<form method="post" action="{$menu.alliance}&q=fonder">
|
||||
<fieldset class="form">
|
||||
<p>Créer une alliance ne peut pas se faire seul. Une fois que vous aurez lancé la procédure, un lien vous sera donné. Pour finir la création, donnez ce lien à quatre personnes qui sont sans alliance afin qu'elles ratifient l'alliance.</p>
|
||||
<label for="nom">Nom : <input type="text" class="text" name="nom" id="nom" /></label><br />
|
||||
<label for="tag">Tag : <input type="text" class="text" name="tag" id="tag" maxlength="5" /></label><br />
|
||||
<input type="submit" class="submit" value="Créer " />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
10
onyx2/tpl/game/alliance/nm_postuler.tpl
Normal file
10
onyx2/tpl/game/alliance/nm_postuler.tpl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Postuler pour l'alliance : {$alliance.nom_alliance|capitalize|escape}</h2>
|
||||
<form action="{$menu.alliance}&postuler={$alliance.id}" method="post">
|
||||
<fieldset class="form">
|
||||
<p>{$alliance.message_inscription|escape|bbcode|nl2br}</p>
|
||||
<label for="motivation">Message de motivation : <textarea name="motivation" id="motivation"></textarea></label><br />
|
||||
<input type="submit" class="submit" value="Ok" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
26
onyx2/tpl/game/alliance/nm_search.tpl
Normal file
26
onyx2/tpl/game/alliance/nm_search.tpl
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{include file='game/header.tpl'}
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>[TAG] Alliance</th>
|
||||
<th>Race</th>
|
||||
<th>Etat inscriptions </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$recherches item=recherche}
|
||||
<tr>
|
||||
{if $recherche.etat_inscription == 2}
|
||||
<td><a href="{$menu.alliance}&signer={$recherche.id}">[{$recherche.tag|upper|escape}] {$recherche.nom_alliance|escape}</a></td>
|
||||
<td>En fondation</td>
|
||||
<td>En fondation</td>
|
||||
{else}
|
||||
<td><a href="{$menu.alliance}&v={$recherche.id}">[{$recherche.tag|upper|escape}] {$recherche.nom_alliance|escape}</a></td>
|
||||
<td><img src="{$url_images}images/carte/{$recherche.race}.jpg" width="45" alt="{$recherche.race}" /></td>
|
||||
<td>{if $recherche.etat_inscription}Ouvertes{else}Fermées{/if}</td>
|
||||
{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{include file='game/footer.tpl'}
|
||||
9
onyx2/tpl/game/alliance/nm_signer.tpl
Normal file
9
onyx2/tpl/game/alliance/nm_signer.tpl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Ratifier l'alliance : {$alliance.nom_alliance|capitalize|escape}</h2>
|
||||
<form action="{$menu.alliance}&signer={$alliance.id}" method="post">
|
||||
<div><strong>Vous êtes sur le point de ratifier l'alliance [{$alliance.tag|upper|escape}] {$alliance.nom_alliance|escape}.<br />Actuellement, {$alliance.nbsignatures} personnes(s) ont ratifier cette alliance.<br />{if $ratifier}<br />En ratifiant cette alliance, vous annulez votre signature pour l'alliance [{$ratifier.tag|upper|escape}] {$ratifier.nom_alliance|escape}<br />{/if}<br />Voulez-vous signer ?</strong></div>
|
||||
<fieldset class="form">
|
||||
<input type="submit" class="submit" value="Oui " name="sign" /> - <input type="submit" class="submit" value="Non " name="sign" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
12
onyx2/tpl/game/alliance/nm_statut.tpl
Normal file
12
onyx2/tpl/game/alliance/nm_statut.tpl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Alliance en fondation</h2>
|
||||
<h3><strong>Nom :</strong> {$alliance.nom_alliance}</h3>
|
||||
<h3><strong>Tag :</strong> {$alliance.tag|upper}</h3><br />
|
||||
<h2>Signatures</h2>
|
||||
<h3><strong>Actuellement :</strong> {$nbSignatures}</h3>
|
||||
<h3><strong>Nécessaire :</strong> 4</h3>
|
||||
<h3><strong>Signataires :</strong> {foreach from=$pseudos key=k item=pseudo}{if $k != 0}, {/if}{$pseudo.pseudo}{/foreach}</h3><br />
|
||||
<h2>Autre</h2>
|
||||
<h3><a href="?p=alliances&q=fonder&r=quit">Quitter l'alliance</a></h3>
|
||||
<h3><strong>Lien de signature :</strong> <a href="http://{$url_serveur}/{$first_page}?p=alliances&signer={$alliance.lien}">http://{$url_serveur}/{$first_page}?p=alliances&signer={$alliance.lien}</a></h3>
|
||||
{include file='game/footer.tpl'}
|
||||
29
onyx2/tpl/game/alliance/view.tpl
Normal file
29
onyx2/tpl/game/alliance/view.tpl
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>[{$alliance.tag|upper|escape}] {$alliance.nom_alliance|capitalize|escape}</h2>
|
||||
<table cellpadding="2" cellspacing="0" style="text-align: center; width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="2"><img src="{$alliance.image}" alt="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right; vertical-align: middle;"><strong>Nom : </strong></td>
|
||||
<td style="width: 70%;">{$alliance.nom|escape} ({$alliance.tag|upper|escape})</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Membres : </strong></td>
|
||||
<td>{$nbmembres} (<a href="{$menu.alliance}&m={$alliance.id}">Liste des membres</a>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Votre grade :</strong></td>
|
||||
<td>{$grade}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Status des inscriptions :</strong></td>
|
||||
<td>{if $alliance.etat_inscription}Ouvertes{if !$planete->id_alliance} - <a href="{$menu.alliance}&postuler={$alliance.id}">Postuler</a>{/if}{else}Fermée{/if}</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2>Présentation</h2>
|
||||
{$alliance.presentation|nl2br}
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -18,9 +18,9 @@
|
|||
</table>
|
||||
<h2>Ajouter un ami</h2>
|
||||
<form action="?p=amis" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="nom">Nom du joueur</label><input class="text" type="text" id="nom" name="nom" maxlength="32" /><br />
|
||||
<input class="submit" type="submit" value="Ajouter" />
|
||||
<fieldset class="form">
|
||||
<label for="nom">Nom du joueur : <input class="text" type="text" id="nom" name="nom" maxlength="32" /></label><br />
|
||||
<input class="submit" type="submit" value="Ok" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -6,9 +6,15 @@
|
|||
<div><table><thead>
|
||||
<tr><th>Batiments (niveau)</th><th>Technologies nécessaires (niveau actuel)</th></tr>
|
||||
</thead><tbody>
|
||||
{if SURFACE == "planete"}
|
||||
{foreach from=$batiments key=key item=batiment}
|
||||
<tr><td><a href="?p=description&b={$key}&r={$raceAff}#menu">{$LANG.$raceAff.batiments.noms_sing.$key|ucfirst}</a> ({$batiment.niveau}) :</td><td>{$batiment.etat}</td></tr>
|
||||
{/foreach}
|
||||
{else}
|
||||
{foreach from=$batiments key=key item=batiment}
|
||||
<tr><td><a href="?p=description&a={$key}&r={$raceAff}#menu">{$LANG.$raceAff.alli_batiments.noms_sing.$key|ucfirst}</a> ({$batiment.niveau}) :</td><td>{$batiment.etat}</td></tr>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</tbody></table></div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,47 +1,43 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>File d'attente</h2>
|
||||
<div class="file">
|
||||
<ul class="onglets">
|
||||
<li><a href="#" class="hilight">Tous</a></li>
|
||||
<li><a href="#">Mines/centrales</a></li>
|
||||
<li><a href="#">Civils</a></li>
|
||||
<li><a href="#">Militaires</a></li>
|
||||
</ul>
|
||||
|
||||
<h2>File d'attente</h2>
|
||||
{if $file}
|
||||
<ul id="file">
|
||||
{foreach from=$file item=element key=key}
|
||||
<span>{$LANG.$race.batiments.noms_sing[$element.0]|ucfirst}{if $element.1} (démolition){/if} - <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.batiments}&a={$key}">Annuler</a></span>
|
||||
<li>{$LANG.$race.batiments.noms_sing[$element.0]|ucfirst}{if $element.1} (démolition){/if} - <span{if !$djpass} class="countdown"{assign var='djpass' value=true}{/if}>{$element.2|countdown}</span> - <a href="{$menu.batiments}&a={$key}">Annuler</a></li>
|
||||
{/foreach}
|
||||
{else} <span>Aucun bâtiment dans la file d'attente</span>{/if}
|
||||
<br />
|
||||
</div>
|
||||
<h3><a href="{$menu.arbre}&q=batiments">Arbre des technologies</a></h3><br />
|
||||
<h2>Bâtiments</h2>
|
||||
<table class="construction">
|
||||
</ul>
|
||||
{else}
|
||||
<ul id="file">
|
||||
<li>Aucun bâtiment dans la file d'attente</li>
|
||||
</ul>
|
||||
{/if}
|
||||
<h3><a href="{$menu.arbre}&q=batiments">Arbre des technologies</a></h3><br />
|
||||
<h2>Bâtiments</h2>
|
||||
<div id="constructions">
|
||||
{foreach from=$batiments item=batiment}
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="?p=description&b={$batiment.id}#menu">
|
||||
<img width="130" height="132" src="{$url_images}images/batiments/{$batiment.image}" alt="{$LANG.$race.batiments.noms_sing[$batiment.id]}" />
|
||||
<span>{$LANG.$race.batiments.descriptions[$batiment.id]}</span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<strong>{$LANG.$race.batiments.noms_sing[$batiment.id]|ucfirst}{if $batiment.niveau > 0} (Niveau {$batiment.niveau}){/if}</strong><br /><br />
|
||||
{if $batiment.nec_metal > 0}
|
||||
{if $batiment.nec_metal > $planete->metal}<span class="lack">Coût {$LANG.$race.ressources.noms.metal} : {$batiment.nec_metal|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.metal} : {$batiment.nec_metal|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
{if $batiment.nec_cristal > 0}
|
||||
{if $batiment.nec_cristal > $planete->cristal}<span class="lack">Coût {$LANG.$race.ressources.noms.cristal} : {$batiment.nec_cristal|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.cristal} : {$batiment.nec_cristal|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
{if $batiment.nec_hydrogene > 0}
|
||||
{if $batiment.nec_hydrogene > $planete->hydrogene}<span class="lack">Coût {$LANG.$race.ressources.noms.hydrogene} : {$batiment.nec_hydrogene|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.hydrogene} : {$batiment.nec_hydrogene|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
Temps de construction : {$batiment.temps}<br /><br />
|
||||
{if $batiment.nec_hydrogene > $planete->hydrogene || $batiment.nec_cristal > $planete->cristal || $batiment.nec_metal > $planete->metal}<span class="lack" title="Rassemblez les ressources manquantes avant de lancer la construction de ce batiment">Ressources insuffisantes</span>
|
||||
{else}{if $planete->casesRest >= 1}<a href="{$menu.batiments}&c={$batiment.id}">Construire</a>{/if}{/if}
|
||||
{if $batiment.enfile !== false}<a href="{$menu.batiments}&a={$batiment.enfile}">Arrêter</a>{/if}
|
||||
{if $batiment.niveau > 0} <a href="{$menu.batiments}&d={$batiment.id}">Démolir un niveau</a>{/if}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<dl>
|
||||
<dt>{$LANG.$race.batiments.noms_sing[$batiment.id]|ucfirst}{if $batiment.niveau > 0} (Niveau {$batiment.niveau}){/if}</dt>
|
||||
<dd class="description"><a href="?p=description&b={$batiment.id}#body"><img src="{$url_images}images/batiments/{$batiment.image}" alt="{$LANG.$race.batiments.noms_sing[$batiment.id]}" /></a><p>{$LANG.$race.batiments.descriptions[$batiment.id]}</p></dd>
|
||||
<dd>
|
||||
{if $batiment.niveau > 0}<strong>Niveau actuel :</strong> {$batiment.niveau}<br /><br />{/if}
|
||||
{if $batiment.nec_metal > 0}<strong>Coût {$LANG.$race.ressources.noms.metal} :</strong> <span class="lack">{$batiment.nec_metal|separerNombres}</span><br />{/if}
|
||||
{if $batiment.nec_cristal > 0}<strong>Coût {$LANG.$race.ressources.noms.cristal} :</strong> {$batiment.nec_cristal|separerNombres}<br />{/if}
|
||||
{if $batiment.nec_hydrogene > 0}<strong>Coût {$LANG.$race.ressources.noms.hydrogene} :</strong> {$batiment.nec_hydrogene|separerNombres}<br />{/if}
|
||||
<strong>Temps de construction :</strong> {$batiment.temps}<br />
|
||||
<br />
|
||||
{if $batiment.nec_hydrogene > $planete->hydrogene || $batiment.nec_cristal > $planete->cristal || $batiment.nec_metal > $planete->metal}<span class="lack" title="Rassemblez les ressources manquantes avant de lancer la construction de ce batiment">Ressources insuffisantes</span>
|
||||
{else}{if $planete->casesRest >= 1}<a href="{$menu.batiments}&c={$batiment.id}">Construire</a>{/if}{/if}
|
||||
{if $batiment.enfile !== false}<a href="{$menu.batiments}&a={$batiment.enfile}">Arrêter</a>{/if}
|
||||
{if $batiment.niveau > 0} <a href="{$menu.batiments}&d={$batiment.id}">Démolir un niveau</a>{/if}
|
||||
</dd>
|
||||
</dl>
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
{include file='game/footer.tpl'}
|
||||
37
onyx2/tpl/game/batiments_alli.tpl
Normal file
37
onyx2/tpl/game/batiments_alli.tpl
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>File d'attente</h2>
|
||||
{if $file}
|
||||
<ul id="file">
|
||||
{foreach from=$file item=element key=key}
|
||||
<li>{$LANG.$race.alli_batiments.noms_sing[$element.0]|ucfirst}{if $element.1} (démolition){/if} - <span{if !$djpass} class="countdown"{assign var='djpass' value=true}{/if}>{$element.2|countdown}</span> - <a href="{$menu.batiments}&a={$key}">Annuler</a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{else}
|
||||
<ul id="file">
|
||||
<li>Aucun bâtiment dans la file d'attente</li>
|
||||
</ul>
|
||||
{/if}
|
||||
<h3><a href="{$menu.arbre}&q=alli_batiments">Arbre des technologies</a></h3><br />
|
||||
<h2>Bâtiments</h2>
|
||||
<div id="constructions">
|
||||
{foreach from=$batiments item=batiment}
|
||||
<dl>
|
||||
<dt>{$LANG.$race.alli_batiments.noms_sing[$batiment.id]|ucfirst}{if $batiment.niveau > 0} (Niveau {$batiment.niveau}){/if}</dt>
|
||||
<dd class="description"><a href="?p=description&a={$batiment.id}#body"><img src="{$url_images}images/alli_batiments/{$batiment.id}.jpg" alt="{$LANG.$race.alli_batiments.noms_sing[$batiment.id]}" /></a><p>{$LANG.$race.alli_batiments.descriptions[$batiment.id]}</p></dd>
|
||||
<dd>
|
||||
{if $batiment.niveau > 0}<strong>Niveau actuel :</strong> {$batiment.niveau}<br /><br />{/if}
|
||||
{if $batiment.nec_metal > 0}<strong>Coût {$LANG.$race.ressources.noms.metal} :</strong> {$batiment.nec_metal|separerNombres}<br />{/if}
|
||||
{if $batiment.nec_cristal > 0}<strong>Coût {$LANG.$race.ressources.noms.cristal} :</strong> {$batiment.nec_cristal|separerNombres}<br />{/if}
|
||||
{if $batiment.nec_hydrogene > 0}<strong>Coût {$LANG.$race.ressources.noms.hydrogene} :</strong> {$batiment.nec_hydrogene|separerNombres}<br />{/if}
|
||||
{if $batiment.nec_credits > 0}<strong>Coût {$LANG.$race.ressources.noms.credits} :</strong> {$batiment.nec_credits|separerNombres}<br />{/if}
|
||||
<strong>Temps de construction :</strong> {$batiment.temps}<br />
|
||||
<br />
|
||||
{if $batiment.nec_credits > $planete->credits_alliance || $batiment.nec_hydrogene > $planete->hydrogene || $batiment.nec_cristal > $planete->cristal || $batiment.nec_metal > $planete->metal}<span class="lack" title="Rassemblez les ressources manquantes avant de lancer la construction de ce batiment">Ressources insuffisantes</span>
|
||||
{else}<a href="{$menu.batiments}&c={$batiment.id}">Construire</a>{/if}
|
||||
{if $batiment.enfile !== false}<a href="{$menu.batiments}&a={$batiment.enfile}">Arrêter</a>{/if}
|
||||
{if $batiment.niveau > 0 && $batiment.id != 0} <a href="{$menu.batiments}&d={$batiment.id}">Démolir un niveau</a>{/if}
|
||||
</dd>
|
||||
</dl>
|
||||
{/foreach}
|
||||
</div>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -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'}
|
||||
|
|
@ -1,54 +1,40 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>File d'attente</h2>
|
||||
<div class="file">
|
||||
<h2>File d'attente</h2>
|
||||
{if $file}
|
||||
<ul id="file">
|
||||
{foreach from=$file item=element key=key}
|
||||
{if $i != true}<span><strong>Prochaine unité </strong> : <em id="resten"></em>
|
||||
<script type="text/javascript">reste({$element.4},'resten', true);</script></span>{/if}
|
||||
<span>{$element.1} {if $element.1 > 1}{$LANG.$race.caserne.noms_pluriel[$element.0]}{else}{$LANG.$race.caserne.noms_sing[$element.0]}{/if}{if $element.2} (démolition){/if} - <em id="reste{$key}"></em><script type="text/javascript">reste({$element.3},'reste{$key}', {if $i != true}{assign var='i' value=true}true{else}false{/if});</script>
|
||||
- <a href="{$menu.caserne}&a={$key}">Annuler un</a> - <a href="{$menu.caserne}&a={$key}&n={$element.1}">Annuler tous</a></span>
|
||||
{if $djpass != true}<li><strong>Prochaine unité </strong> : <span class="countdown">{$element.4|countdown}</span></li>{/if}
|
||||
<li>{$element.1} {if $element.1 > 1}{$LANG.$race.caserne.noms_pluriel[$element.0]}{else}{$LANG.$race.caserne.noms_sing[$element.0]}{/if}{if $element.2} (démolition){/if} - <span{if !$djpass} class="countdown"{assign var='djpass' value=true}{/if}>{$element.3|countdown}</span> - <a href="{$menu.caserne}&n={$onglet}&a={$key}">Annuler un</a> - <a href="{$menu.caserne}&n={$onglet}&a={$key}&s={$element.1}">Annuler tous</a></li>
|
||||
{/foreach}
|
||||
{else} <span>Aucune unité dans la file d'attente</span>{/if}
|
||||
<br />
|
||||
</div>
|
||||
<h3><a href="{$menu.arbre}&q=caserne">Arbre des technologies</a></h3><br />
|
||||
<h2>{$LANG.$race.batiments.noms_sing.9|ucfirst}</h2>
|
||||
</ul>
|
||||
{else}
|
||||
<ul id="file">
|
||||
<li>Aucune unité dans la file d'attente</li>
|
||||
</ul>
|
||||
{/if}
|
||||
<h3><a href="{$menu.arbre}&q=caserne">Arbre des technologies</a></h3><br />
|
||||
<h2>{$LANG.$race.batiments.noms_sing.9|ucfirst}</h2>
|
||||
{if $unites}
|
||||
<table class="construction">
|
||||
<div id="constructions">
|
||||
{foreach from=$unites item=unite}
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="?p=description&c={$unite.id}#menu">
|
||||
<img width="130" height="132" src="{$url_images}images/caserne/{$unite.image}" alt="Unité terrestre" />
|
||||
<span>{$LANG.$race.caserne.descriptions[$unite.id]}</span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<strong>{$LANG.$race.caserne.noms_sing[$unite.id]|ucfirst}{if $unite.nombre > 0} ({$unite.nombre|separerNombres} unité{if $unite.nombre > 1}s{/if}){/if}</strong><br /><br />
|
||||
{if $unite.nec_metal > 0}
|
||||
{if $unite.nec_metal > $planete->metal}<span class="lack">Coût {$LANG.$race.ressources.noms.metal} : {$unite.nec_metal|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.metal} : {$unite.nec_metal|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
{if $unite.nec_cristal > 0}
|
||||
{if $unite.nec_cristal > $planete->cristal}<span class="lack">Coût {$LANG.$race.ressources.noms.cristal} : {$unite.nec_cristal|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.cristal} : {$unite.nec_cristal|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
{if $unite.nec_hydrogene > 0}
|
||||
{if $unite.nec_hydrogene > $planete->hydrogene}<span class="lack">Coût {$LANG.$race.ressources.noms.hydrogene} : {$unite.nec_hydrogene|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.hydrogene} : {$unite.nec_hydrogene|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
Temps d'entraînement : {$unite.temps}<br /><br />
|
||||
<form action="{$menu.caserne}&v={$unite.id}" method="post">
|
||||
<fieldset>
|
||||
<input class="text" type="text" name="nombre" value="0" />
|
||||
<input class="submit" type="submit" value="OK" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<dl>
|
||||
<dt>{$LANG.$race.caserne.noms_sing[$unite.id]|ucfirst}{if $unite.nombre > 0} ({$unite.nombre} unité{if $unite.nombre > 1}s{/if}){/if}</dt>
|
||||
<dd class="description"><a href="?p=description&c={$unite.id}#body"><img src="{$url_images}images/caserne/{$unite.image}" alt="{$LANG.$race.caserne.noms_sing[$unite.id]|ucfirst}" /></a><p>{$LANG.$race.caserne.descriptions[$unite.id]}</p></dd>
|
||||
<dd>
|
||||
{if $unite.nombre > 0}<strong>Nombre actuel :</strong> {$unite.nombre}<br /><br />{/if}
|
||||
{if $unite.nec_metal > 0}<strong>Coût {$LANG.$race.ressources.noms.metal} :</strong> {$unite.nec_metal|separerNombres}<br />{/if}
|
||||
{if $unite.nec_cristal > 0}<strong>Coût {$LANG.$race.ressources.noms.cristal} :</strong> {$unite.nec_cristal|separerNombres}<br />{/if}
|
||||
{if $unite.nec_hydrogene > 0}<strong>Coût {$LANG.$race.ressources.noms.hydrogene} :</strong> {$unite.nec_hydrogene|separerNombres}<br />{/if}
|
||||
<strong>Temps de construction :</strong> {$unite.temps}<br />
|
||||
<br />
|
||||
{if $unite.nec_hydrogene > $planete->hydrogene || $unite.nec_cristal > $planete->cristal || $unite.nec_metal > $planete->metal}<span class="lack">Ressources insuffisantes</span>
|
||||
{else}<form action="{$menu.caserne}&c={$unite.id}" method="post"><fieldset>
|
||||
<label for="cas{$unite.id}">Nombre : <input type="text" class="text" name="cas{$unite.id}" id="cas{$unite.id}" value="0" /></label>
|
||||
<input type="submit" class="submit" value="OK" />
|
||||
</fieldset></form>{/if}
|
||||
</dd>
|
||||
</dl>
|
||||
{/foreach}
|
||||
</table>
|
||||
{else}<div class="error" style="color: red;">Aucune unité à entraîner actuellement.</div>{/if}
|
||||
</div>
|
||||
{else} <div id="erreur">Aucune unité à entraîner actuellement.</div>{/if}
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -1,54 +1,40 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>File d'attente</h2>
|
||||
<div class="file">
|
||||
<h2>File d'attente</h2>
|
||||
{if $file}
|
||||
<ul id="file">
|
||||
{foreach from=$file item=element key=key}
|
||||
{if $i != true}<span><strong>Prochain vaisseau </strong> : <em id="resten"></em>
|
||||
<script type="text/javascript">reste({$element.4},'resten', true);</script></span>{/if}
|
||||
<span>{$element.1} {if $element.1 > 1}{$LANG.$race.vaisseaux.noms_pluriel[$element.0]}{else}{$LANG.$race.vaisseaux.noms_sing[$element.0]}{/if}{if $element.2} (démolition){/if} - <em id="reste{$key}"></em><script type="text/javascript">reste({$element.3},'reste{$key}', {if $i != true}{assign var='i' value=true}true{else}false{/if});</script>
|
||||
- <a href="{$menu.chantierspatial}&a={$key}">Annuler un</a> - <a href="{$menu.chantierspatial}&a={$key}&n={$element.1}">Annuler tous</a></span>
|
||||
{if $djpass != true}<li><strong>Prochain vaisseau </strong> : <span class="countdown">{$element.4|countdown}</span></li>{/if}
|
||||
<li>{$element.1} {if $element.1 > 1}{$LANG.$race.vaisseaux.noms_pluriel[$element.0]}{else}{$LANG.$race.vaisseaux.noms_sing[$element.0]}{/if}{if $element.2} (démolition){/if} - <span{if !$djpass} class="countdown"{assign var='djpass' value=true}{/if}>{$element.3|countdown}</span> - <a href="{$menu.chantierspatial}&a={$key}">Annuler un</a> - <a href="{$menu.chantierspatial}&a={$key}&s={$element.1}">Annuler tous</a></li>
|
||||
{/foreach}
|
||||
{else} <span>Aucun vaisseau dans la file d'attente</span>{/if}
|
||||
<br />
|
||||
</div>
|
||||
<h3><a href="{$menu.arbre}&q=vaisseaux">Arbre des technologies</a></h3><br />
|
||||
<h2>Chantier spatial</h2>
|
||||
</ul>
|
||||
{else}
|
||||
<ul id="file">
|
||||
<li>Aucun vaisseau dans la file d'attente</li>
|
||||
</ul>
|
||||
{/if}
|
||||
<h3><a href="{$menu.arbre}&q=vaisseaux">Arbre des technologies</a></h3><br />
|
||||
<h2>{$LANG.$race.batiments.noms_sing.8|ucfirst}</h2>
|
||||
{if $vaisseaux}
|
||||
<table class="construction">
|
||||
<div id="constructions">
|
||||
{foreach from=$vaisseaux item=vaisseau}
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="?p=description&v={$vaisseau.id}#menu">
|
||||
<img width="130" height="132" src="{$url_images}images/vaisseaux/{$vaisseau.image}" alt="Vaisseaux" />
|
||||
<span>{$LANG.$race.vaisseaux.descriptions[$vaisseau.id]}</span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<strong>{$LANG.$race.vaisseaux.noms_sing[$vaisseau.id]|ucfirst}{if $vaisseau.nombre > 0} ({$vaisseau.nombre} vaisseau{if $vaisseau.nombre > 1}x{/if}){/if}</strong><br /><br />
|
||||
{if $vaisseau.nec_metal > 0}
|
||||
{if $vaisseau.nec_metal > $planete->metal}<span class="lack">Coût {$LANG.$race.ressources.noms.metal} : {$vaisseau.nec_metal|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.metal} : {$vaisseau.nec_metal|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
{if $vaisseau.nec_cristal > 0}
|
||||
{if $vaisseau.nec_cristal > $planete->cristal}<span class="lack">Coût {$LANG.$race.ressources.noms.cristal} : {$vaisseau.nec_cristal|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.cristal} : {$vaisseau.nec_cristal|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
{if $vaisseau.nec_hydrogene > 0}
|
||||
{if $vaisseau.nec_hydrogene > $planete->hydrogene}<span class="lack">Coût {$LANG.$race.ressources.noms.hydrogene} : {$vaisseau.nec_hydrogene|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.hydrogene} : {$vaisseau.nec_hydrogene|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
Temps de construction : {$vaisseau.temps}<br /><br />
|
||||
<form action="{$menu.chantierspatial}&v={$vaisseau.id}" method="post">
|
||||
<fieldset>
|
||||
<input class="text" type="text" name="nombre" value="0" />
|
||||
<input class="submit" name="vais{$vaisseau.id}" type="submit" value="OK" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<dl>
|
||||
<dt>{$LANG.$race.vaisseaux.noms_sing[$vaisseau.id]|ucfirst}{if $vaisseau.nombre > 0} ({$vaisseau.nombre} unité{if $vaisseau.nombre > 1}s{/if}){/if}</dt>
|
||||
<dd class="description"><a href="?p=description&v={$vaisseau.id}#body"><img src="{$url_images}images/vaisseaux/{$vaisseau.image}" alt="{$LANG.$race.vaisseaux.noms_sing[$vaisseau.id]|ucfirst}" /></a><p>{$LANG.$race.vaisseaux.descriptions[$vaisseau.id]}</p></dd>
|
||||
<dd>
|
||||
{if $vaisseau.nombre > 0}<strong>Nombre actuel :</strong> {$vaisseau.nombre}<br /><br />{/if}
|
||||
{if $vaisseau.nec_metal > 0}<strong>Coût {$LANG.$race.ressources.noms.metal} :</strong> {$vaisseau.nec_metal|separerNombres}<br />{/if}
|
||||
{if $vaisseau.nec_cristal > 0}<strong>Coût {$LANG.$race.ressources.noms.cristal} :</strong> {$vaisseau.nec_cristal|separerNombres}<br />{/if}
|
||||
{if $vaisseau.nec_hydrogene > 0}<strong>Coût {$LANG.$race.ressources.noms.hydrogene} :</strong> {$vaisseau.nec_hydrogene|separerNombres}<br />{/if}
|
||||
<strong>Temps de construction :</strong> {$vaisseau.temps}<br />
|
||||
<br />
|
||||
{if $vaisseau.nec_hydrogene > $planete->hydrogene || $vaisseau.nec_cristal > $planete->cristal || $vaisseau.nec_metal > $planete->metal}<span class="lack">Ressources insuffisantes</span>
|
||||
{else}<form action="{$menu.chantierspatial}&v={$vaisseau.id}" method="post"><fieldset>
|
||||
<label for="vais{$vaisseau.id}">Nombre : <input type="text" class="text" name="vais{$vaisseau.id}" id="vais{$vaisseau.id}" value="0" /></label>
|
||||
<input type="submit" class="submit" value="OK" />
|
||||
</fieldset></form>{/if}
|
||||
</dd>
|
||||
</dl>
|
||||
{/foreach}
|
||||
</table>
|
||||
{else}<div class="error" style="color: red;">Aucun vaisseau à construire actuellement.</div>{/if}
|
||||
</div>
|
||||
{else} <div id="erreur">Aucun vaisseau à construire actuellement.</div>{/if}
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -1,52 +1,44 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>File d'attente</h2>
|
||||
<div class="file">
|
||||
<ul class="onglets">
|
||||
<li><a href="{$menu.chantierterrestre}"{if $onglet != "defenses"} class="hilight"{/if}>Unités</a></li>
|
||||
<li><a href="{$menu.chantierterrestre}&n=defenses"{if $onglet == "defenses"} class="hilight"{/if}>Défenses</a></li>
|
||||
</ul><br /><br />
|
||||
<h2>File d'attente</h2>
|
||||
{if $file}
|
||||
<ul id="file">
|
||||
{foreach from=$file item=element key=key}
|
||||
{if $i != true}<span><strong>Prochaine {if $element.5}unité{else}défense{/if} </strong> : <em id="resten"></em>
|
||||
<script type="text/javascript">reste({$element.4},'resten', true);</script></span>{/if}
|
||||
<span>{$element.1} {if $element.1 > 1}{$LANG.$race.terrestre.noms_pluriel[$element.0]}{else}{$LANG.$race.terrestre.noms_sing[$element.0]}{/if}{if $element.2} (démolition){/if} - <em id="reste{$key}"></em><script type="text/javascript">reste({$element.3},'reste{$key}', {if $i != true}{assign var='i' value=true}true{else}false{/if});</script>
|
||||
- <a href="{$menu.chantierterrestre}&a={$key}">Annuler un</a> - <a href="{$menu.chantierterrestre}&a={$key}&n={$element.1}">Annuler tous</a></span>
|
||||
{if $djpass != true}<li><strong>Prochaine {if $element.5}unité{else}défense{/if} </strong> : <span class="countdown">{$element.4|countdown}</span></li>{/if}
|
||||
<li>{$element.1} {if $element.1 > 1}{$LANG.$race.terrestre.noms_pluriel[$element.0]}{else}{$LANG.$race.terrestre.noms_sing[$element.0]}{/if}{if $element.2} (démolition){/if} - <span{if !$djpass} class="countdown"{assign var='djpass' value=true}{/if}>{$element.3|countdown}</span> - <a href="{$menu.chantierterrestre}&n={$onglet}&a={$key}">Annuler un</a> - <a href="{$menu.chantierterrestre}&n={$onglet}&a={$key}&s={$element.1}">Annuler tous</a></li>
|
||||
{/foreach}
|
||||
{else} <span>Aucune unité dans la file d'attente</span>{/if}
|
||||
<br />
|
||||
</div>
|
||||
<h3><a href="{$menu.arbre}&q=chantierterrestre">Arbre des technologies</a></h3><br />
|
||||
<h2>Chantier terrestre </h2>
|
||||
<table class="construction">
|
||||
</ul>
|
||||
{else}
|
||||
<ul id="file">
|
||||
<li>Aucune unité dans la file d'attente</li>
|
||||
</ul>
|
||||
{/if}
|
||||
<h3><a href="{$menu.arbre}&q=chantierterrestre">Arbre des technologies</a></h3><br />
|
||||
<h2>{$LANG.$race.batiments.noms_sing.7|ucfirst}</h2>
|
||||
{if $unites}
|
||||
<div id="constructions">
|
||||
{foreach from=$unites item=unite}
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="?p=description&d={$unite.num}#menu">
|
||||
<img width="130" height="132" src="{$url_images}images/terrestre/{$unite.image}" alt="Unité terrestre" />
|
||||
<span>{$LANG.$race.terrestre.descriptions[$unite.id]}</span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<strong>{$LANG.$race.terrestre.noms_sing[$unite.id]|ucfirst}{if $unite.nombre > 0} ({$unite.nombre} unité{if $unite.nombre > 1}s{/if}){/if}</strong><br /><br />
|
||||
{if $unite.nec_metal > 0}
|
||||
{if $unite.nec_metal > $planete->metal}<span class="lack">Coût {$LANG.$race.ressources.noms.metal} : {$unite.nec_metal|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.metal} : {$unite.nec_metal|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
{if $unite.nec_cristal > 0}
|
||||
{if $unite.nec_cristal > $planete->cristal}<span class="lack">Coût {$LANG.$race.ressources.noms.cristal} : {$unite.nec_cristal|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.cristal} : {$unite.nec_cristal|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
{if $unite.nec_hydrogene > 0}
|
||||
{if $unite.nec_hydrogene > $planete->hydrogene}<span class="lack">Coût {$LANG.$race.ressources.noms.hydrogene} : {$unite.nec_hydrogene|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.hydrogene} : {$unite.nec_hydrogene|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
Temps de construction : {$unite.temps}<br /><br />
|
||||
<form action="{$menu.chantierterrestre}&v={$unite.id}" method="post">
|
||||
<fieldset>
|
||||
<input class="text" type="text" name="nombre" value="0" />
|
||||
<input class="submit" name="terr{$unite.id}" type="submit" value="OK" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<dl>
|
||||
<dt>{$LANG.$race.terrestre.noms_sing[$unite.id]|ucfirst}{if $unite.nombre > 0} ({$unite.nombre} unité{if $unite.nombre > 1}s{/if}){/if}</dt>
|
||||
<dd class="description"><a href="?p=description&d={$unite.id}#body"><img src="{$url_images}images/terrestre/{$unite.image}" alt="{$LANG.$race.terrestre.noms_sing[$unite.id]|ucfirst}" /></a><p>{$LANG.$race.terrestre.descriptions[$unite.id]}</p></dd>
|
||||
<dd>
|
||||
{if $unite.nombre > 0}<strong>Nombre actuel :</strong> {$unite.nombre}<br /><br />{/if}
|
||||
{if $unite.nec_metal > 0}<strong>Coût {$LANG.$race.ressources.noms.metal} :</strong> {$unite.nec_metal|separerNombres}<br />{/if}
|
||||
{if $unite.nec_cristal > 0}<strong>Coût {$LANG.$race.ressources.noms.cristal} :</strong> {$unite.nec_cristal|separerNombres}<br />{/if}
|
||||
{if $unite.nec_hydrogene > 0}<strong>Coût {$LANG.$race.ressources.noms.hydrogene} :</strong> {$unite.nec_hydrogene|separerNombres}<br />{/if}
|
||||
<strong>Temps de construction :</strong> {$unite.temps}<br />
|
||||
<br />
|
||||
{if $unite.nec_hydrogene > $planete->hydrogene || $unite.nec_cristal > $planete->cristal || $unite.nec_metal > $planete->metal}<span class="lack">Ressources insuffisantes</span>
|
||||
{else}<form action="{$menu.chantierterrestre}&n={$onglet}&v={$unite.id}" method="post"><fieldset>
|
||||
<label for="terr{$unite.id}">Nombre : <input type="text" class="text" name="terr{$unite.id}" id="terr{$unite.id}" value="0" /></label>
|
||||
<input type="submit" class="submit" value="OK" />
|
||||
</fieldset></form>{/if}
|
||||
</dd>
|
||||
</dl>
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
{else} <div id="erreur">Aucune unité ou défense ne peut être entraînée actuellement.</div>{/if}
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Chat</h2>
|
||||
Le chat est désactivé pour le moment
|
||||
<div id="erreur">Le chat est désactivé pour le moment</div>
|
||||
<!--
|
||||
<applet name="coolsmile" code="EIRC.class" style="height: 450px; width: 98%;">
|
||||
<param name="archive" value="java/EIRC.jar,java/EIRC-cfg.jar">
|
||||
|
|
|
|||
|
|
@ -1,52 +0,0 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>File d'attente</h2>
|
||||
<div class="file">
|
||||
{if $file}
|
||||
{foreach from=$file item=element key=key}
|
||||
{if $i != true}<span><strong>Prochaine {if $element.5}unité{else}défense{/if} </strong> : <em id="resten"></em>
|
||||
<script type="text/javascript">reste({$element.4},'resten', true);</script></span>{/if}
|
||||
<span>{$element.1} {if $element.1 > 1}{$LANG.$race.terrestre.noms_pluriel[$element.0]}{else}{$LANG.$race.terrestre.noms_sing[$element.0]}{/if}{if $element.2} (démolition){/if} - <em id="reste{$key}"></em><script type="text/javascript">reste({$element.3},'reste{$key}', {if $i != true}{assign var='i' value=true}true{else}false{/if});</script>
|
||||
- <a href="{$menu.defenses}&a={$key}">Annuler un</a> - <a href="{$menu.defenses}&a={$key}&n={$element.1}">Annuler tous</a></span>
|
||||
{/foreach}
|
||||
{else} <span>Aucune défense dans la file d'attente</span>{/if}
|
||||
<br />
|
||||
</div>
|
||||
<h3><a href="{$menu.arbre}&q=chantierterrestre">Arbre des technologies</a></h3><br />
|
||||
<h2>Chantier terrestre </h2>
|
||||
<table class="construction">
|
||||
{foreach from=$unites item=unite}
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="?p=description&d={$unite.id}#menu">
|
||||
<img width="130" height="132" src="{$url_images}images/terrestre/{$unite.image}" alt="Déeacute;fense" />
|
||||
<span>{$LANG.$race.terrestre.descriptions[$unite.id]}</span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<strong>{$LANG.$race.terrestre.noms_sing[$unite.id]|ucfirst}{if $unite.nombre > 0} ({$unite.nombre} unité{if $unite.nombre > 1}s{/if}){/if}</strong><br /><br />
|
||||
{if $unite.nec_metal > 0}
|
||||
{if $unite.nec_metal > $planete->metal}<span class="lack">Coût {$LANG.$race.ressources.noms.metal} : {$unite.nec_metal|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.metal} : {$unite.nec_metal|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
{if $unite.nec_cristal > 0}
|
||||
{if $unite.nec_cristal > $planete->cristal}<span class="lack">Coût {$LANG.$race.ressources.noms.cristal} : {$unite.nec_cristal|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.cristal} : {$unite.nec_cristal|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
{if $unite.nec_hydrogene > 0}
|
||||
{if $unite.nec_hydrogene > $planete->hydrogene}<span class="lack">Coût {$LANG.$race.ressources.noms.hydrogene} : {$unite.nec_hydrogene|separerNombres}</span><br />
|
||||
{else}Coût {$LANG.$race.ressources.noms.hydrogene} : {$unite.nec_hydrogene|separerNombres}<br />{/if}
|
||||
{/if}
|
||||
Temps de construction : {$unite.temps}<br /><br />
|
||||
<form action="{$menu.defenses}&v={$unite.id}" method="post">
|
||||
<fieldset>
|
||||
<input class="text" type="text" name="nombre" value="0" />
|
||||
<input class="submit" name="terr{$unite.id}" type="submit" value="OK" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -1,130 +1,47 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Détails {$type} : {$LANG.$raceAff.$type.noms_sing.$id}</h2>
|
||||
<table style="width: 400px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 120px;"><img src="{$url_images}images/{$type}/{$image}" alt="{$type|ucfirst}" /></td>
|
||||
<td><b>{$LANG.$raceAff.$type.noms_sing.$id|ucfirst}</b><br />Actuellement : {if $type != 'vaisseaux' && $type != 'terrestre' && $type != 'caserne'}niveau{/if} {$planete->$type.$id}{if $type == 'vaisseaux' || $type == 'terrestre' || $type == 'caserne'} unités{/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">{$LANG.$raceAff.$type.descriptions.$id}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table style="margin: auto; width: 100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2">Coûts {if $type == 'vaisseaux' || $type == 'terrestre' || $type == 'caserne'}unité{else}prochain niveau{/if}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{if $ressourcesNext.0}
|
||||
<tr>
|
||||
<th>{$LANG.$raceAff.ressources.noms.metal|ucfirst}</th>
|
||||
<td>{$ressourcesNext.0|separerNombres}</td>
|
||||
</tr>
|
||||
<h2>Détails {$type}</h2>
|
||||
<dl id="description">
|
||||
<dt>{$LANG.$raceAff.$type.noms_sing.$id|ucfirst}</dt>
|
||||
<dd><img src="{$url_images}images/{$type}/{$image}" alt="{$type|ucfirst}" /><p>{$LANG.$raceAff.$type.descriptions.$id}</p>
|
||||
<div><h5>Actuellement : </h5>{if $type == 'terrestre' || $type == 'caserne'}{$planete->$type.$id} unité(s){elseif $type == 'vaisseaux'}{$planete->$type.$id} vaisseau(x){else}niveau {$planete->$type.$id}{/if}</div>
|
||||
{if $ressourcesNext.0}<div><h5>Coût {$LANG.$raceAff.ressources.noms.metal|ucfirst} : </h5>{$ressourcesNext.0|separerNombres}</div>{/if}
|
||||
{if $ressourcesNext.1}<div><h5>Coût {$LANG.$raceAff.ressources.noms.cristal|ucfirst} : </h5>{$ressourcesNext.1|separerNombres}</div>{/if}
|
||||
{if $ressourcesNext.2}<div><h5>Coût {$LANG.$raceAff.ressources.noms.hydrogene|ucfirst} : </h5>{$ressourcesNext.2|separerNombres}</div>{/if}
|
||||
<div><h5>Temps de construction : </h5>{$ressourcesNext.3}</div>
|
||||
{if $caract}
|
||||
<div><h5>Attaque : </h5>{$caract.0|separerNombres}</div>
|
||||
<div><h5>Bouclier : </h5>{$caract.1|separerNombres}</div>
|
||||
<div><h5>Point de vie : </h5>{$caract.2|separerNombres}</div>
|
||||
<div><h5>Capacité de transpost : </h5>{$caract.3|separerNombres}</div>
|
||||
{/if}
|
||||
{if $ressourcesNext.1}
|
||||
<tr>
|
||||
<th>{$LANG.$raceAff.ressources.noms.cristal|ucfirst}</th>
|
||||
<td>{$ressourcesNext.1|separerNombres}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $ressourcesNext.2}
|
||||
<tr>
|
||||
<th>{$LANG.$raceAff.ressources.noms.hydrogene|ucfirst}</th>
|
||||
<td>{$ressourcesNext.2|separerNombres}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<th>Temps</th>
|
||||
<td>{$ressourcesNext.3|separerNombres}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<div><h5>Nécessite : </h5>{$etat}</div>
|
||||
{if $tableau_prod}
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table style="margin: auto; width: 100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="5">Production et consomation théoriques</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Niveau</th>
|
||||
<th>Production</th>
|
||||
<th>Consomation</th>
|
||||
<th>Différence prod.</th>
|
||||
<th>Différence conso.</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$tableau_prod item=ligne}
|
||||
{if $ligne.0 == $planete->$type.$id}<tr style="color: #F0F0F0;">{else}<tr>{/if}
|
||||
<td style="font-weight: bold;">{$ligne.0}</td>
|
||||
<td>{$ligne.1|separerNombres}</td>
|
||||
<td>{$ligne.2|separerNombres}</td>
|
||||
<td>{if $ligne.3 > 0}+{/if}{$ligne.3|separerNombres}</td>
|
||||
<td>{if $ligne.4 > 0}+{/if}{$ligne.4|separerNombres}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
{elseif $caract}
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table style="margin: auto; width: 100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2">Caractéristiques</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Attaque</th>
|
||||
<td>{$caract.0|separerNombres}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Bouclier</th>
|
||||
<td>{$caract.1|separerNombres}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Points de vie</th>
|
||||
<td>{$caract.2|separerNombres}</td>
|
||||
</tr>
|
||||
{if $caract.3}
|
||||
<tr>
|
||||
<th>Capacité de transport</th>
|
||||
<td>{$caract.3|separerNombres}</td>
|
||||
</tr>
|
||||
<br /><br /><table style="margin: auto; width: 100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="5">Production et consomation théoriques</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Niveau</th>
|
||||
<th>Production</th>
|
||||
<th>Consomation</th>
|
||||
<th>Différence prod.</th>
|
||||
<th>Différence conso.</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$tableau_prod item=ligne}
|
||||
{if $ligne.0 == $planete->$type.$id}<tr style="color: #F0F0F0;">{else}<tr>{/if}
|
||||
<td style="font-weight: bold;">{$ligne.0}</td>
|
||||
<td>{$ligne.1|separerNombres}</td>
|
||||
<td>{$ligne.2|separerNombres}</td>
|
||||
<td>{if $ligne.3 > 0}+{/if}{$ligne.3|separerNombres}</td>
|
||||
<td>{if $ligne.4 > 0}+{/if}{$ligne.4|separerNombres}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table style="margin: auto; width: 100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Requiert</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>{$etat}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -20,9 +20,9 @@
|
|||
</table>
|
||||
<h2>Ajouter une destination rapide</h2>
|
||||
<form action="?p=destinationsrapides" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="amas">Coordonnées de la planète à ajouter :</label><input class="dest" type="text" id="amas" name="amas" maxlength="2" />:<input class="dest" type="text" id="ss" name="ss" maxlength="2" />:<input class="dest" type="text" id="plan" name="pos" maxlength="2" /><br />
|
||||
<input class="submit" type="submit" value="Ajouter" />
|
||||
<fieldset class="navigation"><br />
|
||||
<label for="amas">Coordonnées de la planète à ajouter : <input class="text" type="text" id="amas" name="amas" maxlength="2" />:<input class="text" type="text" id="ss" name="ss" maxlength="2" />:<input class="text" type="text" id="plan" name="pos" maxlength="2" /></label><br /><br />
|
||||
<input class="submit" type="submit" value="Ok" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
46
onyx2/tpl/game/diplomatie/archives.tpl
Normal file
46
onyx2/tpl/game/diplomatie/archives.tpl
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{include file='game/header.tpl'}
|
||||
{include file='game/diplomatie/common.tpl'}
|
||||
<h2>Déclarations de guerre</h2>
|
||||
{if $guerres}
|
||||
<ul>
|
||||
{foreach from=$guerres item=pacte}
|
||||
<li><a href="{$menu.alliance}&v={$pacte.alliance_id}">[{$pacte.tag}] {$pacte.nom_alliance}</a> déclarée le {$pacte.time_creation|date_format:"%d/%m/%y"} et terminiée le {$pacte.time_fin|date_format:"%d/%m/%y"}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{else}
|
||||
<h3>Aucune guerre n'a été déclarée</h3>
|
||||
{/if}
|
||||
<br />
|
||||
<h2>Pactes de non agression</h2>
|
||||
{if $pnas}
|
||||
<ul>
|
||||
{foreach from=$pnas item=pacte}
|
||||
<li><a href="{$menu.alliance}&v={$pacte.alliance_id}">[{$pacte.tag}] {$pacte.nom_alliance}</a> créé le {$pacte.time_creation|date_format:"%d/%m/%y"} et abrogé le {$pacte.time_fin|date_format:"%d/%m/%y"}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{else}
|
||||
<h3>Aucun pacte de ce type n'a encore été signé</h3>
|
||||
{/if}
|
||||
<br />
|
||||
<h2>Pactes commerciaux</h2>
|
||||
{if $pcs}
|
||||
<ul>
|
||||
{foreach from=$pcs item=pacte}
|
||||
<li><a href="{$menu.alliance}&v={$pacte.alliance_id}">[{$pacte.tag}] {$pacte.nom_alliance}</a> créé le {$pacte.time_creation|date_format:"%d/%m/%y"} et abrogé le {$pacte.time_fin|date_format:"%d/%m/%y"}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{else}
|
||||
<h3>Aucun pacte de ce type n'a encore été signé</h3>
|
||||
{/if}
|
||||
<br />
|
||||
<h2>Pactes militaires</h2>
|
||||
{if $pms}
|
||||
<ul>
|
||||
{foreach from=$pms item=pacte}
|
||||
<li><a href="{$menu.alliance}&v={$pacte.alliance_id}">[{$pacte.tag}] {$pacte.nom_alliance}</a> créé le {$pacte.time_creation|date_format:"%d/%m/%y"} et abrogé le {$pacte.time_fin|date_format:"%d/%m/%y"}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{else}
|
||||
<h3>Aucun pacte de ce type n'a encore été signé</h3>
|
||||
{/if}
|
||||
{include file='game/footer.tpl'}
|
||||
6
onyx2/tpl/game/diplomatie/common.tpl
Normal file
6
onyx2/tpl/game/diplomatie/common.tpl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<ul class="onglets">
|
||||
<li><a href="{$menu.diplomatie}&o=actus"{if $onglet == "actus"} class="hilight"{/if}>Actualités</a></li>
|
||||
<li><a href="{$menu.diplomatie}&o=encours"{if $onglet == "encours"} class="hilight"{/if}>En place</a></li>
|
||||
<li><a href="{$menu.diplomatie}&o=archives"{if $onglet == "archives"} 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"} class="hilight"{/if}>Nouveau</a></li>{/if}
|
||||
</ul>
|
||||
46
onyx2/tpl/game/diplomatie/encours.tpl
Normal file
46
onyx2/tpl/game/diplomatie/encours.tpl
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{include file='game/header.tpl'}
|
||||
{include file='game/diplomatie/common.tpl'}
|
||||
<h2>Déclarations de guerre</h2>
|
||||
{if $guerres}
|
||||
<ul>
|
||||
{foreach from=$guerres item=pacte}
|
||||
<li><a href="{$menu.alliance}&v={$pacte.alliance_id}">[{$pacte.tag}] {$pacte.nom_alliance}</a> depuis le {$pacte.time_creation|date_format:"%d/%m/%y"}{if ($planete->id == $pacte.id_alliance1 && $pacte.accepte != 2) || ($planete->id == $pacte.id_alliance2 && $pacte.accepte == 2)}{if $pacte.accepte == 0} - Une demande de cesser le feu est en cours{else}{if $planete->permissions_alliance & 8} - <em><a href="{$menu.diplomatie}&o=new&c={$pacte.id}">Demander un cesser le feu</a></em>{else} - Nous pouvons demander le cesser le feu{/if}{/if}{elseif $pacte.accepte == 0}{if $planete->permissions_alliance & 8} - <em><a href="{$menu.diplomatie}&a={$pacte.id}">Accepter le cesser le feu</a></em> - <em><a href="{$menu.diplomatie}&r={$pacte.id}">Refuser le cesser le feu</a></em>{else} - Nos adversaires nous propose un cesser le feu{/if}{else} - Nous ne pouvons pas demander de cesser le feu.{/if}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{else}
|
||||
<h3>Aucune guerre n'est actuellement déclarée</h3>
|
||||
{/if}
|
||||
<br />
|
||||
<h2>Pactes de non agression</h2>
|
||||
{if $pnas}
|
||||
<ul>
|
||||
{foreach from=$pnas item=pacte}
|
||||
<li><a href="{$menu.alliance}&v={$pacte.alliance_id}">[{$pacte.tag}] {$pacte.nom_alliance}</a> depuis le {$pacte.time_creation|date_format:"%d/%m/%y"}{if $planete->permissions_alliance & 8} - <em><a href="{$menu.diplomatie}&s={$pacte.id}">Abroger le pacte</a></em>{/if}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{else}
|
||||
<h3>Aucun pacte de ce type n'est actuellement en vigueur</h3>
|
||||
{/if}
|
||||
<br />
|
||||
<h2>Pactes commerciaux</h2>
|
||||
{if $pcs}
|
||||
<ul>
|
||||
{foreach from=$pcs item=pacte}
|
||||
<li><a href="{$menu.alliance}&v={$pacte.alliance_id}">[{$pacte.tag}] {$pacte.nom_alliance}</a> depuis le {$pacte.time_creation|date_format:"%d/%m/%y"}{if $planete->permissions_alliance & 8} - <em><a href="{$menu.diplomatie}&s={$pacte.id}">Abroger le pacte</a></em>{/if}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{else}
|
||||
<h3>Aucun pacte de ce type n'est actuellement en vigueur</h3>
|
||||
{/if}
|
||||
<br />
|
||||
<h2>Pactes militaires</h2>
|
||||
{if $pms}
|
||||
<ul>
|
||||
{foreach from=$pms item=pacte}
|
||||
<li><a href="{$menu.alliance}&v={$pacte.alliance_id}">[{$pacte.tag}] {$pacte.nom_alliance}</a> depuis le {$pacte.time_creation|date_format:"%d/%m/%y"}{if $planete->permissions_alliance & 8} - <em><a href="{$menu.diplomatie}&s={$pacte.id}">Abroger le pacte</a></em>{/if}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{else}
|
||||
<h3>Aucun pacte de ce type n'est actuellement en vigueur</h3>
|
||||
{/if}
|
||||
{include file='game/footer.tpl'}
|
||||
32
onyx2/tpl/game/diplomatie/general.tpl
Normal file
32
onyx2/tpl/game/diplomatie/general.tpl
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{include file='game/header.tpl'}
|
||||
{include file='game/diplomatie/common.tpl'}
|
||||
<h2>Demandes de pactes</h2>
|
||||
{if $demandes}
|
||||
{foreach from=$demandes item=demande}
|
||||
<h4><strong>{$demande.time_creation|date_format:"%d/%m/%y %H:%M"} ::</strong> L'alliance <a href="{$menu.alliance}&v={$demande.alliance_id}">[{$demande.tag}] {$demande.nom_alliance}</a> veut {if $demande.type == 0}engager un cesser le feu{else}passer un pacte {if $demande.type == 1}de non-agression{elseif $demande.type == 2}commercial{else}militaire{/if}{/if}.{if $planete->permissions_alliance &8} <a href="{$menu.diplomatie}&a={$demande.id}">Accepter</a> - <a href="{$menu.diplomatie}&r={$demande.id}">Rejeter</a>{/if}</h4>
|
||||
{/foreach}
|
||||
{else}
|
||||
<h3>Aucune demande en cours</h3>
|
||||
{/if}
|
||||
<br />
|
||||
<h2>Actualités des pactes et des guerres</h2>
|
||||
{if $actus_alli}
|
||||
{foreach from=$actus_alli item=actu_alli}
|
||||
{if $actu_alli.time_fin && $actu_alli.type != 0}<h3>{$actu_alli.time_fin|date_format:"%d/%m/%y %H:%M"} :: Le pacte {if $actu_alli.type == 1}de non-agression{elseif $actu_alli.type == 2}commercial{else}militaire{/if} avec l'alliance <a href="{$menu.alliance}&v={$actu_alli.alliance_id}">[{$actu_alli.tag}] {$actu_alli.nom_alliance}</a> a été abrogé</h3>
|
||||
{else}{if ($planete->id == $actu_alli.id_alliance1 && $actu_alli.type != 0) || ($planete->id == $actu_alli.id_alliance2 && $actu_alli.type == 0 && $actu_alli.accepter == 1) || ($planete->id == $actu_alli.id_alliance1 && $actu_alli.type == 0 && $actu_alli.time_demand != $actu_alli.time_creation|date_format:"%Y-%m-%d %H:%M:%S")}<h3><strong>{$actu_alli.time_creation|date_format:"%d/%m/%y %H:%M"} ::</strong> L'alliance <a href="{$menu.alliance}&v={$actu_alli.alliance_id}">[{$actu_alli.tag}] {$actu_alli.nom_alliance}</a> {if $actu_alli.type == 0 && $actu_alli.time_demand == $actu_alli.time_creation|date_format:"%Y-%m-%d %H:%M:%S"}nous a déclaré la guerre{else}{if $actu_alli.accepte == 2}a refusé notre{elseif $actu_alli.accepte == 1}a accepté notre{else}n'a pas encore répondu à notre demande de{/if} {if $actu_alli.type == 0}cesser le feu{else}pacte {if $actu_alli.type == 1}de non-agression{elseif $actu_alli.type == 2}commercial{else}militaire{/if}{/if}{/if}.</h3>
|
||||
{else}<h3><strong>{$actu_alli.time_creation|date_format:"%d/%m/%y %H:%M"} ::</strong> Nous avons {if $actu_alli.type == 0 && $actu_alli.time_demand == $actu_alli.time_creation|date_format:"%Y-%m-%d %H:%M:%S"}déclaré la guerre à{else}{if $actu_alli.accepte == 1}accepté{else}refusé{/if} le {if $actu_alli.type == 0}cesser le feu{else}pacte {if $actu_alli.type == 1}de non-agression{elseif $actu_alli.type == 2}commercial{else}militaire{/if}{/if} proposé par{/if} l'alliance <a href="{$menu.alliance}&v={$actu_alli.alliance_id}">[{$actu_alli.tag}] {$actu_alli.nom_alliance}</a></h3>
|
||||
{/if}{/if}
|
||||
{/foreach}
|
||||
{else}
|
||||
<h3>Aucune actualité disponible</h3>
|
||||
{/if}
|
||||
<br />
|
||||
<h2>Actualités de la galaxie</h2>
|
||||
{if $actus_world}
|
||||
{foreach from=$actus_world item=actu_world}
|
||||
<h3><strong>{$actu_world.time_creation|date_format:"%d/%m/%y %H:%M"} ::</strong> L'alliance <a href="{$menu.alliance}&v={$actu_world.alliance1_id}">[{$actu_world.tag1}] {$actu_world.nom_alliance1}</a> {if $actu_world.type == 0}a déclaré la guerre à{else}a engagé un pacte {if $actu_world.type == 1}de non-agression{elseif $actu_world.type == 2}commercial{else}militaire{/if} avec{/if} l'alliance <a href="{$menu.alliance}&v={$actu_world.alliance2_id}">[{$actu_world.tag2}] {$actu_world.nom_alliance2}</a>.</h3>
|
||||
{/foreach}
|
||||
{else}
|
||||
<h3>Aucune actualité disponible</h3>
|
||||
{/if}
|
||||
{include file='game/footer.tpl'}
|
||||
20
onyx2/tpl/game/diplomatie/nouveau.tpl
Normal file
20
onyx2/tpl/game/diplomatie/nouveau.tpl
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{include file='game/header.tpl'}
|
||||
{include file='game/diplomatie/common.tpl'}
|
||||
<h2>Nouvelle déclaration de guerre</h2>
|
||||
<form method="post" action="{$menu.diplomatie}&o=new">
|
||||
<fieldset class="option">
|
||||
<label for="type">Type de pacte :</label> Déclaration de guerre<input type="hidden" name="type" value="0" /><br /><br />
|
||||
<label for="nom_alli">Nom de l'alliance cible :</label> <input type="text" class="text" name="nom_alli" id="nom_alli" maxlength="64" /><br /><br />
|
||||
<input class="submit" type="submit" value="Go" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<br /><br />
|
||||
<h2>Nouveau pacte</h2>
|
||||
<form method="post" action="{$menu.diplomatie}&o=new">
|
||||
<fieldset class="option">
|
||||
<label for="type">Type de pacte :</label> <select name="type" id="type"><option value="1">Pacte de non agression</option><option value="2">Pacte commercial</option><option value="3">Pacte militaire</option></select><br /><br />
|
||||
<label for="nom_alli">Nom de l'alliance cible :</label> <input type="text" class="text" name="nom_alli" id="nom_alli" maxlength="64" /><br /><br />
|
||||
<input class="submit" type="submit" value="Go" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -1,13 +1,23 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Envoyer un message privé</h2>
|
||||
<form action="{$menu.envoie}" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="amis">Amis :</label><select name="destin" id="fav_dest" onchange="{literal}if (this.value == 'edit') { window.open('?p=amis'); this.value = ''; return false; } document.getElementById('nom').value = this.value;{/literal}"><option value="">--</option>{html_options output=$amis values=$amis}<option value="edit">Modifier la liste</option></select><br />
|
||||
<label for="nom">Nom du destinataire :</label><input class="text" type="text" name="nom" value="{$destinataire|escape}" id="nom" />
|
||||
<label for="objet">Objet :</label><input class="text" type="text" name="objet" value="{$objet|escape}" id="objet" />
|
||||
<label for="message">Texte :</label>
|
||||
<textarea id="message" name="message" cols="40" rows="10"></textarea><br /><br />
|
||||
<input class="submit" type="submit" value="OK" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<h2>Messagerie</h2>
|
||||
<ul class="onglets">
|
||||
<li{if $onglet != "rapports" && $onglet != "send" && $onglet != "envoyer"} class="hilight"{/if}><a href="{$menu.messages}&n=recus">Reçus</a>{if $alertMail.0} ({$alertMail.0}){/if}</li>
|
||||
<li{if $onglet == "rapports"} class="hilight"{/if}><a href="{$menu.messages}&n=rapports">Rapports</a>{if $alertMail.1} ({$alertMail.1}){/if}</li>
|
||||
<li{if $onglet == "send"} class="hilight"{/if}><a href="{$menu.messages}&n=send">Envoyés</a></li>
|
||||
<li{if $onglet == "envoyer"} class="hilight"{/if}><a href="{$menu.messages}&n=envoyer">Ecrire</a></li>
|
||||
</ul><br /><br />
|
||||
<form action="{$menu.messages}&n=envoyer" method="post">
|
||||
<fieldset id="envoyer">
|
||||
<label for="amis">Amis :
|
||||
<select name="amis" id="amis">
|
||||
<option value="">--</option>
|
||||
{html_options output=$amis values=$amis}
|
||||
</select>
|
||||
</label><br />
|
||||
<label for="destinataire">Destinataire(s) : <input type="text" class="text" name="destinataire" id="destinataire" value="{$destinataire|escape}" /></label><br />
|
||||
<label for="objet">Objet : <input type="text" class="text" name="objet" id="objet" value="{$objet|escape}" /></label><br />
|
||||
<textarea name="message" cols="40" rows="10"></textarea><br />
|
||||
<input type="submit" class="submit" value="OK" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
{include file='game/header.tpl'}
|
||||
<div class="error"{if $couleur} style="color: {$couleur};"{/if}>{$message}</div>
|
||||
<div id="erreur"{if $couleur} style="color: {$couleur};"{/if}>{$message}</div>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -5,19 +5,46 @@
|
|||
<tr><th>Nom</th><th>Mission</th><th>Nb.vaisseau(x)</th><th>Destination</th><th>Heure d'arrivée</th><th>Retour</th><th>Heure de retour</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{if $flottesEC}
|
||||
{foreach from=$flottesEC item=flotteEC}
|
||||
<tr>
|
||||
<td><a href="{$menu.flotte}&n={$flotteEC.0}">{$flotteEC.1|escape}</a></td>
|
||||
<td>{$flotteEC.2}</td>
|
||||
<td>{$flotteEC.3}</td>
|
||||
<td>{$flotteEC.4|escape}</td>
|
||||
<td>{$flotteEC.5}</td>
|
||||
<td>{$flotteEC.6|escape}</td>
|
||||
<td>{$flotteEC.7}</td>
|
||||
<td><a href="{$menu.flotte}&n={$flotteEC->id}">{$flotteEC->nom|escape}</a></td>
|
||||
<td>{$flotteEC->txtMission($flotteEC->mission)}</td>
|
||||
<td>{$flotteEC->nb_vais}</td>
|
||||
<td>{if $flotteEC->end_type == "2"}{$flotteEC->end_planete->nom_alliance} [{$flotteEC->end_planete->galaxie}:{$flotteEC->end_planete->ss}:A]{elseif $flotteEC->end_type == "1"}[{$flotteEC->end_planete}]{elseif $flotteEC->end_type == "3"}[{$flotteEC->end_planete}:A]{else}{$flotteEC->end_planete->nom_planete} [{$flotteEC->end_planete->galaxie}:{$flotteEC->end_planete->ss}:{$flotteEC->end_planete->position}]{/if}</td>
|
||||
<td>{$flotteEC->printTime_end()|date_format:"%d/%m %H:%M:%S"}</td>
|
||||
{if $flotteEC->printTime_ret()}<td>{if $flotteEC->start_type == "2"}{$flotteEC->start_planete->nom_alliance} [{$flotteEC->start_planete->galaxie}:{$flotteEC->start_planete->ss}:A]{elseif $flotteEC->start_type == "1"}[{$flotteEC->start_planete}]{elseif $flotteEC->start_type == "3"}[{$flotteEC->start_planete}:A]{else}{$flotteEC->start_planete->nom_planete} [{$flotteEC->start_planete->galaxie}:{$flotteEC->start_planete->ss}:{$flotteEC->start_planete->position}]{/if}</td>
|
||||
<td>{$flotteEC->printTime_ret()|date_format:"%d/%m %H:%M:%S"}</td>
|
||||
{else}<td>-</td><td>-</td>{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr>
|
||||
<td colspan="7">Aucune flotte en action</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</tbody>
|
||||
</table>
|
||||
{if $flottesEP}
|
||||
<h2>Flottes en préparation</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Statut</th><th>Nom</th><th>Mission</th><th>Nb.vaisseau(x)</th><th>Destination</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$flottesEP key=key item=flotteEP}
|
||||
<tr>
|
||||
<td>{$flotteEP.statut}</td>
|
||||
<td><a href="{$menu.flotte}&c={$key}">{if $flotteEP.nom}{$flotteEP.nom|escape}{else}Sans nom{/if}</a></td>
|
||||
<td>{$flotteEP.mission}</td>
|
||||
<td>{$flotteEP.nbVaisseaux}</td>
|
||||
<td>{if $flotteEP.end_position}[{$flotteEP.end_galaxie}:{$flotteEP.end_systeme}:{$flotteEP.end_position}]{else}Indéterminé{/if}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<p>Cette liste sera perdue après votre déconnexion</p>
|
||||
{/if}
|
||||
<h2>Vaisseaux disponibles sur cette planète</h2>
|
||||
<form action="{$menu.flotte}" method="post">
|
||||
<table>
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
<form action="{$menu.flotte}" method="post">
|
||||
<h2>Paramètres généraux</h2>
|
||||
<fieldset class="options">
|
||||
<label for="nom">Nom de la flotte :</label><input class="text" type="text" id="nom" name="nomflotte" maxlength="24" /><br />
|
||||
<label for="nom">Nom de la flotte :</label><input class="text" type="text" id="nom" name="nomflotte" maxlength="24" value="{$restaure.nom}" /><br />
|
||||
<label for="fav_dest">Destination rapide :</label><select name="destin" id="fav_dest"><option value="0">--</option><optgroup label="Colonies">{html_options options=$favorisColonies}</optgroup><optgroup label="Favoris">{html_options options=$favoris}</optgroup><option value="edit">Modifier la liste</option></select><br />
|
||||
<label for="amas">Destination :</label><span id="destination"><input class="dest" type="text" id="amas" name="amas" maxlength="2" />:<input class="dest" type="text" id="ss" name="ss" maxlength="2" />:<input class="dest" type="text" id="plan" name="pos" maxlength="2" /></span><br />
|
||||
<label for="amas">Destination :</label><span id="destination"><input class="dest" type="text" id="amas" name="amas" maxlength="2" value="{$restaure.end_galaxie}" />:<input class="dest" type="text" id="ss" name="ss" maxlength="2" value="{$restaure.end_systeme}" />:<input class="dest" type="text" id="plan" name="pos" maxlength="2" value="{$restaure.end_position}" /></span><br />
|
||||
<label for="vitesse">Vitesse :</label><select name="vitesse" id="vitesse"><option value="100">100%</option><option value="75">75%</option><option value="50">50%</option><option value="25">25%</option></select><br />
|
||||
<br /><div id="aide1">Pour vous repérer plus facilement entre vos différentes flottes, donnez-lui un nom.</div>
|
||||
</fieldset>
|
||||
|
|
@ -12,18 +12,18 @@
|
|||
<fieldset class="options">
|
||||
<label for="mission">Mission :</label>
|
||||
<select name="mission" id="mission" onchange="tempsFlotte();">
|
||||
{html_options options=$missions}
|
||||
{html_options options=$missions selected=$restaure.mission}
|
||||
</select><br />
|
||||
<span id="tactique"></span>
|
||||
<label for="metal">Embarquer {$LANG.$race.ressources.noms.metal} :</label><input class="text" type="text" id="metal" name="metal" /><br />
|
||||
<label for="cristal">Embarquer {$LANG.$race.ressources.noms.cristal} :</label><input class="text" type="text" id="cristal" name="cristal" /><br />
|
||||
<label for="hydrogene">Embarquer {$LANG.$race.ressources.noms.hydrogene} :</label><input class="text" type="text" id="hydrogene" name="hydrogene" /><br />
|
||||
<label for="metal">Embarquer {$LANG.$race.ressources.noms.metal} :</label><input class="text" type="text" id="metal" name="metal" value="{$restaure.embarquer.0}" /><br />
|
||||
<label for="cristal">Embarquer {$LANG.$race.ressources.noms.cristal} :</label><input class="text" type="text" id="cristal" name="cristal" value="{$restaure.embarquer.1}" /><br />
|
||||
<label for="hydrogene">Embarquer {$LANG.$race.ressources.noms.hydrogene} :</label><input class="text" type="text" id="hydrogene" name="hydrogene" value="{$restaure.embarquer.2}" /><br />
|
||||
<label>Places restantes dans les cales :</label><span id="placesRest"></span><br />
|
||||
<br /><div id="aide2"></div>
|
||||
</fieldset>
|
||||
<h2>Envoyer</h2>
|
||||
<noscript><span style="color: #FF0000; font-weight: bolder;">Le JavaScript est nécessaire pour envoyer une flotte.</span><br /></noscript>
|
||||
<input type="submit" value="GO" class="submit" /><input type="hidden" name="cds" value="123456" /><br />
|
||||
<input type="submit" value="GO" class="submit" /><input type="hidden" name="cds" value="{$idPrep}" /><br />
|
||||
Temps de déplacement : <span id="temps">-</span><br />
|
||||
Consomation : <span id="conso">-</span><br />
|
||||
<span id="deblok"><b>Complètez les champs ci-dessus</b></span>
|
||||
|
|
|
|||
32
onyx2/tpl/game/flotte2g.tpl
Normal file
32
onyx2/tpl/game/flotte2g.tpl
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{include file='game/header.tpl'}
|
||||
<form action="{$menu.flotte}" method="post">
|
||||
<h2>Paramètres généraux</h2>
|
||||
<fieldset class="options">
|
||||
<label for="nom">Nom de la flotte :</label><input class="text" type="text" id="nom" name="nomflotte" maxlength="24" /><br />
|
||||
<label for="fav_dest">Destination rapide :</label><select name="destin" id="fav_dest"><option value="0">--</option><optgroup label="Colonies">{html_options options=$favorisColonies}</optgroup><optgroup label="Favoris">{html_options options=$favoris}</optgroup><option value="edit">Modifier la liste</option></select><br />
|
||||
<label for="amas">Destination :</label><span id="destination"><input class="dest" type="text" id="amas" name="amas" maxlength="2" />:<input class="dest" type="text" id="ss" name="ss" maxlength="2" />:<input class="dest" type="text" id="plan" name="pos" maxlength="2" /></span><br />
|
||||
<label for="vitesse">Vitesse :</label><select name="vitesse" id="vitesse"><option value="100">100%</option><option value="75">75%</option><option value="50">50%</option><option value="25">25%</option></select><br />
|
||||
<br /><div id="aide1">Pour vous repérer plus facilement entre vos différentes flottes, donnez-lui un nom.</div>
|
||||
</fieldset>
|
||||
<h2>Mission et contenu</h2>
|
||||
<fieldset class="options">
|
||||
<label for="mission">Mission :</label>
|
||||
<select name="mission" id="mission" onchange="tempsFlotte();">
|
||||
{html_options options=$missions}
|
||||
</select><br />
|
||||
<span id="tactique"></span>
|
||||
<label for="metal">Embarquer {$LANG.$race.ressources.noms.metal} :</label><input class="text" type="text" id="metal" name="metal" /><br />
|
||||
<label for="cristal">Embarquer {$LANG.$race.ressources.noms.cristal} :</label><input class="text" type="text" id="cristal" name="cristal" /><br />
|
||||
<label for="hydrogene">Embarquer {$LANG.$race.ressources.noms.hydrogene} :</label><input class="text" type="text" id="hydrogene" name="hydrogene" /><br />
|
||||
<label>Places restantes dans les cales :</label><span id="placesRest"></span><br />
|
||||
<br /><div id="aide2"></div>
|
||||
</fieldset>
|
||||
<h2>Envoyer</h2>
|
||||
<noscript><span style="color: #FF0000; font-weight: bolder;">Le JavaScript est nécessaire pour envoyer une flotte.</span><br /></noscript>
|
||||
<input type="submit" value="GO" class="submit" /><input type="hidden" name="cds" value="123456" /><br />
|
||||
Temps de déplacement : <span id="temps">-</span><br />
|
||||
Consomation : <span id="conso">-</span><br />
|
||||
<span id="deblok"><b>Complètez les champs ci-dessus</b></span>
|
||||
<br /><span id="vp"></span>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -1,14 +1,11 @@
|
|||
<div class="border_bt"></div></div>
|
||||
<div id="footer">
|
||||
Réalisé par Halo-Battle Staff<br />
|
||||
Design by <a href="http://nothing-arts.com" onclick="window.open(this.href); return false;"><ins>nothingarts</ins></a><br />
|
||||
<br />Actuellement en ligne : {$header.count.3} joueurs<br />
|
||||
<a href="{$link.accueil}">Accueil</a> | <a href="{$link.blog}">Blog</a> | <a href="{$link.forum}">Forum</a> | <a href="{$menu.chat}">Chat</a> | <a href="{$menu.faq}">F.A.Q.</a> | <a href="{$link.operateur}">Nous contacter</a>
|
||||
{if $page == "admin"}{$analyst}{/if}
|
||||
</div>
|
||||
<span class="bottom"></span>
|
||||
</div>
|
||||
|
||||
<div id="footer">Réalisé par <a href="http://www.anomaly-concepts.com/">Anomaly Concepts</a><br />Design de <a href="http://www.nothing-arts.com" class="external">nothingarts</a><br />Actuellement en ligne : {$header.count.3} joueurs<br /><br /><br /><a href="{$link.accueil}">Accueil</a> | <a href="{$link.blog}">Blog</a> | <a href="{$link.forum}">Forum</a> | <a href="{$menu.chat}">Chat</a> | <a href="{$menu.faq}">F.A.Q.</a> | <a href="{$link.operateur}">Nous contacter</a></div>
|
||||
</div>
|
||||
<div id="cornerbt"></div>
|
||||
<div id="bottom"></div>
|
||||
<script src="{$url_images}js/game.js" type="text/javascript"></script>
|
||||
{if $page != "admin"}{$analyst}{/if}
|
||||
{$script}
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
@ -1,20 +1,21 @@
|
|||
{include file='game/header.tpl'}
|
||||
{if SURFACE == 'planete'}
|
||||
<h2>Politique</h2>
|
||||
<form action="{$menu.gestion}" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="politique">Politique actuelle :</label>
|
||||
<select name="politique" id="politique">{html_options options=$politiques selected=$planete->politique}</select><br /><br />
|
||||
<label>Dernier changement de régime :</label>{$planete->politique_lastchange|date_format:"%A %d %B %y"}<br /><br />
|
||||
<label>Moral global de la population :</label><acronym title="">{$planete->moral*100}%</acronym><br /><br /><br />
|
||||
<fieldset class="form">
|
||||
<label for="politique">Politique actuelle : <select name="politique" id="politique">{html_options options=$politiques selected=$planete->politique}</select></label><br /><br />
|
||||
<label>Dernier changement de régime : <em>{$planete->politique_lastchange|date_format:"%d/%m/%y"}</em></label><br /><br />
|
||||
<label>Moral global de la population : <em>{$planete->moral*100}%</em></label><br /><br />
|
||||
<input class="submit" type="submit" value="Ok" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{/if}
|
||||
<h2>Gestion</h2>
|
||||
<div id="gestion">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<td></td>
|
||||
<th></th>
|
||||
{foreach from=$planetes item=plan}
|
||||
<td><img src="{$url_images}images/planetes/{$plan.image}.jpg" alt="{$plan.image}" title="{$plan.nom_planete}" width="80" height="80" /></td>
|
||||
{/foreach}
|
||||
|
|
@ -28,42 +29,42 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="hightlight">{$LANG.$race.ressources.noms.metal|ucfirst}</td>
|
||||
<th>{$LANG.$race.ressources.noms.metal|ucfirst}</th>
|
||||
{foreach from=$planetes item=plan}
|
||||
{if $plan.id == $planeteEC.id}{assign var='plan' value=$planeteEC}{/if}
|
||||
<td>{$plan.metal|separernombres}</td>
|
||||
<td>{$plan.metal|separerNombres}</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hightlight">{$LANG.$race.ressources.noms.cristal|ucfirst}</td>
|
||||
<th>{$LANG.$race.ressources.noms.cristal|ucfirst}</th>
|
||||
{foreach from=$planetes item=plan}
|
||||
{if $plan.id == $planeteEC.id}{assign var='plan' value=$planeteEC}{/if}
|
||||
<td>{$plan.cristal|separernombres}</td>
|
||||
<td>{$plan.cristal|separerNombres}</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hightlight">{$LANG.$race.ressources.noms.hydrogene|ucfirst}</td>
|
||||
<th>{$LANG.$race.ressources.noms.hydrogene|ucfirst}</th>
|
||||
{foreach from=$planetes item=plan}
|
||||
{if $plan.id == $planeteEC.id}{assign var='plan' value=$planeteEC}{/if}
|
||||
<td>{$plan.hydrogene|separernombres}</td>
|
||||
<td>{$plan.hydrogene|separerNombres}</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hightlight">{$LANG.$race.ressources.noms.energie|ucfirst}</td>
|
||||
<th>{$LANG.$race.ressources.noms.energie|ucfirst}</th>
|
||||
{foreach from=$planetes item=plan}
|
||||
{if $plan.id == $planeteEC.id}{assign var='plan' value=$planeteEC}{/if}
|
||||
<td>{$plan.energie|separerNombres}</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hightlight">Population</td>
|
||||
<th>Population</th>
|
||||
{foreach from=$planetes item=plan}
|
||||
{if $plan.id == $planeteEC.id}{assign var='plan' value=$planeteEC}{/if}
|
||||
<td>{$plan.population|separerNombres}</td>
|
||||
{/foreach}
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hightlight">Moral</td>
|
||||
<th>Moral</th>
|
||||
{foreach from=$planetes item=plan}
|
||||
<td>{$plan.moral*100|separerNombres}%</td>
|
||||
{/foreach}
|
||||
|
|
|
|||
|
|
@ -1,107 +1,91 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
|
||||
<head>
|
||||
<title>{if $titre}.: {$titre} - Halo-Battle :.{else}.: Halo-Battle :.{/if}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Content-Language" content="fr" />
|
||||
|
||||
<meta http-equiv="ext-Cache" content="0" />
|
||||
<meta http-equiv="cache-control" content="no-cache" />
|
||||
<meta http-equiv="expires" content="0" />
|
||||
<meta http-equiv="pragma" content="no-cache" />
|
||||
|
||||
<title>{$titre}</title>
|
||||
{if $race == "covenant"}<link rel="stylesheet" href="{$url_images}templates/covenants.css" type="text/css" media="all" title="Covenants" />{elseif $auth_level >= 3}<link rel="alternate stylesheet" href="templates/covenants.css" type="text/css" media="all" title="Covenants" />{/if}
|
||||
{if $race == "humain"}<link rel="stylesheet" href="{$url_images}templates/csnu.css" type="text/css" media="all" title="CSNU" />{elseif $auth_level >= 3}<link rel="alternate stylesheet" href="templates/csnu.css" type="text/css" media="all" title="CSNU" />{/if}
|
||||
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
|
||||
<script src="{$url_images}js/game.js" type="text/javascript"></script>
|
||||
{if $race == "covenant"}<link rel="stylesheet" href="{$url_images}css/covenant/covenant.css" type="text/css" media="all" title="Covenants" />{elseif $auth_level >= 3}<link rel="alternate stylesheet" href="{$url_images}css/covenant/covenant.css" type="text/css" media="all" title="Covenants" />{/if}
|
||||
{if $race == "humain"}<link rel="stylesheet" href="{$url_images}css/csnu/csnu.css" type="text/css" media="all" title="CSNU" />{elseif $auth_level >= 3}<link rel="alternate stylesheet" href="{$url_images}css/csnu/csnu.css" type="text/css" media="all" title="CSNU" />{/if}
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{$url_images}favicon.ico" />
|
||||
{$scripth}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="cornertop"></div>
|
||||
<div id="top"></div>
|
||||
<div id="all">
|
||||
<div id="header">
|
||||
<div id="header_link"><span id="date">{$date}</span> | Vous jouez depuis {$tpsdejeu} | <a href="?p=version">Version {$version}</a>{if $multi} | <a href="?p=avertmulti" style="color: #FF0000;">! MULTICOMPTE !</a>{/if}{if $header.messagedemarrage} | <a href="?p=demarrage">{$header.messagedemarrage}</a>{/if}{if $planete->mv < 0} | <a href="?p=accueil" style="color: #FF0000;">Votre compte sera supprimé d'ici 48h</a>{/if}</div><a href="{$link.RSS}" id="rss">RSS :: s'abonner</a>
|
||||
<div><span id="date">{$smarty.now|date_format:"%A %e %B %Y %H:%M"}</span> | {$LANG.hd_sup.tempsDeJeu} {$tpsdejeu} | <a href="?p=version">Version {$version}</a>{if $multi} | <a href="?p=avertmulti" style="color: #FF0000;">! MULTICOMPTE !</a>{/if}{if $header.messagedemarrage} | <a href="?p=demarrage">{$header.messagedemarrage}</a>{/if}{if $planete->mv < 0} | <a href="?p=accueil" style="color: #FF0000;">Votre compte sera supprimé d'ici 48h</a>{/if}{if $alertMail.0 + $alertMail.1 >= 1} | <a href="{$menu.messages}" style="color: #FF0000;">Vous avez des messages non lu !</a>{/if}</div><a href="{$link.RSS}" id="rss">RSS :: s'abonner</a>
|
||||
<h1><a href="{$link.self}{$first_page}"><span></span>Halo Battle</a></h1>
|
||||
{if $page == "admin"} <div id="buttons"><div><a href="./">RETOUR AU JEU</a></div> <div><a href="{$menu.webmail}">WEBMAIL</a></div> <div><a href="{$menu.controle}">CONTROLE JOU.</a></div> <div><a href="{$menu.vjoueurs}">VERIFIER JOUEUR</a></div> <div><a href="{$menu.vplanetes}">VERIFIER PLANETE</a></div> <div><a href="./{$link.operateur}">OPERATEUR !</a></div></div>
|
||||
{else} <div id="buttons"><div><a href="{$link.accueil}">ACCUEIL</a></div> <div><a href="{$link.blog}">BLOG</a></div> <div><a href="{$link.forum}">FORUM</a></div> <div><a href="{$menu.chat}">CHAT</a></div> <div>{if $auth_level >= 4}<a href="admin.php">CONTROLES</a>{else}<a href="{$menu.faq}">F.A.Q.</a>{/if}</div> <div><a href="{$link.operateur}">OPERATEUR !</a></div></div>{/if}
|
||||
<form action="#" method="post"><fieldset id="recherche"><input class="text" type="text" name="recherche" value="rechercher..." onfocus="this.value = this.value!='rechercher...'?this.value:''" onblur="this.value=this.value==''?'rechercher...':this.value" /><input value="OK" class="submit" type="submit" /><br /><a href="#">Recherche Avancée</a></fieldset></form>
|
||||
{if $page == "admin"}
|
||||
<ul>
|
||||
<li><a href="{$link.self}{$first_page}">RETOUR AU JEU</a></li>
|
||||
<li><a href="{$menu.webmail}">WEBMAIL</a></li>
|
||||
<li><a href="{$menu.cjoueurs}">CONTROLE JOU.</a></li>
|
||||
<li><a href="{$menu.vjoueurs}">VERIFIER JOUEUR</a></li>
|
||||
<li><a href="{$menu.vplanetes}">VERIFIER PLANETE</a></li>
|
||||
<li><a href="{$link.self}{$link.operateur}">{$LANG.hd_menu.Operateurs}</a></li>
|
||||
<li><a href="?p=bdd">ADMIN. BDD</a></li>
|
||||
<li><a href="?p=mail_mass">MAILLING MASSE</a></li>
|
||||
</ul>
|
||||
{else}
|
||||
<ul>
|
||||
<li><a href="{$link.accueil}">{$LANG.hd_menu.accueil}</a></li>
|
||||
<li><a href="{$link.blog}">{$LANG.hd_menu.blog}</a></li>
|
||||
<li><a href="{$link.forum}">{$LANG.hd_menu.forum}</a></li>
|
||||
<li><a href="{$menu.chat}">{$LANG.hd_menu.chat}</a></li>
|
||||
<li>{if $auth_level >= 4}<a href="admin.php">CONTROLES</a>{else}<a href="{$menu.faq}">{$LANG.hd_menu.faq}</a>{/if}</li>
|
||||
<li><a href="{$menu.messages}"{if $alertMail.0 + $alertMail.1 >= 1} style="color:#FF0000;"{/if}>{$LANG.hd_menu.messagerie}</a></li>
|
||||
<li><a href="{$link.operateur}">{$LANG.hd_menu.operateurs}</a></li>
|
||||
</ul>
|
||||
{/if}
|
||||
</div>
|
||||
<div id="banner">
|
||||
{foreach from=$header.infos item=info}
|
||||
<div class="bannerleft"{if $info.color} style="color: {$info.color};"{/if}>{$info.texte}</div>
|
||||
{/foreach}
|
||||
<div id="bannerright">{$header.count.0} Marines et {$header.count.1} Covenants se battent dans <ins>{$header.count.2} galaxie{if $header.count.2 > 1}s{/if}</ins></div>
|
||||
</div>
|
||||
<div>
|
||||
<div id="menu"><div class="menu_head"></div>
|
||||
{if $page == "admin"} <a href="{$menu.accueil}"{if $pagea == "accueil"} class="hightlight"{/if}>Accueil</a>
|
||||
<a href="{$menu.courrier}"{if $pagea == "mail"} class="hightlight"{/if}>Courrier</a>
|
||||
<a href="{$menu.webmail}" onclick="window.open(this.href); return false;">Webmail</a>
|
||||
<div class="space"></div>
|
||||
<a href="{$menu.vip}"{if $pagea == "vip"} class="hightlight"{/if}>Vérifier IP</a>
|
||||
<a href="{$menu.vflottes}"{if $pagea == "vflotte"} class="hightlight"{/if}>Vérifier flottes</a>
|
||||
<a href="{$menu.vplanetes}"{if $pagea == "print_choixP"} class="hightlight"{/if}>Vérifier planètes</a>
|
||||
<a href="{$menu.vjoueurs}"{if $pagea == "vjoueurs"} class="hightlight"{/if}>Vérifier joueurs</a>
|
||||
<a href="{$menu.valliances}"{if $pagea == "valliances"} class="hightlight"{/if}>Vérifier alliances</a>
|
||||
<a href="{$menu.vrapports}"{if $pagea == "vrapports"} class="hightlight"{/if}>Afficher rapports</a>
|
||||
<div class="space"></div>
|
||||
<a href="{$menu.sjoueurs}"{if $pagea == "sanctionU_choix"} class="hightlight"{/if}>Sanctions joueur</a>
|
||||
<a href="{$menu.sancp}"{if $pagea == "sancp"} class="hightlight"{/if}>Sanctions planète</a>
|
||||
<a href="{$menu.controle}"{if $pagea == "controle"} class="hightlight"{/if}>Prendre le contrôle</a>
|
||||
<a href="{$menu.djoueurs}"{if $pagea == "sjoueurs"} class="hightlight"{/if}>Supprimer joueurs</a>
|
||||
<a href="{$menu.inscription}"{if $pagea == "inscription"} class="hightlight"{/if}>Créer lien d'inscription</a>
|
||||
<div class="space"></div>
|
||||
<a href="{$menu.bandeau}"{if $pagea == "bandeau"} class="hightlight"{/if}>Bandeau d'informations</a>
|
||||
<a href="{$menu.demarrage}"{if $pagea == "demarrage"} class="hightlight"{/if}>Message démarrage</a>
|
||||
<a href="{$menu.versions}"{if $pagea == "version"} class="hightlight"{/if}>Versions</a>
|
||||
<div class="space"></div>
|
||||
{elseif SURFACE == "asteroide"} <a href="{$menu.accueil}"{if $page == "accueil"} class="hightlight"{/if}>Accueil</a>
|
||||
<a href="{$menu.batiments}"{if $page == "batiments"} class="hightlight"{/if}>Bâtiments</a>
|
||||
<a href="{$menu.chantierspatial}"{if $page == "chantierspatial"} class="hightlight"{/if}>{$LANG.$race.batiments.noms_sing.8|ucfirst}</a>
|
||||
<a href="{$menu.chantierterrestre}"{if $page == "chantierterrestre"} class="hightlight"{/if}>{$LANG.$race.batiments.noms_sing.7|ucfirst}</a>
|
||||
<a href="{$menu.defenses}"{if $page == "defenses"} class="hightlight"{/if}>Défenses</a>
|
||||
<div class="space"></div>
|
||||
{else} <a href="{$menu.accueil}"{if $page == "accueil"} class="hightlight"{/if}>Accueil</a>
|
||||
<a href="{$menu.batiments}"{if $page == "batiments"} class="hightlight"{/if}>Bâtiments</a>
|
||||
<a href="{$menu.caserne}"{if $page == "caserne"} class="hightlight"{/if}>{$LANG.$race.batiments.noms_sing.9|ucfirst}</a>
|
||||
<a href="{$menu.chantierspatial}"{if $page == "chantierspatial"} class="hightlight"{/if}>{$LANG.$race.batiments.noms_sing.8|ucfirst}</a>
|
||||
<a href="{$menu.chantierterrestre}"{if $page == "chantierterrestre"} class="hightlight"{/if}>{$LANG.$race.batiments.noms_sing.7|ucfirst}</a>
|
||||
<a href="{$menu.defenses}"{if $page == "defenses"} class="hightlight"{/if}>Défenses</a>
|
||||
{if $planetes.0.id == $planete->id}<a href="{$menu.laboratoire}"{if $page == "laboratoire"} class="hightlight"{/if}>{$LANG.$race.batiments.noms_sing.6|ucfirst}</a>{/if}
|
||||
<a href="{$menu.arbre}"{if $page == "arbre" || $page == "description"} class="hightlight"{/if}>Arbre technologique</a>
|
||||
<div class="space"></div>
|
||||
<a href="{$menu.ressources}"{if $page == "ressources"} class="hightlight"{/if}>Ressources</a>
|
||||
<a href="{$menu.gestion}"{if $page == "gestion" || $page == "rename"} class="hightlight"{/if}>Gestion</a>
|
||||
<a href="{$menu.marche}"{if $page == "marche" || $page == "bourse_ressources" || $page == "bourseDetails"} class="hightlight"{/if}>Marché</a>
|
||||
<a href="{$menu.flotte}"{if $page == "flotte" || $page == "flotte1" || $page == "flotte2" || $page == "flotten"} class="hightlight"{/if}>Flottes</a>
|
||||
<!--<a href="?p=simulateur"{if $page == "simulateur_combat"} class="hightlight"{/if}>Simulateur de combat</a>-->
|
||||
<a href="{$menu.carte}"{if $page == "carte"} class="hightlight"{/if}>Carte spatiale</a>
|
||||
<a href="{$menu.options}"{if $page == "options"} class="hightlight"{/if}>Options</a>
|
||||
<div class="space"></div>
|
||||
<a href="{$menu.messages}"{if $page == "messagerie" || $page == "envoyer"} class="hightlight"{/if}>{if $alertMail}<b>Messages et rapports ({$alertMail})</b>{else}Messages et rapports{/if}</a>
|
||||
<a href="{$menu.alliance}"{if $titre == "Alliance"} class="hightlight"{/if}>Alliance</a>
|
||||
<a href="{$menu.classement}"{if $page == "classement"} class="hightlight"{/if}>Classement</a>
|
||||
<a href="{$menu.chat}"{if $page == "chat"} class="hightlight"{/if} onclick="window.open(this.href);return false;">Chat</a>
|
||||
<a href="{$menu.forums}"{if $page == "forums"} class="hightlight"{/if}>Forums</a>
|
||||
<a href="{$menu.bugs}"{if $page == "bugs"} class="hightlight"{/if}>Rapports de bug</a>
|
||||
<a href="{$menu.faq}"{if $page == "faq"} class="hightlight"{/if}>F.A.Q.</a>
|
||||
<a href="{$menu.deconnexion}">Déconnexion</a>
|
||||
<div class="space"></div>
|
||||
{/if} <div class="menu_bt"></div></div>
|
||||
{if $page != "admin" && $page != "vide" && $page != "amis" && $page != "flotten" && $page != "messagerie" && $page != "envoyer" && $page != "bugs" && $page != "carte" && $page != "classement" && $page != "options" && $page != "simulation" && $page != "vp" && $page != "operateur" && $titre != "Alliance"}
|
||||
<div id="corps_top">
|
||||
<div class="border_top"></div>
|
||||
<a href="?p=rename"><img src="{$url_images}images/{if SURFACE == "planete"}planetes{else}asteroides{/if}/{$planete->image}.jpg" width="70" height="70" alt="{$planete->nom_planete|escape}" /></a>
|
||||
<div>Bonjour, <span>{$planete->pseudo}.</span><br />Votre position actuelle:<br /><br /><form action="{$link.changeplanete}" method="post"><fieldset><select onchange="this.form.submit();" name="Cplanete"><optgroup label="Planètes">{foreach from=$planetes item=plan}<option {if $plan.id == $planete->id}selected="selected" {/if}value="{$plan.id}">{$plan.nom_planete|escape} [{$plan.galaxie}:{$plan.ss}:{$plan.position}]</option>{/foreach}</optgroup>{if $planete->alliance}<optgroup label="Astéroïdes"><option value="A{$planete->id_alliance}">{$planete->alliance->nom_asteroide|escape} [{$planete->alliance->galaxie}:{$planete->alliance->ss}:A]</option></optgroup>{/if}</select><noscript><div><br /><input class="submit" type="submit" value="GO" /></div></noscript></fieldset></form></div>
|
||||
<div class="ressource"><span>{$LANG.$race.ressources.noms.energie|ucfirst}</span><br />{if $planete->energieConso >= $planete->energie}<span class="lack">{/if}{$planete->energieConso|separenombre}/{$planete->energie|separenombre}{if $planete->alert_ressources.4}</span>{/if}</div>
|
||||
<div class="ressource"><span>{$LANG.$race.ressources.noms.hydrogene|ucfirst}</span><br />{if $planete->alert_ressources.2 == true}<span class="lack">{/if}{$planete->hydrogene|separenombre}{if $planete->alert_ressources.2}</span>{/if}</div>
|
||||
<div class="ressource"><span>{$LANG.$race.ressources.noms.cristal|ucfirst}</span><br />{if $planete->alert_ressources.1 == true}<span class="lack">{/if}{$planete->cristal|separenombre}{if $planete->alert_ressources.1}</span>{/if}</div>
|
||||
<div class="ressource"><span>{$LANG.$race.ressources.noms.metal|ucfirst}</span><br />{if $planete->alert_ressources.0 == true}<span class="lack">{/if}{$planete->metal|separenombre}{if $planete->alert_ressources.0}</span>{/if}</div>
|
||||
<div class="border_bt"></div>
|
||||
<div id="bannerright">{$LANG.cntRaces|sprintf:$header.count.1:$header.count.0:$header.count.2}</div>
|
||||
</div>
|
||||
<div id="corps">
|
||||
<div id="menu"><span class="top"></span>
|
||||
{if $page == "admin"}
|
||||
{include file='admin/menu.tpl'}
|
||||
{elseif SURFACE == "asteroide"}
|
||||
{include file='game/menu_asteroide.tpl'}
|
||||
{else}
|
||||
{include file='game/menu_joueurs.tpl'}
|
||||
{/if}
|
||||
<span class="bottom"></span></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)}
|
||||
<div id="head">
|
||||
<span class="top"></span>
|
||||
|
||||
<a href="?p=rename" class="imglink"><img src="{$url_images}images/{if SURFACE == "planete"}planetes{else}asteroides{/if}/{$planete->image}.jpg" width="70" height="70" alt="{$planete->nom_planete|escape}" /></a>
|
||||
<form action="{$link.changeplanete}" method="post">
|
||||
<p>Bonjour, <span>{$planete->pseudo}.</span><br />Votre position actuelle :</p>
|
||||
<fieldset>
|
||||
<select name="planete">
|
||||
<optgroup label="Planètes">{foreach from=$planetes item=plan}
|
||||
<option {if SURFACE == 'planete' && $plan.id == $planete->id}selected="selected" {/if}value="{$plan.id}">{$plan.nom_planete|escape} [{$plan.galaxie}:{$plan.ss}:{$plan.position}]</option>
|
||||
{/foreach}</optgroup>
|
||||
{if $planete->alliance}<optgroup label="Astéroïdes">
|
||||
<option value="A{$planete->id_alliance}" {if SURFACE == 'asteroide'}selected="selected" {/if}>{$planete->alliance->nom_asteroide|escape} [{$planete->alliance->galaxie}:{$planete->alliance->ss}:A]</option>
|
||||
</optgroup>{/if}
|
||||
</select>
|
||||
<noscript><fieldset><input class="submit" type="submit" value="GO" /></fieldset></noscript>
|
||||
</fieldset></form>
|
||||
<div>
|
||||
<div><strong>{$LANG.$race.ressources.noms.metal|ucfirst}</strong><br /><span{if $planete->metal >= $planete->cap} class="lack"{/if}>{$planete->metal|separerNombres}</span></div>
|
||||
<div><strong>{$LANG.$race.ressources.noms.cristal|ucfirst}</strong><br /><span{if $planete->cristal >= $planete->cap} class="lack"{/if}>{$planete->cristal|separerNombres}</span></div>
|
||||
<div><strong>{$LANG.$race.ressources.noms.hydrogene|ucfirst}</strong><br /><span{if $planete->hydrogene >= $planete->cap} class="lack"{/if}>{$planete->hydrogene|separerNombres}</span></div>
|
||||
{if SURFACE == "asteroide"}<div><strong>{$LANG.$race.ressources.noms.credits|ucfirst}</strong><br />{$planete->credits_alliance|separerNombres}</div>
|
||||
{else}<div><strong>{$LANG.$race.ressources.noms.energie|ucfirst}</strong><br /><span{if $planete->energieConso >= $planete->energie} class="lack"{/if}>{$planete->energieConso|separerNombres}/{$planete->energie|separerNombres}</span></div>{/if}
|
||||
</div>
|
||||
|
||||
<span class="bottom"></span>
|
||||
</div>
|
||||
{/if}
|
||||
{if $page != "admin" && $page != "operateur"}<div id="pub">{$pub}</div>{/if}
|
||||
<div id="corps">
|
||||
<div class="border_top"></div>
|
||||
|
||||
{if $page != "admin" && $page != "operateur"}<div id="pub">{$pub}</div>{/if}
|
||||
|
||||
<div id="body">
|
||||
<span class="top"></span>
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
<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.batiments}&a={$key}">Annuler</a></span>
|
||||
<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 />
|
||||
|
|
@ -40,7 +40,7 @@
|
|||
{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}<a href="{$menu.laboratoire}&a={$recherche.enfile}">Arrêter</a>
|
||||
{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}
|
||||
|
|
|
|||
|
|
@ -1,40 +1,18 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Bourse des ressources</h2>
|
||||
<h3>Les prix sont donnés en milliers de crédits</h3>
|
||||
<h2>Bourse des ressources</h2>
|
||||
<h3>Les prix sont donnés en milliers de crédits</h3>
|
||||
{foreach from=$bourse item=action}
|
||||
<div style="float: left;">
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan="3"><a href="{$menu.marche}&d={$action.id}"><img src="bourser.php?a={$action.id}&r={$planete->race}" alt="{$LANG.$race.ressources.noms[$action.id]}" /></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{$LANG.$race.ressources.noms[$action.id]|ucfirst}</th>
|
||||
<td>{$action.dispo|separerNombres}</td>
|
||||
<th>Prix</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<form action="{$menu.marche}&a={$action.id}" method="post">
|
||||
<fieldset>
|
||||
Acheter : <input type="text" class="text" name="a{$action.id}" maxlength="8" value="0" />
|
||||
<input type="submit" class="submit" value="OK" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</td>
|
||||
<td>{$action.prixA|separerNombres}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<form action="{$menu.marche}&v={$action.id}" method="post">
|
||||
<fieldset>
|
||||
Vendre : <input type="text" class="text" name="a{$action.id}" maxlength="8" value="0" />
|
||||
<input type="submit" class="submit" value="OK" />
|
||||
</fieldset>
|
||||
</form>
|
||||
</td>
|
||||
<td>{$action.prixV|separerNombres}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<dl class="bourse">
|
||||
<dt><strong>{$LANG.$race.ressources.noms[$action.id]|ucfirst}</strong> <a href="{$menu.marche}&d={$action.id}"><img src="bourser.php?a={$action.id}&r={$planete->race}" class="imglink" alt="{$LANG.$race.ressources.noms[$action.id]}" /></a></dt>
|
||||
<dd>
|
||||
<form action="#" method="post"><fieldset>
|
||||
<div><b>Total :</b> {$action.dispo|separerNombres}</div>
|
||||
<label for="buyM">Acheter pour {$action.prixA|separerNombres} : <input type="text" class="text" id="buyM" name="buyM" value="0" /></label>
|
||||
<input type="submit" class="submit" value="OK" name="buy" /><br />
|
||||
<label for="sellM">Vendre pour {$action.prixV|separerNombres} : <input type="text" class="text" id="sellM" name="sellM" value="0" /></label>
|
||||
<input type="submit" class="submit" value="OK" name="sell" />
|
||||
</fieldset></form>
|
||||
</dd>
|
||||
</dl>
|
||||
{/foreach}
|
||||
{include file='game/footer.tpl'}
|
||||
72
onyx2/tpl/game/menu_asteroide.tpl
Normal file
72
onyx2/tpl/game/menu_asteroide.tpl
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
<ul>
|
||||
<li><a href="{$menu.accueil}"{if $page == "accueil"} class="hilight"{/if}>Accueil</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}
|
||||
<li>
|
||||
<a href="{$menu.alli_messagerie}"{if ereg("Messagerie d'alliance", $titre)} class="hilight"{/if}>Messagerie d'alliance</a>
|
||||
<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=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=send"{if $onglet == "send" && ereg("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>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
{if $planete->permissions_alliance & 1 || $planete->permissions_alliance & 2}
|
||||
<ul>
|
||||
{if $planete->permissions_alliance & 1}<li><a href="{$menu.batiments}"{if $page == "batiments_alli"} class="hilight"{/if}>Bâtiments</a></li>{/if}
|
||||
{if $planete->permissions_alliance & 2}<li><a href="{$menu.chantierspatial}"{if $page == "chantierspatial"} class="hilight"{/if}>{$LANG.$race.alli_batiments.noms_sing.3|ucfirst}</a></li>{/if}
|
||||
</ul>
|
||||
{/if}
|
||||
<ul>
|
||||
<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}
|
||||
<li>
|
||||
<a href="{$menu.gestion}"{if ereg("gestion", $page)} class="hilight"{/if}>Gestion</a>
|
||||
<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 & 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 & 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 & 128 && !$planete->wing}<li><a href="{$menu.gestion}&g=alliance"{if $onglet == "alliance" && ereg("gestion", $page)} class="hilight"{/if}>Alliance</a></li>{/if}
|
||||
</ul>
|
||||
</li>
|
||||
{/if}
|
||||
<li>
|
||||
<a href="{$menu.diplomatie}"{if ereg("diplomatie/", $page)} class="hilight"{/if}>Diplomatie</a>
|
||||
<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=encours"{if $onglet == "encours" && ereg("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>
|
||||
{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}
|
||||
</ul>
|
||||
</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="{$menu.carte}"{if $page == "carte"} class="hilight"{/if}>Carte spatiale</a></li>
|
||||
<li>
|
||||
<a href="{$menu.options}"{if ereg("options/", $page)} class="hilight"{/if}>Options</a>
|
||||
<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=compte"{if $onglet == "compte" && ereg("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=notif"{if $onglet == "notif" && ereg("options/", $page)} class="hilight"{/if}>Notifications</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="{$menu.messages}"{if ereg("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>
|
||||
<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=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=send"{if $onglet == "send" && ereg("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>
|
||||
</ul>
|
||||
</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.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.faq}"{if $page == "faq" || ereg('/aide/', $page)} class="hilight"{/if}>F.A.Q.</a></li>
|
||||
<li><a href="{$menu.deconnexion}">Déconnexion</a></li>
|
||||
</ul>
|
||||
68
onyx2/tpl/game/menu_joueurs.tpl
Normal file
68
onyx2/tpl/game/menu_joueurs.tpl
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
<ul>
|
||||
<li><a href="{$menu.accueil}"{if $page == "accueil"} class="hilight"{/if}>Accueil</a></li>
|
||||
<li>
|
||||
<a href="{$menu.batiments}"{if $page == "batiments"} class="hilight"{/if}>Bâtiments</a>
|
||||
<ul>
|
||||
<li><a href="{$menu.batiments}"{if $page == "batiments" && $onglet == 0} class="hilight"{/if}>Tous</a></li>
|
||||
<li><a href="{$menu.batiments}&n=1"{if $page == "batiments" && $onglet&1} class="hilight"{/if}>Mines/centrales</a></li>
|
||||
<li><a href="{$menu.batiments}&n=2"{if $page == "batiments" && $onglet&2} class="hilight"{/if}>Civils</a></li>
|
||||
<li><a href="{$menu.batiments}&n=4"{if $page == "batiments" && $onglet&4} class="hilight"{/if}>Militaires</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="{$menu.caserne}"{if $page == "caserne"} class="hilight"{/if}>{$LANG.$race.batiments.noms_sing.9|ucfirst}</a></li>
|
||||
<li><a href="{$menu.chantierspatial}"{if $page == "chantierspatial"} class="hilight"{/if}>{$LANG.$race.batiments.noms_sing.8|ucfirst}</a></li>
|
||||
<li>
|
||||
<a href="{$menu.chantierterrestre}"{if $page == "chantierterrestre"} class="hilight"{/if}>{$LANG.$race.batiments.noms_sing.7|ucfirst}</a>
|
||||
<ul>
|
||||
<li><a href="{$menu.chantierterrestre}"{if $page == "chantierterrestre" && $onglet != "defenses"} class="hilight"{/if}>Unités</a></li>
|
||||
<li><a href="{$menu.chantierterrestre}&n=defenses"{if $page == "chantierterrestre" && $onglet == "defenses"} class="hilight"{/if}>Défenses</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
{if $planetes.0.id == $planete->id}<li><a href="{$menu.laboratoire}"{if $page == "laboratoire"} class="hilight"{/if}>{$LANG.$race.batiments.noms_sing.6|ucfirst}</a></li>{/if}
|
||||
<li>
|
||||
<a href="{$menu.arbre}"{if $page == "arbre" || $page == "description"} class="hilight"{/if}>Arbre technologique</a>
|
||||
<ul>
|
||||
<li><a href="#">Industrie</a></li>
|
||||
<li><a href="#">Ingenierie</a></li>
|
||||
<li><a href="#">Politique</a></li>
|
||||
<li><a href="#">Armement</a></li>
|
||||
<li><a href="#">Défenses</a></li>
|
||||
<li><a href="#">Expérimentations</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="{$menu.ressources}"{if $page == "ressources"} class="hilight"{/if}>Ressources</a></li>
|
||||
<li><a href="{$menu.gestion}"{if $page == "gestion" || $page == "rename"} class="hilight"{/if}>Gestion</a></li>
|
||||
<li><a href="{$menu.marche}"{if $page == "marche" || $page == "bourse_ressources" || $page == "bourseDetails"} class="hilight"{/if}>Marché</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="{$menu.carte}"{if $page == "carte"} class="hilight"{/if}>Carte spatiale</a></li>
|
||||
<li>
|
||||
<a href="{$menu.options}"{if ereg("options/", $page)} class="hilight"{/if}>Options</a>
|
||||
<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=compte"{if $onglet == "compte" && ereg("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=notif"{if $onglet == "notif" && ereg("options/", $page)} class="hilight"{/if}>Notifications</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><a href="{$menu.messages}"{if $page == "messagerie" || $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>
|
||||
<ul>
|
||||
<li><a href="{$menu.messages}&n=recus"{if $page == "messagerie" && $onglet != "rapports" && $onglet != "send" && $onglet != "envoyer"} class="hilight"{/if}>Reçus</a>{if $alertMail.0} ({$alertMail.0}){/if}</li>
|
||||
<li><a href="{$menu.messages}&n=rapports"{if $onglet == "rapports" && $page == "messagerie"} class="hilight"{/if}>Rapports</a>{if $alertMail.1} ({$alertMail.1}){/if}</li>
|
||||
<li><a href="{$menu.messages}&n=send"{if $onglet == "send" && $page == "messagerie"} class="hilight"{/if}>Envoyés</a></li>
|
||||
<li><a href="{$menu.messages}&n=envoyer"{if $onglet == "envoyer"} class="hilight"{/if}>Ecrire</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="{$menu.alliance}"{if ereg("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.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.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.deconnexion}">Déconnexion</a></li>
|
||||
</ul>
|
||||
|
|
@ -1,22 +1,20 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Messages</h2>
|
||||
{$avertissement}
|
||||
<h3><a href="{$menu.envoie}">Ecrire un message</a></h3>
|
||||
<form action="{$menu.messagerie}" method="post">
|
||||
{foreach from=$messages item=message}
|
||||
<dl>
|
||||
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><input class="checkbox" type="checkbox" name="m{$message.4}" value="{$message.5}" /><a href="?p=envoyer&d={$message.2}&o=Re:%20{$message.0}">{$message.0}</a> de {$message.2} à {$message.1}</dt><dd>{$message.3|nl2br}<div style="text-align: right;"><a href="?p=envoyer&d={$message.2}&o=Re:%20{$message.0}"><i>Répondre</i></a> | <a href="?p=messagerie&avertir={$message.5}"><i>Avertir un opérateur</i></a></div></dd>
|
||||
</dl>
|
||||
<h2>{$titreR}</h2>
|
||||
<ul class="onglets">
|
||||
<li><a href="?p={$link_P}&n=recus"{if $onglet != "rapports" && $onglet != "send" && $onglet != "envoyer"} class="hilight"{/if}>Reçus</a>{if $alertMail.0} ({$alertMail.0}){/if}</li>
|
||||
<li><a href="?p={$link_P}&n=rapports"{if $onglet == "rapports"} class="hilight"{/if}>Rapports</a>{if $alertMail.1} ({$alertMail.1}){/if}</li>
|
||||
<li><a href="?p={$link_P}&n=send"{if $onglet == "send"} class="hilight"{/if}>Envoyés</a></li>
|
||||
<li><a href="?p={$link_P}&n=envoyer"{if $onglet == "envoyer"} class="hilight"{/if}>Ecrire</a></li>
|
||||
</ul><br /><br />
|
||||
{$avertissement}
|
||||
<form action="{$menu.messagerie}" method="post" id="messagerie"><fieldset>
|
||||
{foreach from=$messages item=message key=key}
|
||||
<dl{if $onglet != "send" && $message.vu} class="new"{/if}>
|
||||
<dt><input type="checkbox" class="checkbox" name="m{$key}" value="{$message.id}" /> {if $onglet != "rapports"}<a href="?p={$link_P}&n=envoyer&d={if $onglet == "send"}{$message.destinataire}&o=Fwd{else}{$message.expediteur}&o=Re{/if}:%20{$message.sujet}">{/if}{$message.sujet}{if $onglet != "rapports"}</a>{/if}{if !empty($message.expediteur)} {if $onglet == "send"}vers {$message.destinataire}{else}de {$message.expediteur}{/if}{/if} le {$message.temps|date_format:"%d/%m/%y à %H:%M"}</dt>
|
||||
<dd>{if $onglet == "rapports"}{$message.contenu|nl2br}{else}{$message.contenu|escape|bbcode|nl2br}{/if}{if $onglet != "send" && $onglet != "rapports"}<div style="text-align: right;"><a href="?p={$link_P}&n=envoyer&d={$message.expediteur}&o=Re:%20{$message.sujet}"><i>Répondre</i></a> | <a href="?p=messagerie&avertir={$message.4}"><i>Avertir un opérateur</i></a></div>{/if}</dd>
|
||||
</dl>
|
||||
{/foreach}
|
||||
<fieldset><input class="button" type="button" value="Tout sélectionner" onclick="checkboxes(true)" /> <input class="button" type="button" value="Tout déselectionner" onclick="checkboxes(false)" /><br /><br /><strong>Supprimer la sélection : </strong><input class="submit" type="submit" value="OK" /><br /><br /><input type="hidden" value="{$IM}" name="IM" /></fieldset>
|
||||
</form>
|
||||
<h2>Rapports</h2>
|
||||
<form action="{$menu.messagerie}" method="post">
|
||||
{foreach from=$rapports item=rapport}
|
||||
<dl>
|
||||
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><input class="checkbox" type="checkbox" name="r{$rapport.4}" value="{$rapport.5}" />{$rapport.0} à {$rapport.1}</dt><dd>{$rapport.3}</dd>
|
||||
</dl>
|
||||
{/foreach}
|
||||
<fieldset><input class="button" type="button" value="Tout sélectionner" onclick="checkboxesr(true)" /> <input class="button" type="button" value="Tout déselectionner" onclick="checkboxesr(false)" /><br /><br /><strong>Supprimer la sélection : </strong><input class="submit" type="submit" value="OK" /><br /><br /><input type="hidden" value="{$IR}" name="IR" /></fieldset>
|
||||
</form>
|
||||
{if $onglet != "send" && $messages}<strong>Supprimer le sélection : <input class="submit" type="submit" value="OK" /></strong>
|
||||
{elseif !$messages}<div id="erreur">Aucun {if $onglet == "rapports"}rapport{else}message{/if}</div>{/if}
|
||||
</fieldset></form>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -8,24 +8,27 @@
|
|||
<h2>Problèmes connus</h2>
|
||||
<strong>Lisez les questions/réponses ci-dessous. Ne contactez un opérateur que si vous ne pouvez pas résoudre votre problème/demande.</strong><br />
|
||||
<strong>N'oubliez pas de contacter les opérateurs pour les raisons indiquées dans les <a href="?p=regles">règles du jeu</a>.</strong>
|
||||
<div id="messagerie">
|
||||
{foreach from=$questions item=question}
|
||||
<dl>
|
||||
<dt><input class="button2" type="button" onclick="hide(this); return false;" />{$question.0}</dt><dd>{$question.1}{if $auth_level > 4}<div style="text-align: right"><a href="{$menu.operateur}&a=top&i={$question.2}"><i>Haut</i></a> - <a href="{$menu.operateur}&a=bas&i={$question.2}"><i>Bas</i></a> - <a href="{$menu.operateur}&a=del&i={$question.2}"><i>Supprimer</i></a></div>{/if}</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>{$question.0}</dt>
|
||||
<dd>{$question.1}{if $auth_level > 4}<div style="text-align: right"><a href="{$menu.operateur}&a=top&i={$question.2}"><i>Haut</i></a> - <a href="{$menu.operateur}&a=bas&i={$question.2}"><i>Bas</i></a> - <a href="{$menu.operateur}&a=del&i={$question.2}"><i>Supprimer</i></a></div>{/if}</dd>
|
||||
</dl>
|
||||
{/foreach}
|
||||
</div>
|
||||
{if $auth_level >= 5}
|
||||
<h2>Ajouter un problème connu</h2>
|
||||
<form action="{$menu.operateur}&post" method="post"><fieldset class="options">
|
||||
<label for="O_titre">Problème :</label><input class="text" type="text" name="O_titre" id="O_titre" />
|
||||
<label for="O_desc">Solution :</label>
|
||||
<textarea id="O_desc" name="O_description" cols="40" rows="10"></textarea><br /><br />
|
||||
<form action="{$menu.operateur}&post" method="post"><fieldset class="form">
|
||||
<label for="O_titre">Problème : <input class="text" type="text" name="O_titre" id="O_titre" /></label>
|
||||
<label for="O_desc">Solution :
|
||||
<textarea id="O_desc" name="O_description" cols="40" rows="10"></textarea></label>
|
||||
<input class="submit" type="submit" value="OK" />
|
||||
</fieldset></form>
|
||||
{else}<h2>Prendre contact avec les opérateurs de la galaxie</h2>
|
||||
<form action="{$menu.operateur}&post" method="post"><fieldset class="options">
|
||||
<label for="titre">Titre/objet :</label><input class="text" type="text" name="titre" id="titre" />
|
||||
<label for="desc">Corps :</label>
|
||||
<textarea id="desc" name="description" cols="40" rows="10"></textarea><br /><br />
|
||||
<form action="{$menu.operateur}&post" method="post"><fieldset class="form">
|
||||
<label for="titre">Titre/objet : <input class="text" type="text" name="titre" id="titre" /></label>
|
||||
<label for="desc">Corps :
|
||||
<textarea id="desc" name="description" cols="40" rows="10"></textarea></label>
|
||||
<input class="submit" type="submit" value="OK" />
|
||||
</fieldset></form>{/if}
|
||||
{include file='game/footer.tpl'}
|
||||
9
onyx2/tpl/game/options/1.tpl
Normal file
9
onyx2/tpl/game/options/1.tpl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{include file='game/header.tpl'}
|
||||
{include file='game/options/common.tpl'}
|
||||
<h2>Signature pour forums</h2>
|
||||
<img src="http://{$url_serveur}/sign.php?i={$planete->id_user}" alt="Signature" /><br /><a href="http://{$url_serveur}/sign.php?i={$planete->id_user}">http://{$url_serveur}/sign.php?i={$planete->id_user}</a><br /><br />
|
||||
<label>BBcode pour forums :</label><code>[url=http://www.halo-battle.fr][img]http://{$url_serveur}/sign.php?i={$planete->id_user}[/img][/url]</code>
|
||||
<br /><br /><br />
|
||||
<img src="http://{$url_serveur}/sign.php?i={$planete->id_user}&f=1" alt="Signature" /><br /><a href="http://{$url_serveur}/sign.php?i={$planete->id_user}&f=1">http://{$url_serveur}/sign.php?i={$planete->id_user}&f=1</a><br /><br />
|
||||
<label>BBcode pour forums :</label><code>[url=http://www.halo-battle.fr][img]http://{$url_serveur}/sign.php?i={$planete->id_user}&f=1[/img][/url]</code>
|
||||
{include file='game/footer.tpl'}
|
||||
25
onyx2/tpl/game/options/2.tpl
Normal file
25
onyx2/tpl/game/options/2.tpl
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{include file='game/header.tpl'}
|
||||
{include file='game/options/common.tpl'}
|
||||
<h2>Changer de mot de passe</h2>
|
||||
<form action="{$menu.options}&n=compte" method="post"><fieldset class="form">
|
||||
<label for="ancien">Ancien mot de passe : <input class="text" type="password" id="ancien" name="mdp_anc" /></label><br />
|
||||
<label for="nouveau">Nouveau mot de passe : <input class="text" type="password" id="nouveau" name="mdp_nouv" /></label><br />
|
||||
<label for="confirm">Confirmez le mot de passe : <input class="text" type="password" id="confirm" name="mdp_conf" /></label><br />
|
||||
<p>Le nouveau mot de passe sera modifié après validation par mail. Veuillez vous assurez que votre adresse actuelle est toujours valide.</p><br />
|
||||
<input class="submit" type="submit" name="chgmdp" value="OK" />
|
||||
</fieldset></form>
|
||||
<h2>Changer d'adresse électronique</h2>
|
||||
<form action="{$menu.options}&n=compte" method="post"><fieldset class="form">
|
||||
<label>Adresse actuelle : <em>{$planete->mail}</em></label><br />
|
||||
<label for="mail">Nouveau mail : <input class="text" type="text" id="mail" name="mail" /></label><br />
|
||||
<label for="mdp_mail">Mot de passe actuel : <input class="text" type="password" id="mdp_mail" name="mdp_mail" /></label><br /><br />
|
||||
<p>L'adresse électronique sera modifiée une fois validée depuis votre nouvelle adresse.</p><br />
|
||||
<input class="submit" type="submit" name="chgmail" value="OK" />
|
||||
</fieldset></form>
|
||||
<h2>Mode vacances</h2>
|
||||
Si vous devez vous absenter de votre compte pour une durée supérieure à 3 jours, vous pouvez mettre votre compte en mode vacances.<br />Vous ne pouvez pas vous faire attaquer (les attaques déjà lancées ne seront pas annulées !) durant cette période, mais vous ne produirez pas de resources sur vos planètes. Vous retrouverez vos files d'attentes dans l'état dans lequel vous les avez laissées.<br />
|
||||
<br /><a href="{$menu.options}&n=compte&a=mv&c={$idvac}" onclick="return confirm('Êtes-vous sûr de vouloir passer votre compte en mode vacances ?\nIl ne sera plus accessible durant les trois prochains jours !');">Activer le mode vacances maintenant</a>
|
||||
<h2>Supprimer son compte</h2>
|
||||
{if $planete->mv < 0}<span style="color: #FF0000;">Vous avez demandé la suppression de votre compte. Il sera supprimé sous 48h.</span>
|
||||
{else}<br /><a href="{$menu.options}&n=compte&a=dl&c={$idvac}" onclick="return confirm('Êtes-vous sûr de vouloir supprimer votre compte ?');">Supprimer mon compte</a>{/if}
|
||||
{include file='game/footer.tpl'}
|
||||
15
onyx2/tpl/game/options/3.tpl
Normal file
15
onyx2/tpl/game/options/3.tpl
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{include file='game/header.tpl'}
|
||||
{include file='game/options/common.tpl'}
|
||||
<h2>Recevoir des notifications par mail</h2>
|
||||
<h3 style="color: red;">Attention : page non fonctionnelle pour le moment !</h3>
|
||||
<form action="{$menu.options}&chg=recmail" method="post">
|
||||
<fieldset class="form">
|
||||
<label for="recmail">Recevoir des notifications par mail <input type="checkbox" name="recmail" id="recmail" value="1" class="text" /></label>
|
||||
<label for="rappdef">Afficher la page des rapports par défaut au lieu de la page des messages privés reçus <input type="checkbox" name="rappdef" id="rappdef" value="1" class="text" /></label>
|
||||
<label for="fl_safe">Empêcher l'envoie de flotte à un multi-compte <input type="checkbox" name="fl_safe" id="fl_safe" value="1" class="text" /></label>
|
||||
<label for="res_auto">Autogérer mes productions de ressources au rendement maximal <input type="checkbox" name="res_auto" id="res_auto" value="1" class="text" /></label>
|
||||
<label for="fileacc">Afficher les files d'attentes de la planète sur la page d'accueil <input type="checkbox" name="fileacc" id="fileacc" value="1" class="text" /></label>
|
||||
<label for="fileref">Rafraîchir automatiquement les pages à la fin de la construction/entraînement <input type="checkbox" name="fileref" id="fileref" value="1" class="text" /></label>
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
11
onyx2/tpl/game/options/4.tpl
Normal file
11
onyx2/tpl/game/options/4.tpl
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{include file='game/header.tpl'}
|
||||
{include file='game/options/common.tpl'}
|
||||
<h2>Recevoir des notifications par mail</h2>
|
||||
<form action="{$menu.options}&n=notif" method="post">
|
||||
<fieldset class="form">
|
||||
<label for="rapport">Nouveau rapport <input type="checkbox" name="rapport" id="rapport" value="1" class="text" {if $planete->envoyerMail& 1}checked="checked" {/if}/></label><br />
|
||||
<label for="mp">Nouveau message privé <input type="checkbox" name="mp" id="mp" value="1" class="text" {if $planete->envoyerMail& 2}checked="checked" {/if}/></label><br />
|
||||
<br /><br /><input class="submit" type="submit" name="notif" value="OK" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
6
onyx2/tpl/game/options/common.tpl
Normal file
6
onyx2/tpl/game/options/common.tpl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<ul class="onglets">
|
||||
<li><a href="{$menu.options}&n=ext"{if $onglet == "ext"} class="hilight"{/if}>Extérieures</a></li>
|
||||
<li><a href="{$menu.options}&n=compte"{if $onglet == "compte"} class="hilight"{/if}>Compte</a></li>
|
||||
<li><a href="{$menu.options}&n=jeu"{if $onglet == "jeu"} class="hilight"{/if}>Jeu</a></li>
|
||||
<li><a href="{$menu.options}&n=notif"{if $onglet == "notif"} class="hilight"{/if}>Notifications</a></li>
|
||||
</ul>
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
{include file='game/header.tpl'}
|
||||
<div class="error">Prochainement sur Halo-Battle.</div>
|
||||
<div id="erreur">Prochainement sur Halo-Battle.</div>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -1,10 +1,15 @@
|
|||
{include file='game/header.tpl'}
|
||||
<img src="{$url_images}images/planetes/{$planete->image}.jpg" width="200" height="200" alt="{$planete->nom_planete|escape}" />
|
||||
<h2>Renommer la planète</h2>
|
||||
<form action="?p=rename" method="post">
|
||||
<fieldset class="options"><label for="planete">Renommer la planète: ({$planete->galaxie}:{$planete->ss}:{$planete->position}) :</label><input class="text" type="text" name="planete" maxlength="18" value="{$planete->nom_planete|escape}" id="planete" /><br /><br /><input class="submit" type="submit" value="OK" /></fieldset>
|
||||
</form>
|
||||
<h2>Abandonner la planète</h2>
|
||||
{if $abandonH}<b>Attention, cette action est irréversible ; vous perdrez tous les batiments, vaisseaux et unités présents sur cette planète, les flottes ayant une mision qui a pour origine votre planète se perdront dans l'espace.</b><br /><br />Si vous êtes sur de vouloir abandonner cette planète : <a href="?p=rename&a={$abandonH}&i={$planete->id}" onclick="return confirm('Êtes-vous sûr de vouloir abandonner cette planète ?');">cliquez sur ce lien</a>.<br /><br />
|
||||
{else}Vous ne pouvez pas abandonner cette planète car vous n'en avez pas d'autre.<br /><br />{/if}
|
||||
<h2>Abandonner la planète</h2>
|
||||
{if $abandonH}<b>Attention, cette action est irréversible ; vous perdrez tous les batiments, vaisseaux et unités présents sur cette planète, les flottes ayant une mision qui a pour origine votre planète se perdront dans l'espace.</b><br /><br />Si vous êtes sur de vouloir abandonner cette planète : <a href="?p=rename&a={$abandonH}&i={$planete->id}" onclick="return confirm('Êtes-vous sûr de vouloir abandonner cette planète ?');">cliquez sur ce lien</a>.<br /><br />
|
||||
{else}Vous ne pouvez pas abandonner cette planète car vous n'en avez pas d'autre.<br /><br />{/if}
|
||||
<h2>Renommer la planète</h2>
|
||||
<dl id="about">
|
||||
<dt><img src="{$url_images}images/planetes/{$planete->image}.jpg" alt="{$planete->nom_planete|escape}" /></dt>
|
||||
<dd>
|
||||
<form action="?p=rename" method="post"><fieldset class="form">
|
||||
<label for="rename">Nom de la planète ({$planete->galaxie}:{$planete->ss}:{$planete->position}) : <input type="text" class="text" name="planete" id="rename" maxlength="18" value="{$planete->nom_planete|escape}" /></label><br />
|
||||
<input type="submit" class="submit" value="OK" />
|
||||
</fieldset></form>
|
||||
</dd>
|
||||
</dl>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -1,18 +1,18 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Ressources : Tableau récapitulatif des productions par heure</h2>
|
||||
<form method="post" action="{$menu.ressources}">
|
||||
<form method="post" action="{$menu.ressources}"><fieldset id="ressources">
|
||||
<table>
|
||||
<thead><tr><th> </th><th>Coefficient</th><th>{$LANG.$race.ressources.noms.metal|ucfirst}</th><th>{$LANG.$race.ressources.noms.cristal|ucfirst}</th><th>{$LANG.$race.ressources.noms.hydrogene|ucfirst}</th><th>{$LANG.$race.ressources.noms.energie|ucfirst}</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>{$planete->batiments.0} {$LANG.$race.batiments.noms_sing.0|ucfirst}</td><td><input type="text" name="coeff_metal" value="{$ressources_coef.0}" maxlength="3" size="3" />%</td><td>{$ressources_prod.0|separernombres}</td><td>0</td><td>0</td><td class="lack">-{$ressources_conso.0|separernombres}</td></tr>
|
||||
{if $planete->batiments.1}<tr><td>{$planete->batiments.1} {$LANG.$race.batiments.noms_sing.1|ucfirst}</td><td><input type="text" name="coeff_cristal" value="{$ressources_coef.1}" maxlength="3" size="3" />%</td><td>0</td><td>{$ressources_prod.1|separernombres}</td><td>0</td><td class="lack">-{$ressources_conso.1|separernombres}</td></tr>{/if}
|
||||
{if $planete->batiments.2}<tr><td>{$planete->batiments.2} {$LANG.$race.batiments.noms_sing.2|ucfirst}</td><td><input type="text" name="coeff_hydrogene" value="{$ressources_coef.2}" maxlength="3" size="3" />%</td><td>0</td><td>0</td><td>{$ressources_prod.2|separernombres}</td><td class="lack">-{$ressources_conso.2|separernombres}</td></tr>{/if}
|
||||
<tr><td>{$planete->batiments.3} {$LANG.$race.batiments.noms_sing.3|ucfirst}</td><td><input type="text" name="coeff_cs" value="{$ressources_coef.3}" maxlength="3" size="3" />%</td><td>0</td><td>0</td><td>0</td><td>{$ressources_prod.3|separernombres}</td></tr>
|
||||
{if $planete->batiments.4}<tr><td>{$planete->batiments.4} {$LANG.$race.batiments.noms_sing.4|ucfirst}</td><td><input type="text" name="coeff_ce" value="{$ressources_coef.4}" maxlength="3" size="3" />%</select></td><td>0</td><td>0</td><td class="lack">-{$ressources_conso.3|separernombres}</td><td>{$ressources_prod.4|separernombres}</td></tr>{/if}
|
||||
<tr><td>{$planete->batiments.10} {$LANG.$race.batiments.noms_sing.10|ucfirst}</td><td>-</td><td>{$ressources_silo.1|separernombres}</td><td>{$ressources_silo.1|separernombres}</td><td>{$ressources_silo.1|separernombres}</td><td>0</td></tr>
|
||||
<tr><td><strong>Total</strong></td><td>-</td><td>{$ressources_prod.0|separernombres}</td><td>{$ressources_prod.1|separernombres}</td><td>{if $planete->batiments.3}{$ressources_toto.0|separernombres}{else}0{/if}</td><td{if $planete->energieConso >= $planete->energie} class="lack"{/if}>{$ressources_conso.4|separernombres}</td></tr>
|
||||
<tr><td>{$planete->batiments.0} {$LANG.$race.batiments.noms_sing.0|ucfirst}</td><td><input type="text" name="coeff_metal" class="text" value="{$ressources_coef.0}" maxlength="3" size="3" />%</td><td>{$ressources_prod.0|separerNombres}</td><td>0</td><td>0</td><td class="lack">-{$ressources_conso.0|separerNombres}</td></tr>
|
||||
{if $planete->batiments.1}<tr><td>{$planete->batiments.1} {$LANG.$race.batiments.noms_sing.1|ucfirst}</td><td><input type="text" name="coeff_cristal" class="text" value="{$ressources_coef.1}" maxlength="3" size="3" />%</td><td>0</td><td>{$ressources_prod.1|separerNombres}</td><td>0</td><td class="lack">-{$ressources_conso.1|separerNombres}</td></tr>{/if}
|
||||
{if $planete->batiments.2}<tr><td>{$planete->batiments.2} {$LANG.$race.batiments.noms_sing.2|ucfirst}</td><td><input type="text" name="coeff_hydrogene" class="text" value="{$ressources_coef.2}" maxlength="3" size="3" />%</td><td>0</td><td>0</td><td>{$ressources_prod.2|separerNombres}</td><td class="lack">-{$ressources_conso.2|separerNombres}</td></tr>{/if}
|
||||
<tr><td>{$planete->batiments.3} {$LANG.$race.batiments.noms_sing.3|ucfirst}</td><td><input type="text" name="coeff_cs" class="text" value="{$ressources_coef.3}" maxlength="3" size="3" />%</td><td>0</td><td>0</td><td>0</td><td>{$ressources_prod.3|separerNombres}</td></tr>
|
||||
{if $planete->batiments.4}<tr><td>{$planete->batiments.4} {$LANG.$race.batiments.noms_sing.4|ucfirst}</td><td><input type="text" name="coeff_ce" class="text" value="{$ressources_coef.4}" maxlength="3" size="3" />%</td><td>0</td><td>0</td><td class="lack">-{$ressources_conso.3|separerNombres}</td><td>{$ressources_prod.4|separerNombres}</td></tr>{/if}
|
||||
<tr><td>{$planete->batiments.10} {$LANG.$race.batiments.noms_sing.10|ucfirst}</td><td>-</td><td>{$ressources_silo.1|separerNombres}</td><td>{$ressources_silo.1|separerNombres}</td><td>{$ressources_silo.1|separerNombres}</td><td>0</td></tr>
|
||||
<tr><th>Total</th><td>-</td><td>{$ressources_prod.0|separerNombres}</td><td>{$ressources_prod.1|separerNombres}</td><td>{if $planete->batiments.3}{$ressources_toto.0|separerNombres}{else}0{/if}</td><td{if $planete->energieConso >= $planete->energie} class="lack"{/if}>{$ressources_conso.4|separerNombres}</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<input type="submit" class="submit" value="GO" /><br /><br />
|
||||
</form>
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</fieldset></form>
|
||||
{include file='game/footer.tpl'}
|
||||
9
onyx2/tpl/game/ressources_alli.tpl
Normal file
9
onyx2/tpl/game/ressources_alli.tpl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Donner des crédits à l'alliance</h2>
|
||||
<form method="post" action="{$menu.ressources}">
|
||||
<fieldset class="options">
|
||||
<label for="credits">{$LANG.$race.ressources.noms.credits|ucfirst} (maximum : {$planete->credits|separerNombres}) :</label><input type="text" class="text" id="credits" name="credits" maxlength="5" /><br />
|
||||
<br /><input type="submit" class="submit" value="Donner" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
{include file='game/header.tpl'}
|
||||
<div class="error">... veuillez patienter ...</div>
|
||||
{$contenu}
|
||||
<div id="erreur">... veuillez patienter ...</div>
|
||||
{if $contenu}{$contenu}{else}<meta http-equiv="refresh" content="0"/>{/if}
|
||||
{include file='game/footer.tpl'}
|
||||
Loading…
Add table
Add a link
Reference in a new issue