Version 1.12

This commit is contained in:
nemunaire 2009-11-01 12:00:00 +01:00
commit de31cd3e9a
1373 changed files with 156282 additions and 45238 deletions

View file

@ -4,7 +4,7 @@
{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>
<td>{$ligne|truncate:82}</td>
</tr>
{/foreach}
</table>

View file

@ -1,21 +0,0 @@
{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'}

View file

@ -1,14 +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 />
{$LANG.foot_realise} Anomaly Concepts<br />
{$LANG.foot_design} <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>
<a href="{$link.accueil}">{$LANG.foot_menu_Accueil}</a> | <a href="{$link.inscription}">{$LANG.foot_menu_Inscrire}</a> | <a href="{$link.forum}">{$LANG.foot_menu_Forum}</a> | <a href="{$link.staff}">{$LANG.foot_menu_Staff}</a> | <a href="{$link.faq}">{$LANG.foot_menu_Faq}</a>
</div>
</div>
<div id="cornerbt"></div>
{$script}
<!-- \\******* By Phantom *******// Halo-Battle, Tous droits réservés -->
</body>
</html>
</html>

View file

@ -4,25 +4,25 @@
<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>
<script src="{$url_images}js/game.js" type="text/javascript"></script>
</head>
<body onload="first({$nbinfos});">
<body>
<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>
<div id="header_link"><span id="date">{$date}</span> | <a href="{$link.lastNews}">{$lastNews}</a> | <a href="{$link.lastTopic}">{$lastTopic}</a> | <a href="{$link.lastUser}">{$lastUser}</a> | <a href="{$link.lastDownload}">{$lastDownload}</a> | <a href="{$link.lastLink}">{$lastLink}</a></div><a href="{$link.RSS}" id="rss">{$LANG.hd_menu_rss}</a>
<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 id="buttons"><div><a href="{$link.accueil}">{$LANG.hd_menu_Accueil}</a></div> <div><a href="{$link.jeu}">{$LANG.hd_menu_Jeu}</a></div> <div><a href="{$link.inscription}">{$LANG.hd_menu_Inscrire}</a></div> <div><a href="{$link.forum}">{$LANG.hd_menu_Forum}</a></div> <div><a href="{$link.blog}">{$LANG.hd_menu_Blog}</a></div> <div><a href="http://www.halo.fr/">{$LANG.hd_menu_Hfr}</a></div></div>
<form action="#" method="post"><fieldset id="recherche"><input class="text" type="text" name="recherche" value="{$LANG.hd_menu_search}" maxlength="128" tabindex="10" onfocus="this.value = this.value!='{$LANG.hd_menu_search}'?this.value:''" onblur="this.value=this.value==''?'{$LANG.hd_menu_search}':this.value" /><input value="OK" class="submit" type="submit" tabindex="11" /><br /><a href="#" tabindex="12">{$LANG.hd_menu_advSearch}</a></fieldset></form>
</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">
{foreach from=$header.infos item=info}
<div class="bannerleft"{if $info.color} style="color: {$info.color};"{/if}>{$info.texte}</div>
{/foreach}
<span id="bannerright">{$LANG.cntRaces|sprintf:$header.count.1:$header.count.0}</span></div>
<div id="corps">

View file

@ -4,5 +4,5 @@
<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'}
<div id="inscription" class="block">{$LANG.mod_inscription_texte|sprintf:$link.inscription:$link.inscription:$link.inscription}</div>
{include file='cms/footer.tpl'}

View file

@ -1,6 +1,6 @@
{include file='cms/header.tpl'}
<div id="connexion" class="block">
<div class="header">Connexion</div>
<div class="header">{$LANG.mod_login_titre}</div>
<div class="corps">
<form action="?p=connexion" method="post">
<fieldset>
@ -10,21 +10,21 @@
<input type="submit" class="submit" value="GO" tabindex="3" />
</span>
<span>
<label for="galaxie">Galaxie :</label>
<label for="galaxie">{$LANG.mod_login_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>
<a href="{$link.oubliemdp}" tabindex="4">{$LANG.mod_login_forgotMdp}</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="inscription" class="block">{$LANG.mod_inscription_texte|sprintf:$link.inscription:$link.inscription:$link.inscription}</div>
<div id="dernierminute" class="block">
<a href="http://www.halo.fr/" onclick="window.open(this.href); return false;"><img src="images/hfr.jpg" alt="Halo.fr" /></a>
</div>
{include file='cms/footer.tpl'}
{include file='cms/footer.tpl'}

View file

@ -1,47 +0,0 @@
{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

@ -14,13 +14,54 @@
{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>{$planete->pseudo}</span>)</h3>
<img src="images/planetes/{$planete->image}.jpg" width="200" height="200" alt="Planète" />
<img src="{$url_images}images/planetes/{$planete->image}.jpg" width="200" height="200" alt="Planète" />
<h2>Infos</h2>
<h4>Diamètre: {$diametre} km <ins>({$planete->casesRest} cases disponibles sur {$planete->cases})</ins></h4>
{if SURFACE == "planete"}<h4>Diamètre: {$diametre} km <ins>({$planete->casesRest} cases disponibles sur {$planete->cases})</ins></h4>{/if}
<h4>Race : {$planete->race}</h4>
<h4>position: <a href="?p=carte&amp;galaxie={$planete->galaxie}&amp;ss={$planete->ss}">{$planete->galaxie}.{$planete->ss}.{$planete->position}</a></h4>
{if SURFACE == "planete"}
<h4>population: {$planete->population|separerNombres}</h4>
<h4>crédits: {$planete->credits|separerNombres}</h4>
{/if}
<h4>Classement: <a href="?p=classement&amp;j={$planete->id}&amp;c={$planete->place_points}#moi">{if $planete->place_points == '0'}non classé{else}{$planete->place_points}{if $planete->place_points == '1'}er{else}ème{/if}{/if} ({$points} points)</a></h4>
{if $alliance}<h4>Alliance: <a href="?p=alliances">[{$alliance.tag|upper}] {$alliance.nom}</a></h4>{/if}
{if SURFACE == "planete"}
<h2>En cours sur la planète</h2>
{if $planete->file_bat|@count > 1}
<h4>
{foreach from=$planete->file_bat item=file key=key}
{if $key != 0}
{if $key != 1} - {else}<a href="{$menu.batiments}">Bâtiments</a> : {/if}{$file.0|nom:"batiment"}{if $file.1 < 0} (démolition){/if}
{/if}
{/foreach}
</h4>
{/if}
{if $planete->file_cas|@count > 1}
<h4>
{foreach from=$planete->file_cas item=file key=key}
{if $key != 0}
{if $key != 1} - {else}<a href="{$menu.caserne}">{if $race == "covenant"}Caserne{else}Ecole militaire{/if}</a> : {/if}{$file.1} {$file.0|nom:"casernea"}
{/if}
{/foreach}
</h4>
{/if}
{if $planete->file_vais|@count > 1}
<h4>
{foreach from=$planete->file_vais item=file key=key}
{if $key != 0}
{if $key != 1} - {else}<a href="{$menu.chantierspatial}">Chantier spatial</a> : {/if}{$file.1} {$file.0|nom:"nomvaisa"}
{/if}
{/foreach}
</h4>
{/if}
{if $planete->file_ter|@count > 1}
<h4>
{foreach from=$planete->file_ter item=file key=key}
{if $key != 0}
{if $key != 1} - {else}<a href="{$menu.chantierterrestre}">Chantier terrestre</a> : {/if}{$file.1} {$file.0|nom:"nomterra"}
{/if}
{/foreach}
</h4>
{/if}
{/if}
{include file='game/footer.tpl'}

View file

@ -3,7 +3,7 @@
<table cellpadding="2" cellspacing="0" style="text-align: center; width: 100%;">
<tbody>
<tr>
<td colspan="2"><img src="{$alliance.image}" /></td>
<td colspan="2"><img src="{$url_images}{$alliance.image}" /></td>
</tr>
<tr>
<td style="text-align: right; vertical-align: middle;"><strong>Nom : </strong></td>

View file

@ -18,7 +18,7 @@
<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}" />
<img width="130" height="132" src="{$url_images}images/batiments/{$batiment.image}" alt="{$batiment.nom}" />
<span>{$batiment.description}</span>
</a>
</td>
@ -42,7 +42,7 @@
{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}{if $batiment.niveau > 0} <a href="{$menu.batiments}&amp;d={$batiment.num}">Démolir un</a>{/if}
{else}{if $planete->casesRest > 1}<a href="{$menu.batiments}&amp;c={$batiment.num}">Construire</a>{/if}{/if}{if $batiment.niveau > 0} <a href="{$menu.batiments}&amp;d={$batiment.num}">Démolir un niveau</a>{/if}
</div>
</td>
</tr>

View file

@ -0,0 +1,40 @@
{include file='game/header.tpl'}
<h2>Bourse des ressources</h2>
<h3>Les prix sont donnés en milliers de crédits</h3>
{foreach from=$bourse item=action}
<div style="float: left;">
<table>
<tr>
<td colspan="3"><a href="{$menu.marche}&amp;d={$action.id}"><img src="bourser.php?a={$action.id}&amp;r={$planete->race}" alt="{$nomsressources[$action.id]}" /></a></td>
</tr>
<tr>
<th>{$nomsressources[$action.id]}</th>
<td>{$action.dispo|separerNombres}</td>
<th>Prix</th>
</tr>
<tr>
<td colspan="2">
<form action="{$menu.marche}&amp;a={$action.id}" method="post">
<fieldset>
Acheter : <input type="text" class="text" name="a{$action.id}" maxlength="8" value="0" />
<input type="submit" class="submit" value="OK" />
</fieldset>
</form>
</td>
<td>{$action.prixA|separerNombres}</td>
</tr>
<tr>
<td colspan="2">
<form action="{$menu.marche}&amp;v={$action.id}" method="post">
<fieldset>
Vendre : <input type="text" class="text" name="a{$action.id}" maxlength="8" value="0" />
<input type="submit" class="submit" value="OK" />
</fieldset>
</form>
</td>
<td>{$action.prixV|separerNombres}</td>
</tr>
</table>
</div>
{/foreach}
{include file='game/footer.tpl'}

View file

@ -2,7 +2,6 @@
<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>
<h3>NOUS SOMMES EN ATTENTE DES IMAGES, CE N'EST PAS UN BUG DE NE PAS VOIR LES IMAGES DE POLITIQUE OU DE FACTION.</h3>
<table class="systeme">
<thead>
<tr>
@ -22,10 +21,10 @@
{foreach from=$carte item=plan}
<tr>
<td>{$plan.0}</td>
<td style="width: 45px;">{if $plan.7}<img src="images/planetes/{$plan.7}.jpg" width="45" alt="{$plan.1|escape}" />{else}&nbsp;{/if}</td>
<td style="width: 45px;">{if $plan.7}<img src="{$url_images}images/planetes/{$plan.7}.jpg" width="45" alt="{$plan.1|escape}" />{else}&nbsp;{/if}</td>
<td>{if $plan.1}{$plan.1|escape}<br />{if $plan.6}[{$plan.6}]<br />{/if}{$plan.5}{else}&nbsp;{/if}</td>
<td style="width: 45px;">{if $plan.4}<img src="images/carte/{$plan.4}.jpg" width="45" alt="{$plan.4}" />{else}&nbsp;{/if}</td>
<td style="width: 45px;">{if $plan.4}<img src="images/carte/{$plan.6}.jpg" width="45" alt="{$plan.6}" />{else}&nbsp;{/if}</td>
<td style="width: 45px;">{if $plan.4}<img src="{$url_images}images/carte/{$plan.4}.jpg" width="45" alt="{$plan.4}" />{else}&nbsp;{/if}</td>
<td style="width: 45px;">{if $plan.4}<img src="{$url_images}images/carte/{$plan.6}.jpg" width="45" alt="{$plan.6}" />{else}&nbsp;{/if}</td>
<td>{if $plan.2}{$plan.2}{else}0{/if} | {if $plan.3}{$plan.3}{else}0{/if}</td>
<td>{if $plan.5}<a href="?p=envoyer&amp;d={$plan.5}" class="msg"><span>Message</span></a>{else}&nbsp;{/if}</td>
</tr>

View file

@ -17,7 +17,7 @@
<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" />
<img width="130" height="132" src="{$url_images}images/caserne/{$unite.image}" alt="Unit&eacute; terrestre" />
<span>{$unite.description}</span>
</a>
</td>

View file

@ -17,7 +17,7 @@
<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" />
<img width="130" height="132" src="{$url_images}images/vaisseaux/{$vaisseau.image}" alt="Vaisseaux" />
<span>{$vaisseau.description}</span>
</a>
</td>

View file

@ -17,7 +17,7 @@
<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" />
<img width="130" height="132" src="{$url_images}images/terrestre/{$unite.image}" alt="Unit&eacute; terrestre" />
<span>{$unite.description}</span>
</a>
</td>

View file

@ -17,7 +17,7 @@
<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" />
<img width="130" height="132" src="{$url_images}images/terrestre/{$unite.image}" alt="Unit&eacute; terrestre" />
<span>{$unite.description}</span>
</a>
</td>

View file

@ -3,7 +3,7 @@
<table style="width: 400px;">
<tbody>
<tr>
<td style="width: 120px;"><img src="images/{$type}/{$image}" alt="" /></td>
<td style="width: 120px;"><img src="{$url_images}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>

View file

@ -3,7 +3,7 @@
<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="fav_dest">Destination rapide :</label><select name="destin" id="fav_dest"><option value="0">--</option><optgroup label="Colonies">{html_options options=$favorisColonies}</optgroup><optgroup label="Favoris">{html_options options=$favoris}</optgroup><option value="edit">Modifier la liste</option></select><br />
<label for="amas">Destination :</label><span id="destination"><input class="dest" type="text" id="amas" name="amas" maxlength="2" />:<input class="dest" type="text" id="ss" name="ss" maxlength="2" />:<input class="dest" type="text" id="plan" name="pos" maxlength="2" /></span><br />
<label for="vitesse">Vitesse :</label><select name="vitesse" id="vitesse"><option value="100">100%</option><option value="75">75%</option><option value="50">50%</option><option value="25">25%</option></select><br />
<br /><div id="aide1">Pour vous repérer plus facilement entre vos différentes flottes, donnez-lui un nom.</div>

View file

@ -10,6 +10,5 @@
</div>
<div id="cornerbt"></div>
{$script}
<!-- \\******* By Phantom *******// Halo-Battle, Tous droits réservés -->
</body>
</html>
</html>

View file

@ -5,7 +5,7 @@
<label for="politique">Politique actuelle :</label>
<select name="politique" id="politique">{html_options options=$politiques selected=$planete->politique}</select><br /><br />
<label>Dernier changement de régime :</label>{$planete->politique_lastchange|date_format:"%A %d %B %y"}<br /><br />
<label>Moral global de la population :</label>{$planete->moral*100}%<br /><br /><br />
<label>Moral global de la population :</label><acronym title="">{$planete->moral*100}%</acronym><br /><br /><br />
<input class="submit" type="submit" value="Ok" />
</fieldset>
</form>
@ -16,7 +16,7 @@
<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>
<td><img src="{$url_images}images/planetes/{$plan.image}.jpg" alt="{$plan.image}" title="{$plan.nom_planete}" width="80" height="80" /></td>
{/foreach}
</tr>
<tr>
@ -60,6 +60,12 @@
{foreach from=$planetes item=plan}
{if $plan.id == $planeteEC.id}{assign var='plan' value=$planeteEC}{/if}
<td>{$plan.population|separerNombres}</td>
{/foreach}
</tr>
<tr>
<td class="hightlight">Moral</td>
{foreach from=$planetes item=plan}
<td>{$plan.moral*100|separerNombres}%</td>
{/foreach}
</tr>
</tbody>

View file

@ -11,29 +11,29 @@
<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}
{if $race == "covenant"}<link rel="stylesheet" href="{$url_images}templates/covenants.css" type="text/css" media="all" title="Covenants" />{elseif $auth_level >= 3}<link rel="alternate stylesheet" href="templates/covenants.css" type="text/css" media="all" title="Covenants" />{/if}
{if $race == "humain"}<link rel="stylesheet" href="{$url_images}templates/csnu.css" type="text/css" media="all" title="CSNU" />{elseif $auth_level >= 3}<link rel="alternate stylesheet" href="templates/csnu.css" type="text/css" media="all" title="CSNU" />{/if}
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<script src="js/fonctions.js" type="text/javascript"></script>
<script src="js/infos.js" type="text/javascript"></script>
<script src="{$url_images}js/game.js" type="text/javascript"></script>
{$scripth}
</head>
<body onload="first({$nbinfos});">
<body>
<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 $messdem} | <a href="?p=demarrage">{$messdem.titre}</a>{/if}{if $planete->mv < 0} | <a href="?p=accueil" style="color: #FF0000;">Votre compte sera supprimé d'ici 48h</a>{/if}</div><a href="{$link.RSS}" id="rss">RSS :: s'abonner</a>
<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>
{if $page == "admin"} <div id="buttons"><div><a href="./">RETOUR AU JEU</a></div> <div><a href="{$menua.webmail}">WEBMAIL</a></div> <div><a href="{$menua.controle}">CONTROLE JOU.</a></div> <div><a href="{$menua.vjoueurs}">VERIFIER JOUEUR</a></div> <div><a href="{$menua.vplanetes}">VERIFIER PLANETE</a></div> <div><a href="./{$link.operateur}">OPERATEUR !</a></div></div>
{else} <div id="buttons"><div><a href="{$link.accueil}">ACCUEIL</a></div> <div><a href="{$link.blog}">BLOG</a></div> <div><a href="{$link.forum}">FORUM</a></div> <div><a href="{$menu.chat}">CHAT</a></div> <div>{if $auth_level >= 4}<a href="admin.php">CONTROLES</a>{else}<a href="{$menu.faq}">F.A.Q.</a>{/if}</div> <div><a href="{$link.operateur}">OPERATEUR !</a></div></div>{/if}
<form action="#" method="post"><fieldset id="recherche"><input class="text" type="text" name="recherche" value="rechercher..." onfocus="this.value = this.value!='rechercher...'?this.value:''" onblur="this.value=this.value==''?'rechercher...':this.value" /><input value="OK" class="submit" type="submit" /><br /><a href="#">Recherche Avancée</a></fieldset></form>
</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 id="banner">
{foreach from=$infos item=info}
<div class="bannerleft"{if $info.color} style="color: {$info.color};"{/if}>{$info.texte}</div>
{/foreach}
<div id="bannerright">{$count.humains} Marines et {$count.covenants} Covenants se battent dans <ins>{$count.serveurs} galaxie{if $count.serveurs>1}s{/if}</ins></div>
</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>
@ -63,12 +63,12 @@
<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>
{if $planetes.0.id == $planete->id}<a href="{$menu.laboratoire}"{if $page == "laboratoire"} class="hightlight"{/if}>Laboratoire</a>{/if}
<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.marche}"{if $page == "marche" || $page == "bourse_ressources" || $page == "bourseDetails"} class="hightlight"{/if}>March&eacute;</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>
@ -87,7 +87,7 @@
{if $page != "admin" && $page != "vide" && $page != "amis" && $page != "flotten" && $page != "messagerie" && $page != "envoyer" && $page != "bugs" && $page != "carte" && $page != "classement" && $page != "options" && $page != "simulation" && $page != "vp" && $page != "operateur" && $titre != "Alliance"}
<div id="corps_top">
<div class="border_top"></div>
<a href="?p=rename"><img src="images/planetes/{$planete->image}.jpg" width="70" height="70" alt="{$planete->nom_planete|escape}" /></a>
<a href="?p=rename"><img src="{$url_images}images/planetes/{$planete->image}.jpg" width="70" height="70" alt="{$planete->nom_planete|escape}" /></a>
<div>Bonjour, <span>{$planete->pseudo}.</span><br />Votre position actuelle:<br /><br /><form action="{$link.changeplanete}" method="post"><fieldset><select onchange="this.form.submit();" name="Cplanete"><optgroup label="Plan&egrave;tes">{foreach from=$planetes item=plan}<option {if $plan.id == $planete->id}selected="selected" {/if}value="{$plan.id}">{$plan.nom_planete|escape} [{$plan.galaxie}:{$plan.ss}:{$plan.position}]</option>{/foreach}</optgroup>{if $asteroide}<optgroup label="Astéroïdes"><option value="A{$asteroide.id}">{$asteroide.nom_asteroide|escape} [{$asteroide.galaxie}:{$asteroide.ss}:A]</option></optgroup>{/if}</select><noscript><div><br /><input class="submit" type="submit" value="GO" /></div></noscript></fieldset></form></div>
<div class="ressource"><span>{$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>
@ -96,6 +96,6 @@
<div class="border_bt"></div>
</div>
{/if}
{if $page != "admin" && $page != "operateur"}<div>{$pub}</div>{/if}
{if $page != "admin" && $page != "operateur"}<div id="pub">{$pub}</div>{/if}
<div id="corps">
<div class="border_top"></div>

View file

@ -19,7 +19,7 @@
<td>
{*}<a class="bulle" href="?p=description&amp;t={$recherche.num}#menu">{/*}
<a class="bulle" href="javascript:alert('Pas de description, arbre en cours de programmation');">
<img width="130" height="132" src="images/technologies/{$recherche.image}" alt="{$recherche.nom}" />
<img width="130" height="132" src="{$url_images}images/technologies/{$recherche.image}" alt="{$recherche.nom}" />
<span>{$recherche.description}</span>
</a>
</td>
@ -48,11 +48,11 @@
{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}&amp;f={$recherche.file}">Construire</a>
{else}<a href="{$menu.laboratoire}&amp;t={$recherche.num}&amp;f={$recherche.file}">Rechercher</a>
{/if}
</div>
</td>
</tr>
{/foreach}
</table>
{include file='game/footer.tpl'}
{include file='game/footer.tpl'}

View file

@ -21,7 +21,9 @@
<h2>Recevoir des notifications par mail</h2>
<form action="{$menu.options}&amp;chg=recmail" method="post">
<fieldset class="options">
<input type="checkbox" name="recmail" id="recmail" value="1" /> <label for="recmail">Recevoir des notifications par mail</label>
<input type="checkbox" name="recmail" id="recmail" value="1" class="text" /> <label for="recmail">Recevoir des notifications par mail</label>
<input type="checkbox" name="fileacc" id="fileacc" value="1" class="text" /> <label for="fileacc">Afficher les files d'attentes de la planète sur la page d'accueil</label>
<input type="checkbox" name="fileref" id="fileref" value="1" class="text" /> <label for="fileref">Rafraîchir automatiquement les pages à la fin de la construction/entra&icirc;nement</label>
</fieldset>
</form>
<h2>Mode vacances</h2>

View file

@ -1,5 +1,5 @@
{include file='game/header.tpl'}
<img src="images/planetes/{$planete->image}.jpg" width="200" height="200" alt="{$planete->nom_planete|escape}" />
<img src="{$url_images}images/planetes/{$planete->image}.jpg" width="200" height="200" alt="{$planete->nom_planete|escape}" />
<h2>Renommer la planète</h2>
<form action="?p=rename" method="post">
<fieldset class="options"><label for="planete">Renommer la planète: ({$planete->galaxie}:{$planete->ss}:{$planete->position}) :</label><input class="text" type="text" name="planete" maxlength="18" value="{$planete->nom_planete|escape}" id="planete" /><br /><br /><input class="submit" type="submit" value="OK" /></fieldset>

View file

@ -4,11 +4,11 @@
<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.0} {$nombat.0}</td><td><input type="text" name="coeff_metal" value="{$ressources_coef.0}" maxlength="3" size="3" />%</td><td>{$ressources_prod.0|separernombres}</td><td>0</td><td>0</td><td class="lack">-{$ressources_conso.0|separernombres}</td></tr>
{if $planete->batiments.1}<tr><td>{$planete->batiments.1} {$nombat.1}</td><td><input type="text" name="coeff_cristal" value="{$ressources_coef.1}" maxlength="3" size="3" />%</td><td>0</td><td>{$ressources_prod.1|separernombres}</td><td>0</td><td class="lack">-{$ressources_conso.1|separernombres}</td></tr>{/if}
{if $planete->batiments.2}<tr><td>{$planete->batiments.2} {$nombat.2}</td><td><input type="text" name="coeff_hydrogene" value="{$ressources_coef.2}" maxlength="3" size="3" />%</td><td>0</td><td>0</td><td>{$ressources_prod.2|separernombres}</td><td class="lack">-{$ressources_conso.2|separernombres}</td></tr>{/if}
<tr><td>{$planete->batiments.3} {$nombat.3}</td><td><input type="text" name="coeff_cs" value="{$ressources_coef.3}" maxlength="3" size="3" />%</td><td>0</td><td>0</td><td>0</td><td>{$ressources_prod.3|separernombres}</td></tr>
{if $planete->batiments.4}<tr><td>{$planete->batiments.4} {$nombat.4}</td><td><input type="text" name="coeff_ce" value="{$ressources_coef.4}" maxlength="3" size="3" />%</select></td><td>0</td><td>0</td><td class="lack">-{$ressources_conso.3|separernombres}</td><td>{$ressources_prod.4|separernombres}</td></tr>{/if}
<tr><td>{$planete->batiments.10} {$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>