Version 1.9a

This commit is contained in:
nemunaire 2008-09-20 12:00:00 +02:00
commit d028822d0b
437 changed files with 27543 additions and 81793 deletions

View file

@ -0,0 +1,11 @@
{include file='game/header.tpl'}
<h2>Evénements</h2>
<em>Heure du serveur: {$datehb}</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.pilori}">Pilori :</a> {$nbPilori} joueur{if $nbPilori > 1}s{/if} dans le pilori de la galaxie</h4>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,19 @@
{include file='game/header.tpl'}
<a href="?p={$linkpage}&amp;i=add">Ajouter un titre</a>
<table>
<thead>
<tr>
<th>Action</th>
<th>Texte</th>
</tr>
</thead>
<tbody>
{foreach from=$tableau item=ligne key=key}
<tr>
<td><a href="?p={$linkpage}&amp;i={$ligne.id}">EDIT</a> | <a href="?p={$linkpage}&amp;d={$ligne.id}">SUPPR</a></td>
<td{if $ligne.color} style="color: {$ligne.color};"{/if}><b>{$ligne.texte|upper}</b></td>
</tr>
{/foreach}
</tbody>
</table>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,9 @@
{include file='game/header.tpl'}
<form action="?p={$linkpage}&amp;i={$id}" method="post">
<p>
Texte : <input type="text" name="texte" value="{$mod.texte}" /><br />
Couleur : <input type="text" name="color" value="{$mod.color}" /><br />
<input type="submit" class="submit" value="GO" />
</p>
</form>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,23 @@
{include file='game/header.tpl'}
<a href="?p={$linkpage}&amp;i=add">Créer une nouvelle page</a>
<h2>Pages de démarrage</h2>
<h3>La première news est celle qui sera affichée à la connexion des joueurs</h3>
<table>
<thead>
<tr>
<th>Action</th>
<th>Titre</th>
<th>Date de visibilité</th>
</tr>
</thead>
<tbody>
{foreach from=$tableau item=ligne key=key}
<tr>
<td><a href="?p={$linkpage}&amp;i={$ligne.id}">EDIT</a> | <a href="?p={$linkpage}&amp;d={$ligne.id}">SUPPR</a></td>
<td><b>{$ligne.titre|escape}</b></td>
<td>{$ligne.time|date_format:"%d/%m/%y %H:%M:%S"}</td>
</tr>
{/foreach}
</tbody>
</table>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,10 @@
{include file='game/header.tpl'}
<form action="?p={$linkpage}&amp;i={$id}" method="post">
<p>
Titre : <input type="text" name="titre" value="{$mod.titre}" /><br />
Texte : <br /><textarea name="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 />{/if}
<input type="submit" class="submit" value="GO" />
</p>
</form>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,3 @@
{include file='game/header.tpl'}
<div class="error"{if $couleur} style="color: {$couleur};"{/if}>{$message}</div>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,33 @@
{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 &eacute;lectronique :</label> <input class="text" name="HB_mail" id="mail" type="text" value="{$smarty.post.HB_mail}" maxlength="64" />
<br /><br />Race :<br />
</p>
<table style="margin-left: auto; margin-right: auto; width: 75%;">
<tr>
<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
</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
</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&eacute;f&eacute;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" />
</p>
</form>
</div>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,24 @@
{include file='game/header.tpl'}
<table style="width: 80%;">
<thead>
<tr>
<th>Action</th>
<th>Statut</th>
<th>Emetteur</th>
<th>Sujet</th>
<th>Date</th>
</tr>
</thead>
<tbody>
{foreach from=$mails item=ligne}
<tr{if $ligne.statut >= 1} style="background: #{if $ligne.statut == 1}770000{elseif $ligne.statut == 2}007700{elseif $ligne.statut == 3}000077{elseif $ligne.statut == 4}770077{elseif $ligne.statut == 5}007777{elseif $ligne.statut == 6}777700{/if};"{/if}>
<td><a href="?p={$linkpage}&amp;w={$ligne.id}">STAT</a><br /><a href="?p={$linkpage}&amp;v={$ligne.id}">LIRE</a><br /><a href="?p={$linkpage}&amp;d={$ligne.id}" onclick="return confirm('Supprimer ce message ?');">SUPPR</a></td>
<td>{$ligne.statut}</td>
<td>{$ligne.pseudo}</td>
<td>{$ligne.titre|escape}<br />{$ligne.contenu|escape|truncate:50}</td>
<td>{$ligne.time|date_format:"%d/%m/%y %H:%M:%S"}</td>
</tr>
{/foreach}
</tbody>
</table>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,36 @@
{include file='game/header.tpl'}
<table style="width: 90%;">
<thead{if $req.statut >= 1} style="background: #{if $req.statut == 1}770000{elseif $req.statut == 2}007700{elseif $req.statut == 3}000077{elseif $req.statut == 4}770077{elseif $req.statut == 5}007777{elseif $req.statut == 6}777700{/if};"{/if}>
<tr>
<th colspan="2">Emetteur</th>
<td colspan="3">{$req.pseudo}</td>
</tr>
<tr>
<th colspan="2">Statut</th>
<td colspan="3">{$req.statut}</td>
</tr>
<tr>
<th colspan="2">Date</th>
<td colspan="3">{$req.time|date_format:"%d/%m/%y %H:%M:%S"}</td>
</tr>
<tr>
<th colspan="2">Objet</th>
<td colspan="3">{$req.titre|escape}</td>
</tr>
</thead>
<tbody>
<tr>
<td colspan="5">{$req.contenu|escape|nl2br}</td>
</tr>
</tbody>
<tfoot>
<tr>
<td><a href="./?p=envoyer&amp;d={$req.pseudo}&amp;o=Re : {$req.titre|escape}" onclick="window.open(this.href); return false;">Répondre</a></td>
<td><a href="?p=courrier&amp;d={$req.id}">Supprimer</a></td>
<td><a href="?p=courrier&amp;x={$req.id}">Statut</a></td>
<td><a href="?p=courrier">Retour</a></td>
<td><a href="?p=courrier&amp;v={$req.id-1}">&lt;&lt;&lt;</a> - <a href="?p=courrier&amp;v={$req.id+1}">&gt;&gt;&gt;</a></td>
</tr>
</tfoot>
</table>
{include file='game/footer.tpl'}

10
templates/admin/print.tpl Normal file
View file

@ -0,0 +1,10 @@
{include file='game/header.tpl'}
<table>
{foreach from=$tableau item=ligne key=key}
<tr>
<td><a href="?p={$linkpage}&amp;id={$idPlan}&amp;key={$key}">{$key}</a></td>
<td>{if $key == "mdp"}{$ligne|truncate:50}{else}{$ligne}{/if}</td>
</tr>
{/foreach}
</table>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,29 @@
{include file='game/header.tpl'}
<h2>{$titre}</h2>
<table>
<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" />
<input type="submit" class="submit" value="GO" />
</p>
</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" />
<input type="submit" class="submit" value="GO" />
</p>
</form>
</td>
</tr>
</table>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,27 @@
{include file='game/header.tpl'}
<h2>{$titre}</h2>
<table>
<tr>
<td>
<form action="admin.php" method="get">
<p>
ID : <input type="text" value="" name="id" />
<input type="hidden" value="{$linkpage}" name="p" />
<input type="submit" class="submit" value="GO" />
</p>
</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" />
<input type="submit" class="submit" value="GO" />
</p>
</form>
</td>
</tr>
</table>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,17 @@
{include file='game/header.tpl'}
<table>
<tr>
<td><a href="?p={$linkpage}&amp;id={$idPlan}">{$key}</a></td>
</tr>
<tr>
<td>
<form action="?p={$linkpage}&amp;id={$idPlan}&amp;" 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}
<input type="hidden" value="{$key}" name="key" />
<input type="submit" class="submit" value="GO" />
</form>
</td>
</tr>
</table>
{include file='game/footer.tpl'}

View file

@ -0,0 +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>
</dl>
{/foreach}
{include file='game/footer.tpl'}

View file

@ -0,0 +1,26 @@
{include file='game/header.tpl'}
<h2>{$titre}</h2>
<form action="admin.php" method="get">
<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" />
</td>
</tr>
<tr>
<td>
ID : <input type="text" value="" name="id" />
<input type="submit" class="submit" value="GO" />
</td>
</tr>
<tr>
<td>
Nom : <input type="text" name="name" />
<input type="hidden" value="{$linkpage}" name="p" />
<input type="submit" class="submit" value="GO" />
</td>
</tr>
</table>
</form>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,25 @@
{include file='game/header.tpl'}
<a href="?p={$linkpage}&amp;i=add">Ajouter une version</a>
<table>
<thead>
<tr>
<th>Action</th>
<th>Version</th>
<th>Infos</th>
<th>Date</th>
<th>Par</th>
</tr>
</thead>
<tbody>
{foreach from=$tableau item=ligne key=key}
<tr>
<td><a href="?p={$linkpage}&amp;i={$ligne.id}">EDIT</a> | <a href="?p={$linkpage}&amp;d={$ligne.id}">SUPPR</a></td>
<td>{$ligne.version}</td>
<td>{$ligne.contenu}</td>
<td>{$ligne.temps|date_format:"%d/%m/%y %H:%M:%S"}</td>
<td>{$ligne.pseudo}</td>
</tr>
{/foreach}
</tbody>
</table>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,9 @@
{include file='game/header.tpl'}
<form action="?p={$linkpage}&amp;i={$id}" method="post">
<p>
Version : <input type="text" name="version" value="{$mod.version}" /><br />
Contenu :<br /><textarea cols="10" rows="10" name="contenu">{$mod.contenu}</textarea><br />
<input type="submit" class="submit" value="GO" />
</p>
</form>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,25 @@
{include file='game/header.tpl'}
<h2>Vérification des flottes</h2>
<table style="text-align: center; margin: auto;">
<thead>
<tr>
<th>Utilisateurs</th>
<th>Départ<br />Arrivé<br />Retour</th>
<th>Durées</th>
<th>Vaisseaux<br />Vitesse</th>
<th>Contenu</th>
</tr>
</thead>
<tbody>
{foreach from=$flottes item=flotte}
<tr{if $flotte.6} style="background-color: #{$ip.6};"{/if}>
<td>{$flotte.0}<br />{$flotte.2}</td>
<td>{$flotte.3} {$flotte.4}<br />{$flotte.5} {$flotte.6}</td>
<td>{$flotte.7|date_format:"%d/%m/%y %H:%M:%S"}</td>
<td>{$flotte.8}<br />{$flotte.9}</td>
<td>Métal : {$flotte.10}<br />Cristal : {$flotte.11}<br />Hydrogène : {$flotte.12}</td>
</tr>
{/foreach}
</tbody>
</table
{include file='game/footer.tpl'}

27
templates/admin/vip.tpl Normal file
View file

@ -0,0 +1,27 @@
{include file='game/header.tpl'}
<h2>Vérification des IP</h2>
<a href="?p=vip&amp;v={$numpage-1}">&lt;&lt;&lt;</a> page {$numpage}/{$nbpage} <a href="?p=vip&amp;v={$numpage+1}">&gt;&gt;&gt;</a>
<table style="text-align: center; margin: auto;">
<thead>
<tr>
<th>Adresses IP</th>
<th>Nom d'utilisateur</th>
<th>Date & heure</th>
<th>Traçage IP</th>
<th>Action</th>
</tr>
</thead>
<tbody>
{foreach from=$ips item=ip}
<tr{if $ip.6} style="background-color: #{$ip.6};"{/if}>
<td><a href="?p=vip&amp;ip={$ip.0}">{$ip.0}</a></td>
<td><a href="?p=vip&amp;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&amp;util={$ip.2}&amp;act=multiok">Déclaré</a><br /><a href="{$menua.sjoueurs}&amp;id={$ip.2}&amp;sanc=d&amp;raisonmv=Multi-compte">Définitivement</a></td>
</tr>
{/foreach}
</tbody>
</table>
<a href="?p=vip&amp;v={$numpage-1}">&lt;&lt;&lt;</a> page {$numpage}/{$nbpage} <a href="?p=vip&amp;v={$numpage+1}">&gt;&gt;&gt;</a>
{include file='game/footer.tpl'}

4
templates/admin/vp.tpl Normal file
View file

@ -0,0 +1,4 @@
{include file='game/header.tpl'}
<div class="error">... veuillez patienter ...</div>
{$contenu}
{include file='game/footer.tpl'}

21
templates/cms/accueil.tpl Normal file
View file

@ -0,0 +1,21 @@
{include file='cms/header.tpl'}
<div id="connexion" class="block">
<div class="header">Connexion</div>
<div class="corps"><form action="?log" method="post"><fieldset><span><input type="text" class="text" name="HB_login" maxlength="32" tabindex="1" /><input type="password" class="password" name="HB_password" maxlength="32" tabindex="2" /><input type="submit" class="submit" value="GO" tabindex="3" /></span><span><input type="checkbox" name="cookie" id="cookie" /><label for="cookie">Retenir mes informations</label> <a href="{$link.oubliemdp}" tabindex="4">Mot de passe oublié</a></span></fieldset></form></div>
</div>
<div id="inscription" class="block"><span><a href="{$link.inscription}">INSCRIVEZ VOUS</a> Rejoignez l'alliance ou engagez-vous</span> <p><strong>DEFENDREZ VOUS L'HUMANITE OU LA DETRUIREZ VOUS?</strong><br /><br />Repoussez l'ennemi et partez a la conquète des mondes-anneaux dans des univers vastes et riches basés sur l'univers du jeu vidéo Halo<br /><br /><em>Une simple inscription gratuite et un navigateur internet sont demandés pour pouvoir participer a des batailles épiques!</em></p> <a href="{$link.inscription}" class="link"><span>Cliquez ici pour vous inscrire</span></a> <a href="{$link.inscription}" class="more">En savoir plus</a></div>
<div id="news" class="block">
<h2>Actualités</h2>
{foreach from=$actualites item=actualite key=key}
<h3><span>{$actualite.time|date_format:"%d/%m/%y"}</span></h3>
<div>
<img src="images/news/{$actualite.image}" alt="" width="50" height="50" />
<p><strong>{$actualite.titre}</strong> dans : <ins>{$actualite.categorie}</ins> <cite>{$actualite.contenu|truncate:255:"..."|nl2br}</cite> <a href="?n={$actualite.id}#commentaires" class="com">{$nbcoms.$key} commentaire{if $nbcoms.$key > 1}s{/if}</a> <a href="?n={$actualite.id}" class="plus">PLUS &#62;&#62;</a></p>
</div>
{/foreach}
<div class="bottom"><a href="#">Plus de news</a> <span>{$pages}</span></div>
</div>
{include file='cms/footer.tpl'}

3
templates/cms/erreur.tpl Normal file
View file

@ -0,0 +1,3 @@
{include file='cms/header.tpl'}
<div class="error"{if $couleur} style="color: {$couleur};"{/if}>{$message}</div>
{include file='cms/footer.tpl'}

14
templates/cms/footer.tpl Normal file
View file

@ -0,0 +1,14 @@
</div>
<div id="footer">
Réalisé par Halo Battle Staff<br />
Design by <a href="http://www.nothing-arts.com" onclick="window.open(this.href); return false;"><ins>nothingarts</ins></a><br /><br />
<!--Site visité 514200 fois depuis sa création<br />-->
<a href="{$link.accueil}">Accueil</a> | <a href="{$link.jeu}">Le jeu</a> | <a href="{$link.inscription}">S'inscrire</a> | <a href="{$link.forum}">Forum</a> | <a href="{$link.staff}">Staff</a> | <a href="{$link.faq}">F.A.Q.</a>
</div>
</div>
<div id="cornerbt"></div>
{$script}
<!-- \\******* By Phantom *******// Halo-Battle, Tous droits réservés -->
</body>
</html>

28
templates/cms/header.tpl Normal file
View file

@ -0,0 +1,28 @@
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-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" />
<script src="js/cms.js" type="text/javascript"></script>
<script src="js/infos.js" type="text/javascript"></script>
</head>
<body onload="first({$nbinfos});">
<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">RSS :: s'abonner</a>
<a href="{$link.self}" id="img"><span></span>Halo Battle</a>
<div id="buttons"><div><a href="{$link.accueil}">ACCUEIL</a></div> <div><a href="{$link.jeu}">LE JEU</a></div> <div><a href="{$link.inscription}">S'INSCRIRE</a></div> <div><a href="{$link.forum}">FORUM</a></div> <div><a href="{$link.blog}">BLOG</a></div> <div><a href="http://www.halo.fr/">HALO.FR</a></div></div>
<form action="#" method="post"><fieldset id="recherche"><input class="text" type="text" name="recherche" value="rechercher..." maxlength="128" tabindex="10" onfocus="this.value = this.value!='rechercher...'?this.value:''" onblur="this.value=this.value==''?'rechercher...':this.value" /><input value="OK" class="submit" type="submit" tabindex="11" /><br /><a href="#" tabindex="12">Recherche Avancée</a></fieldset></form>
</div>
<div id="banner">
{foreach from=$infos item=info key=key}
<div id="quadri{$key}" class="annonceleft"{if $info.color} style="color: {$info.color};"{/if}>{$info.texte|upper}</div>
{/foreach}
<span id="bannerright">{$count.humains} Marines et {$count.covenants} Covenants se battent dans <ins>{$count.serveurs} galaxie{if $count.serveurs>1}s{/if}</ins></span></div>
<div id="corps">

View file

@ -0,0 +1,52 @@
{include file='cms/header.tpl'}
<script src="js/inscription.js" type="text/javascript"></script>
<div id="dernierminute" class="block">
<div class="header">Informations</div>
<div class="corps" id="description"><p><b>Bienvenue dans l&#39;univers de Halo&#45;Battle</b><br /><br /><p>Afin de pouvoir jouer sur l'un des serveurs mis &agrave; votre disposition, veuillez remplir les champs ci-contre.<br /><br />Vous trouverez ici des informations pour vous aider tout au long de votre inscription<noscript> (requiert d&#39;avoir JavaScript d&#39;activ&eacute;)</noscript>.</p><br /><b>A bient&ocirc;t dans le jeu</b><br /><i>Le staff de Halo&#45;Battle</i></p>
</div>
</div>
<div id="statistiques" class="block">
<div class="header">Formulaire d&#39;inscription</div>
<div class="corpsi">
<form action="{$menu.inscription}" method="post">
<span><label for="pseudo">Pseudo :</label> <input class="text" name="HB_pseudo" id="pseudo" type="text" maxlength="16" value="{$smarty.post.HB_pseudo}" />
<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 &eacute;lectronique :</label> <input class="text" name="HB_mail" id="mail" type="text" value="{$smarty.post.HB_mail}" maxlength="64" />
<br /><br />Race :<br />
<table style="margin-left: auto; margin-right: auto; width: 75%;">
<tr>
<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
</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
</label>
</td>
</tr>
</table>
<br /><label for="servers">Galaxie :</label> <select name="servers" id="servers"><option value="1"> Alpha</option></select>
<br /><label for="placement">Placement pr&eacute;f&eacute;rentiel :</label> <input class="text" name="HB_placement" id="placement" type="text" value="{$smarty.post.HB_placement}" />
<br /><br /><label for="captcha">Recopiez ce texte :</label> <input class="text" name="HB_captcha" id="captcha" type="text" /> <img src="captcha/image.php" alt="Génération ..." id="gen" />
<br /><br /><input type="checkbox" name="regles" id="regles" value="1" /> <label for="regles">J&#39;accepte les <a href="?p=conditions" onclick="window.open(this.href); return false;">conditions g&eacute;n&eacute;rales d&#39;utilisation</a> et les <a href="?p=regles" onclick="window.open(this.href); return false;">r&egrave;gles du jeu</a></label>
<br /><br /><input class="submit" value="OK" type="submit">
</span>
</form>
</div>
</div>
{if $erreurs}
<div id="connexion" class="block">
<div class="header"><b>Impossible de valider votre inscription</b></div>
<div class="corps" id="description">
<p>
{$erreurs}
</p>
</div>
</div>
{/if}
{include file='cms/footer.tpl'}

8
templates/cms/maj.tpl Normal file
View file

@ -0,0 +1,8 @@
{include file='cms/header.tpl'}
<div id="connexion" class="block">
<div class="header">{$titre}</div>
<div class="corps">{$texte}</div>
</div>
<div id="inscription" class="block"><span><a href="{$link.inscription}">INSCRIVEZ VOUS</a> Rejoignez l'alliance ou engagez-vous</span> <p><strong>DEFENDREZ VOUS L'HUMANITE OU LA DETRUIREZ VOUS?</strong><br /><br />Repoussez l'ennemi et partez a la conquète des mondes-anneaux dans des univers vastes et riches basés sur l'univers du jeu vidéo Halo<br /><br /><em>Une simple inscription gratuite et un navigateur internet sont demandés pour pouvoir participer a des batailles épiques!</em></p> <a href="{$link.inscription}" class="link"><span>Cliquez ici pour vous inscrire</span></a> <a href="{$link.inscription}" class="more">En savoir plus</a></div>
{include file='cms/footer.tpl'}

30
templates/cms/mini.tpl Normal file
View file

@ -0,0 +1,30 @@
{include file='cms/header.tpl'}
<div id="connexion" class="block">
<div class="header">Connexion</div>
<div class="corps">
<form action="?p=connexion" method="post">
<fieldset>
<span>
<input type="text" class="text" name="HB_login" maxlength="32" tabindex="1" />
<input type="password" class="password" name="HB_password" maxlength="32" tabindex="2" />
<input type="submit" class="submit" value="GO" tabindex="3" />
</span>
<span>
<label for="galaxie">Galaxie :</label>
<select name="galaxie" id="galaxie">
<optgroup label="Galaxies standards">
<option> Alpha</option>
</optgroup>
</select>
<a href="{$link.oubliemdp}" tabindex="4">Mot de passe oublié</a>
</span>
</fieldset>
</form>
</div>
</div>
<div id="inscription" class="block"><span><a href="{$link.inscription}">INSCRIVEZ VOUS</a> Rejoignez l'alliance ou engagez-vous</span> <p><strong>DEFENDREZ VOUS L'HUMANITE OU LA DETRUIREZ VOUS?</strong><br /><br />Repoussez l'ennemi et partez a la conquète des mondes-anneaux dans des univers vastes et riches basés sur l'univers du jeu vidéo Halo<br /><br /><em>Une simple inscription gratuite et un navigateur internet sont demandés pour pouvoir participer a des batailles épiques!</em></p> <a href="{$link.inscription}" class="link"><span>Cliquez ici pour vous inscrire</span></a> <a href="{$link.inscription}" class="more">En savoir plus</a></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>
</div>
{include file='cms/footer.tpl'}

47
templates/cms/news.tpl Normal file
View file

@ -0,0 +1,47 @@
{include file='cms/header.tpl'}
<div id="page" class="block">
<div class="header"><h2>Actualités</h2><h3><span>{$actualite.time|date_format:"%d/%m/%y"}</span></h3></div>
<div class="corps">
<h4><img src="images/news/{$actualite.image}" alt="news" width="50" height="50" /> <span><strong>{$actualite.titre}</strong> par <ins>{$actualite.username}</ins></span></h4>
<p>{$actualite.contenu|nl2br}</p>
</div>
<div class="bottom"><a href="?n={$actualite.id-1}">News précédente</a> <span><a href="?n={$actualite.id+1}">News suivante</a></span></div>
</div>
<div id="commentaires" class="block">
<h2>Commentaires</h2>
<div class="header"><span></span></div>
{foreach from=$commentaires item=commentaire}
<p class="com{cycle values="1,2"}"><a href="#">{$commentaire.username}</a>, le {$commentaire.time|date_format:"%d/%m/%y"} <cite>{$commentaire.commentaire|nl2br}</cite></p>
{/foreach}
</div>
<form action="#" method="post"><fieldset id="commenter" class="block">
<legend>Laisser un commentaire</legend>
{if $connected}<div>
<img src="images/smile/wink.gif" alt=":wink:" onclick="document.getElementById('com').value += ' :wink: '" />
<img src="images/smile/biggrin.gif" alt=":D" onclick="document.getElementById('com').value += ' :D '" />
<img src="images/smile/smile.gif" alt=":-)" onclick="document.getElementById('com').value += ' :-) '" />
<img src="images/smile/razz.gif" alt=":P" onclick="document.getElementById('com').value += ' :P '" /><br />
<img src="images/smile/eek.gif" alt=":shock:" onclick="document.getElementById('com').value += ' :shock: '" />
<img src="images/smile/cool.gif" alt="8-)" onclick="document.getElementById('com').value += ' 8-) '" />
<img src="images/smile/twisted.gif" alt=":twisted:" onclick="document.getElementById('com').value += ' :twisted: '" />
<img src="images/smile/evil.gif" alt=":evil:" onclick="document.getElementById('com').value += ' :evil: '" /><br />
<img src="images/smile/mad.gif" alt=":-x" onclick="document.getElementById('com').value += ' :-x '" />
<img src="images/smile/confused.gif" alt=":-?" onclick="document.getElementById('com').value += ' :-? '" />
<img src="images/smile/sad.gif" alt=":-(" onclick="document.getElementById('com').value += ' :-( '" />
<img src="images/smile/surprised.gif" alt=":-O" onclick="document.getElementById('com').value += ' :-O '" /><br />
<img src="images/smile/neutral.gif" alt=":-|" onclick="document.getElementById('com').value += ' :-| '" />
<img src="images/smile/redface.gif" alt=":oops:" onclick="document.getElementById('com').value += ' :oops: '" />
<img src="images/smile/rolleyes.gif" alt=":roll:" onclick="document.getElementById('com').value += ' :roll: '" />
<img src="images/smile/lol.gif" alt=":lol:" onclick="document.getElementById('com').value += ' :lol: '" />
</div>
<textarea name="commentaire" id="com"></textarea><br />
<input type="submit" class="submit" value="Envoyer" />
{else}<label for="login">Login (forum) : <input type="text" class="text" name="login" id="login" /></label>
<label for="password">Mot de passe : <input type="password" class="text" name="password" id="password" /></label>
<input type="submit" class="submit" value="GO" />{/if}
</fieldset></form>
{include file='cms/footer.tpl'}

View file

@ -0,0 +1,29 @@
{include file='cms/header.tpl'}
<div id="dernierminute" class="block">
<div class="header">Informations</div>
<div class="corps" id="description"><b>Oublie de mot de passe</b><br /><br /><p>Compl&eacute;tez le formualaire ci-contre avec votre nom d&#39;utilisateur et votre adresse &eacute;lectronique. Un nouveau mot de passe sera envoy&eacute; &agrave; votre adresse, vous permettant ainsi d&#39;avoir de nouveau acc&egrave;s &agrave; votre compte.<br /><br />Pensez &agrave; changer ce nouveau mot de passe que vous ne retiendrez pas facilement, via la page option du jeu.</p>
</div>
</div>
<div id="statistiques" class="block">
<div class="header">Formulaire de r&eacute;initialisation de mot de passe</div>
<div class="corpsi">
<form action="{$link.oubliemdp}" method="post">
<span><label for="HB_pseudo">Pseudo :</label> <input class="text" name="HB_pseudo" id="pseudo" type="text" />
<br /><label for="HB_mail">Adresse &eacute;lectronique :</label> <input class="text" name="HB_mail" id="mail" type="text" />
<br /><br /><label for="HB_captcha">Recopiez ce texte :</label> <input class="text" name="HB_captcha" id="captcha" type="text" /> <img src="captcha/image.php" alt="Génération ..." id="gen" />
<br /><br /><input class="submit" value="OK" type="submit">
</span>
</form>
</div>
</div>
{if $erreurs}
<div id="connexion" class="block">
<div class="header"><b>Impossible de changer le mot de passe :</b></div>
<div class="corps" id="description">
<p>
{$erreurs}
</p>
</div>
</div>
{/if}
{include file='cms/footer.tpl'}

22
templates/cms/pilori.tpl Normal file
View file

@ -0,0 +1,22 @@
{include file='cms/header.tpl'}
<table style="width: 85%; margin: auto;">
<thead>
<tr>
<th>Utilisateur</th>
<th>Raison</th>
<th>Fin du banissement</th>
<th>Opérateur</th>
</tr>
</thead>
<tbody>
{foreach from=$joueurs item=joueur}
<tr>
<td>{$joueur.pseudo}</td>
<td>{$joueur.raisonmv|escape}</td>
<td>{if $joueur.mv == 3 || $joueur.last_visite == 2147483647}Définitif{else}{$joueur.last_visite+259200|date_format:"%a %d %B %Y %H:%M"|escape}{/if}</td>
<td>{if $joueur.operateurmv}{mailto address=$joueur.mail encode="hex" text=$joueur.operateurmv}{else}Inconnu{/if}</td>
</tr>
{/foreach}
</tbody>
</table>
{include file='cms/footer.tpl'}

13
templates/cms/secours.tpl Normal file
View file

@ -0,0 +1,13 @@
{include file='cms/header.tpl'}
<div id="connexion" class="block">
<div class="header">Connexion</div>
<div class="corps">
Sélectionnez votre galaxie :<br /><br />
{foreach from=$servers_name item=server_name key=key}
<a href="{$server_url.$key}">Galaxie {$server_name}</a><br />
{/foreach}
</div>
</div>
<div id="inscription" class="block"><span>Le serveur de base de données est indisponible</span> <p><em>Le serveur de base de données n'étant actuellement pas en mesure d'assurer la génération des pages web, ni le processus de connexion ou d'inscription, utilisez les liens du cadre ci-contre pour accèder à la page de connexion de secours de votre serveur.<br /><br />Veuillez nous excuser pour la gène occasionnée, nous faisons notre possible pour rétablir le site au plus vite.<br /><br /><i>Le Staff</i></em></p></div>
{include file='cms/footer.tpl'}

71
templates/cms/test.tpl Normal file
View file

@ -0,0 +1,71 @@
{include file='cms/header.tpl'}
<div id="connexion" class="block">
<div class="header">Connexion</div>
<div class="corps"><form action="#" method="post"><fieldset><span><input type="text" class="text" name="login" maxlength="15" tabindex="1" /><input type="password" class="password" name="password" maxlength="30" tabindex="2" /><input type="submit" class="submit" value="GO" tabindex="3" /></span><span><input type="checkbox" name="cookie" id="cookie" /><label for="cookie">Retenir mes informations</label> <a href="#" tabindex="4">Mot de passe oublié</a></span></fieldset></form></div>
</div>
<div id="inscription" class="block"><span><a href="{$link.inscription}">INSCRIVEZ VOUS</a> Rejoignez l'alliance ou engagez-vous</span> <p><strong>DEFENDREZ VOUS L'HUMANITE OU LA DETRUIREZ VOUS?</strong><br /><br />Repoussez l'ennemi et partez a la conquète des mondes-anneaux dans des univers vastes et riches basés sur l'univers du jeu vidéo Halo<br /><br /><em>Une simple inscription gratuite et un navigateur internet sont demandés pour pouvoir participer a des batailles épiques!</em></p> <a href="{$link.inscription}" class="link"><span>Cliquez ici pour vous inscrire</span></a> <a href="{$link.inscription}" class="more">En savoir plus</a></div>
<div id="news" class="block">
<h2>Actualités</h2>
<h3><span>15/06/07</span></h3>
<div>
<img src="images/accueil/news_img.jpg" alt="" width="50" height="50" />
<p><strong>Ghosts of Onyx</strong> dans : <ins>Halo</ins> <cite>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi.</cite> <a href="#" class="com">9 commentaires</a> <a href="#" class="plus">PLUS &#62;&#62;</a></p>
</div>
<div>
<img src="images/accueil/news_img.jpg" alt="" width="50" height="50" />
<p><strong>Ghosts of Onyx</strong> dans : <ins>Halo</ins> <cite>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi.</cite> <a href="#" class="com">9 commentaires</a> <a href="#" class="plus">PLUS &#62;&#62;</a></p>
</div>
<div>
<img src="images/accueil/news_img.jpg" alt="" width="50" height="50" />
<p><strong>Ghosts of Onyx</strong> dans : <ins>Halo</ins> <cite>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi.</cite> <a href="#" class="com">9 commentaires</a> <a href="#" class="plus">PLUS &#62;&#62;</a></p>
</div>
<h3><span>14/06/07</span></h3>
<div>
<img src="images/accueil/news_img.jpg" alt="" width="50" height="50" />
<p><strong>Ghosts of Onyx</strong> dans : <ins>Halo</ins> <cite>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi.</cite> <a href="#" class="com">9 commentaires</a> <a href="#" class="plus">PLUS &#62;&#62;</a></p>
</div>
<div>
<img src="images/accueil/news_img.jpg" alt="" width="50" height="50" />
<p><strong>Ghosts of Onyx</strong> dans : <ins>Halo</ins> <cite>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi.</cite> <a href="#" class="com">9 commentaires</a> <a href="#" class="plus">PLUS &#62;&#62;</a></p>
</div>
<div>
<img src="images/accueil/news_img.jpg" alt="" width="50" height="50" />
<p><strong>Ghosts of Onyx</strong> dans : <ins>Halo</ins> <cite>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi.</cite> <a href="#" class="com">9 commentaires</a> <a href="#" class="plus">PLUS &#62;&#62;</a></p>
</div>
<div class="bottom"><a href="#">Plus de news</a> <span>1,<a href="#">2</a>,<a href="#">3</a>,<a href="#">4</a> <a href="#">&#60;&#60;</a> <a href="#">&#60;</a> <a href="#">&#62;</a> <a href="#">&#62;&#62;</a></span></div>
</div>
<div id="annonce" class="block">
<div><img src="images/accueil/annonce.jpg" alt="" width="452" height="174" /><a href="#" class="link"><span>NAVIGATION &#62;&#62;</span></a></div>
<p><strong><span>Ouverture de Halo-Battle</span></strong> <cite><em>" Votre Excellence...<br />- J'ai demandé à ne pas être dérangé. J'espère que vous avez une bonne raison de venir me troubler dans mes méditations.<br />- Votre Excellence... Il est enfin là.<br />- Quoi donc ? Parle, 'Vatinree.<br />- Ce pourquoi nous attendons en ce lieu depuis des années, Excellence ! C'est un jour béni par les Dieux !<br />- Ainsi donc... Cela se peut-il ?... "</em><br /><br />Cette conversation entre ces deux Sangheili vous semble improbable ?<br />Mais de quoi donc peuvent-ils discuter ?<br />Ceux qui suivent Halo-Battle depuis longtemps auront peut-être la puce à l'oreille (ou peut-être avez-vous la puce à l'oreille tout court).<br />Oui, cette fois, c'est bel et bien terminé : Halo-Battle va enfin voir le jour, après des années de rebondissements, d'espoirs incensés et d'efforts hors du commun pour donner un souffle de vie à ce projet.<br />La chose assez paradoxale est que l'on peut voir cet heureux dénouement comme une sorte de fin en soit (pour ceux qui suivent depuis le début le projet par exemple), alors que ce n'est le début que d'une longue carrière et d'une volonté de tendre vers la perfection, en améliorant et nourrissant Halo-Battle d'idées et de suggestions toutes plus grandioses les unes que les autres.<br />Préparez-vous donc non pas à finir le combat, mais à le commencer justement ! Rendez-vous le XX/XX/XXXX.</cite> <a href="#" class="com">9 commentaires</a> <a href="#" class="plus">PLUS &#62;&#62;</a></p>
</div>
<div id="statistiques" class="block">
<div class="header">Statistiques</div>
<div class="corps"><img src="images/accueil/stat.png" alt="Statistiques" /></div>
<div class="footer"><a href="#">Plus de statistiques</a></div>
</div>
<div id="container" class="block">
<div id="sondage">
<h2>Sondage</h2>
<div class="header"><span>Semaine du xx/xx au xx/xx</span></div>
<div class="corps"><form action="#" method="post"><fieldset>
<label for="sondage1"><input type="radio" class="radio" name="sondage" value="1" id="sondage1" checked="checked" /> Choix 1</label>
<label for="sondage2"><input type="radio" class="radio" name="sondage" value="2" id="sondage2" /> Choix 2</label>
<label for="sondage3"><input type="radio" class="radio" name="sondage" value="3" id="sondage3" /> Choix 3</label>
<label for="sondage4"><input type="radio" class="radio" name="sondage" value="4" id="sondage4" /> Choix 4</label>
<label for="sondage5"><input type="radio" class="radio" name="sondage" value="5" id="sondage5" /> Choix 5</label>
<input type="submit" class="submit" value="OK" />
</fieldset></form></div>
</div>
<div id="dossier">
<h2>Dossiers</h2>
<div class="header"><span></span></div>
<div class="corps"><img src="images/accueil/dossier.jpg" alt="" width="45" height="45" /><p><strong>DOSSIER HALO WARS</strong> <cite>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam.</cite></p></div>
<div class="footer"><a href="#">Plus de dossiers</a></div>
</div>
</div>
{include file='cms/footer.tpl'}

3
templates/cms/vide.tpl Normal file
View file

@ -0,0 +1,3 @@
{include file='cms/header.tpl'}
{$contenu}
{include file='cms/footer.tpl'}

View file

@ -0,0 +1,197 @@
<b>{if $termine}Le combat contre {$EN.pseudo} est terminé !
{elseif $tour == '1'}Le combat contre {$EN.pseudo} est engagé !
{else}Suite du combat contre {$EN.pseudo} !{/if}</b><br /><br />
Tour n° : {$tour}<br /><br />
Tactique lors de ce tour : {$flotte.tactiqueAT}<br /><br />
Lieux du combat : <a href="?p=carte&amp;galaxie={$flotte.end_galaxie}&amp;ss={$flotte.end_ss}">[{$flotte.end_galaxie}:{$flotte.end_ss}:{$flotte.end_position}]</a><br /><br />
<b>Vaisseaux à la fin du tour de notre côté :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Vaisseaux</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
{foreach from=$vaisseaux3 item=vaisseau}
{assign var="nom" value="`$vaisseau[0]-1`"}
<tr>
<td>{$vaisseau.1} {$nomvaisAT[$nom]}</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
{foreach from=$vaisseau.3 item=groupe}
{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"}
<tr>
<td>{$groupe.0}</td>
<td>{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
</tr>
{/foreach}
</table>
</td>
</tr>
{/foreach}
</tbody>
</table>
<br /><b>Vaisseaux ennemi à la fin du tour :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Vaisseaux</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
{foreach from=$vaisseaux4 item=vaisseau}
{assign var="nom" value="`$vaisseau[0]-1`"}
<tr>
<td>{$vaisseau.1} {$nomvaisEN[$nom]}</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
{foreach from=$vaisseau.3 item=groupe}
{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"}
<tr>
<td>{$groupe.0}</td>
<td>{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
</tr>
{/foreach}
</table>
</td>
</tr>
{/foreach}
</tbody>
</table>
<br /><b>Défenses ennemi à la fin du tour :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Défenses</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
{foreach from=$defenses2 item=vaisseau}
{assign var="nom" value="`$vaisseau[0]-1`"}
<tr>
<td>{$vaisseau.1} {$nomdefEN[$nom]}</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0;">
{foreach from=$vaisseau.3 item=groupe}
{assign var="pourcent_pv" value="`$groupe[2]*100/$defPV[$nom]`"}
<tr>
<td>{$groupe.0}</td>
<td>{if $defBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$defBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
</tr>
{/foreach}
</table>
</td>
</tr>
{/foreach}
</tbody>
</table>
<br /><br /><b>Vaisseaux au début du tour de notre côté :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Vaisseaux</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
{foreach from=$vaisseaux1 item=vaisseau}
{assign var="nom" value="`$vaisseau[0]-1`"}
<tr>
<td>{$vaisseau.1} {$nomvaisAT[$nom]}</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
{foreach from=$vaisseau.3 item=groupe}
{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"}
<tr>
<td>{$groupe.0}</td>
<td>{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
</tr>
{/foreach}
</table>
</td>
</tr>
{/foreach}
</tbody>
</table>
<br /><b>Vaisseaux ennemi au début du tour :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Vaisseaux</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
{foreach from=$vaisseaux2 item=vaisseau}
{assign var="nom" value="`$vaisseau[0]-1`"}
<tr>
<td>{$vaisseau.1} {$nomvaisEN[$nom]}</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
{foreach from=$vaisseau.3 item=groupe}
{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"}
<tr>
<td>{$groupe.0}</td>
<td>{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
</tr>
{/foreach}
</table>
</td>
</tr>
{/foreach}
</tbody>
</table>
<br /><b>Défenses ennemi au début du tour :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Défenses</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
{foreach from=$defenses1 item=vaisseau}
{assign var="nom" value="`$vaisseau[0]-1`"}
<tr>
<td>{$vaisseau.1} {$nomdefEN[$nom]}</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
{foreach from=$vaisseau.3 item=groupe}
{assign var="pourcent_pv" value="`$groupe[2]*100/$defPV[$nom]`"}
<tr>
<td>{$groupe.0}</td>
<td>{if $defBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$defBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
</tr>
{/foreach}
</table>
</td>
</tr>
{/foreach}
</tbody>
</table>
<br />
{if !$termine}<!--Vous pouvez profiter du temps de régénération des boucliers et des armes pour envoyer un nouvel ordre de tactique : Cliquez ici !<br /><br />-->
La prochaine attaque est prévue à {$nextTour|date_format:"/%d%m %y/ %H%M %S"}</b>
{elseif $attaquantG}<strong>Nous avons gagné le combat !<br />Nous repartons avec {$pillage.0} {$ressources.0}, {$pillage.1} {$ressources.1} et {$pillage.2} {$ressources.2}.</strong>
{else}<strong>Nous avons perdu le combat !</strong>{/if}

View file

@ -0,0 +1,196 @@
<b>{if $termine}Le combat contre {$flotte.pseudo} est terminé !
{elseif $tour == '1'}Un combat contre {$flotte.pseudo} est engagé !
{else}Suite du combat contre {$flotte.pseudo} !{/if}</b><br /><br />
Tactique lors de ce tour : {$flotte.tactiqueEN}<br /><br />
Lieux du combat : <a href="?p=carte&amp;galaxie={$flotte.end_galaxie}&amp;ss={$flotte.end_ss}">[{$flotte.end_galaxie}:{$flotte.end_ss}:{$flotte.end_position}]</a><br /><br />
<b>Vaisseaux à la fin du tour de notre côté :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Vaisseaux</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
{foreach from=$vaisseaux4 item=vaisseau}
{assign var="nom" value="`$vaisseau[0]-1`"}
<tr>
<td>{$vaisseau.1} {$nomvaisEN[$nom]}</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
{foreach from=$vaisseau.3 item=groupe}
{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"}
<tr>
<td>{$groupe.0}</td>
<td>{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
</tr>
{/foreach}
</table>
</td>
</tr>
{/foreach}
</tbody>
</table>
<br /><b>Nos défenses à la fin du tour :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Défenses</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
{foreach from=$defenses2 item=vaisseau}
{assign var="nom" value="`$vaisseau[0]-1`"}
<tr>
<td>{$vaisseau.1} {$nomdefEN[$nom]}</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0;">
{foreach from=$vaisseau.3 item=groupe}
{assign var="pourcent_pv" value="`$groupe[2]*100/$defPV[$nom]`"}
<tr>
<td>{$groupe.0}</td>
<td>{if $defBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$defBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
</tr>
{/foreach}
</table>
</td>
</tr>
{/foreach}
</tbody>
</table>
<br /><b>Vaisseaux ennemi à la fin du tour :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Vaisseaux</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
{foreach from=$vaisseaux3 item=vaisseau}
{assign var="nom" value="`$vaisseau[0]-1`"}
<tr>
<td>{$vaisseau.1} {$nomvaisAT[$nom]}</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
{foreach from=$vaisseau.3 item=groupe}
{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"}
<tr>
<td>{$groupe.0}</td>
<td>{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
</tr>
{/foreach}
</table>
</td>
</tr>
{/foreach}
</tbody>
</table>
<br /><br /><b>Vaisseaux au début du tour de notre côté :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Vaisseaux</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
{foreach from=$vaisseaux2 item=vaisseau}
{assign var="nom" value="`$vaisseau[0]-1`"}
<tr>
<td>{$vaisseau.1} {$nomvaisEN[$nom]}</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
{foreach from=$vaisseau.3 item=groupe}
{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"}
<tr>
<td>{$groupe.0}</td>
<td>{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
</tr>
{/foreach}
</table>
</td>
</tr>
{/foreach}
</tbody>
</table>
<br /><b>Nos défenses au début du tour :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Défenses</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
{foreach from=$defenses1 item=vaisseau}
{assign var="nom" value="`$vaisseau[0]-1`"}
<tr>
<td>{$vaisseau.1} {$nomdefEN[$nom]}</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
{foreach from=$vaisseau.3 item=groupe}
{assign var="pourcent_pv" value="`$groupe[2]*100/$defPV[$nom]`"}
<tr>
<td>{$groupe.0}</td>
<td>{if $defBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$defBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
</tr>
{/foreach}
</table>
</td>
</tr>
{/foreach}
</tbody>
</table>
<br /><b>Vaisseaux ennemi au début du tour :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Vaisseaux</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
{foreach from=$vaisseaux1 item=vaisseau}
{assign var="nom" value="`$vaisseau[0]-1`"}
<tr>
<td>{$vaisseau.1} {$nomvaisAT[$nom]}</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
{foreach from=$vaisseau.3 item=groupe}
{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"}
<tr>
<td>{$groupe.0}</td>
<td>{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
</tr>
{/foreach}
</table>
</td>
</tr>
{/foreach}
</tbody>
</table>
<br />
{if !$termine}<!--Vous pouvez profiter du temps de régénération des boucliers et des armes pour envoyer un nouvel ordre de tactique : Cliquez ici !<br /><br />-->
La prochaine attaque est prévue à {$nextTour|date_format:"/%d%m %y/ %H%M %S"}</b>
{elseif $attaquantG || $matchnul}<strong>Nous n'avons pas réussi à repousser l'attaque !<br />Ils repartent avec {$pillage.0} {$ressources.0}, {$pillage.1} {$ressources.1} et {$pillage.2} {$ressources.2}.</strong>
{else}<strong>Nous avons réussi à repousser l'attaque !</strong>{/if}

View file

@ -0,0 +1,195 @@
{include file='game/header.tpl'}
<b>Le combat est terminé !</b><br /><br />
Nombre de tour : {$tour}<br /><br />
Puissance d'attaque attaquant : {$infoPLUS}<br /><br />
<b>Vaisseaux à la fin du tour de notre côté :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Vaisseaux</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
{foreach from=$vaisseaux3 item=vaisseau}
{assign var="nom" value="`$vaisseau[0]-1`"}
<tr>
<td>{$vaisseau.1} {$nomvaisAT[$nom]}</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
{foreach from=$vaisseau.3 item=groupe}
{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"}
<tr>
<td>{$groupe.0}</td>
<td>{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
</tr>
{/foreach}
</table>
</td>
</tr>
{/foreach}
</tbody>
</table>
<br /><b>Vaisseaux ennemi à la fin du tour :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Vaisseaux</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
{foreach from=$vaisseaux4 item=vaisseau}
{assign var="nom" value="`$vaisseau[0]-1`"}
<tr>
<td>{$vaisseau.1} {$nomvaisEN[$nom]}</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
{foreach from=$vaisseau.3 item=groupe}
{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"}
<tr>
<td>{$groupe.0}</td>
<td>{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
</tr>
{/foreach}
</table>
</td>
</tr>
{/foreach}
</tbody>
</table>
<br /><b>Défenses ennemi à la fin du tour :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Défenses</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
{foreach from=$defenses2 item=vaisseau}
{assign var="nom" value="`$vaisseau[0]-1`"}
<tr>
<td>{$vaisseau.1} {$nomdefEN[$nom]}</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0;">
{foreach from=$vaisseau.3 item=groupe}
{assign var="pourcent_pv" value="`$groupe[2]*100/$defPV[$nom]`"}
<tr>
<td>{$groupe.0}</td>
<td>{if $defBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$defBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
</tr>
{/foreach}
</table>
</td>
</tr>
{/foreach}
</tbody>
</table>
<br /><br /><b>Vaisseaux au début du tour de notre côté :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Vaisseaux</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
{foreach from=$vaisseaux1 item=vaisseau}
{assign var="nom" value="`$vaisseau[0]-1`"}
<tr>
<td>{$vaisseau.1} {$nomvaisAT[$nom]}</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
{foreach from=$vaisseau.3 item=groupe}
{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"}
<tr>
<td>{$groupe.0}</td>
<td>{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
</tr>
{/foreach}
</table>
</td>
</tr>
{/foreach}
</tbody>
</table>
<br /><b>Vaisseaux ennemi au début du tour :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Vaisseaux</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
{foreach from=$vaisseaux2 item=vaisseau}
{assign var="nom" value="`$vaisseau[0]-1`"}
<tr>
<td>{$vaisseau.1} {$nomvaisEN[$nom]}</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
{foreach from=$vaisseau.3 item=groupe}
{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"}
<tr>
<td>{$groupe.0}</td>
<td>{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
</tr>
{/foreach}
</table>
</td>
</tr>
{/foreach}
</tbody>
</table>
<br /><b>Défenses ennemi au début du tour :</b>
<table style="margin: auto; padding: 0;">
<thead>
<tr>
<th>Défenses</th>
<th>Nb</th>
<th>Etat bouclier</th>
<th>Etat PV</th>
</tr>
</thead>
<tbody>
{foreach from=$defenses1 item=vaisseau}
{assign var="nom" value="`$vaisseau[0]-1`"}
<tr>
<td>{$vaisseau.1} {$nomdefEN[$nom]}</td>
<td colspan="3" style="padding: 0;">
<table style="width: 100%; margin: 0; padding: 0;">
{foreach from=$vaisseau.3 item=groupe}
{assign var="pourcent_pv" value="`$groupe[2]*100/$defPV[$nom]`"}
<tr>
<td>{$groupe.0}</td>
<td>{if $defBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$defBC[$nom]`"}{if $pourcent_bc > 99}<span style="color: #00FF00">Complet{elseif $pourcent_bc > 80}<span style="color: #00FF00">Bon{elseif $pourcent_bc > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_bc > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_bc > 20}<span style="color: #FF9900">Bas{elseif $pourcent_bc == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_bc|string_format:"%d"}%)</span>{/if}</td>
<td>{if $pourcent_pv > 99}<span style="color: #00FF00">Complet{elseif $pourcent_pv > 80}<span style="color: #00FF00">Bon{elseif $pourcent_pv > 60}<span style="color: #CCCC00">Correct{elseif $pourcent_pv > 40}<span style="color: #EECC00">Moyen{elseif $pourcent_pv > 20}<span style="color: #FF9900">Bas{elseif $pourcent_pv == 0}<span style="color: #FF0000">Détruit{else}<span style="color: #FF5500">Critique{/if} ({$pourcent_pv|string_format:"%d"}%)</span></td>
</tr>
{/foreach}
</table>
</td>
</tr>
{/foreach}
</tbody>
</table>
<br />
{if !$termine}Le combat n'est pas terminé !</b>
{elseif $attaquantG}<strong>Nous avons gagné le combat !<br />Nous repartons avec {$pillage.0} {$ressources.0}, {$pillage.1} {$ressources.1} et {$pillage.2} {$ressources.2}.</strong>
{else}<strong>Nous avons perdu le combat !</strong>{/if}
{include file='game/footer.tpl'}

View file

@ -0,0 +1,24 @@
{include file='game/header.tpl'}
<h2>Evé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 != $user.id}{if $key > 0}, {/if}{$cmpt.pseudo}{/if}{/foreach} durant cette session.</strong><br />{/if}
{if $user.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>
{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>
{/if}
{/foreach}
{/foreach}
{if $mail.nbre >= 2}<h4>messagerie: <a href="?p=messagerie">{$mail.nbre} messages non lu</a></h4>
{elseif $mail.nbre >= 1}<h4>messagerie: <a href="?p=messagerie">{$mail.nbre} message non lu</a></h4>
{/if}
<h3><a href="?p=rename">{if !$planete->nom_planete}Sans nom{/if}{$planete->nom_planete|escape}</a> (<span>{$user.pseudo}</span>)</h3>
<img src="images/planetes/{$planete->image}.jpg" width="200" height="200" alt="Planète" />
<h2>Infos</h2>
<h4>Diamètre: {$diametre} km <ins>({$planete->casesRest}/{$planete->cases} cases)</ins></h4>
<h4>Race : {$user.race}</h4>
<h4>position: <a href="?p=carte&amp;galaxie={$planete->galaxie}&amp;ss={$planete->ss}">{$planete->galaxie}.{$planete->ss}.{$planete->position}</a></h4>
<h4>Classement: <a href="?p=classement&amp;j={$user.id}&amp;c={$user.place_points}#moi">{$points} points ({if $user.place_points == '0'}non classé{else}{$user.place_points}{if $user.place_points == '1'}er{else}ème{/if}{/if})</a></h4>
{if $alliance}<h4>Alliance: <a href="?p=alliances">[{$alliance.tag|upper}] {$alliance.nom}</a></h4>{/if}
{include file='game/footer.tpl'}

View file

@ -0,0 +1,31 @@
{include file='game/header.tpl'}
<h2>Aide de Halo-Battle :: Avertissements</h2>
<h3>Avertissement aux utilisateurs de téléviseurs à rétroprojection</h3><br />
Les images fixes peuvent endommager de manière irréversible le tube cathodique ou marquer à jamais les luminophores qui constituent l'écran de ces téléviseurs.<br />C'est pourquoi il est conseillé d'éviter d'utiliser des jeux vidéo trop souvent ou de façon prolongée avec les téléviseurs à rétroprojection.<br /><br />
<h3>Prévention des risques d'épilepsie</h3><br />
<h4>A lire avant toute utilisation d'un jeu vidéo par vous-même ou par votre enfant.</h4><br />
Chez certaines personnes, la stimulation visuelle par certains effets stroboscopiques ou motifs lumineux peut déclencher une crise d'épilepsie ou une perte de connaissance et ce, y compris dans la vie de tous les jours.<br />
Chez ces personnes, le simple fait de regarder la télévision ou de jouer à un jeu vidéo peut suffire à déclencher une crise. Les symptômes peuvent même se déclarer chez un individu sans antécédents médicaux ou n'ayant jamais souffert de crise d'épilepsie.<br />
Si vous-même ou un membre de votre famille avez déjà présenté des symptômes liés à l'épilepsie (crise d'épilepsie ou de perte de connaissance) à la suite d'une exposition à des effets lumineux stroboscopiques, veuillez consulter votre médecin avant de commencer à jouer.<br />
Nous conseillons vivement aux parents de prêter une attention soutenue à leurs enfants lorsqu'ils utilisent un jeu vidéo. Si vous ou votre enfant ressentez l'un des symptômes suivants en cours de jeu : vertiges, troubles de la vue, contractions oculaires ou musculaires incontrôlées, perte de connaissance, désorientation, mouvements involontaires ou convulsions, veuillez cesser IMMEDIATEMENT la partie et consulter votre médecin.<br /><br />
<h3>Règles à respecter pour jouer dans les meilleures conditions possibles</h3>
<ul>
<li>S'installer confortablement en position assise, le plus loin possible de l'écran.
<li>Jouer de préférence sur un écran de petite taille.</li>
<li>Eviter de jouer en cas de fatigue ou de manque de sommeil.</li>
<li>Veiller à ce que la pièce soit bien éclairée.</li>
<li>Observer des pauses de 10 à 15 minutes par heure de jeu.</li>
</ul><br />
<h3>Prévention des risques liés aux troubles du sommeil</h3><br />
Pour votre santé, veillez à observer un compte d'heures minimales allouées à votre repos. Jouer plusieurs heures d'affilées comporte un risque de déréglement de votre horloge interne et/ou de troubles du sommeil. Si vous ou votre enfant ressentez l'un des symptômes suivants en cours de jeu : fatigue, vertiges, troubles de la vue, contractions oculaires ou musculaires incontrôlées, perte de connaissance, insomnie, stress, veuillez cesser IMMEDIATEMENT de jouer et prenez du repos.<br />
Pour bien dormir, observez ces quelques règles :
<ul>
<li>Couchez-vous et levez-vous à heures régulières.</li>
<li>Pas de grasse matinée : levez-vous dès le réveil.</li>
<li>Dînez léger et pas trop tard, en mangeant un laitage.</li>
<li>Observer les premiers signes annonciateurs du sommeil, ne luttez pas contre le sommeil.</li>
<li>Maintenir une température basse (entre 15 et 18 °C) ainsi qu'un bon degré d'hygrométrie.<br />Opter pour l'obscurité, elle favorise le sommeil. Choisir un lit confortable (ni trop ferme ni trop mou) et des couvertures légères.</li>
<li>Evitez la prise de produits stimulants : coca-cola, thé, café, vitamine C…</li>
<li>La régularité du sommeil reste le meilleur gage de qualité.</li>
</ul>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,18 @@
{include file='game/header.tpl'}
<h2>Aide de Halo-Battle :: Comment jouer</h2>
<h3>Astuces à l'intention des nouveaux administrateurs coloniaux</h3>
Vous voilà inscrit et connecté sur votre compte ; si vous pensez que le plus difficile est maintenant derrière-vous, vous vous trompez lourdement. De lourdes tâches vous attendent désormais, et il va vous falloir tout votre sang-froid et votre maîtrise pour triompher des épreuves qui jalonneront votre route.<br /><br />
Si vous êtes aguerri dans l'art de gérer et d'administrer à la perfection des colonies, ce chapitre ne vous concerne donc pas à priori. Dans le cas contraire, sans nul doute qu'il vous sera utile pour apprendre, du moins, les théories de votre métier.<br />
<br /><h3>Que devez-vous savoir dès le départ ?</h3>
La chose la plus importante à savoir dès le départ est que... cela sera très difficile, quelles que soient les circonstances. Cela ne vous rassure pas ? Tant pis. L'univers de Halo-Battle est une vaste jungle sauvage, où vous devrez trouver vous-mêmes vos repères et survivre. A vous de vous forger votre propre tactique, sinon quoi n'espèrez pas vivre longtemps. Surtout, rappelez-vous bien ceci : il existe plusieurs moyens d'atteindre votre but, quel qu'il soit.<br /><br />
Si vous êtes novice dans ce type de jeux, vous devez certainement vous sentir quelque peu perdu : que faire, et comment le faire ?<br /><br />
Le plus important pour le moment est de développer vos différentes mines, afin de faire fructifier vos ressources : celles-ci sont en effet le moteur de vos colonies, et n'espérez pas accomplir grand chose sans elles. N'oubliez pas non plus de construire des centrales d'énergie afin d'approvisionner vos bâtiments, qui eux aussi ont besoin de ressources énergétiques pour fonctionner.<br /><br />
D'autre part, c'est au tout début que vous devrez définir une tactique de jeu, s'étalant sur le long terme, comprenez donc toute la période où vous jouerez sur votre compte. On fait généralement la distinction entre deux grands courants : les Mineurs et les Raideurs. Tandis que les premiers cherchent à développer leurs mines et leurs défenses coloniales, les seconds visent la création d'une flotte imposante pour percer les défenses ennemies et piller les ressources des autres joueurs. Notez que des intermédiaires ou des courants mineurs existent entre ces deux catégories.<br /><br />
Dans le cas d'une stratégie axée sur le minage, sachez que vos débuts seront plus lents et laborieux qu'un joueur raideur. Vous devrez principalement augmenter le niveau de vos mines d'extraction et construire des vaisseaux de transport pour évacuer vos ressources dans le cas où une attaque imminente aurait lieue sur l'une de vos colonies. N'oubliez pas non plus de vous confectionner un « rideau de fer », une ligne de défense pour dissuader les raideurs que vous attaquer n'est absolument pas rentable pour eux.<br /><br />
Si les ravages vous semblent plus intéressants et que vous vous définissez une stratégie axée sur le raid, abandonnez l'idée d'économies de ressources pour augmenter le niveau de vos mines et troquez vos défenses planétaires contre plusieurs flottes de vaisseaux. Ici, il s'agira d'attaquer plusieurs fois par jours différents joueurs dans l'objectif d'amasser des ressources. Ne laissez jamais votre flotte stationnée sur une colonie : un autre raideur pourrait très bien vous attaquer et la détruire. Faites voyager vos flottes entre colonies. Cette tactique offre l'avantage d'être propulsé rapidement dans un bon classement, le seul inconvénient (et de taille !) est que si jamais vous venez à perdre votre flotte, la dégringolade va être rude. Reste encore à vous demander si un bon classement signifie quelque chose pour vous...<br /><br />
La recherche technologique, disponible via votre laboratoire, est une composante essentielle du développement de vos institutions. Là encore, vous devrez investir nombre de ressources pour avoir accès à de nouveaux types de bâtiments, d'armements ou de technologies susceptibles de vous apporter un avantage certain. Ne négligez jamais cet aspect sous peine d'être irrémédiablement distancé par vos adversaires.<br />
Bien d'autres éléments utiles gagnent à être connus pour que vous puissiez jouer dans des conditions optimales. Reportez-vous aux différents chapitres du manuel pour en prendre connaissance.<br />
<br /><h3>Exemple : la colonie Reach</h3>
Voici un petit tutorial pour commencer à jouer dans le jeu. Ici, nous aborderons les différents aspects élémentaires pour développer notre planète principale : Reach. Ce tutorial utilise la race Humaine ; toutefois, les données demeurent les mêmes pour la race Covenante. Notez enfin que parfois, les ressources indiquées dans les illustrations diffèrent avec les coûts réels.<br /><br />
[...]
{include file='game/footer.tpl'}

View file

@ -0,0 +1,15 @@
{include file='game/header.tpl'}
<h2>Aide de Halo-Battle :: Configuration requise</h2>
<br /><h3>Configuration nécessaire</h3><br />
Pour jouer à Halo-Battle, un simple navigateur internet est suffisant. Assurez-vous donc de disposer du matériel informatique adéquat ainsi que d'une connexion internet.<br />
<br /><h3>Configuration recommandée</h3><br />
Pour jouer dans des conditions optimales :<br />
<ul>
<li>Connexion 512 k</li>
<li>Navigateur internet Mozilla Firefox ou Opéra</li>
<li>JavaScript</li>
</ul>
<br /><h2>Démarrage du jeu</h2>
Pour pouvoir jouer à Halo-Battle, rendez-vous sur la page d'accueil du site puis cliquez sur l'onglet « Jeu » pour accéder au menu principal. Renseignez dans les champs appropriés votre login de joueur puis votre mot de passe pour accéder à votre compte.<br />
Il faut être impérativement inscrit pour pouvoir jouer. Si vous ne l'êtes pas, cliquez sur l'onglet « S'inscrire » via la page d'accueil du site, puis laissez-vous guider. Si vous ne comprenez pas ce que l'on vous demande, il vous suffit de cliquer dans la case appropriée et un texte d'aide apparaîtra sur votre gauche.
{include file='game/footer.tpl'}

View file

@ -0,0 +1,12 @@
{include file='game/header.tpl'}
<h2>Aide de Halo-Battle :: Introduction</h2>
<i>Même la plus puissante des nations finit par succomber un jour...</i><br /><br />
Neuvième Age de la Réclamation. La majestueuse Grande Bonté n'est plus. La voici désormais en proie au Parasite, gangrénée et empoisonnée de l'intérieur. Le glas de la fin du collectif Covenant se fait entendre par-delà les étoiles, alors que les trompettes de la victoire résonnent sur Terre...<br /><br />
<i>... le chaos est total...</i><br /><br />
La galaxie n'est plus que ruine ; les épaves des vaisseaux des batailles passées flottent lamentablement dans l'espace à présent. Alors que le Covenant doit faire face à sa plus grave crise de son histoire, les Humains rassemblent leurs dernières forces dans une tentative désespérée de survivre.<br /><br />
<i>... mais le passé ne meurt jamais.</i><br /><br />
Tandis que certains Covenants pactisent avec les Humains et d'autres veulent se venger de la trahison odieuse qu'ils ont subis de la part de leurs prophètes, beaucoup d'entre eux vouent encore une haine viscérale contre les Humains, et la guerre devient inévitable. Dans chaque camp, tout le monde s'apprête à livrer les batailles de la dernière chance.<br /><br />
<i>Préparez-vous à vous battre pour votre cause.</i><br /><br />
Quel que soit votre camp, que vous soyez Humain ou Covenant, vous aussi devez vous préparer à l'inévitable conflit qui se prépare. Si vous espérez un tant soit peu survivre, il vous faudra développer votre économie, rechercher de nouvelles technologies innovatrices et surtout préparer votre armée. Sachez que vos frères d'armes comptent sur vous.<br /><br />
<i>Qu'importe les moyens, seule la victoire compte.</i><br />
{include file='game/footer.tpl'}

View file

@ -0,0 +1,7 @@
{include file='game/header.tpl'}
<h2>Aide de Halo-Battle :: Sommaire</h2>
<h3><a href="{$menu.faq}&amp;q=1">Avertissements</a></h3>
<h3><a href="{$menu.faq}&amp;q=2">Configuration nécessaire & démarrage du jeu</a></h3>
<h3><a href="{$menu.faq}&amp;q=3">Introduction</a></h3>
<h3><a href="{$menu.faq}&amp;q=4">Comment jouer ?</a></h3>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,70 @@
{include file='game/header.tpl'}
<h2>[{$alliance.tag|upper}] {$alliance.nom|capitalize}</h2>
<table cellpadding="2" cellspacing="0" style="text-align: center; width: 100%;">
<tbody>
<tr>
<td colspan="2"><img src="{$alliance.image}" /></td>
</tr>
<tr>
<td style="text-align: right; vertical-align: middle;"><strong>Nom : </strong></td>
<td style="width: 70%;">{$alliance.nom|escape} ({$alliance.tag|escape})</td>
</tr>
<tr>
<td style="text-align: right;"><strong>Membres : </strong></td>
<td>{$nbmembre} (<a href="{$menu.alliance}&amp;q=liste">Liste des membres</a>)</td>
</tr>
<tr>
<td style="text-align: right;"><strong>Votre grade :</strong></td>
<td>{if $access.fondateur}Fondateur{elseif $grade.nom}{$grade.nom|escape}{else}Aucun{/if}<br />{if $access.chat} <a href="{$menu.alliance}&amp;q=adm_chat">Mod&eacute;rer le chat</a> |{/if} {if $access.membre} <a href="{$menu.alliance}&amp;q=adm_membres">Gestion des membres</a> |{/if} {if $access.ecriture} <a href="{$menu.alliance}&amp;q=adm_ecrits">Gestion des &eacute;critures</a> |{/if} {if $access.alliance} <a href="{$menu.alliance}&amp;q=adm_alliance">Gestion de l'alliance</a>{else} <a onclick="return confirm('Êtes-vous sûr de vouloir quitter l\'alliance ?');" href="{$menu.alliance}&amp;q=quit_alliance&amp;a={$quitalliance}">Quitter l'alliance</a>{/if}</td>
</tr>
<tr>
<td style="text-align: right;"><strong>Statut des inscriptions :</strong></td>
<td>{if $alliance.etat_inscription}Ouvertes{else}Ferm&eacute;e{/if}</td>
</tr>
{if $access.membre}
<tr>
<td style="text-align: right; font-weight: bolder;">Mail collectif :</td>
<td><a href="{$menu.alliance}&amp;q=adm_mp">Envoyer un message collectif</a></td>
{/if}
</tr>
<tr>
<td style="text-align: right; font-weight: bolder;">Ressources dans la banque :</td>
<td>{$nomsressources.0} : {$alliance.metal}<br />{$nomsressources.1} : {$alliance.cristal}<br />{$nomsressources.2} : {$alliance.hydrogene}<br /><a href="{$menu.alliance}&amp;q=donner">Donner</a> | <a href="{$menu.alliance}&amp;q=emprunt">Demander financement</a></td>
</tr>
</tbody>
</table>
<h2>Présentation</h2>
{$alliance.presentation|nl2br}
<table style="width: 100%;">
<tbody>
<tr>
<td style="text-align: right;"><strong>Forum :</strong></td>
<td style="width: 70%;"><a href="{$alliance.url}">{$alliance.url}</a></td>
</tr>
</tbody>
</table>
<h2>Texte interne</h2>
{$alliance.texte_interne|nl2br}
<h2>Chat</h2>
<div style="height: 150px; overflow: auto; width: 99%;" id="chat">
<table style="width: 100%; margin: 0px;">
<thead>
<tr>
<th style="width: 172px;">[pseudo] heure</td>
<th style="width: 536px;">Message</td>
</tr>
</thead>
<tbody>
{foreach from=$chat item=message}
<tr>
<td>[{$message.emetteur}] <i>{$message.timestamp|date_format:"%d/%m/%y %H:%M:%S"|escape}</i></td>
<td>{$message.message}</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
<form method="post" action="{$menu.alliance}&amp;q=chat">
Réponse :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input name="msg" type="text" size="50" maxlength="250">&nbsp;&nbsp;&nbsp;&nbsp;<input value="GO" class="submit" type="submit">
</form>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,47 @@
{include file='game/header.tpl'}
<h2>Administration de l'alliance</h2>
{include file='game/alliance_adm_header.tpl'}
<br />
<h2>Administration de l'alliance</h2>
<form method="post" action="{$menu.alliance}&amp;q=adm_alliance">
<table style="width: 100%;">
<tr>
<td style="width: 17%;"><strong><label for="nom">Nom :</label></strong></td>
<td colspan="3">{$alliance.nom}</td>
</tr>
<tr>
<td><strong><label for="tag">Tag :</label></strong></td>
<td colspan="3">{$alliance.tag|upper}</td>
</tr>
<tr>
<td><strong>Defcon : </strong></td>
<td><select name="defcon" id="defcon">{html_options values=$niveauxi selected=$alliance.defcon output=$niveaux}</select></td>
<td><strong><label for="defcon_txt">Message du Defcon :</label></strong></td>
<td><input name="defcon_txt" type="text" id="defcon_txt" value="{$alliance.defcon_txt}" /></td>
</tr>
{if $access.fondateur}
<tr>
<td><strong><label>Fondateur :</label></strong></td>
<td><select name="fondateur" id="fondateur">{html_options values=$membresi selected=$alliance.fondateur output=$membres}</select></td>
<td><strong>Dissoudre l'alliance</strong></td>
<td>Ecrivez votre mot de passe dans le champ ci-dessous :<br /><input name="pswd_admin" type="password" id="pswd_admin" /></td>
</tr>
{/if}
<tr>
<td><strong><label for="etat_inscription">Etat des candidatures :</label></strong></td>
<td colspan="3"><select name="etat_inscription" id="etat_inscription">{html_options values=$etatinscripti selected=$alliance.etat_inscription output=$etatinscript}</select></td>
</tr>
<tr>
<td><strong><label for="image">Url de l'image :</label></strong></td>
<td colspan="3"><input name="image" type="text" id="image" value="{$alliance.image}" /></td>
</tr>
<tr>
<td><strong><label for="url">Url du forum de l'alliance :</label></strong></td>
<td colspan="3"><input name="url" type="text" id="url" value="{$alliance.url}" /></td>
</tr>
<tr>
<td colspan="4"><input type="submit" class="submit" value="Ok" /></td>
</tr>
</table>
</form>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,26 @@
{include file='game/header.tpl'}
<h2>Administration de l'alliance</h2>
{include file='game/alliance_adm_header.tpl'}
<br />
<h2 id="chat">Administration du chat</h2>
<table style="text-align: center; width: 100%;">
<thead>
<tr>
<th>Pseudo</th>
<th>Date</th>
<th>Message</th>
<th>Supprimer</th>
</tr>
</thead>
<tbody>
{foreach from=$chat item=message}
<tr>
<td>{$message.emetteur}</td>
<td>{$message.timestamp|date_format:"%d/%m/%y %H:%M:%S"}</td>
<td>{$message.message|escape}</td>
<td><a href="{$menu.alliance}&amp;q=adm_chat&amp;i={$message.id}"><i>Supprimer</i></a></td>
</tr>
{/foreach}
</tbody>
</table>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,14 @@
{include file='game/header.tpl'}
<h2>Administration de l'alliance</h2>
{include file='game/alliance_adm_header.tpl'}
<br /><br />
<a href="{$menu.alliance}&amp;q=adm_ecrits&amp;t=presentation">Modifier la pr&eacute;sentation</a> - <a href="{$menu.alliance}&amp;q=adm_ecrits&amp;t=interne">Modifier la page interne</a><br />
<h2>Modification {if $mod == "presentation"}de la présentation de l'alliance{else}du texte interne{/if}</h2>
<form method="post" action="{$menu.alliance}&amp;q=adm_ecrits">
<p>
<textarea name="textarea" cols="90" rows="15" id="textarea">{if $mod == "presentation"}{$alliance.presentation}{else}{$alliance.texte_interne}{/if}</textarea>
<input name="type" type="hidden" value="{if $mod == "presentation"}presentation{else}texte_interne{/if}" /><br />
<input type="submit" class="submit" value="GO" />
</p>
</form>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,54 @@
{include file='game/header.tpl'}
<h2>Administration de l'alliance</h2>
{include file='game/alliance_adm_header.tpl'}
<br />
<h2>R&eacute;capitulatif</h2>
<table>
<tbody>
<tr>
<th>{$nomsressources.0}</th>
<td>{$alliance.metalS}</td>
</tr>
<tr>
<th>{$nomsressources.1}</th>
<td>{$alliance.cristalS}</td>
</tr>
<tr>
<th>{$nomsressources.2}</th>
<td>{$alliance.hydrogeneS}</td>
</tr>
</tbody>
</table>
<h2>Demande de financements</h2>
<table style="text-align: center; width: 100%;">
<thead>
<tr>
<th>Pseudo</th>
<th>Motif</th>
<th>Metal</th>
<th>Cristal</th>
<th>Hydrog&egrave;ne</th>
<th>R&eacute;ponse</th>
</tr>
</thead>
<tbody>
{if !$demandes}
<tr>
<td colspan="6">Aucune demande de financement en cours</td>
</tr>
{/if}
{foreach from=$demandes item=demande}
<tr>
<td>{$demande.pseudo}<a href="?p=envoyer&amp;d={$demande.pseudo}" class="msg"><span>Message</span></a></td>
<td>{$demande.raison|escape|nl2br}</td>
<td>{$demande.metal}</td>
<td>{$demande.cristal}</td>
<td>{$demande.hydrogene}</td>
<td><a href="{$menu.alliance}&amp;q=adm_emprunt&amp;a={$demande.id}"><em>Accepter</em></a><br /><a href="{$menu.alliance}&amp;q=adm_emprunt&amp;u={$demande.id}"><em>Refuser</em></a></td>
</tr>
{/foreach}
</tbody>
</table>
<h2>Financer les joueurs</h2>
<h2>Bourse</h2>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,35 @@
{include file='game/header.tpl'}
<h2>Administration de l'alliance</h2>
{include file='game/alliance_adm_header.tpl'}
<br />
<h2>Administration des grades</h2>
<table style="text-align: center; width: 100%;">
<thead>
<tr>
<th>Nom</th>
<th>Description</th>
<th>Gestion &eacute;critures</th>
<th>Gestion chat</th>
<th>Gestion membre</th>
<th>Gestion grades</th>
<th>Gestion alliance</th>
<th>Action</th>
</tr>
</thead>
<tbody>
{foreach from=$grades item=grade}
<tr>
<td><a href="{$menu.alliance}&amp;q=adm_grades&amp;i={$grade.id}">{$grade.nom|escape}</a></td>
<td>{$grade.description|escape|nl2br}</td>
<td>{if $grade.gest_ecriture}Oui{else}Non{/if}</td>
<td>{if $grade.gest_chat}Oui{else}Non{/if}</td>
<td>{if $grade.gest_membre}Oui{else}Non{/if}</td>
<td>{if $grade.gest_rang}Oui{else}Non{/if}</td>
<td>{if $grade.gest_admin}Oui{else}Non{/if}</td>
<td><a href="{$menu.alliance}&amp;q=adm_grades&amp;i={$grade.id}&amp;a=del">Supprimer</a></td>
</tr>
{/foreach}
</tbody>
</table>
<a href="{$menu.alliance}&amp;q=adm_grades&amp;a=add">Ajouter un rang</a><br /><br />
{include file='game/footer.tpl'}

View file

@ -0,0 +1,41 @@
{include file='game/header.tpl'}
<h2>Administration de l'alliance</h2>
{include file='game/alliance_adm_header.tpl'}
<br />
<h2>Ajouter un grade</h2>
<form method="post" action="{$menu.alliance}&amp;q=adm_grades&amp;a=add">
<table style="text-align: center; width: 83%;">
<tr>
<td style="width: 20%;"><strong><label for="nom">Nom du grade</label></strong></td>
<td><input name="nom" type="text" id="nom" value="{$mod.nom}" /></td>
</tr>
<tr>
<td><strong><label for="description">Description</label></strong></td>
<td><textarea name="description" id="description">{$mod.description}</textarea></td>
</tr>
<tr>
<td>Gestion <strong>chat</strong></td>
<td><input name="gest_chat" type="checkbox" id="chat" value="1"{if $mod.gest_chat} checked="checked"{/if} /><label for="chat"> Oui</label></td>
</tr>
<tr>
<td>Gestion <strong>rang</strong></td>
<td><input name="gest_rang" type="checkbox" id="rang" value="1"{if $mod.gest_rang} checked="checked"{/if} /><label for="rang"> Oui</label></td>
</tr>
<tr>
<td>Gestion <strong>membre</strong></td>
<td><input name="gest_membre" type="checkbox" id="membre" value="1"{if $mod.gest_membre} checked="checked"{/if} /><label for="membre"> Oui</label></td>
</tr>
<tr>
<td>Gestion <strong>&eacute;criture</strong></td>
<td><input name="gest_ecriture" type="checkbox" id="ecriture" value="1"{if $mod.gest_ecriture} checked="checked"{/if} /><label for="ecriture"> Oui</label></td>
</tr>
<tr>
<td>Gestion <strong>alliance</strong></td>
<td><input name="gest_alliance" type="checkbox" id="alliance" value="1"{if $mod.gest_admin} checked="checked"{/if} /><label for="alliance"> Oui</label></td>
</tr>
<tr>
<td colspan="2">{if $mod.id}<input type="hidden" name="id" value="{$mod.id}" />{/if}<input type="submit" class="submit" value="Ok" /></td>
</tr>
</table>
</form>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,6 @@
{if $access.chat}<a href="{$menu.alliance}&amp;q=adm_chat">Administration du chat</a> - {/if}
{if $access.membre}<a href="{$menu.alliance}&amp;q=adm_membres">Administration des membres et des candidatures</a> - {/if}
{if $access.grades}<a href="{$menu.alliance}&amp;q=adm_grades">Administration des rangs</a> - {/if}
{if $access.ecriture}<a href="{$menu.alliance}&amp;q=adm_ecrits">Administration de la pr&eacute;sentation et de la page interne.</a> - {/if}
{if $access.alliance}<a href="{$menu.alliance}&amp;q=adm_alliance">Administration globale (defcon, successeur ...)</a> - {/if}
<a href="{$menu.alliance}">Retour</a>

View file

@ -0,0 +1,52 @@
{include file='game/header.tpl'}
<h2>Administration de l'alliance</h2>
{include file='game/alliance_adm_header.tpl'}
<br />
<h2>Administration des membres</h2>
<table style="text-align: center; width: 100%;">
<thead>
<tr>
<th>Pseudo</th>
<th>Race</th>
<th>Derni&egrave;re connexion </th>
<th>Grade</th>
<th>Mp</th>
<th>Renvoyer de l'alliance </th>
</tr>
</thead>
<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.alliance}&amp;q=adm_membres" method="post"><p><input type="hidden" name="user" value="{$membre.id}" /><select name="grade" onchange="this.form.submit();"><option label="Aucun" value="0">Aucun</option>{html_options values=$gradei selected=$membre.id_grade_alliance output=$grades}</select></p></form></td>
<td><a href="?p=envoyer&amp;d={$membre.pseudo}" class="msg"><span>Message</span></a></td>
<td><a href="{$menu.alliance}&amp;q=adm_membres&amp;u={$membre.id}"><i>Renvoyer</i></a></td>
</tr>
{/foreach}
</tbody>
</table>
<table style="text-align: center; width: 100%;">
<thead>
<tr>
<th>Pseudo</th>
<th>Message de motivation</th>
<th>Date</th>
<th>Action</th>
<th>Mp</th>
</tr>
</thead>
<tbody>
{foreach from=$candidats item=candidat}
<tr>
<td>{$candidat.pseudo_membre}</td>
<td>{$candidat.message|nl2br}</td>
<td>{$candidat.timestamp|date_format:"%d/%m/%y %H:%M:%S"}</td>
<td><a href="{$menu.alliance}&amp;q=adm_membres&amp;accept={$candidat.id_membre}"><i>Accepter</i></a> - <a href="{$menu.alliance}&amp;q=adm_membres&amp;refus={$candidat.id_membre}"><i>Refuser</i></a></td>
<td><a href="?p=envoyer&amp;d={$candidat.pseudo_membre}" class="msg"><span>Message</span></a></td>
</tr>
{/foreach}
</tbody>
</table>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,13 @@
{include file='game/header.tpl'}
<h2>Administration de l'alliance</h2>
{include file='game/alliance_adm_header.tpl'}
<br /><br />
<h2>Envoie de MP collectif</h2>
<form method="post" action="{$menu.alliance}&amp;q=adm_mp">
<p>
Sujet : <input type="text" name="titre" /><br />
<textarea name="textarea" cols="90" rows="15" id="textarea"></textarea><br />
<input type="submit" class="submit" value="GO" />
</p>
</form>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,25 @@
{include file='game/header.tpl'}
<h2>Chat</h2>
<form method="post" action="{$menu.alliance}&amp;q=chat">
Réponse :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input name="msg" type="text" size="50" maxlength="250">&nbsp;&nbsp;&nbsp;&nbsp;<input value="GO" class="submit" type="submit">
</form>
<br />
<div style="height: 550px; overflow: auto; width: 99%;">
<table style="width: 100%; margin: 0px;">
<thead>
<tr>
<th style="width: 172px;">[pseudo] heure</td>
<th style="width: 536px;">Message</td>
</tr>
</thead>
<tbody>
{foreach from=$chat item=message}
<tr>
<td>[{$message.emetteur}] <i>{$message.timestamp|date_format:"%d/%m/%y %H:%M:%S"}</i></td>
<td>{$message.message}</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,11 @@
{include file='game/header.tpl'}
<h2>Donner des ressources &agrave; l'alliance</h2>
<form method="post" action="{$menu.alliance}&amp;q=donner">
<fieldset class="options">
<label for="metal">{$nomsressources.0} (max : {$planete->metal|separernombres}) :</label><input type="text" class="text" id="metal" name="metal" maxlength="5" /><br />
<label for="cristal">{$nomsressources.1} (max : {$planete->cristal|separernombres}) :</label><input type="text" class="text" id="cristal" name="cristal" maxlength="5" /><br />
<label for="hydrogene">{$nomsressources.2} (max : {$planete->hydrogene|separernombres}) :</label><input type="text" class="text" id="hydrogene" name="hydrogene" maxlength="5" /><br />
<br /><input type="submit" class="submit" value="Donner" />
</fieldset>
</form>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,13 @@
{include file='game/header.tpl'}
<h2>Emprunter des ressources &agrave; la banque d'alliance</h2>
<form method="post" action="{$menu.alliance}&amp;q=emprunt">
<fieldset class="options">
<label for="metal">{$nomsressources.0} (max : {$alliance.metalS}) :</label><input type="text" class="text" id="metal" name="metal" maxlength="5" /><br />
<label for="cristal">{$nomsressources.1} (max : {$alliance.cristalS}) :</label><input type="text" class="text" id="cristal" name="cristal" maxlength="5" /><br />
<label for="hydrogene">{$nomsressources.2} (max : {$alliance.hydrogeneS}) :</label><input type="text" class="text" id="hydrogene" name="hydrogene" maxlength="5" /><br /><br />
<label for="raison">Raison de l'emprunt :</label><br />
<textarea name="raison" id="raison"></textarea><br />
<br /><input type="submit" class="submit" value="Demander" />
</fieldset>
</form>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,27 @@
{include file='game/header.tpl'}
<h2>Composition de l'alliance</h2>
<table style="text-align: center; width: 100%;" cellpadding="0" cellspacing="0">
<thead>
<tr>
<th>Pseudo</th>
<th>Race</th>
<th>Derni&egrave;re connexion</th>
<th><a href="{$menu.alliance}&amp;q=liste&amp;i={$i}&amp;t=classement">Points</a></th>
<th>Grade</th>
<th>Mp</th>
</tr>
</thead>
<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>{$membre.points} ({$membre.place_points})</td>
<td>{$membre.grade_alliance}</td>
<td><a href="?p=envoyer&amp;d={$membre.pseudo}" class="msg"><span>Message</span></a></td>
</tr>
{/foreach}
</tbody>
</table>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,34 @@
{include file='game/header.tpl'}
<form method="post" action="{$menu.alliance}&amp;q=search">
<table width="355" height="194" border="0" cellpadding="0" cellspacing="0">
<thead>
<tr>
<th colspan="2" align="center" valign="middle" scope="col">
<p>Rechercher une alliance<br />
<a href="{$menu.alliance}&amp;q=fonder">Fonder une alliance</a> &dagger; <a href="{$menu.alliance}&amp;q=signerform">Ratifier une alliance</a></p>
</th>
</tr>
</thead>
<tbody>
<tr>
<td width="113" align="center" valign="middle">
<select name="by" size="2" id="by">
<option value="tag" selected="selected">Tag</option>
<option value="nom">Nom</option>
</select>
</td>
<td width="242" align="center" valign="middle">
<p>Rechercher les alliances dont le nom/tag contiennent :<br /><input name="search" type="text" id="search" /></p>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="2" align="center" valign="middle">
<input type="submit" class="submit" value="GO" />
</td>
</tr>
</tfoot>
</table>
</form>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,37 @@
{include file='game/header.tpl'}
<h2>Cr&eacute;ation d'une alliance</h2>
<form id="form2" method="post" action="{$menu.alliance}&amp;q=fonder">
<table cellpadding="0" cellspacing="0" style="height: 143px; width: 621px;">
<thead>
<tr>
<th width="367" scope="col">
<table width="376" height="159" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td width="113" height="50" align="center" valign="middle" scope="col"><strong>Nom</strong></td>
<td width="242" align="center" valign="middle" scope="col">
<input name="nom" type="text" maxlength="255" />
</td>
</tr>
<tr>
<td height="51" align="center" valign="middle"><strong>Tag</strong></td>
<td align="center" valign="middle">
<input name="tag" type="text" size="15" maxlength="15" />
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="2" align="center" valign="middle"><input type="submit" class="submit" value="Cr&eacute;er " /></td>
</tr>
</tfoot>
</table>
</th>
<th scope="col" style="text-align: justify; vertical-align: middle; width: 254px;">
Rappel : <br />Cr&eacute;er une alliance ne peut pas se faire seul. Une fois que vous aurez lanc&eacute; la proc&eacute;dure, un lien vous sera donn&eacute;. Pour finir la cr&eacute;ation, donnez ce liens &agrave; quatre personnes qui sont sans alliance. &nbsp;
</th>
</tr>
</thead>
</table>
</form>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,21 @@
{include file='game/header.tpl'}
<h2>Postuler pour l'alliance : {$alliance.nom}</h2>
<form action="{$menu.alliance}&amp;q=postuler&amp;i={$alliancei}" method="post">
<table style="width: 100%;">
<tr>
<td>Message de motivation </td>
<td><textarea name="message" cols="53" rows="6" id="message"></textarea></td>
<td rowspan="3"><div style="text-align: justify;">Une adh&eacute;sion &agrave; une alliance ne se fait pas automatiquement. Vous devez d'abord demand&eacute; &agrave; &ecirc;tre recrut&eacute;, via le formulaire ci-joint. Les fondateurs de l'alliance d&eacute;cideront ensuite de vous accepter, ou non, au sein de leur groupe. </div></td>
</tr>
<tr>
<td colspan="2">Une lettre de motivation courte est en g&eacute;n&eacute;ral appreci&eacute;e, et peut vous aider dans votre recrutement. Un fran&ccedil;ais correct est de rigueur. </td>
</tr>
<tr>
<td colspan="2">
<input name="id" type="hidden" id="id" value="{$alliance.id}" />
{if $alliance.etat_inscription}<input type="submit" class="submit" value="GO" />{else}Inscriptions ferm&eacute;es.{/if}
</td>
</tr>
</table>
</form>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,18 @@
{include file='game/header.tpl'}
<table cellpadding="0" cellspacing="0" style="width: 60%;">
<thead>
<tr>
<th>[TAG] Alliance</th>
<th>Etat inscriptions </th>
</tr>
</thead>
<tbody>
{foreach from=$recherches item=recherche}
<tr>
<td><a href="{$menu.alliance}&amp;q=view&amp;i={$recherche.id}">[{$recherche.tag|upper}] {$recherche.nom}</a></td>
<td>{if $recherche.etat_inscription}Ouvertes{else}Fermées{/if}</td>
</tr>
{/foreach}
</tbody>
</table>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,37 @@
{include file='game/header.tpl'}
<h2>[{$alliance.tag|upper}] {$alliance.nom|capitalize}</h2>
<table cellpadding="2" cellspacing="0" style="text-align: center; width: 100%;">
<tbody>
<tr>
<td colspan="2"><img src="{$alliance.image}" /></td>
</tr>
<tr>
<td style="text-align: right; vertical-align: middle;"><strong>Nom : </strong></td>
<td style="width: 70%;">{$alliance.nom} ({$alliance.tag})</td>
</tr>
<tr>
<td style="text-align: right;"><strong>Membres : </strong></td>
<td>{$nbmembre} (<a href="{$menu.alliance}&amp;q=liste&amp;i={$alliance.id}">Liste des membres</a>)</td>
</tr>
<tr>
<td style="text-align: right;"><strong>Votre grade :</strong></td>
<td>Invité</td>
</tr>
<tr>
<td style="text-align: right;"><strong>Status des inscriptions :</strong></td>
<td>{if $alliance.etat_inscription}Ouvertes - <a href="{$menu.alliance}&amp;q=postuler&amp;i={$alliance.id}">Postuler</a>{else}Ferm&eacute;e{/if}</td>
</tr>
</tr>
</tbody>
</table>
<h2>Présentation</h2>
{$alliance.presentation|nl2br}
<table style="width: 100%;">
<tbody>
<tr>
<td style="text-align: right;"><strong>Forum :</strong></td>
<td style="width: 70%;"><a href="{$alliance.url}">{$alliance.url}</a></td>
</tr>
</tbody>
</table>
{include file='game/footer.tpl'}

26
templates/game/amis.tpl Normal file
View file

@ -0,0 +1,26 @@
{include file='game/header.tpl'}
<h2>Amis existants</h2>
<table>
<thead>
<tr>
<th>Nom du joueur</th>
<th>Supprimer</th>
</tr>
</thead>
<tbody>
{foreach from=$destins item=destin}
<tr>
<td>{$destin.1|escape}</td>
<td><a href="?p=amis&amp;d={$destin.0}&amp;a={$destin.2}">Supprimer</a></td>
</tr>
{/foreach}
</tbody>
</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>
</form>
{include file='game/footer.tpl'}

55
templates/game/arbre.tpl Normal file
View file

@ -0,0 +1,55 @@
{include file='game/header.tpl'}
<h2>Arbre Technologique {$raceAff}</h2>
Race : <a href="{$menu.arbre}&amp;r=humain">Humains</a> - <a href="{$menu.arbre}&amp;r=covenant">Covenants</a>
<div class="techno">
<div{if $defaut == 'batiments'} class="hightlight"{/if}><a href="{$menu.arbre}&amp;q=batiments&amp;r={$raceAff}">Bâtiments</a>
<div><table><thead>
<tr><th>Batiments (niveau)</th><th>Technologies nécessaires (niveau actuel)</th></tr>
</thead><tbody>
{foreach from=$batiments item=batiment}
<tr><td><a href="?p=description&amp;b={$batiment.id}&amp;r={$raceAff}#menu">{$batiment.nom}</a> ({$batiment.niveau}) :</td><td>{$batiment.etat}</td></tr>
{/foreach}
</tbody></table></div>
</div>
<div{if $defaut == 'technologies'} class="hightlight"{/if}><a href="{$menu.arbre}&amp;q=technologies&amp;r={$raceAff}">Technologies</a>
<div><table><thead>
<tr><th>Technologies (niveau)</th><th>Technologies nécessaires (niveau actuel)</th></tr>
</thead><tbody>
{foreach from=$technologies item=technologie}
<tr><td><a href="?p=description&amp;t={$technologie.id}&amp;r={$raceAff}#menu">{$technologie.nom}</a> ({$technologie.niveau}) :</td><td>{$technologie.etat}</td></tr>
{/foreach}
</tbody></table></div>
</div>
<div{if $defaut == 'caserne'} class="hightlight"{/if}><a href="{$menu.arbre}&amp;q=caserne&amp;r={$raceAff}">Caserne</a>
<div><table><thead>
<tr><th>Unité</th><th>Technologies nécessaires (niveau actuel)</th></tr>
</thead><tbody>
{foreach from=$caserne item=unite}
<tr><td><a href="?p=description&amp;c={$unite.id}&amp;r={$raceAff}#menu">{$unite.nom}</a> ({$unite.niveau}) :</td><td>{$unite.etat}</td></tr>
{/foreach}
</tbody></table></div>
</div>
<div{if $defaut == 'chantierterrestre'} class="hightlight"{/if}><a href="{$menu.arbre}&amp;q=chantierterrestre&amp;r={$raceAff}">Chantier terrestre</a>
<div><table><thead>
<tr><th>Véhicules/Défenses</th><th>Technologies nécessaires (niveau actuel)</th></tr>
</thead><tbody>
{foreach from=$unites item=unite}
<tr><td><a href="?p=description&amp;d={$unite.id}&amp;r={$raceAff}#menu">{$unite.nom}</a> ({$unite.niveau}) :</td><td>{$unite.etat}</td></tr>
{/foreach}
</tbody></table></div>
</div>
<div{if $defaut == 'vaisseaux'} class="hightlight"{/if}><a href="{$menu.arbre}&amp;q=vaisseaux&amp;r={$raceAff}">Chantier spatial</a>
<div><table><thead>
<tr><th>Vaisseaux</th><th>Technologies nécessaires (niveau actuel)</th></tr>
</thead><tbody>
{foreach from=$vaisseaux item=vaisseau}
<tr><td><a href="?p=description&amp;v={$vaisseau.id}&amp;r={$raceAff}#menu">{$vaisseau.nom}</a> ({$vaisseau.niveau}) :</td><td>{$vaisseau.etat}</td></tr>
{/foreach}
</tbody></table></div>
</div>
</div>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,52 @@
{include file='game/header.tpl'}
<h2>File d'attente</h2>
<div class="file">
{foreach from=$file item=fbat key=key}
<span>{$fbat.3} - <em id="reste{$key}"></em><script type="text/javascript">reste({$fbat.2},'reste{$key}', {if $key==0}true{else}false{/if});</script> - <a href="{$menu.batiments}&amp;a={$fbat.0}">Annuler</a></span>
{/foreach}
{if $Vchaine}<span>Aucun batiment dans la file d'attente</span>
{* {else}
{if $chaine}<span><a href="{$menu.batiments}&amp;r=1">Arrêter de produire à la chaîne</a></span>
{elseif $Pchaine}<span><a href="{$menu.batiments}&amp;r=0">Produire à la chaîne</a></span>{/if}
*} {/if}
<br />
</div>
<h3><a href="{$menu.arbre}&amp;q=batiments">Arbre des technologies</a></h3><br />
<h2>Batiments</h2>
<table class="construction">
{foreach from=$batiments item=batiment}
<tr>
<td>
<a class="bulle" href="?p=description&amp;b={$batiment.num}#menu">
<img width="130" height="132" src="images/batiments/{$batiment.image}" alt="{$batiment.nom}" />
<span>{$batiment.description}</span>
</a>
</td>
<td>
<div>
<strong>{$batiment.nom}{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 {$nomsressources.0|lower} : {$batiment.nec_metalS}</span><br />
{else}Coût {$nomsressources.0|lower} : {$batiment.nec_metalS}<br />{/if}
{/if}
{if $batiment.nec_cristal > 0}
{if $batiment.nec_cristal > $planete->cristal}<span class="lack">Coût {$nomsressources.1|lower} : {$batiment.nec_cristalS}</span><br />
{else}Coût {$nomsressources.1|lower} : {$batiment.nec_cristalS}<br />{/if}
{/if}
{if $batiment.nec_hydrogene > 0}
{if $batiment.nec_hydrogene > $planete->hydrogene}<span class="lack">Coût {$nomsressources.2|lower} : {$batiment.nec_hydrogeneS}</span><br />
{else}Coût {$nomsressources.2|lower} : {$batiment.nec_hydrogeneS}<br />{/if}
{/if}
Temps de construction : {$batiment.temps}<br /><br />
{if $batiment.enfile}<a href="{$menu.batiments}&amp;a={$batiment.num}">Arrêter</a>
{elseif $batiment.nec_hydrogene > $planete->hydrogene}<span class="lack" title="manque {if $batiment.maq_metal >0}{$batiment.maq_metal} de {$nomsressources.0|lower} ; {/if}{if $batiment.maq_cristal >0}{$batiment.maq_cristal} de {$nomsressources.1|lower} ; {/if}{if $batiment.maq_hydrogene > 0}{$batiment.maq_hydrogene} de {$nomsressources.2|lower}{/if}">Ressources insuffisantes</span>
{elseif $batiment.nec_cristal > $planete->cristal}<span class="lack" title="manque {if $batiment.maq_metal >0}{$batiment.maq_metal} de {$nomsressources.0|lower} ; {/if}{if $batiment.maq_cristal >0}{$batiment.maq_cristal} de {$nomsressources.1|lower} ; {/if}{if $batiment.maq_hydrogene > 0}{$batiment.maq_hydrogene} de {$nomsressources.2|lower}{/if}">Ressources insuffisantes</span>
{elseif $batiment.nec_metal > $planete->metal}<span class="lack" title="manque {if $batiment.maq_metal >0}{$batiment.maq_metal} de {$nomsressources.0|lower} ; {/if}{if $batiment.maq_cristal >0}{$batiment.maq_cristal} de {$nomsressources.1|lower} ; {/if}{if $batiment.maq_hydrogene > 0}{$batiment.maq_hydrogene} de {$nomsressources.2|lower}{/if}">Ressources insuffisantes</span>
{else}<a href="{$menu.batiments}&amp;c={$batiment.num}">Construire</a>
{/if}
</div>
</td>
</tr>
{/foreach}
</table>
{include file='game/footer.tpl'}

60
templates/game/bourse.tpl Normal file
View file

@ -0,0 +1,60 @@
{include file='game/header.tpl'}
<h2>Dernières infos</h2>
{foreach from=$infos item=info}
<h4><a href="{$menu.bourse}&amp;d={$info.id}">{$info.nom} :</a> {$info.description}</h4>
{/foreach}
<br /><h2>Bourse</h2>
<table class="bourse">
<thead>
<tr>
<th>Action</th>
<th>Evolution</th>
<th>Valeur {$nomsressources.0}</th>
<th>Valeur {$nomsressources.1}</th>
<th>Acheter</th>
<th>Vendre</th>
</tr>
</thead>
<tbody>
{foreach from=$bourse item=action}
<tr>
<td><a href="{$menu.bourse}&amp;d={$action.id}">{$action.nom}</a></td>
<td>{if $action.evolution > 0}+{/if}{$action.evolution|floor}%</td>
<td>{$action.metal|floor}</td>
<td>{$action.cristal|floor}</td>
<td>
<form action="{$menu.bourse}&amp;a={$action.id}" method="post">
<fieldset>
<input type="text" class="text" name="a{$action.id}" maxlength="3" value="0" />
<input type="submit" class="submit" value="OK" />
</fieldset>
</form>
</td>
<td>
<form action="{$menu.bourse}&amp;v={$action.id}" method="post">
<fieldset>
<input type="text" class="text" name="a{$action.id}" maxlength="3" value="0" />/{$action.nbactions}
<input type="submit" class="submit" value="OK" />
</fieldset>
</form>
</td>
</tr>
{/foreach}
</tbody>
</table>
{if $auth_level >= 3}
<h2>Nouvelle action</h2>
<form action="{$menu.bourse}&amp;c=new" method="post">
<fieldset class="options">
<label for="nomaction">Nom de l'action :</label><input type="text" name="nomaction" id="nomaction" maxlength="255" value="{$bourse.nom}" class="text" /><br />
<label for="descaction">Description de l'action :</label><br />
<textarea id="descaction" name="descaction">{$bourse.description|escape}</textarea>
<label for="newsaction">News de l'action (apparaît sur la page d'accueil) :</label><input type="text" name="newsaction" id="newsaction" class="text" value="{$bourse.news}" maxlength="255" /><br />
<label for="prixAM">Valeur en métal de l'action :</label><input type="text" name="prixAM" id="prixAM" maxlength="15" value="{$bourse.metal}" class="text" /><br />
<label for="prixAC">Valeur en cristal de l'action :</label><input type="text" name="prixAC" id="prixAC" maxlength="15" value="{$bourse.cristal}" class="text" /><br />
<input class="submit" type="submit" value="Ok" />
</fieldset>
</form>
{/if}
{include file='game/footer.tpl'}

View file

@ -0,0 +1,46 @@
{include file='game/header.tpl'}
<h2>Bourse : {$bourse.nom}</h2>
<h4>Valeurs au {$date}</h4>
<br />
<h4>Valeur métal : {$bourse.metal|floor}</h4>
<h4>Valeur cristal : {$bourse.cristal|floor}</h4>
<h4>Evolution de l'action depuis l'ouverture de la bourse : {if $bourse.evolution > 0}+{/if}{$bourse.evolution|floor}%</h4>
<br />
<h4>Achat unité métal : {$bourse.metal*$taxeA|floor}</h4>
<h4>Achat unité cristal : {$bourse.cristal*$taxeA|floor}</h4>
<br />
<h4>Vente unité métal : {$bourse.metal/$taxeV|floor}</h4>
<h4>Vente unité cristal : {$bourse.cristal/$taxeV|floor}</h4>
<br />
<h4>Vous possédez {$poss} actions de {$bourse.nom}</h4>
<h4>Vous avez acheté {$poss24} actions de {$bourse.nom} dans les dernières 24h</h4>
<br />
{$bourse.description|escape|nl2br}
<br /><br />
<h4><form action="{$menu.bourse}&amp;a={$bourse.id}" method="post"><p>Acheter : <input type="text" class="text" name="a{$bourse.id}" maxlength="1" value="0" /><input type="submit" class="submit" value="OK" /></p></form></h4>
<h4><form action="{$menu.bourse}&amp;v={$bourse.id}" method="post"><p>Vendre : <input type="text" class="text" name="a{$bourse.id}" maxlength="1" value="0" /><input type="submit" class="submit" value="OK" /></p></form></h4>
{if $auth_level >= 3}
<br /><h2>Modification de l'action</h2>
<form action="{$menu.bourse}&amp;e={$bourse.id}" method="post">
<fieldset class="options">
<label for="nomaction">Nom de l'action :</label><input type="text" name="nomaction" id="nomaction" maxlength="255" value="{$bourse.nom}" class="text" /><br />
<label for="descaction">Description de l'action :</label><br />
<textarea id="descaction" name="descaction">{$bourse.description|escape}</textarea>
<input class="submit" type="submit" value="Ok" />
</fieldset>
</form>
<form action="{$menu.bourse}&amp;e={$bourse.id}" method="post">
<fieldset class="options">
<label for="newsaction">News de l'action (apparaît sur la page d'accueil) :</label><input type="text" name="newsaction" id="newsaction" class="text" value="{$bourse.news}" maxlength="255" /><br />
<input class="submit" type="submit" value="Créer la news" />
</fieldset>
</form>
<form action="{$menu.bourse}&amp;e={$bourse.id}" method="post">
<fieldset class="options">
<label for="prixAM">Valeur en métal de l'action :</label><input type="text" name="prixAM" id="prixAM" maxlength="15" value="{$bourse.metal}" class="text" /><br />
<label for="prixAC">Valeur en cristal de l'action :</label><input type="text" name="prixAC" id="prixAC" maxlength="15" value="{$bourse.cristal}" class="text" /><br />
<input class="submit" type="submit" value="Ok" />
</fieldset>
</form>
{/if}
{include file='game/footer.tpl'}

17
templates/game/bugs.tpl Normal file
View file

@ -0,0 +1,17 @@
{include file='game/header.tpl'}
<h2>Rapports de bug</h2>
{foreach from=$bugs item=bug}
<dl>
<dt><input class="button2" type="button" onclick="hide(this); return false;" />{$bug.0}, le {$bug.1} sur {$bug.2|escape}</dt><dd>{$bug.3}{if $auth_level > 2}<div style="text-align: right"><a href="{$menu.bugs}&amp;a=del&amp;i={$bug.4}"><i>Supprimer</i></a></div>{/if}</dd>
</dl>
{/foreach}
<h2>Ajouter un bug</h2>
<form action="{$menu.bugs}&amp;post" method="post"><fieldset class="options">
<strong>Attention : bien lire les bugs deja proposés, l'utilisation abusive ou des bugs ayant non lieus seront sanctionnés.</strong><br /><br />
<strong style="color: #FF0000;">Avant de poster votre bug, vérifiez que la page de contact d'opérateurs (bouton sous la bannière) n'y propose pas de solutions.<br /><br /><b>Les réclamations <span style="text-decoration: blink;">(pertes de vaisseaux, de flottes, ...)</span> ne sont pas des bugs et sont à voir avec les opérateurs (bouton opérateur sous la bannière)</b></strong><br /><br />
<label for="page">Page concernée :</label><input class="text" type="text" name="page" id="page" />
<label for="desc">Description :</label>
<textarea id="desc" name="description" cols="40" rows="10"></textarea><br /><br />
<input class="submit" type="submit" value="OK" />
</fieldset></form>
{include file='game/footer.tpl'}

32
templates/game/carte.tpl Normal file
View file

@ -0,0 +1,32 @@
{include file='game/header.tpl'}
<h2>Navigation</h2>
<form action="{$menu.carte}" method="get"><fieldset class="systeme"><label for="galaxie">Amas :</label><input type="hidden" value="carte" name="p" /><input class="text" type="text" value="{$position.0}" id="galaxie" name="galaxie" /><label for="systeme">Système solaire :</label><input class="text" type="text" value="{$position.1}" id="systeme" name="ss" /><div><a href="{$menu.carte}&amp;galaxie={$position.4}&amp;ss={$position.5}">&#60;&#60;&#60;</a><input class="submit" type="submit" value="GO" /><a href="{$menu.carte}&amp;galaxie={$position.2}&amp;ss={$position.3}">&#62;&#62;&#62;</a></div></fieldset></form>
<h2>Système Solaire</h2>
<table class="systeme">
<thead>
<tr>
<td colspan="6">Système: {$position.0}:{$position.1}</td>
</tr>
<tr>
<th>Position</th>
<th>Nom</th>
<th>Débris métal</th>
<th>Débris cristal</th>
<th>Joueur</th>
<th>Message</th>
</tr>
</thead>
<tbody>
{foreach from=$carte item=plan}
<tr>
<td>{$plan.0}</td>
<td>{$plan.1|escape}</td>
<td>{$plan.2}</td>
<td>{$plan.3}</td>
<td>{if $plan.7}[{$plan.7}] {/if}{$plan.5} {$plan.4}</td>
<td>{$plan.6}</td>
</tr>
{/foreach}
</tbody>
</table>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,51 @@
{include file='game/header.tpl'}
<h2>File d'attente</h2>
<div class="file">
{foreach from=$file item=fterr key=key}
{if $key==0}<span><strong>Prochaine unit&eacute; </strong> : <em id="resten"></em>
<script type="text/javascript">reste({$fterr.2},'resten', true);</script></span>{/if}
<span>{$fterr.1} {$fterr.3} - <em id="reste{$key}"></em><script type="text/javascript">reste({$fterr.2},'reste{$key}', {if $key==0}true{else}false{/if});</script>
- <a href="{$menu.caserne}&amp;a={$fterr.0}&amp;w={$key}">Annuler un</a> - <a href="{$menu.caserne}&amp;a={$fterr.0}&amp;n={$fterr.1}&amp;w={$key}">Annuler tous</a></span>
{/foreach}
{if $Vchaine}<span>Aucune unit&eacute; dans la file d'attente</span>{/if}
<br />
</div>
<h3><a href="{$menu.arbre}&amp;q=caserne">Arbre des technologies</a></h3><br />
<h2>{$titre}</h2>
<table class="construction">
{foreach from=$unites item=unite}
<tr>
<td>
<a class="bulle" href="?p=description&amp;c={$unite.num}#menu">
<img width="130" height="132" src="images/caserne/{$unite.image}" alt="Unit&eacute; terrestre" />
<span>{$unite.description}</span>
</a>
</td>
<td>
<div>
<strong>{$unite.nom}{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 {$nomsressources.0|lower} : {$unite.nec_metalS}</span><br />
{else}Coût {$nomsressources.0|lower} : {$unite.nec_metalS}<br />{/if}
{/if}
{if $unite.nec_cristal > 0}
{if $unite.nec_cristal > $planete->cristal}<span class="lack">Coût {$nomsressources.1|lower} : {$unite.nec_cristalS}</span><br />
{else}Coût {$nomsressources.1|lower} : {$unite.nec_cristalS}<br />{/if}
{/if}
{if $unite.nec_hydrogene > 0}
{if $unite.nec_hydrogene > $planete->hydrogene}<span class="lack">Coût {$nomsressources.2|lower} : {$unite.nec_hydrogeneS}</span><br />
{else}Coût {$nomsressources.2|lower} : {$unite.nec_hydrogeneS}<br />{/if}
{/if}
Temps de construction : {$unite.temps}<br /><br />
<form action="{$menu.caserne}&amp;v={$unite.num}" method="post">
<fieldset>
<input class="text" type="text" name="nombre" value="0" />
<input class="submit" type="submit" value="OK" />
</fieldset>
</form>
</div>
</td>
</tr>
{/foreach}
</table>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,51 @@
{include file='game/header.tpl'}
<h2>File d'attente</h2>
<div class="file">
{foreach from=$file item=fvais key=key}
{if $key==0}<span><strong>Prochain vaisseau </strong> : <em id="resten"></em>
<script type="text/javascript">reste({$fvais.4},'resten', true);</script></span>{/if}
<span>{$fvais.1} {$fvais.3} - <em id="reste{$key}"></em><script type="text/javascript">reste({$fvais.2},'reste{$key}', {if $key==0}true{else}false{/if});</script>
- <a href="{$menu.chantierspatial}&amp;a={$fvais.0}&amp;w={$key}">Annuler un</a> - <a href="{$menu.chantierspatial}&amp;a={$fvais.0}&amp;n={$fvais.1}&amp;w={$key}">Annuler tous</a></span>
{/foreach}
{if $Vchaine}<span>Aucun vaisseau dans la file d'attente</span>{/if}
<br />
</div>
<h3><a href="{$menu.arbre}&amp;q=vaisseaux">Arbre des technologies</a></h3><br />
<h2>Chantier spatial</h2>
<table class="construction">
{foreach from=$vaisseaux item=vaisseau}
<tr>
<td>
<a class="bulle" href="?p=description&amp;v={$vaisseau.num}#menu">
<img width="130" height="132" src="images/vaisseaux/{$vaisseau.image}" alt="Vaisseaux" />
<span>{$vaisseau.description}</span>
</a>
</td>
<td>
<div>
<strong>{$vaisseau.nom}{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 {$nomsressources.0|lower} : {$vaisseau.nec_metalS}</span><br />
{else}Coût {$nomsressources.0|lower} : {$vaisseau.nec_metalS}<br />{/if}
{/if}
{if $vaisseau.nec_cristal > 0}
{if $vaisseau.nec_cristal > $planete->cristal}<span class="lack">Coût {$nomsressources.1|lower} : {$vaisseau.nec_cristalS}</span><br />
{else}Coût {$nomsressources.1|lower} : {$vaisseau.nec_cristalS}<br />{/if}
{/if}
{if $vaisseau.nec_hydrogene > 0}
{if $vaisseau.nec_hydrogene > $planete->hydrogene}<span class="lack">Coût {$nomsressources.2|lower} : {$vaisseau.nec_hydrogeneS}</span><br />
{else}Coût {$nomsressources.2|lower} : {$vaisseau.nec_hydrogeneS}<br />{/if}
{/if}
Temps de construction : {$vaisseau.temps}<br /><br />
<form action="{$menu.chantierspatial}&amp;v={$vaisseau.num}" method="post">
<fieldset>
<input class="text" type="text" name="nombre" value="0" />
<input class="submit" type="submit" value="OK" />
</fieldset>
</form>
</div>
</td>
</tr>
{/foreach}
</table>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,51 @@
{include file='game/header.tpl'}
<h2>File d'attente</h2>
<div class="file">
{foreach from=$file item=fterr key=key}
{if $key==0}<span><strong>Prochaine unit&eacute; </strong> : <em id="resten"></em>
<script type="text/javascript">reste({$fterr.4},'resten', true);</script></span>{/if}
<span>{$fterr.1} {$fterr.3} - <em id="reste{$key}"></em><script type="text/javascript">reste({$fterr.2},'reste{$key}', {if $key==0}true{else}false{/if});</script>
- <a href="{$menu.chantierterrestre}&amp;a={$fterr.0}&amp;w={$key}">Annuler un</a> - <a href="{$menu.chantierterrestre}&amp;a={$fterr.0}&amp;n={$fterr.1}&amp;w={$key}">Annuler tous</a></span>
{/foreach}
{if $Vchaine}<span>Aucune unit&eacute; dans la file d'attente</span>{/if}
<br />
</div>
<h3><a href="{$menu.arbre}&amp;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&amp;d={$unite.num}#menu">
<img width="130" height="132" src="images/terrestre/{$unite.image}" alt="Unit&eacute; terrestre" />
<span>{$unite.description}</span>
</a>
</td>
<td>
<div>
<strong>{$unite.nom}{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 {$nomsressources.0|lower} : {$unite.nec_metalS}</span><br />
{else}Coût {$nomsressources.0|lower} : {$unite.nec_metalS}<br />{/if}
{/if}
{if $unite.nec_cristal > 0}
{if $unite.nec_cristal > $planete->cristal}<span class="lack">Coût {$nomsressources.1|lower} : {$unite.nec_cristalS}</span><br />
{else}Coût {$nomsressources.1|lower} : {$unite.nec_cristalS}<br />{/if}
{/if}
{if $unite.nec_hydrogene > 0}
{if $unite.nec_hydrogene > $planete->hydrogene}<span class="lack">Coût {$nomsressources.2|lower} : {$unite.nec_hydrogeneS}</span><br />
{else}Coût {$nomsressources.2|lower} : {$unite.nec_hydrogeneS}<br />{/if}
{/if}
Temps de construction : {$unite.temps}<br /><br />
<form action="{$menu.chantierterrestre}&amp;v={$unite.num}" method="post">
<fieldset>
<input class="text" type="text" name="nombre" value="0" />
<input class="submit" type="submit" value="OK" />
</fieldset>
</form>
</div>
</td>
</tr>
{/foreach}
</table>
{include file='game/footer.tpl'}

49
templates/game/chat.tpl Normal file
View file

@ -0,0 +1,49 @@
{include file='game/header.tpl'}
<h2>Chat</h2>
Le chat est désactivé pour le moment
<!--
<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="yuna.otherweb.org">
<param name="port" value="6667">
<param name="irc_pass" value="">
<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="#Halo-Battle">
<param name="username" value="Appletweb">
<param name="realname" value="Race: {$race}">
<param name="nickname" value="{$user.pseudo}_IG">
<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>-->
{include file='game/footer.tpl'}

View file

@ -0,0 +1,34 @@
{include file='game/header.tpl'}
<h2>Classement</h2>
<form action="{$menu.classement}" method="get">
<fieldset>
<input type="hidden" value="classement" name="p" />
<select name="t">
<option value="0"{if $t == "0"}selected="selected"{/if}>Pseudo</option>
<option value="1"{if $t == "1"}selected="selected"{/if}>Alliance</option>
</select>&nbsp;&nbsp;&nbsp;&nbsp;<select name="e">
<option value="points"{if $export == 'points'} selected="selected"{/if}>Points</option>
<option value="batiment"{if $export == 'batiments'} selected="selected"{/if}>Bâtiment</option>
<option value="flotte"{if $export == "flottes"} selected="selected"{/if}>Flotte</option>
<option value="recherches"{if $export == "recherches"} selected="selected"{/if}>Recherches</option>
</select>&nbsp;&nbsp;&nbsp;&nbsp;{$q}&nbsp;&nbsp;&nbsp;&nbsp;<input class="submit" type="submit" value="GO" />
</fieldset>
</form>
<table class="systeme"><thead>
{if $t == "0"}
<tr><th>Rang</th><th>Evolution</th><th>Pseudo</th><th>Message</th><th>Race</th><th>Alliance</th><th>Points</th></tr></thead><tbody>
{foreach from=$places item=place}
{if $place.1 == $user.pseudo}<tr style="background: #E5E5E5;" id="moi"><td><b>{$place.0}</b></td><td>-</td><td><b>{$place.1}</b></td><td></td><td><b>{$place.2}</b></td><td><b>{if $place.3}[{$place.3}] {$place.4}{/if}</b></td><td><b>{$place.5}</b></td></tr>{else}<tr><td>{$place.0}</td><td>-</td><td>{$place.1}</td><td><a href="?p=envoyer&amp;d={$place.1}" class="msg"><span>Message</span></a></td><td>{$place.2}</td><td>{if $place.3}[{$place.3}] {$place.4}{/if}</td><td>{$place.5}</td></tr>{/if}
{/foreach}
{/if}
{if $t == "1"}
<tr><th>Rang</th><th>Alliance</th><th>Membres</th><th>Points</th><th>Points par membres</th></tr></thead><tbody>
{foreach from=$places item=place}
<tr><td>{$place.0}</td><td>{$place.1}</td><td>{$place.2}</td><td>{$place.3}</td><td>{$place.4}</td></tr>
{/foreach}
{/if}
</tbody></table>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,51 @@
{include file='game/header.tpl'}
<h2>File d'attente</h2>
<div class="file">
{foreach from=$file item=fterr key=key}
{if $key==0}<span><strong>Prochaine unit&eacute; </strong> : <em id="resten"></em>
<script type="text/javascript">reste({$fterr.4},'resten', true);</script></span>{/if}
<span>{$fterr.1} {$fterr.3} - <em id="reste{$key}"></em><script type="text/javascript">reste({$fterr.2},'reste{$key}', {if $key==0}true{else}false{/if});</script>
- <a href="{$menu.defenses}&amp;a={$fterr.0}&amp;w={$key}">Annuler un</a> - <a href="{$menu.defenses}&amp;a={$fterr.0}&amp;n={$fterr.1}&amp;w={$key}">Annuler tous</a></span>
{/foreach}
{if $Vchaine}<span>Aucune unit&eacute; dans la file d'attente</span>{/if}
<br />
</div>
<h3><a href="{$menu.arbre}&amp;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&amp;d={$unite.num}#menu">
<img width="130" height="132" src="images/terrestre/{$unite.image}" alt="Unit&eacute; terrestre" />
<span>{$unite.description}</span>
</a>
</td>
<td>
<div>
<strong>{$unite.nom}{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 {$nomsressources.0|lower} : {$unite.nec_metalS}</span><br />
{else}Coût {$nomsressources.0|lower} : {$unite.nec_metalS}<br />{/if}
{/if}
{if $unite.nec_cristal > 0}
{if $unite.nec_cristal > $planete->cristal}<span class="lack">Coût {$nomsressources.1|lower} : {$unite.nec_cristalS}</span><br />
{else}Coût {$nomsressources.1|lower} : {$unite.nec_cristalS}<br />{/if}
{/if}
{if $unite.nec_hydrogene > 0}
{if $unite.nec_hydrogene > $planete->hydrogene}<span class="lack">Coût {$nomsressources.2|lower} : {$unite.nec_hydrogeneS}</span><br />
{else}Coût {$nomsressources.2|lower} : {$unite.nec_hydrogeneS}<br />{/if}
{/if}
Temps de construction : {$unite.temps}<br /><br />
<form action="{$menu.defenses}&amp;v={$unite.num}" method="post">
<fieldset>
<input class="text" type="text" name="nombre" value="0" />
<input class="submit" type="submit" value="OK" />
</fieldset>
</form>
</div>
</td>
</tr>
{/foreach}
</table>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,100 @@
{include file='game/header.tpl'}
<h2>Détails {$type} : {$nom}</h2>
<table style="width: 400px;">
<tbody>
<tr>
<td style="width: 120px;"><img src="images/{$type}/{$image}" alt="" /></td>
<td><b>{$nom}</b><br />Actuellement : {if $type != 'vaisseaux' && $type != 'terrestre' && $type != 'caserne'}niveau{/if} {$niveau}{if $type == 'vaisseaux' || $type == 'terrestre' || $type == 'caserne'} unités{/if}</td>
</tr>
<tr>
<td colspan="2">{$description}</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>{$nomsressources.0}</th>
<td>{$ressourcesNext.0}</td>
</tr>
{/if}
{if $ressourcesNext.1}
<tr>
<th>{$nomsressources.1}</th>
<td>{$ressourcesNext.1}</td>
</tr>
{/if}
{if $ressourcesNext.2}
<tr>
<th>{$nomsressources.2}</th>
<td>{$ressourcesNext.2}</td>
</tr>
{/if}
<tr>
<th>Temps</th>
<td>{$ressourcesNext.3}</td>
</tr>
</tbody>
</table>
</td>
</tr>
{if $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}</td>
</tr>
<tr>
<th>Bouclier</th>
<td>{$caract.1}</td>
</tr>
<tr>
<th>Points de vie</th>
<td>{$caract.2}</td>
</tr>
{if $caract.3}
<tr>
<th>Capacité de transport</th>
<td>{$caract.3}</td>
</tr>
{/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>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,28 @@
{include file='game/header.tpl'}
<h2>Destinations rapides existantes</h2>
<table>
<thead>
<tr>
<th>Nom de la planète</th>
<th>Coordonnées de la planète</th>
<th>Supprimer</th>
</tr>
</thead>
<tbody>
{foreach from=$destins item=destin}
<tr>
<td>{$destin.1|escape}</td>
<td>{$destin.2}</td>
<td><a href="?p=destinationsrapides&amp;d={$destin.0}&amp;a={$destin.3}">Supprimer</a></td>
</tr>
{/foreach}
</tbody>
</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>
</form>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,13 @@
{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}" id="nom" />
<label for="objet">Objet :</label><input class="text" type="text" name="objet" value="{$objet}" 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>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,3 @@
{include file='game/header.tpl'}
<div class="error"{if $couleur} style="color: {$couleur};"{/if}>{$message}</div>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,51 @@
{include file='game/header.tpl'}
<h2>Flottes en action</h2>
<table>
<thead>
<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>
{foreach from=$flottesEC item=flotteEC}
<tr>
<td><a href="{$menu.flotte}&amp;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>
</tr>
{/foreach}
</tbody>
</table>
<h2>Vaisseaux disponibles sur cette planète</h2>
<form action="{$menu.flotte}" method="post">
<table>
<thead>
<tr><th>Vaisseaux</th><th>Nombre disponible</th><th>Max</th><th>A envoyer<br />Flottes : {$nbflotte}/{$nbflottemax}</th></tr>
</thead>
<tfoot>
<tr><td colspan="4"><input class="button" type="button" value="Tous les vaisseaux" onclick="vaisseaux(true)" /> <input class="button" type="button" value="Aucun vaisseau" onclick="vaisseaux(false)" /></td></tr>
<tr><td colspan="4">{$action}</td></tr>
</tfoot>
<tbody>
{foreach from=$vaisseaux item=vaisseau}
<tr>
<td>{$vaisseau.0}</td>
<td>{$vaisseau.1}<span id="v_{$vaisseau.3}" style="display: none;">{$vaisseau.2}</span></td>
<td><input class="button" type="button" value="Max" onclick="max('{$vaisseau.3}')" /></td>
<td><input class="text" type="text" name="v{$vaisseau.3}" value="0" /></td>
</tr>
{/foreach}
</tbody>
</table>
</form>
<h2>Tactiques par défaut</h2>
<form action="{$menu.flotte}" method="post">
<fieldset class="options">
<label for="attaque">Attaque :</label><select name="attaque" id="attaque">{html_options output=$tactiques values=$tactiquesn selected=$attselect}</select><br />
<label for="defense">Défense :</label><select name="defense" id="defense">{html_options output=$tactiques values=$tactiquesn selected=$defselect}</select><br />
<input class="submit" type="submit" value="Ok" />
</fieldset>
</form>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,33 @@
{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 output=$favorisColonies values=$favorisnColonies}</optgroup><optgroup label="Favoris">{html_options output=$favoris values=$favorisn}</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();">
{$actionsupp}
<option value="2">Transporter</option>
<option value="0">Stationner</option>
</select><br />
<span id="tactique"></span>
<label for="metal">Embarquer {$nomsressources.0|lower} :</label><input class="text" type="text" id="metal" name="metal" /><br />
<label for="cristal">Embarquer {$nomsressources.1|lower} :</label><input class="text" type="text" id="cristal" name="cristal" /><br />
<label for="hydrogene">Embarquer {$nomsressources.2|lower} :</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>
Temps de déplacement : <span id="temps">-</span><br />
Consomation : <span id="conso">-</span><br />
<span id="deblok"><b>Compl&egrave;tez les champs ci-dessus</b></span>
<br /><span id="vp"></span>
</form>
{include file='game/footer.tpl'}

175
templates/game/flotten.tpl Normal file
View file

@ -0,0 +1,175 @@
{include file='game/header.tpl'}
<h2>Détails de la flotte : {$flotte.nom}</h2>
<form action="{$menu.flotte}&amp;n={$n}" method="post">
<fieldset class="options">
<label for="nom">Nom de la flotte :</label><input class="text" type="text" id="nom" name="nomflotte" value="{$flotte.nom}" /><br />
<input class="submit" type="submit" value="GO" />
</fieldset>
</form>
<h2>Composition de la flotte</h2>
<br /><table style="margin: auto;">
{if $flotte.vaisseau_1}
<tr>
<td>{$nomvais.0}</td>
<td>{$flotte.vaisseau_1}</td>
</tr>
{/if}
{if $flotte.vaisseau_2}
<tr>
<td>{$nomvais.1}</td>
<td>{$flotte.vaisseau_2}</td>
</tr>
{/if}
{if $flotte.vaisseau_3}
<tr>
<td>{$nomvais.2}</td>
<td>{$flotte.vaisseau_3}</td>
</tr>
{/if}
{if $flotte.vaisseau_4}
<tr>
<td>{$nomvais.3}</td>
<td>{$flotte.vaisseau_4}</td>
</tr>
{/if}
{if $flotte.vaisseau_5}
<tr>
<td>{$nomvais.4}</td>
<td>{$flotte.vaisseau_5}</td>
</tr>
{/if}
{if $flotte.vaisseau_6}
<tr>
<td>{$nomvais.5}</td>
<td>{$flotte.vaisseau_6}</td>
</tr>
{/if}
{if $flotte.vaisseau_7}
<tr>
<td>{$nomvais.6}</td>
<td>{$flotte.vaisseau_7}</td>
</tr>
{/if}
{if $flotte.vaisseau_8}
<tr>
<td>{$nomvais.7}</td>
<td>{$flotte.vaisseau_8}</td>
</tr>
{/if}
{if $flotte.vaisseau_9}
<tr>
<td>{$nomvais.8}</td>
<td>{$flotte.vaisseau_9}</td>
</tr>
{/if}
{if $flotte.vaisseau_10}
<tr>
<td>{$nomvais.9}</td>
<td>{$flotte.vaisseau_10}</td>
</tr>
{/if}
{if $flotte.vaisseau_11}
<tr>
<td>{$nomvais.10}</td>
<td>{$flotte.vaisseau_11}</td>
</tr>
{/if}
{if $flotte.vaisseau_12}
<tr>
<td>{$nomvais.11}</td>
<td>{$flotte.vaisseau_12}</td>
</tr>
{/if}
</table><br />
<h2>Contenu de la flotte</h2>
<br /><table style="margin: auto;">
<tr>
<td>{$nomsressources.0}</td>
<td>{$flotte.contenu_metalF}</td>
</tr>
<tr>
<td>{$nomsressources.1}</td>
<td>{$flotte.contenu_cristalF}</td>
</tr>
<tr>
<td>{$nomsressources.2}</td>
<td>{$flotte.contenu_hydrogeneF}</td>
</tr>
<tr>
<td>Maximum</td>
<td>{$flotte.contenu_maxF}</td>
</tr>
</table><br />
<h2>Détails de la mission</h2>
<table>
<tbody>
<tr>
<td>Mission</td>
<td>{$flotte.missionF}</td>
</tr>
{if $flotte.mission == 1}
<tr>
<td>Tactique par défaut</td>
<td>{$flotte.tactiqueAtDef}</td>
</tr>
{if $flotte.tactiqueAT}
<tr>
<td>Tactique pour le tour suivant</td>
<td>{$flotte.tactiqueF}</td>
</tr>
{else}
<tr>
<td>Tactique pour le tour suivant</td>
<td>{$flotte.tactiqueAtDef}</td>
</tr>
{/if}
{/if}
<tr>
<td>Etat de la mission</td>
{if $flotte.effectue == 2}
<td>En cours</td>
{elseif $flotte.effectue == 1}
<td>Effectuée</td>
{else}
<td>Déplacement</td>
{/if}
</tr>
<tr>
<td style="border: none;"></td>
</tr>
<tr>
<td>Plan&egrave;te source</td>
<td>[{$flotte.start_galaxie}:{$flotte.start_ss}:{$flotte.start_position}]</td>
</tr>
<tr>
<td>Date de départ</td>
<td>{$flotte.start_time|date_format:"/%a %d %b %y/ %H%M %S"}</td>
</tr>
<tr>
<td style="border: none;"></td>
</tr>
<tr>
<td>Plan&egrave;te de destination</td>
<td>[{$flotte.end_galaxie}:{$flotte.end_ss}:{$flotte.end_position}]</td>
</tr>
<tr>
<td>Temps de déplacement</td>
<td>{$flotte.end_time|date_format:"%k:%M:%S"}</td>
</tr>
<tr>
<td>Date {if $flotte.mission != 6}d'arrivée{else}de retour{/if}</td>
<td>{$flotte.end_timeT|date_format:"/%a %d %b %y/ %H%M %S"}</td>
</tr>
</tbody>
</table>
{if $flotte.mission != 6}<a href="{$menu.flotte}&amp;n={$n}&amp;a={$ret_fleet}">Annuler la mission et rappeler la flotte</a>{/if}
{if $flotte.mission == 1}
<br /><br /><h2>Changer de tactique</h2>
<form action="{$menu.flotte}&amp;n={$n}" method="post">
<fieldset class="options">
<label for="attaque">Attaque :</label><select name="attaque" id="attaque">{html_options output=$tactiques values=$tactiquesn selected=$attselect}</select><br />
<input class="submit" type="submit" value="Ok" />
</fieldset>
</form>
{/if}
{include file='game/footer.tpl'}

15
templates/game/footer.tpl Normal file
View file

@ -0,0 +1,15 @@
<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 : {$enligne} 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="{$link.faq}">F.A.Q.</a> | <a href="{$link.operateur}">Nous contacter</a>
{$analyst}
</div>
</div>
</div>
<div id="cornerbt"></div>
{$script}
<!-- \\******* By Phantom *******// Halo-Battle, Tous droits réservés -->
</body>
</html>

BIN
templates/game/game.lnk Normal file

Binary file not shown.

View file

@ -0,0 +1,47 @@
{include file='game/header.tpl'}
<h2>Gestion</h2>
<div id="gestion">
<table>
<thead>
<tr>
<td></td>
{foreach from=$planetes item=plan}
<td><img src="images/planetes/{$plan.image}.jpg" alt="{$plan.image}" title="{$plan.nom_planete}" width="80" height="80" /></td>
{/foreach}
</tr>
<tr>
<th></th>
{foreach from=$planetes item=plan}
<th>{$plan.nom_planete|escape}</th>
{/foreach}
</tr>
</thead>
<tbody>
<tr>
<td class="hightlight">{$nomsressources.0}</td>
{foreach from=$planetes item=plan}
<td>{$plan.metal|separernombres}</td>
{/foreach}
</tr>
<tr>
<td class="hightlight">{$nomsressources.1}</td>
{foreach from=$planetes item=plan}
<td>{$plan.cristal|separernombres}</td>
{/foreach}
</tr>
<tr>
<td class="hightlight">{$nomsressources.2}</td>
{foreach from=$planetes item=plan}
<td>{$plan.hydrogene|separernombres}</td>
{/foreach}
</tr>
<tr>
<td class="hightlight">{$nomsressources.3}</td>
{foreach from=$planetes item=plan}
<td>{$plan.energie}</td>
{/foreach}
</tr>
</tbody>
</table>
</div>
{include file='game/footer.tpl'}

102
templates/game/header.tpl Normal file
View file

@ -0,0 +1,102 @@
<!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">
<head>
<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> ::Halo-Battle:: - {$titre}</title>
{if $race == "covenant"}<link rel="stylesheet" href="templates/covenants.css" type="text/css" media="all" title="Covenants" />{elseif $auth_level >= 3}<link rel="alternate stylesheet" href="templates/csnu.css" type="text/css" media="all" title="CSNU" />{/if}
{if $race == "humain"}<link rel="stylesheet" href="templates/csnu.css" type="text/css" media="all" title="CSNU" />{elseif $auth_level >= 3}<link rel="alternate stylesheet" href="templates/covenants.css" type="text/css" media="all" title="Covenants" />{/if}
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<script src="js/fonctions.js" type="text/javascript"></script>
<script src="js/img_manques.js" type="text/javascript"></script>
<script src="js/infos.js" type="text/javascript"></script>
{$scripth}
</head>
<body onload="first({$nbinfos});">
<div id="cornertop"></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 $user.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>
<h1><a href="{$link.self}{$first_page}"><span></span>Halo Battle</a></h1>
<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>
<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>
</div>
<div id="annonce">
{foreach from=$infos item=info key=key}
<div id="quadri{$key}" class="annonceleft"{if $info.color} style="color: {$info.color};"{/if}>{$info.texte}</div>
{/foreach}
<span id="annonceright">{$count.humains} Marines et {$count.covenants} Covenants se battent dans <ins>{$count.serveurs} galaxie{if $count.serveurs>1}s{/if}</ins></span>
</div>
<div>
<div id="menu"><div class="menu_head"></div>
{if $page == "admin"} <a href="{$menua.accueil}"{if $pagea == "accueil"} class="hightlight"{/if}>Accueil</a>
<a href="{$menua.courrier}"{if $pagea == "mail"} class="hightlight"{/if}>Courrier</a>
<a href="{$menua.webmail}" onclick="window.open(this.href); return false;">Webmail</a>
<div class="space"></div>
<a href="{$menua.vip}"{if $pagea == "vip"} class="hightlight"{/if}>Vérifier IP</a>
<a href="{$menua.vflottes}"{if $pagea == "vflotte"} class="hightlight"{/if}>Vérifier flottes</a>
<a href="{$menua.vplanetes}"{if $pagea == "print_choixP"} class="hightlight"{/if}>Vérifier planètes</a>
<a href="{$menua.vjoueurs}"{if $pagea == "vjoueurs"} class="hightlight"{/if}>Vérifier joueurs</a>
<a href="{$menua.valliances}"{if $pagea == "valliances"} class="hightlight"{/if}>Vérifier alliances</a>
<a href="{$menua.vrapports}"{if $pagea == "vrapports"} class="hightlight"{/if}>Afficher rapports</a>
<div class="space"></div>
<a href="{$menua.sjoueurs}"{if $pagea == "sanctionU_choix"} class="hightlight"{/if}>Sanctions joueur</a>
<a href="{$menua.sancp}"{if $pagea == "sancp"} class="hightlight"{/if}>Sanctions planète</a>
<a href="{$menua.controle}"{if $pagea == "controle"} class="hightlight"{/if}>Prendre le contrôle</a>
<a href="{$menua.djoueurs}"{if $pagea == "sjoueurs"} class="hightlight"{/if}>Supprimer joueurs</a>
<a href="{$menua.inscription}"{if $pagea == "inscription"} class="hightlight"{/if}>Créer lien d'inscription</a>
<div class="space"></div>
<a href="{$menua.bandeau}"{if $pagea == "bandeau"} class="hightlight"{/if}>Bandeau d'informations</a>
<a href="{$menua.demarrage}"{if $pagea == "demarrage"} class="hightlight"{/if}>Message démarrage</a>
<a href="{$menua.versions}"{if $pagea == "version"} class="hightlight"{/if}>Versions</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}>Batiments</a>
<a href="{$menu.caserne}"{if $page == "caserne"} class="hightlight"{/if}>Caserne</a>
<a href="{$menu.chantierspatial}"{if $page == "chantierspatial"} class="hightlight"{/if}>Chantier spatial</a>
<a href="{$menu.chantierterrestre}"{if $page == "chantierterrestre"} class="hightlight"{/if}>Chantier terrestre</a>
<a href="{$menu.defenses}"{if $page == "defenses"} class="hightlight"{/if}>Défenses</a>
<a href="{$menu.laboratoire}"{if $page == "laboratoire"} class="hightlight"{/if}>Laboratoire</a>
<a href="{$menu.arbre}"{if $page == "arbre"} 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.bourse}"{if $page == "bourse" || $page == "bourseDetails"} class="hightlight"{/if}>Bourse</a>
<a href="{$menu.flotte}"{if $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>
<img src="images/planetes/{$planete->image}.jpg" width="70" height="70" alt="planète" />
<div>Bonjour, <span>{$user.pseudo}.</span><br />Votre position actuelle:<br /><br /><form action="{$link.changeplanete}" method="post"><fieldset><select onchange="this.form.submit();" name="Cplanete">{foreach from=$planetes item=plan}<option {if $plan.id == $planete->id}selected="selected" {/if}value="{$plan.id}">{$plan.nom_planete|escape:'html'} [{$plan.galaxie}:{$plan.ss}:{$plan.position}]</option>{/foreach}</select><noscript><div><br /><input class="submit" type="submit" value="GO" /></div></noscript></fieldset></form></div>
<div class="ressource"><span>{$nomsressources.3}</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>{$nomsressources.2}</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>{$nomsressources.1}</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>{$nomsressources.0}</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>
{/if}
{if $page != "admin" && $page != "operateur"}<div>{$pub}</div>{/if}
<div id="corps">
<div class="border_top"></div>

View file

@ -0,0 +1,52 @@
{include file='game/header.tpl'}
<h2>File d'attente</h2>
<div class="file">
{foreach from=$file item=fbat key=key}
<span>{$fbat.3} - <em id="reste{$key}"></em><script type="text/javascript">reste({$fbat.2},'reste{$key}', {if $key==0}true{else}false{/if});</script> - <a href="{$menu.laboratoire}&amp;a={$fbat.0}">Annuler</a></span>
{/foreach}
{if $Vchaine}<span>Aucune recherche dans la file d'attente</span>
{* {else}
{if $chaine}<span><a href="{$menu.laboratoire}&amp;r=1">Arrêter de produire à la chaîne</a></span>
{elseif $Pchaine}<span><a href="{$menu.laboratoire}&amp;r=0">Produire à la chaîne</a></span>{/if}
*} {/if}
<br />
</div>
<h3><a href="{$menu.arbre}&amp;q=technologies">Arbre des technologies</a></h3><br />
<h2>Laboratoire</h2>
<table class="construction">
{foreach from=$recherches item=recherche}
<tr>
<td>
<a class="bulle" href="?p=description&amp;t={$recherche.num}#menu">
<img width="130" height="132" src="images/technologies/{$recherche.image}" alt="{$recherche.nom}" />
<span>{$recherche.description}</span>
</a>
</td>
<td>
<div>
<strong>{$recherche.nom}{if $recherche.niveau > 0} (Niveau {$recherche.niveau}){/if}</strong><br /><br />
{if $recherche.nec_metal > 0}
{if $recherche.nec_metal > $planete->metal}<span class="lack">Coût {$nomsressources.0|lower} : {$recherche.nec_metalS}</span><br />
{else}Coût {$nomsressources.0|lower} : {$recherche.nec_metalS}<br />{/if}
{/if}
{if $recherche.nec_cristal > 0}
{if $recherche.nec_cristal > $planete->cristal}<span class="lack">Coût {$nomsressources.1|lower} : {$recherche.nec_cristalS}</span><br />
{else}Coût {$nomsressources.1|lower} : {$recherche.nec_cristalS}<br />{/if}
{/if}
{if $recherche.nec_hydrogene > 0}
{if $recherche.nec_hydrogene > $planete->hydrogene}<span class="lack">Coût {$nomsressources.2|lower} : {$recherche.nec_hydrogeneS}</span><br />
{else}Coût {$nomsressources.2|lower} : {$recherche.nec_hydrogeneS}<br />{/if}
{/if}
Temps de recherche : {$recherche.temps}<br /><br />
{if $recherche.enfile}<a href="{$menu.laboratoire}&amp;a={$recherche.num}">Arrêter</a>
{elseif $recherche.nec_hydrogene > $planete->hydrogene}<span class="lack" title="manque {if $recherche.maq_metal >0}{$recherche.maq_metal} de {$nomsressources.0|lower} ; {/if}{if $recherche.maq_cristal >0}{$recherche.maq_cristal} de {$nomsressources.1|lower} ; {/if}{if $recherche.maq_hydrogene > 0}{$recherche.maq_hydrogene} de {$nomsressources.2|lower}{/if}">Ressources insuffisantes</span>
{elseif $recherche.nec_cristal > $planete->cristal}<span class="lack" title="manque {if $recherche.maq_metal >0}{$recherche.maq_metal} de {$nomsressources.0|lower} ; {/if}{if $recherche.maq_cristal >0}{$recherche.maq_cristal} de {$nomsressources.1|lower} ; {/if}{if $recherche.maq_hydrogene > 0}{$recherche.maq_hydrogene} de {$nomsressources.2|lower}{/if}">Ressources insuffisantes</span>
{elseif $recherche.nec_metal > $planete->metal}<span class="lack" title="manque {if $recherche.maq_metal >0}{$recherche.maq_metal} de {$nomsressources.0|lower} ; {/if}{if $recherche.maq_cristal >0}{$recherche.maq_cristal} de {$nomsressources.1|lower} ; {/if}{if $recherche.maq_hydrogene > 0}{$recherche.maq_hydrogene} de {$nomsressources.2|lower}{/if}">Ressources insuffisantes</span>
{else}<a href="{$menu.laboratoire}&amp;t={$recherche.num}">Construire</a>
{/if}
</div>
</td>
</tr>
{/foreach}
</table>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,22 @@
{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&amp;d={$message.2}&amp;o={$message.0}">{$message.0}</a> de {$message.2} à {$message.1}</dt><dd>{$message.3|nl2br}</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>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,31 @@
{include file='game/header.tpl'}
<h2>Opérateurs de cette galaxie</h2>
<ul>
{foreach from=$operateurs item=operateur}
<li>{$operateur.pseudo} <i>({if $operateur.auth_level == 2}Modérateur{elseif $operateur.auth_level == 3}Maître de la bourse{elseif $operateur.auth_level == 4}Opérateur en formation{elseif $operateur.auth_level == 5}Opérateur{elseif $operateur.auth_level == 6}Super-opérateur{elseif $operateur.auth_level == 7}Administrateur{elseif $operateur.auth_level == 8}Codeur{/if})</i></li>
{/foreach}
</ul>
<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>
{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}&amp;a=top&amp;i={$question.2}"><i>Haut</i></a> - <a href="{$menu.operateur}&amp;a=bas&amp;i={$question.2}"><i>Bas</i></a> - <a href="{$menu.operateur}&amp;a=del&amp;i={$question.2}"><i>Supprimer</i></a></div>{/if}</dd>
</dl>
{/foreach}
{if $auth_level >= 5}
<h2>Ajouter un problème connu</h2>
<form action="{$menu.operateur}&amp;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 />
<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}&amp;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 />
<input class="submit" type="submit" value="OK" />
</fieldset></form>{/if}
{include file='game/footer.tpl'}

View file

@ -0,0 +1,27 @@
{include file='game/header.tpl'}
<h2>Signature pour forum</h2>
<img src="http://{$url_serveur}/sign.php?i={$user.id}" alt="Signature" /><br /><a href="http://{$url_serveur}/sign.php?i={$user.id}">http://{$url_serveur}/sign.php?i={$user.id}</a><br /><br />
BBcode pour forums : <input value="[url=http://www.halo-battle.fr][img]http://{$url_serveur}/sign.php?i={$user.id}[/img][/url]" />
<h2>Changer de mot de passe</h2>
<form action="{$menu.options}&amp;chg=mdp" method="post"><fieldset class="options">
<label for="ancien">Ancien mot de passe :</label><input class="text" type="password" id="ancien" name="mdp_anc" />
<label for="nouveau">Nouveau mot de passe :</label><input class="text" type="password" id="nouveau" name="mdp_nouv" />
<label for="confirm">Confirmez le mot de passe :</label><input class="text" type="password" id="confirm" name="mdp_conf" /><br /><br />
<b>Le nouveau mot de passe sera modifié après validation par mail.<br />Veuillez vous assurez que votre adresse actuelle est toujours valide.</b><br /><br />
<input class="submit" type="submit" value="OK" />
</fieldset></form>
<h2>Changer d'adresse électronique</h2>
<form action="{$menu.options}&amp;chg=mail" method="post"><fieldset class="options">
<label>Adresse actuelle :</label><p style="text-align: center;">{$mail}</p>
<label for="mail">Nouveau mail :</label><input class="text" type="text" id="mail" name="mail" />
<label for="mdp_mail">Mot de passe actuel :</label><input class="text" type="password" id="mdp_mail" name="mdp_mail" /><br /><br />
<b>L'adresse électronique sera modifiée une fois validée depuis votre nouvelle adresse.</b><br /><br />
<input class="submit" type="submit" 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.<br /><br /><b>Veuillez vider <span style="text-decoration: underline;">toutes</span> vos files d'attentes avant d'activer le mode vacances !</b><br />
<br /><a href="{$menu.options}&amp;a=mv&amp;n={$idvac}">Activer le mode vacances maintenant</a>
<h2>Supprimer son compte</h2>
{if $user.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}&amp;a=dl&amp;n={$idvac}" onclick="return confirm('Êtes-vous sûr de vouloir supprimer votre compte ?');">Supprimer mon compte</a>{/if}
{include file='game/footer.tpl'}

23
templates/game/pilori.tpl Normal file
View file

@ -0,0 +1,23 @@
{include file='game/header.tpl'}
<h2>Pilori de la galaxie</h2>
<table style="width: 85%; margin: auto;">
<thead>
<tr>
<th>Utilisateur</th>
<th>Raison</th>
<th>Fin du banissement</th>
<th>Opérateur</th>
</tr>
</thead>
<tbody>
{foreach from=$joueurs item=joueur}
<tr>
<td>{$joueur.pseudo}</td>
<td>{$joueur.raisonmv|escape}</td>
<td>{if $joueur.mv == 3 || $joueur.last_visite == 2147483647}Définitif{else}{$joueur.last_visite+259200|date_format:"%a %d %B %Y %H:%M"|escape}{/if}</td>
<td>{if $joueur.operateurmv}{mailto address=$joueur.mail encode="hex" text=$joueur.operateurmv}{else}Inconnu{/if}</td>
</tr>
{/foreach}
</tbody>
</table>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,3 @@
{include file='game/header.tpl'}
<div class="error">Prochainement sur Halo-Battle.</div>
{include file='game/footer.tpl'}

10
templates/game/rename.tpl Normal file
View file

@ -0,0 +1,10 @@
{include file='game/header.tpl'}
<img src="images/planetes/{$planete->image}.jpg" width="200" height="200" alt="planète" />
<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}" 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&amp;a={$abandonH}&amp;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}
{include file='game/footer.tpl'}

View file

@ -0,0 +1,18 @@
{include file='game/header.tpl'}
<h2>Ressources</h2>
<form method="post" action="{$menu.ressources}">
<table>
<thead><tr><th> </th><th>Coefficient</th><th>{$nomsressources.0}</th><th>{$nomsressources.1}</th><th>{$nomsressources.2}</th><th>{$nomsressources.3}</th></tr></thead>
<tbody>
<tr><td>{$planete->batiments.0} {$nombat.0}</td><td><input type="text" name="coeff_metal" value="{$ressources_coef.0}" maxlength="3" size="2" />%</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} {$nombat.1}</td><td><input type="text" name="coeff_cristal" value="{$ressources_coef.1}" maxlength="3" size="2" />%</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} {$nombat.2}</td><td><input type="text" name="coeff_hydrogene" value="{$ressources_coef.2}" maxlength="3" size="2" />%</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} {$nombat.3}</td><td><input type="text" name="coeff_cs" value="{$ressources_coef.3}" maxlength="3" size="2" />%</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} {$nombat.4}</td><td><input type="text" name="coeff_ce" value="{$ressources_coef.4}" maxlength="3" size="2" />%</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.11} {$nombat.10}</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>
</tbody>
</table>
<input type="submit" class="submit" value="GO" /><br /><br />
</form>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,57 @@
{include file='game/header.tpl'}
<form action="{$menu.simulateur}" method="post">
<h2>Vaisseaux de l'attaquant</h2>
<fieldset class="options">
<label for="ATvais_1">{$nomvais.0} :</label><input class="text" maxlength="4" type="text" id="ATvais_1" name="ATvais_1" /><br />
<label for="ATvais_2">{$nomvais.1} :</label><input class="text" maxlength="4" type="text" id="ATvais_2" name="ATvais_2" /><br />
<label for="ATvais_3">{$nomvais.2} :</label><input class="text" maxlength="4" type="text" id="ATvais_3" name="ATvais_3" /><br />
<label for="ATvais_4">{$nomvais.3} :</label><input class="text" maxlength="4" type="text" id="ATvais_4" name="ATvais_4" /><br />
<label for="ATvais_5">{$nomvais.4} :</label><input class="text" maxlength="4" type="text" id="ATvais_5" name="ATvais_5" /><br />
<label for="ATvais_6">{$nomvais.5} :</label><input class="text" maxlength="4" type="text" id="ATvais_6" name="ATvais_6" /><br />
<label for="ATvais_7">{$nomvais.6} :</label><input class="text" maxlength="4" type="text" id="ATvais_7" name="ATvais_7" /><br />
<label for="ATvais_8">{$nomvais.7} :</label><input class="text" maxlength="4" type="text" id="ATvais_8" name="ATvais_8" /><br />
<label for="ATvais_9">{$nomvais.8} :</label><input class="text" maxlength="4" type="text" id="ATvais_9" name="ATvais_9" /><br />
<label for="ATvais_10">{$nomvais.9} :</label><input class="text" maxlength="4" type="text" id="ATvais_10" name="ATvais_10" /><br />
<label for="ATvais_12">{$nomvais.11} :</label><input class="text" maxlength="4" type="text" id="ATvais_12" name="ATvais_12" /><br />
</fieldset>
<h2>Vaisseaux et défenses du défenseur</h2>
<fieldset class="options">
<label for="ENvais_1">{$nomvais.0} :</label><input class="text" maxlength="4" type="text" id="ENvais_1" name="ENvais_1" /><br />
<label for="ENvais_2">{$nomvais.1} :</label><input class="text" maxlength="4" type="text" id="ENvais_2" name="ENvais_2" /><br />
<label for="ENvais_3">{$nomvais.2} :</label><input class="text" maxlength="4" type="text" id="ENvais_3" name="ENvais_3" /><br />
<label for="ENvais_4">{$nomvais.3} :</label><input class="text" maxlength="4" type="text" id="ENvais_4" name="ENvais_4" /><br />
<label for="ENvais_5">{$nomvais.4} :</label><input class="text" maxlength="4" type="text" id="ENvais_5" name="ENvais_5" /><br />
<label for="ENvais_6">{$nomvais.5} :</label><input class="text" maxlength="4" type="text" id="ENvais_6" name="ENvais_6" /><br />
<label for="ENvais_7">{$nomvais.6} :</label><input class="text" maxlength="4" type="text" id="ENvais_7" name="ENvais_7" /><br />
<label for="ENvais_8">{$nomvais.7} :</label><input class="text" maxlength="4" type="text" id="ENvais_8" name="ENvais_8" /><br />
<label for="ENvais_9">{$nomvais.8} :</label><input class="text" maxlength="4" type="text" id="ENvais_9" name="ENvais_9" /><br />
<label for="ENvais_10">{$nomvais.9} :</label><input class="text" maxlength="4" type="text" id="ENvais_10" name="ENvais_10" /><br />
<label for="ENvais_11">{$nomvais.10} :</label><input class="text" maxlength="4" type="text" id="ENvais_11" name="ENvais_11" /><br />
<label for="ENvais_12">{$nomvais.11} :</label><input class="text" maxlength="4" type="text" id="ENvais_12" name="ENvais_12" /><br />
<br /><br /><br />
<label for="ENdef_1">{$nomdef.0} :</label><input class="text" maxlength="4" type="text" id="ENdef_1" name="ENdef_1" /><br />
<label for="ENdef_2">{$nomdef.1} :</label><input class="text" maxlength="4" type="text" id="ENdef_2" name="ENdef_2" /><br />
<label for="ENdef_3">{$nomdef.2} :</label><input class="text" maxlength="4" type="text" id="ENdef_3" name="ENdef_3" /><br />
<label for="ENdef_4">{$nomdef.3} :</label><input class="text" maxlength="4" type="text" id="ENdef_4" name="ENdef_4" /><br />
<label for="ENdef_5">{$nomdef.4} :</label><input class="text" maxlength="4" type="text" id="ENdef_5" name="ENdef_5" /><br />
</fieldset>
<h2>Autres paramètres</h2>
<fieldset class="systeme">
<label for="maxtour">S'arrêter au tour :</label><input class="text" maxlength="2" type="text" id="maxtour" name="maxtour" /><br />
<label for="ATtactique">Tactique attaquant :</label><input class="text" maxlength="2" type="text" id="ATtactique" name="ATtactique" /><br />
<label for="ENtactique">Tactique défenseur :</label><input class="text" maxlength="2" type="text" id="ENtactique" name="ENtactique" /><br />
</fieldset>
<fieldset class="options">
<label for="ATarme">{$technolo.2} attaquant :</label><input class="text" maxlength="2" type="text" id="ATarme" name="ATarme" /><br />
<label for="ENarme">{$technolo.2} défenseur :</label><input class="text" maxlength="2" type="text" id="ENarme" name="ENarme" /><br />
<label for="ATblind">{$technolo.3} attaquant :</label><input class="text" maxlength="2" type="text" id="ATblind" name="ATblind" /><br />
<label for="ENblind">{$technolo.3} défenseur :</label><input class="text" maxlength="2" type="text" id="ENblind" name="ENblind" /><br />
</fieldset>
<fieldset class="options">
<label for="ENmetal">{$nomressourc.0} sur la planète attaquée :</label><input class="text" maxlength="4" type="text" id="ENmetal" name="ENmetal" /><br />
<label for="ENcristal">{$nomressourc.1} sur la planète attaquée :</label><input class="text" maxlength="4" type="text" id="ENcristal" name="ENcristal" /><br />
<label for="ENhydrogene">{$nomressourc.2} sur la planète attaquée :</label><input class="text" maxlength="4" type="text" id="ENhydrogene" name="ENhydrogene" /><br />
</fieldset>
<input class="submit" type="submit" value="GO" />
</form>
{include file='game/footer.tpl'}

View file

@ -0,0 +1,8 @@
{include file='game/header.tpl'}
<h2>Mises à jour</h2>
<table><thead><tr><th>Versions</th><th>Détails</th></tr></thead><tbody>
{foreach from=$versions item=version}
<tr><td>{$version.numero}<br />{$version.date}</td><td>{$version.description}</td></tr>
{/foreach}
</tbody></table>
{include file='game/footer.tpl'}

4
templates/game/vide.tpl Normal file
View file

@ -0,0 +1,4 @@
{include file='game/header.tpl'}
<h2>{if $titreP}{$titreP}{else}{$titre}{/if}</h2>
{$contenu}
{include file='game/footer.tpl'}

4
templates/game/vp.tpl Normal file
View file

@ -0,0 +1,4 @@
{include file='game/header.tpl'}
<div class="error">... veuillez patienter ...</div>
{$contenu}
{include file='game/footer.tpl'}