forked from halo-battle/game
Version 1.2
This commit is contained in:
parent
c4a18d4281
commit
083eb365c5
73 changed files with 1165 additions and 361 deletions
|
|
@ -9,10 +9,10 @@
|
|||
<div class="header">Formulaire d'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" value="{$smarty.post.HB_pseudo}" />
|
||||
<br /><label for="mdp">Mot de passe :</label> <input class="text" name="HB_mdp" id="mdp" type="password" />
|
||||
<br /><label for="conf">Confirmation :</label> <input class="text" name="HB_conf" id="conf" type="password" />
|
||||
<br /><label for="mail">Adresse électronique :</label> <input class="text" name="HB_mail" id="mail" type="text" value="{$smarty.post.HB_mail}" />
|
||||
<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 é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>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<h4>Diamètre: {$diametre} km <ins>({$caseRest}/{$planete.cases} cases)</ins></h4>
|
||||
<h4>Race : {$user.race}</h4>
|
||||
<h4>position: <a href="?p=carte&galaxie={$planete.galaxie}&ss={$planete.ss}">{$planete.galaxie}.{$planete.ss}.{$planete.position}</a></h4>
|
||||
<h4>Classement: <a href="?p=classement&j={$user.id}">{$points} points ({$user.place_points}{if $user.place_points == '1'}er{else}ème{/if})</a></h4>
|
||||
<h4>Classement: <a href="?p=classement&j={$user.id}">{$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}
|
||||
<div class="border_bt"></div>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right; vertical-align: middle;"><strong>Nom : </strong></td>
|
||||
<td style="width: 70%;">{$alliance.nom} ({$alliance.tag})</td>
|
||||
<td style="width: 70%;">{$alliance.nom|escape} ({$alliance.tag|escape})</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Membres : </strong></td>
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Votre grade :</strong></td>
|
||||
<td>{if $access.fondateur}Fondateur{else}{$grade.nom}{/if}<br />{if $access.chat} <a href="{$menu.alliance}&q=adm_chat">Modérer le chat</a> |{/if} {if $access.membre} <a href="{$menu.alliance}&q=adm_membres">Gestion des membres</a> |{/if} {if $access.ecriture} <a href="{$menu.alliance}&q=adm_ecrits">Gestion des écritures</a> |{/if} {if $access.alliance} <a href="{$menu.alliance}&q=adm_alliance">Gestion de l'alliance</a> |{/if}</td>
|
||||
<td>{if $access.fondateur}Fondateur{else}{$grade.nom|escape}{/if}<br />{if $access.chat} <a href="{$menu.alliance}&q=adm_chat">Modérer le chat</a> |{/if} {if $access.membre} <a href="{$menu.alliance}&q=adm_membres">Gestion des membres</a> |{/if} {if $access.ecriture} <a href="{$menu.alliance}&q=adm_ecrits">Gestion des écritures</a> |{/if} {if $access.alliance} <a href="{$menu.alliance}&q=adm_alliance">Gestion de l'alliance</a> |{/if}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Status des inscriptions :</strong></td>
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
</tbody>
|
||||
</table>
|
||||
<h2>Présentation</h2>
|
||||
{$alliance.presentation|nl2br}
|
||||
{$alliance.presentation|escape|nl2br}
|
||||
<table style="width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
</tbody>
|
||||
</table>
|
||||
<h2>Texte interne</h2>
|
||||
{$alliance.texte_interne|nl2br}
|
||||
{$alliance.texte_interne|escape|nl2br}
|
||||
<h2>Chat</h2>
|
||||
<div style="height: 150px; overflow: auto; width: 99%;" id="chat">
|
||||
<table style="width: 100%; margin: 0px;">
|
||||
|
|
@ -54,7 +54,7 @@
|
|||
<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.emetteur}] <i>{$message.timestamp|date_format:"%d/%m/%y %H:%M:%S"|escape}</i></td>
|
||||
<td>{$message.message}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
<tr>
|
||||
<td>{$message.emetteur}</td>
|
||||
<td>{$message.timestamp|date_format:"%d/%m/%y %H:%M:%S"}</td>
|
||||
<td>{$message.message}</td>
|
||||
<td>{$message.message|escape}</td>
|
||||
<td><a href="{$menu.alliance}&q=adm_chat&i={$message.id}"><i>Supprimer</i></a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@
|
|||
<tbody>
|
||||
{foreach from=$grades item=grade}
|
||||
<tr>
|
||||
<td><a href="{$menu.alliance}&q=adm_grades&i={$grade.id}">{$grade.nom}</a></td>
|
||||
<td>{$grade.description|nl2br}</td>
|
||||
<td><a href="{$menu.alliance}&q=adm_grades&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>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@
|
|||
<tr>
|
||||
<th>Pseudo</th>
|
||||
<th>Race</th>
|
||||
<th>Dernière connexion </th>
|
||||
<th>Dernière connexion</th>
|
||||
<th>Points</th>
|
||||
<th>Grade</th>
|
||||
<th>Mp</th>
|
||||
</tr>
|
||||
|
|
@ -17,6 +18,7 @@
|
|||
<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.id_grade_alliance}</td>
|
||||
<td><a href="?p=envoyer&d={$membre.pseudo}" class="msg"><span>Message</span></a></td>
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{include file='game/header.tpl'}
|
||||
<div class="border_top"></div>
|
||||
<h2>Postuler pour l'alliance : {$alliance.nom}</h2>
|
||||
<form action="{$menu.alliance}&q=postuler&i=2" method="post">
|
||||
<form action="{$menu.alliance}&q=postuler&i={$menu.alliancei}" method="post">
|
||||
<table style="width: 100%;">
|
||||
<tr>
|
||||
<td>Message de motivation </td>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<tr><th>Batiments (niveau)</th><th>Technologies nécessaires (niveau actuel)</th></tr>
|
||||
</thead><tbody>
|
||||
{foreach from=$batiments item=batiment}
|
||||
<tr><td><a href="#">{$batiment.nom}</a> ({$batiment.niveau}) :</td><td>{$batiment.etat}</td></tr>
|
||||
<tr><td><a href="?p=description&b={$batiment.id}#menu">{$batiment.nom}</a> ({$batiment.niveau}) :</td><td>{$batiment.etat}</td></tr>
|
||||
{/foreach}
|
||||
</tbody></table></div>
|
||||
</div>
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
<tr><th>Technologies (niveau)</th><th>Technologies nécessaires (niveau actuel)</th></tr>
|
||||
</thead><tbody>
|
||||
{foreach from=$technologies item=technologie}
|
||||
<tr><td><a href="#">{$technologie.nom}</a> ({$technologie.niveau}) :</td><td>{$technologie.etat}</td></tr>
|
||||
<tr><td><a href="?p=description&t={$technologie.id}#menu">{$technologie.nom}</a> ({$technologie.niveau}) :</td><td>{$technologie.etat}</td></tr>
|
||||
{/foreach}
|
||||
</tbody></table></div>
|
||||
</div>
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
<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="#">{$unite.nom}</a> ({$unite.niveau}) :</td><td>{$unite.etat}</td></tr>
|
||||
<tr><td><a href="?p=description&d={$unite.id}#menu">{$unite.nom}</a> ({$unite.niveau}) :</td><td>{$unite.etat}</td></tr>
|
||||
{/foreach}
|
||||
</tbody></table></div>
|
||||
</div>
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
<tr><th>Vaisseaux</th><th>Technologies nécessaires (niveau actuel)</th></tr>
|
||||
</thead><tbody>
|
||||
{foreach from=$vaisseaux item=vaisseau}
|
||||
<tr><td><a href="#">{$vaisseau.nom}</a> ({$vaisseau.niveau}) :</td><td>{$vaisseau.etat}</td></tr>
|
||||
<tr><td><a href="?p=description&v={$vaisseau.id}#menu">{$vaisseau.nom}</a> ({$vaisseau.niveau}) :</td><td>{$vaisseau.etat}</td></tr>
|
||||
{/foreach}
|
||||
</tbody></table></div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
{foreach from=$batiments item=batiment}
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="#">
|
||||
<a class="bulle" href="?p=description&b={$batiment.num}#menu">
|
||||
<img width="130" height="132" src="images/batiments/{$batiment.image}" alt="{$batiment.nom}" />
|
||||
<span>{$batiment.description}</span>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<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}</dt><dd>{$bug.3}{if $auth_level > 2}<div style="text-align: right"><a href="{$menu.bugs}&a=del&i={$bug.4}"><i>Supprimer</i></a></div>{/if}</dd>
|
||||
<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}&a=del&i={$bug.4}"><i>Supprimer</i></a></div>{/if}</dd>
|
||||
</dl>
|
||||
{/foreach}
|
||||
<h2>Ajouter un bug</h2>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{include file='game/header.tpl'}
|
||||
<div class="border_top"></div>
|
||||
<h2>Navigation</h2>
|
||||
<form action="{$menu.carte}" method="get"><fieldset class="systeme"><label for="galaxie">Galaxie :</label><input type="hidden" value="carte" name="p" /><input class="text" type="text" value="{$position.0}" id="galaxie" name="galaxie" /><label for="systeme">Système solaire :</label><input class="text" type="text" value="{$position.1}" id="systeme" name="ss" /><div><a href="{$menu.carte}&galaxie={$position.4}&ss={$position.5}"><<<</a><input class="submit" type="submit" value="GO" /><a href="{$menu.carte}&galaxie={$position.2}&ss={$position.3}">>>></a></div></fieldset></form>
|
||||
<form action="{$menu.carte}" method="get"><fieldset class="systeme"><label for="galaxie">Amas :</label><input type="hidden" value="carte" name="p" /><input class="text" type="text" value="{$position.0}" id="galaxie" name="galaxie" /><label for="systeme">Système solaire :</label><input class="text" type="text" value="{$position.1}" id="systeme" name="ss" /><div><a href="{$menu.carte}&galaxie={$position.4}&ss={$position.5}"><<<</a><input class="submit" type="submit" value="GO" /><a href="{$menu.carte}&galaxie={$position.2}&ss={$position.3}">>>></a></div></fieldset></form>
|
||||
<h2>Système Solaire</h2>
|
||||
<table class="systeme">
|
||||
<thead>
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
{foreach from=$vaisseaux item=vaisseau}
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="#">
|
||||
<a class="bulle" href="?p=description&v={$vaisseau.num}#menu">
|
||||
<img width="130" height="132" src="images/vaisseaux/{$vaisseau.image}" alt="Vaisseaux" />
|
||||
<span>{$vaisseau.description}</span>
|
||||
</a>
|
||||
|
|
|
|||
53
includes/onyx/templates/templates/game/chantierterrestre.tpl
Normal file
53
includes/onyx/templates/templates/game/chantierterrestre.tpl
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{include file='game/header.tpl'}
|
||||
<div class="border_top"></div>
|
||||
<h2>File d'attente</h2>
|
||||
<div class="file">
|
||||
{foreach from=$file item=fterr key=key}
|
||||
{if $key==0}<span><strong>Prochaine unité </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.4},'reste{$key}', {if $key==0}true{else}false{/if});</script>
|
||||
- <a href="{$menu.chantierterrestre}&a={$fterr.0}">Annuler un</a> - <a href="{$menu.chantierterrestre}&a={$fterr.0}&n={$fterr.1}">Annuler tous</a></span>
|
||||
{/foreach}
|
||||
{if $Vchaine}<span>Aucune unité dans la file d'attente</span>{/if}
|
||||
<br />
|
||||
</div>
|
||||
<h3><a href="{$menu.arbre}&q=chantierterrestre">Arbre des technologies</a></h3><br />
|
||||
<h2>Chantier terrestre </h2>
|
||||
<table class="construction">
|
||||
{foreach from=$unite item=unite}
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="#">
|
||||
<img width="130" height="132" src="images/terrestre/{$unite.image}" alt="Unité terrestre" />
|
||||
<span>{$unite.description}</span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<strong>{$unite.nom}{if $unite.nombre > 0} ({$unite.nombre} unite{if $unite.nombre > 1}x{/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}&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>
|
||||
<div class="border_bt"></div>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
{foreach from=$defenses item=defense}
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="#">
|
||||
<a class="bulle" href="?p=description&d={$defense.num}#menu">
|
||||
<img width="130" height="132" src="images/terrestre/{$defense.image}" alt="Image" />
|
||||
<span>{$defense.description}</span>
|
||||
</a>
|
||||
|
|
|
|||
69
includes/onyx/templates/templates/game/description.tpl
Normal file
69
includes/onyx/templates/templates/game/description.tpl
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
{include file='game/header.tpl'}
|
||||
<div class="border_top"></div>
|
||||
<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'}niveau{/if} {$niveau}{if $type == 'vaisseaux' || $type == 'terrestre'} 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'}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>
|
||||
<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>
|
||||
<div class="border_bt"></div>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -8,12 +8,12 @@
|
|||
<tbody>
|
||||
{foreach from=$flottesEC item=flotteEC}
|
||||
<tr>
|
||||
<td><a href="{$menu.flotte}&n={$flotteEC.0}">{$flotteEC.1}</a></td>
|
||||
<td><a href="{$menu.flotte}&n={$flotteEC.0}">{$flotteEC.1|escape}</a></td>
|
||||
<td>{$flotteEC.2}</td>
|
||||
<td>{$flotteEC.3}</td>
|
||||
<td>{$flotteEC.4}</td>
|
||||
<td>{$flotteEC.4|escape}</td>
|
||||
<td>{$flotteEC.5}</td>
|
||||
<td>{$flotteEC.6}</td>
|
||||
<td>{$flotteEC.6|escape}</td>
|
||||
<td>{$flotteEC.7}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<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" /><br />
|
||||
<label for="nom">Nom de la flotte :</label><input class="text" type="text" id="nom" name="nomflotte" maxlength="24" /><br />
|
||||
<label for="amas">Destination :</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 />
|
||||
<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>
|
||||
|
|
|
|||
|
|
@ -1,21 +1,8 @@
|
|||
</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 />
|
||||
<!-- Site visité 514200 fois depuis sa création<br /> -->
|
||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||
<input type="hidden" name="cmd" value="_donations">
|
||||
<input type="hidden" name="business" value="admin@halo-battle.s-fr.com">
|
||||
<input type="hidden" name="item_name" value="Halo-Battle Dons">
|
||||
<input type="hidden" name="no_shipping" value="0">
|
||||
<input type="hidden" name="no_note" value="1">
|
||||
<input type="hidden" name="currency_code" value="EUR">
|
||||
<input type="hidden" name="tax" value="0">
|
||||
<input type="hidden" name="lc" value="FR">
|
||||
<input type="hidden" name="bn" value="PP-DonationsBF">
|
||||
<input type="image" src="https://www.paypal.com/fr_FR/FR/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - la solution de paiement en ligne la plus simple et la plus sécurisée !">
|
||||
<img alt="" border="0" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
|
||||
</form>
|
||||
Actuellement en ligne : {$enligne} joueurs<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>
|
||||
{$analyst}
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
<div id="menu"><div class="menu_head"></div>
|
||||
{if $page == "admin"} {if $pagea == "accueil"}<span>Accueil</span>{else}<a href="{$menua.accueil}">Accueil</a>{/if}<div class="space"></div>
|
||||
{if $pagea == "vip"}<span>Vérifier IP</span>{else}<a href="{$menua.vip}">Vérifier IP</a>{/if} {if $pagea == "vflottes"}<span>Vérifier flottes</span>{else}<a href="{$menua.vflottes}">Vérifier flottes</a>{/if} {if $pagea == "vplanetes"}<span>Vérifier planètes</span>{else}<a href="{$menua.vplanetes}">Vérifier planètes</a>{/if} {if $pagea == "vjoueurs"}<span>Vérifier joueurs</span>{else}<a href="{$menua.vjoueurs}">Vérifier joueurs</a>{/if} {if $pagea == "valliances"}<span>Vérifier alliances</span>{else}<a href="{$menua.valliances}">Vérifier alliances</a>{/if}<div class="space"></div>
|
||||
{if $pagea == "sancj"}<span>Sanctions joueur</span>{else}<a href="{$menua.sancj}">Sanctions joueur</a>{/if} {if $pagea == "sancp"}<span>Sanctions planète</span>{else}<a href="{$menua.sancp}">Sanctions planète</a>{/if} {if $pagea == "controle"}<span>Prendre le contrôle</span>{else}<a href="{$menua.controle}">Prendre le contrôle</a>{/if} {if $pagea == "sjoueurs"}<span>Supprimer joueurs</span>{else}<a href="{$menua.sjoueurs}">Supprimer joueurs</a>{/if}<div class="space"></div>
|
||||
{else} {if $page == "accueil"}<span>Accueil</span>{else}<a href="{$menu.accueil}">Accueil</a>{/if} {if $page == "batiments"}<span>Batiments</span>{else}<a href="{$menu.batiments}">Batiments</a>{/if} {if $page == "caserne"}<span>Caserne</span>{else}<a href="{$menu.caserne}">Caserne</a>{/if} {if $page == "chantierspatial"}<span>Chantier spatial</span>{else}<a href="{$menu.chantierspatial}">Chantier spatial</a>{/if} {if $page == "chantierterrestre"}<span>Chantier terrestre</span>{else}<a href="{$menu.chantierterrestre}">Chantier terrestre</a>{/if} {if $page == "defenses"}<span>Défenses</span>{else}<a href="{$menu.defenses}">Défenses</a>{/if} {if $page == "laboratoire"}<span>Laboratoire</span>{else}<a href="{$menu.laboratoire}">Laboratoire</a>{/if} {if $page == "arbre"}<span>Arbre technologique</span>{else}<a href="{$menu.arbre}">Arbre technologique</a>{/if}<div class="space"></div>
|
||||
{if $page == "ressources"}<span>Ressources</span>{else}<a href="{$menu.ressources}">Ressources</a>{/if} {if $page == "gestion" || $page == "rename"}<span>Gestion</span>{else}<a href="{$menu.gestion}">Gestion</a>{/if} {if $page == "flotte1" || $page == "flotte2"}<span>Flottes</span>{else}<a href="{$menu.flotte}">Flottes</a>{/if} {if $page == "armee"}<span>Armée</span>{else}<a href="{$menu.armee}">Armée</a>{/if} {if $page == "carte"}<span>Carte spatiale</span>{else}<a href="{$menu.carte}">Carte spatiale</a>{/if} {if $page == "options"}<span>Options</span>{else}<a href="{$menu.options}">Options</a>{/if}<div class="space"></div>
|
||||
{if $page == "messagerie" || $page == "envoyer"}<span>Messages et rapports</span>{else}<a href="{$menu.messages}">{if $alertMail}<b>Messages et rapports ({$alertMail})</b>{else}Messages et rapports{/if}</a>{/if} {if $page == "alliance"}<span>Alliance</span>{else}<a href="{$menu.alliance}">Alliance</a>{/if} {if $page == "classement"}<span>Classement</span>{else}<a href="{$menu.classement}">Classement</a>{/if} {if $page == "forums"}<span>Forums</span>{else}<a href="{$menu.forums}">Forums</a>{/if} {if $page == "bugs"}<span>Rapports de bug</span>{else}<a href="{$menu.bugs}">Rapports de bug</a>{/if} {if $page == "faq"}<span>F.A.Q.</span>{else}<a href="{$menu.faq}">F.A.Q.</a>{/if} <a href="{$menu.deconnexion}">Déconnexion</a><div class="space"></div>
|
||||
|
|
@ -41,7 +42,7 @@
|
|||
<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} [{$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>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 $alertes.4 == true}<span class="lack">{/if}{$alertes.3}{if $alertes.4}</span>{/if}</div>
|
||||
<div class="ressource"><span>{$nomsressources.2}</span><br />{if $alertes.2 == true}<span class="lack">{/if}{$planete.hydrogeneS}{if $alertes.2}</span>{/if}</div>
|
||||
<div class="ressource"><span>{$nomsressources.1}</span><br />{if $alertes.1 == true}<span class="lack">{/if}{$planete.cristalS}{if $alertes.1}</span>{/if}</div>
|
||||
|
|
@ -49,5 +50,5 @@
|
|||
<div class="border_bt"></div>
|
||||
</div>
|
||||
{/if}
|
||||
<div>{$pub}</div>
|
||||
{if $page != "admin"}<div>{$pub}</div>{/if}
|
||||
<div id="corps">
|
||||
|
|
@ -13,12 +13,12 @@
|
|||
<br />
|
||||
</div>
|
||||
<h3><a href="{$menu.arbre}&q=technologies">Arbre des technologies</a></h3><br />
|
||||
<h2>Batiments</h2>
|
||||
<h2>Laboratoire</h2>
|
||||
<table class="construction">
|
||||
{foreach from=$recherches item=recherche}
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="#">
|
||||
<a class="bulle" href="?p=description&t={$recherche.num}#menu">
|
||||
<img width="130" height="132" src="images/technologies/{$recherche.image}" alt="{$recherche.nom}" />
|
||||
<span>{$recherche.description}</span>
|
||||
</a>
|
||||
|
|
@ -39,7 +39,8 @@
|
|||
{else}Coût {$nomsressources.2|lower} : {$recherche.nec_hydrogeneS}<br />{/if}
|
||||
{/if}
|
||||
Temps de recherche : {$recherche.temps}<br /><br />
|
||||
{if $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>
|
||||
{if $recherche.enfile}<a href="{$menu.laboratoire}&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}&t={$recherche.num}">Construire</a>
|
||||
|
|
@ -48,9 +49,6 @@
|
|||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<!--<tr><td><a class="bulle" href="#"><img width="130" height="132" src="images/metal.png" alt="métal" /><span>Cette usine traite tous les métaux recueillis afin de produire du titanium-A ou différents types d'alliages de qualité pour vos différentes constructions planétaires ou spatiales. Chaque niveau augmente la production de métal.</span></a></td><td><div><strong>Usine de métal</strong><br /><br />Coût métal : 12000<br />Coût cristal : 12000<br />Coût hydrogène : 12000<br />Temps de construction restant : <em id="reste2"></em><script type="text/javascript">reste(250,'reste2');</script><br /><br /><a href="#">Arrêter</a></div></td></tr>
|
||||
<tr><td><a class="bulle" href="#"><img width="130" height="132" src="images/cristal.png" alt="cristal" /><span>L'usine de cristal filtre les déchets récoltés avec les cristaux. Une fois séparés du reste ils sont classés par qualité par une quantité d'appareils de haute technologie. Plus les cristaux sont purs plus ceux-ci peuvent être transformés en unités de stockage de données ou en conducteurs énergétiques de haute qualité. Plus ce bâtiment sera développé, plus vous pourrez traiter de cristaux rapidement.</span></a></td><td><div><strong>Usine de cristal</strong><br /><br />Coût métal : 12000<br />Coût cristal : 12000<br />Coût hydrogène : 12000<br />Temps de construction : 1 heure 12 minutes<br /><br /><a href="#">Construire</a></div></td></tr>
|
||||
<tr><td><a class="bulle" href="#"><img width="130" height="132" src="images/hydrogene.jpg" alt="hydrogène" /><span>Ce bâtiment use de l'eau pour la décomposer et en extraire l'hydrogène, la base de toutes vos productions énergétiques, pour ensuite l'acheminer dans des condensateurs ioniques afin de le rendre plus dense et par le fait même plus efficace. Chaque niveau augmente la production du synchronisateur.</span></a></td><td><div><strong>Usine d'hydrogène</strong><br /><br />Coût métal : 12000<br />Coût cristal : 12000<br /><span class="lack">Coût hydrogène : 12000</span><br />Temps de construction : 1 heure 12 minutes<br /><br /><span class="lack" title="manque 1000 de cristal">Ressources insuffisantes</span></div></td></tr>-->
|
||||
</table>
|
||||
<div class="border_bt"></div>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
{include file='game/header.tpl'}
|
||||
<div class="border_top"></div>
|
||||
<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}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,8 @@
|
|||
<h2>Changer d'adresse électronique</h2>
|
||||
<form action="{$menu.options}&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" /><br /><br />
|
||||
<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>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<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" value="{$planete.nom_planete}" id="planete" /><br /><br /><input class="submit" type="submit" value="OK" /></fieldset>
|
||||
<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&a={$abandonH}" onclick="return confirm('Êtes-vous sûr de vouloir abandonner cette planète ?');">cliquez sur ce lien</a>.<br /><br />
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
{if $planete.mine_h}<tr><td>{$planete.mine_h} {$nombat.2}</td><td><select name="coeff_hydrogene" class="coeff">{html_options values=$ressources_tab selected=$ressources_coef.2 output=$ressources_tab|cat:'%'}</select></td><td>0</td><td>0</td><td>{$ressources_prod.2}</td><td class="lack">-{$ressources_conso.2}</td></tr>{/if}
|
||||
<tr><td>{$planete.centrale_s} {$nombat.3}</td><td><select name="coeff_cs" class="coeff">{html_options values=$ressources_tab selected=$ressources_coef.3 output=$ressources_tab|cat:'%'}</select></td><td>0</td><td>0</td><td>0</td><td>{$ressources_prod.3}</td></tr>
|
||||
{if $planete.centrale_f}<tr><td>{$planete.centrale_f} {$nombat.4}</td><td><select name="coeff_ce" class="coeff">{html_options values=$ressources_tab selected=$ressources_coef.4 output=$ressources_tab|cat:'%'}</select></td><td>0</td><td>0</td><td class="lack">-{$ressources_conso.3}</td><td>{$ressources_prod.4}</td></tr>{/if}
|
||||
<tr><td>{$planete.silo} {$nombat.10}</td><td>-</td><td>{$ressources_silo.1}</td><td>{$ressources_silo.1}</td><td>{$ressources_silo.1}</td><td>0</td></tr>
|
||||
<tr><td><strong>Total</strong></td><td>-</td><td>{$ressources_prod.0}</td><td>{$ressources_prod.1}</td><td>{if $planete.mine_h}{$ressources_toto.0}{else}0{/if}</td><td{if $alertes.5 <= 0} class="lack"{/if}>{$alertes.5}</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,100 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-21 15:50:22
|
||||
compiled from game/chantierterrestre.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/chantierterrestre.tpl', 29, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<div class="border_top"></div>
|
||||
<h2>File d'attente</h2>
|
||||
<div class="file">
|
||||
<?php $_from = $this->_tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['fterr']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['key'] == 0): ?><span><strong>Prochaine unité </strong> : <em id="resten"></em>
|
||||
<script type="text/javascript">reste(<?php echo $this->_tpl_vars['fterr']['2']; ?>
|
||||
,'resten', true);</script></span><?php endif; ?>
|
||||
<span><?php echo $this->_tpl_vars['fterr']['1']; ?>
|
||||
<?php echo $this->_tpl_vars['fterr']['3']; ?>
|
||||
- <em id="reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['fterr']['4']; ?>
|
||||
,'reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
', <?php if ($this->_tpl_vars['key'] == 0): ?>true<?php else: ?>false<?php endif; ?>);</script>
|
||||
- <a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['fterr']['0']; ?>
|
||||
">Annuler un</a> - <a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['fterr']['0']; ?>
|
||||
&n=<?php echo $this->_tpl_vars['fterr']['1']; ?>
|
||||
">Annuler tous</a></span>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php if ($this->_tpl_vars['Vchaine']): ?><span>Aucune unité dans la file d'attente</span><?php endif; ?>
|
||||
<br />
|
||||
</div>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=chantierterrestre">Arbre des technologies</a></h3><br />
|
||||
<h2>Chantier terrestre </h2>
|
||||
<table class="construction">
|
||||
<?php $_from = $this->_tpl_vars['unite']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['unite']):
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="#">
|
||||
<img width="130" height="132" src="images/terrestre/<?php echo $this->_tpl_vars['unite']['image']; ?>
|
||||
" alt="Unité terrestre" />
|
||||
<span><?php echo $this->_tpl_vars['unite']['description']; ?>
|
||||
</span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<strong><?php echo $this->_tpl_vars['unite']['nom']; ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nombre'] > 0): ?> (<?php echo $this->_tpl_vars['unite']['nombre']; ?>
|
||||
unite<?php if ($this->_tpl_vars['unite']['nombre'] > 1): ?>x<?php endif; ?>)<?php endif; ?></strong><br /><br />
|
||||
<?php if ($this->_tpl_vars['unite']['nec_metal'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_metal'] > $this->_tpl_vars['planete']['metal']): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
: <?php echo $this->_tpl_vars['unite']['nec_metalS']; ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
: <?php echo $this->_tpl_vars['unite']['nec_metalS']; ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_cristal'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_cristal'] > $this->_tpl_vars['planete']['cristal']): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
: <?php echo $this->_tpl_vars['unite']['nec_cristalS']; ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
: <?php echo $this->_tpl_vars['unite']['nec_cristalS']; ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_hydrogene'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['unite']['nec_hydrogene'] > $this->_tpl_vars['planete']['hydrogene']): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
: <?php echo $this->_tpl_vars['unite']['nec_hydrogeneS']; ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
: <?php echo $this->_tpl_vars['unite']['nec_hydrogeneS']; ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
Temps de construction : <?php echo $this->_tpl_vars['unite']['temps']; ?>
|
||||
<br /><br />
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['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>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</table>
|
||||
<div class="border_bt"></div>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -0,0 +1,94 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-23 02:23:49
|
||||
compiled from game/description.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<div class="border_top"></div>
|
||||
<h2>Détails <?php echo $this->_tpl_vars['type']; ?>
|
||||
: <?php echo $this->_tpl_vars['nom']; ?>
|
||||
</h2>
|
||||
<table style="width: 400px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 120px;"><img src="images/<?php echo $this->_tpl_vars['type']; ?>
|
||||
/<?php echo $this->_tpl_vars['image']; ?>
|
||||
" alt="" /></td>
|
||||
<td><b><?php echo $this->_tpl_vars['nom']; ?>
|
||||
</b><br />Actuellement : <?php if ($this->_tpl_vars['type'] != 'vaisseaux' && $this->_tpl_vars['type'] != 'terrestre'): ?>niveau<?php endif; ?> <?php echo $this->_tpl_vars['niveau']; ?>
|
||||
<?php if ($this->_tpl_vars['type'] == 'vaisseaux' || $this->_tpl_vars['type'] == 'terrestre'): ?> unités<?php endif; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><?php echo $this->_tpl_vars['description']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table style="margin: auto; width: 100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2">Coûts <?php if ($this->_tpl_vars['type'] == 'vaisseaux' || $this->_tpl_vars['type'] == 'terrestre'): ?>unité<?php else: ?>prochain niveau<?php endif; ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php if ($this->_tpl_vars['ressourcesNext']['0']): ?>
|
||||
<tr>
|
||||
<th><?php echo $this->_tpl_vars['nomsressources']['0']; ?>
|
||||
</th>
|
||||
<td><?php echo $this->_tpl_vars['ressourcesNext']['0']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['ressourcesNext']['1']): ?>
|
||||
<tr>
|
||||
<th><?php echo $this->_tpl_vars['nomsressources']['1']; ?>
|
||||
</th>
|
||||
<td><?php echo $this->_tpl_vars['ressourcesNext']['1']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['ressourcesNext']['2']): ?>
|
||||
<tr>
|
||||
<th><?php echo $this->_tpl_vars['nomsressources']['2']; ?>
|
||||
</th>
|
||||
<td><?php echo $this->_tpl_vars['ressourcesNext']['2']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<tr>
|
||||
<th>Temps</th>
|
||||
<td><?php echo $this->_tpl_vars['ressourcesNext']['3']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table style="margin: auto; width: 100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Requiert</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><?php echo $this->_tpl_vars['etat']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<div class="border_bt"></div>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 12:27:08
|
||||
<?php /* Smarty version 2.6.19, created on 2008-05-23 02:24:53
|
||||
compiled from game/arbre.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
|
|
@ -16,7 +16,8 @@ unset($_smarty_tpl_vars);
|
|||
<?php $_from = $this->_tpl_vars['batiments']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['batiment']):
|
||||
?>
|
||||
<tr><td><a href="#"><?php echo $this->_tpl_vars['batiment']['nom']; ?>
|
||||
<tr><td><a href="?p=description&b=<?php echo $this->_tpl_vars['batiment']['id']; ?>
|
||||
#menu"><?php echo $this->_tpl_vars['batiment']['nom']; ?>
|
||||
</a> (<?php echo $this->_tpl_vars['batiment']['niveau']; ?>
|
||||
) :</td><td><?php echo $this->_tpl_vars['batiment']['etat']; ?>
|
||||
</td></tr>
|
||||
|
|
@ -32,7 +33,8 @@ unset($_smarty_tpl_vars);
|
|||
<?php $_from = $this->_tpl_vars['technologies']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['technologie']):
|
||||
?>
|
||||
<tr><td><a href="#"><?php echo $this->_tpl_vars['technologie']['nom']; ?>
|
||||
<tr><td><a href="?p=description&t=<?php echo $this->_tpl_vars['technologie']['id']; ?>
|
||||
#menu"><?php echo $this->_tpl_vars['technologie']['nom']; ?>
|
||||
</a> (<?php echo $this->_tpl_vars['technologie']['niveau']; ?>
|
||||
) :</td><td><?php echo $this->_tpl_vars['technologie']['etat']; ?>
|
||||
</td></tr>
|
||||
|
|
@ -48,7 +50,8 @@ unset($_smarty_tpl_vars);
|
|||
<?php $_from = $this->_tpl_vars['unites']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['unite']):
|
||||
?>
|
||||
<tr><td><a href="#"><?php echo $this->_tpl_vars['unite']['nom']; ?>
|
||||
<tr><td><a href="?p=description&d=<?php echo $this->_tpl_vars['unite']['id']; ?>
|
||||
#menu"><?php echo $this->_tpl_vars['unite']['nom']; ?>
|
||||
</a> (<?php echo $this->_tpl_vars['unite']['niveau']; ?>
|
||||
) :</td><td><?php echo $this->_tpl_vars['unite']['etat']; ?>
|
||||
</td></tr>
|
||||
|
|
@ -64,7 +67,8 @@ unset($_smarty_tpl_vars);
|
|||
<?php $_from = $this->_tpl_vars['vaisseaux']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['vaisseau']):
|
||||
?>
|
||||
<tr><td><a href="#"><?php echo $this->_tpl_vars['vaisseau']['nom']; ?>
|
||||
<tr><td><a href="?p=description&v=<?php echo $this->_tpl_vars['vaisseau']['id']; ?>
|
||||
#menu"><?php echo $this->_tpl_vars['vaisseau']['nom']; ?>
|
||||
</a> (<?php echo $this->_tpl_vars['vaisseau']['niveau']; ?>
|
||||
) :</td><td><?php echo $this->_tpl_vars['vaisseau']['etat']; ?>
|
||||
</td></tr>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,115 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-23 02:28:15
|
||||
compiled from game/laboratoire.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/laboratoire.tpl', 30, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<div class="border_top"></div>
|
||||
<h2>File d'attente</h2>
|
||||
<div class="file">
|
||||
<?php $_from = $this->_tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['flab']):
|
||||
?>
|
||||
<span><?php echo $this->_tpl_vars['flab']['3']; ?>
|
||||
- <em id="reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['flab']['2']; ?>
|
||||
,'reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
', <?php if ($this->_tpl_vars['key'] == 0): ?>true<?php else: ?>false<?php endif; ?>);</script> - <a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['flab']['0']; ?>
|
||||
">Annuler</a></span>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php if ($this->_tpl_vars['Vchaine']): ?><span>Aucune recherche dans la file d'attente</span>
|
||||
<?php endif; ?>
|
||||
<br />
|
||||
</div>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=technologies">Arbre des technologies</a></h3><br />
|
||||
<h2>Laboratoire</h2>
|
||||
<table class="construction">
|
||||
<?php $_from = $this->_tpl_vars['recherches']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['recherche']):
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="?p=description&t=<?php echo $this->_tpl_vars['recherche']['num']; ?>
|
||||
#menu">
|
||||
<img width="130" height="132" src="images/technologies/<?php echo $this->_tpl_vars['recherche']['image']; ?>
|
||||
" alt="<?php echo $this->_tpl_vars['recherche']['nom']; ?>
|
||||
" />
|
||||
<span><?php echo $this->_tpl_vars['recherche']['description']; ?>
|
||||
</span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<strong><?php echo $this->_tpl_vars['recherche']['nom']; ?>
|
||||
<?php if ($this->_tpl_vars['recherche']['niveau'] > 0): ?> (Niveau <?php echo $this->_tpl_vars['recherche']['niveau']; ?>
|
||||
)<?php endif; ?></strong><br /><br />
|
||||
<?php if ($this->_tpl_vars['recherche']['nec_metal'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['recherche']['nec_metal'] > $this->_tpl_vars['planete']['metal']): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
: <?php echo $this->_tpl_vars['recherche']['nec_metalS']; ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
: <?php echo $this->_tpl_vars['recherche']['nec_metalS']; ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['recherche']['nec_cristal'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['recherche']['nec_cristal'] > $this->_tpl_vars['planete']['cristal']): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
: <?php echo $this->_tpl_vars['recherche']['nec_cristalS']; ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
: <?php echo $this->_tpl_vars['recherche']['nec_cristalS']; ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['recherche']['nec_hydrogene'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['recherche']['nec_hydrogene'] > $this->_tpl_vars['planete']['hydrogene']): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
: <?php echo $this->_tpl_vars['recherche']['nec_hydrogeneS']; ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
: <?php echo $this->_tpl_vars['recherche']['nec_hydrogeneS']; ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
Temps de recherche : <?php echo $this->_tpl_vars['recherche']['temps']; ?>
|
||||
<br /><br />
|
||||
<?php if ($this->_tpl_vars['recherche']['enfile']): ?><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['recherche']['num']; ?>
|
||||
">Arrêter</a>
|
||||
<?php elseif ($this->_tpl_vars['recherche']['nec_hydrogene'] > $this->_tpl_vars['planete']['hydrogene']): ?><span class="lack" title="manque <?php if ($this->_tpl_vars['recherche']['maq_metal'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_metal']; ?>
|
||||
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
; <?php endif; ?><?php if ($this->_tpl_vars['recherche']['maq_cristal'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_cristal']; ?>
|
||||
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
; <?php endif; ?><?php if ($this->_tpl_vars['recherche']['maq_hydrogene'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_hydrogene']; ?>
|
||||
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
<?php endif; ?>">Ressources insuffisantes</span>
|
||||
<?php elseif ($this->_tpl_vars['recherche']['nec_cristal'] > $this->_tpl_vars['planete']['cristal']): ?><span class="lack" title="manque <?php if ($this->_tpl_vars['recherche']['maq_metal'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_metal']; ?>
|
||||
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
; <?php endif; ?><?php if ($this->_tpl_vars['recherche']['maq_cristal'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_cristal']; ?>
|
||||
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
; <?php endif; ?><?php if ($this->_tpl_vars['recherche']['maq_hydrogene'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_hydrogene']; ?>
|
||||
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
<?php endif; ?>">Ressources insuffisantes</span>
|
||||
<?php elseif ($this->_tpl_vars['recherche']['nec_metal'] > $this->_tpl_vars['planete']['metal']): ?><span class="lack" title="manque <?php if ($this->_tpl_vars['recherche']['maq_metal'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_metal']; ?>
|
||||
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
; <?php endif; ?><?php if ($this->_tpl_vars['recherche']['maq_cristal'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_cristal']; ?>
|
||||
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
; <?php endif; ?><?php if ($this->_tpl_vars['recherche']['maq_hydrogene'] > 0): ?><?php echo $this->_tpl_vars['recherche']['maq_hydrogene']; ?>
|
||||
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
<?php endif; ?>">Ressources insuffisantes</span>
|
||||
<?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
&t=<?php echo $this->_tpl_vars['recherche']['num']; ?>
|
||||
">Construire</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</table>
|
||||
<div class="border_bt"></div>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -1,23 +1,10 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-19 19:19:52
|
||||
<?php /* Smarty version 2.6.19, created on 2008-05-20 22:08:13
|
||||
compiled from game/footer.tpl */ ?>
|
||||
</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 />
|
||||
<!-- Site visité 514200 fois depuis sa création<br /> -->
|
||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||
<input type="hidden" name="cmd" value="_donations">
|
||||
<input type="hidden" name="business" value="admin@halo-battle.s-fr.com">
|
||||
<input type="hidden" name="item_name" value="Halo-Battle Dons">
|
||||
<input type="hidden" name="no_shipping" value="0">
|
||||
<input type="hidden" name="no_note" value="1">
|
||||
<input type="hidden" name="currency_code" value="EUR">
|
||||
<input type="hidden" name="tax" value="0">
|
||||
<input type="hidden" name="lc" value="FR">
|
||||
<input type="hidden" name="bn" value="PP-DonationsBF">
|
||||
<input type="image" src="https://www.paypal.com/fr_FR/FR/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - la solution de paiement en ligne la plus simple et la plus sécurisée !">
|
||||
<img alt="" border="0" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1">
|
||||
</form>
|
||||
Actuellement en ligne : <?php echo $this->_tpl_vars['enligne']; ?>
|
||||
joueurs<br />
|
||||
<a href="<?php echo $this->_tpl_vars['link']['accueil']; ?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-19 00:06:10
|
||||
<?php /* Smarty version 2.6.19, created on 2008-05-20 00:21:13
|
||||
compiled from game/envoyer.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
|
|
@ -11,7 +11,8 @@ unset($_smarty_tpl_vars);
|
|||
" method="post"><fieldset class="options">
|
||||
<label for="nom">Nom du destinataire :</label><input class="text" type="text" name="nom" value="<?php echo $this->_tpl_vars['destinataire']; ?>
|
||||
" id="nom" />
|
||||
<label for="objet">Objet :</label><input class="text" type="text" name="objet" id="objet" />
|
||||
<label for="objet">Objet :</label><input class="text" type="text" name="objet" value="<?php echo $this->_tpl_vars['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" />
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 14:52:54
|
||||
<?php /* Smarty version 2.6.19, created on 2008-05-23 01:05:35
|
||||
compiled from game/alliance_adm_chat.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/alliance_adm_chat.tpl', 20, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/alliance_adm_chat.tpl', 20, false),array('modifier', 'escape', 'game/alliance_adm_chat.tpl', 21, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
|
|
@ -34,7 +34,7 @@ unset($_smarty_tpl_vars);
|
|||
</td>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['message']['timestamp'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M:%S")); ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['message']['message']; ?>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['message']['message'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</td>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_chat&i=<?php echo $this->_tpl_vars['message']['id']; ?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:58:42
|
||||
<?php /* Smarty version 2.6.19, created on 2008-05-23 02:26:31
|
||||
compiled from game/chantierspatial.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/chantierspatial.tpl', 27, false),)), $this); ?>
|
||||
|
|
@ -39,7 +39,8 @@ unset($_smarty_tpl_vars);
|
|||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="#">
|
||||
<a class="bulle" href="?p=description&v=<?php echo $this->_tpl_vars['vaisseau']['num']; ?>
|
||||
#menu">
|
||||
<img width="130" height="132" src="images/vaisseaux/<?php echo $this->_tpl_vars['vaisseau']['image']; ?>
|
||||
" alt="Vaisseaux" />
|
||||
<span><?php echo $this->_tpl_vars['vaisseau']['description']; ?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:58:07
|
||||
<?php /* Smarty version 2.6.19, created on 2008-05-23 02:27:04
|
||||
compiled from game/batiments.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/batiments.tpl', 30, false),)), $this); ?>
|
||||
|
|
@ -34,7 +34,8 @@ unset($_smarty_tpl_vars);
|
|||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="#">
|
||||
<a class="bulle" href="?p=description&b=<?php echo $this->_tpl_vars['batiment']['num']; ?>
|
||||
#menu">
|
||||
<img width="130" height="132" src="images/batiments/<?php echo $this->_tpl_vars['batiment']['image']; ?>
|
||||
" alt="<?php echo $this->_tpl_vars['batiment']['nom']; ?>
|
||||
" />
|
||||
|
|
@ -82,21 +83,21 @@ unset($_smarty_tpl_vars);
|
|||
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
; <?php endif; ?><?php if ($this->_tpl_vars['batiment']['maq_hydrogene'] > 0): ?><?php echo $this->_tpl_vars['batiment']['maq_hydrogene']; ?>
|
||||
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
<?php endif; ?>">Ressouces insuffisantes</span>
|
||||
<?php endif; ?>">Ressources insuffisantes</span>
|
||||
<?php elseif ($this->_tpl_vars['batiment']['nec_cristal'] > $this->_tpl_vars['planete']['cristal']): ?><span class="lack" title="manque <?php if ($this->_tpl_vars['batiment']['maq_metal'] > 0): ?><?php echo $this->_tpl_vars['batiment']['maq_metal']; ?>
|
||||
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
; <?php endif; ?><?php if ($this->_tpl_vars['batiment']['maq_cristal'] > 0): ?><?php echo $this->_tpl_vars['batiment']['maq_cristal']; ?>
|
||||
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
; <?php endif; ?><?php if ($this->_tpl_vars['batiment']['maq_hydrogene'] > 0): ?><?php echo $this->_tpl_vars['batiment']['maq_hydrogene']; ?>
|
||||
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
<?php endif; ?>">Ressouces insuffisantes</span>
|
||||
<?php endif; ?>">Ressources insuffisantes</span>
|
||||
<?php elseif ($this->_tpl_vars['batiment']['nec_metal'] > $this->_tpl_vars['planete']['metal']): ?><span class="lack" title="manque <?php if ($this->_tpl_vars['batiment']['maq_metal'] > 0): ?><?php echo $this->_tpl_vars['batiment']['maq_metal']; ?>
|
||||
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
; <?php endif; ?><?php if ($this->_tpl_vars['batiment']['maq_cristal'] > 0): ?><?php echo $this->_tpl_vars['batiment']['maq_cristal']; ?>
|
||||
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
; <?php endif; ?><?php if ($this->_tpl_vars['batiment']['maq_hydrogene'] > 0): ?><?php echo $this->_tpl_vars['batiment']['maq_hydrogene']; ?>
|
||||
de <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
<?php endif; ?>">Ressouces insuffisantes</span>
|
||||
<?php endif; ?>">Ressources insuffisantes</span>
|
||||
<?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
&c=<?php echo $this->_tpl_vars['batiment']['num']; ?>
|
||||
">Construire</a>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:59:00
|
||||
<?php /* Smarty version 2.6.19, created on 2008-05-23 01:13:38
|
||||
compiled from game/options.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
|
|
@ -20,7 +20,8 @@ unset($_smarty_tpl_vars);
|
|||
&chg=mail" method="post"><fieldset class="options">
|
||||
<label>Adresse actuelle :</label><p style="text-align: center;"><?php echo $this->_tpl_vars['mail']; ?>
|
||||
</p>
|
||||
<label for="mail">Nouveau mail :</label><input class="text" type="text" id="mail" name="mail" /><br /><br />
|
||||
<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>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,99 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-23 02:27:35
|
||||
compiled from game/defenses.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'lower', 'game/defenses.tpl', 27, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<div class="border_top"></div>
|
||||
<h2>File d'attente</h2>
|
||||
<div class="file">
|
||||
<?php $_from = $this->_tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['fvais']):
|
||||
?>
|
||||
<?php if ($this->_tpl_vars['key'] == 0): ?><span><strong>Prochain véhicule</strong> : <em id="resten"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['fvais']['2']; ?>
|
||||
,'resten', true);</script></span><?php endif; ?>
|
||||
<span><?php echo $this->_tpl_vars['fvais']['1']; ?>
|
||||
<?php echo $this->_tpl_vars['fvais']['3']; ?>
|
||||
- <em id="reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['fvais']['4']; ?>
|
||||
,'reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
', <?php if ($this->_tpl_vars['key'] == 0): ?>true<?php else: ?>false<?php endif; ?>);</script> - <a href="<?php echo $this->_tpl_vars['menu']['defenses']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['fvais']['0']; ?>
|
||||
">Annuler un</a> - <a href="<?php echo $this->_tpl_vars['menu']['defenses']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['fvais']['0']; ?>
|
||||
&n=<?php echo $this->_tpl_vars['fvais']['1']; ?>
|
||||
">Annuler tous</a></span>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php if ($this->_tpl_vars['Vchaine']): ?><span>Aucun véhicule dans la file d'attente</span><?php endif; ?>
|
||||
<br />
|
||||
</div>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=chantierterrestre">Arbre des technologies</a></h3><br />
|
||||
<h2>Défenses</h2>
|
||||
<table class="construction">
|
||||
<?php $_from = $this->_tpl_vars['defenses']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['defense']):
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<a class="bulle" href="?p=description&d=<?php echo $this->_tpl_vars['defense']['num']; ?>
|
||||
#menu">
|
||||
<img width="130" height="132" src="images/terrestre/<?php echo $this->_tpl_vars['defense']['image']; ?>
|
||||
" alt="Image" />
|
||||
<span><?php echo $this->_tpl_vars['defense']['description']; ?>
|
||||
</span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<strong><?php echo $this->_tpl_vars['defense']['nom']; ?>
|
||||
<?php if ($this->_tpl_vars['defense']['nombre'] > 0): ?> (<?php echo $this->_tpl_vars['defense']['nombre']; ?>
|
||||
defense<?php if ($this->_tpl_vars['defense']['nombre'] > 1): ?>s<?php endif; ?>)<?php endif; ?></strong><br /><br />
|
||||
<?php if ($this->_tpl_vars['defense']['nec_metal'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['defense']['nec_metal'] > $this->_tpl_vars['planete']['metal']): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
: <?php echo $this->_tpl_vars['defense']['nec_metalS']; ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
: <?php echo $this->_tpl_vars['defense']['nec_metalS']; ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['defense']['nec_cristal'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['defense']['nec_cristal'] > $this->_tpl_vars['planete']['cristal']): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
: <?php echo $this->_tpl_vars['defense']['nec_cristalS']; ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
: <?php echo $this->_tpl_vars['defense']['nec_cristalS']; ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['defense']['nec_hydrogene'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['defense']['nec_hydrogene'] > $this->_tpl_vars['planete']['hydrogene']): ?><span class="lack">Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
: <?php echo $this->_tpl_vars['defense']['nec_hydrogeneS']; ?>
|
||||
</span><br />
|
||||
<?php else: ?>Coût <?php echo ((is_array($_tmp=$this->_tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>
|
||||
: <?php echo $this->_tpl_vars['defense']['nec_hydrogeneS']; ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
Temps de construction : <?php echo $this->_tpl_vars['defense']['temps']; ?>
|
||||
<br /><br />
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['defenses']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['defense']['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>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</table>
|
||||
<div class="border_bt"></div>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-19 02:05:45
|
||||
<?php /* Smarty version 2.6.19, created on 2008-05-20 00:35:27
|
||||
compiled from game/accueil.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'game/accueil.tpl', 18, false),)), $this); ?>
|
||||
|
|
@ -53,8 +53,8 @@ unset($_smarty_tpl_vars);
|
|||
</a></h4>
|
||||
<h4>Classement: <a href="?p=classement&j=<?php echo $this->_tpl_vars['user']['id']; ?>
|
||||
"><?php echo $this->_tpl_vars['points']; ?>
|
||||
points (<?php echo $this->_tpl_vars['user']['place_points']; ?>
|
||||
<?php if ($this->_tpl_vars['user']['place_points'] == '1'): ?>er<?php else: ?>ème<?php endif; ?>)</a></h4>
|
||||
points (<?php if ($this->_tpl_vars['user']['place_points'] == '0'): ?>non classé<?php else: ?><?php echo $this->_tpl_vars['user']['place_points']; ?>
|
||||
<?php if ($this->_tpl_vars['user']['place_points'] == '1'): ?>er<?php else: ?>ème<?php endif; ?><?php endif; ?>)</a></h4>
|
||||
<?php if ($this->_tpl_vars['alliance']): ?><h4>Alliance: <a href="?p=alliances">[<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
|
||||
] <?php echo $this->_tpl_vars['alliance']['nom']; ?>
|
||||
</a></h4><?php endif; ?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-18 23:03:52
|
||||
<?php /* Smarty version 2.6.19, created on 2008-05-23 01:21:07
|
||||
compiled from game/ressources.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'game/ressources.tpl', 8, false),array('modifier', 'cat', 'game/ressources.tpl', 8, false),)), $this); ?>
|
||||
|
|
@ -47,6 +47,12 @@ unset($_smarty_tpl_vars);
|
|||
</select></td><td>0</td><td>0</td><td class="lack">-<?php echo $this->_tpl_vars['ressources_conso']['3']; ?>
|
||||
</td><td><?php echo $this->_tpl_vars['ressources_prod']['4']; ?>
|
||||
</td></tr><?php endif; ?>
|
||||
<tr><td><?php echo $this->_tpl_vars['planete']['silo']; ?>
|
||||
<?php echo $this->_tpl_vars['nombat']['10']; ?>
|
||||
</td><td>-</td><td><?php echo $this->_tpl_vars['ressources_silo']['1']; ?>
|
||||
</td><td><?php echo $this->_tpl_vars['ressources_silo']['1']; ?>
|
||||
</td><td><?php echo $this->_tpl_vars['ressources_silo']['1']; ?>
|
||||
</td><td>0</td></tr>
|
||||
<tr><td><strong>Total</strong></td><td>-</td><td><?php echo $this->_tpl_vars['ressources_prod']['0']; ?>
|
||||
</td><td><?php echo $this->_tpl_vars['ressources_prod']['1']; ?>
|
||||
</td><td><?php if ($this->_tpl_vars['planete']['mine_h']): ?><?php echo $this->_tpl_vars['ressources_toto']['0']; ?>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:58:59
|
||||
<?php /* Smarty version 2.6.19, created on 2008-05-20 22:09:01
|
||||
compiled from game/carte.tpl */ ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
|
|
@ -8,7 +8,7 @@ unset($_smarty_tpl_vars);
|
|||
<div class="border_top"></div>
|
||||
<h2>Navigation</h2>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['carte']; ?>
|
||||
" method="get"><fieldset class="systeme"><label for="galaxie">Galaxie :</label><input type="hidden" value="carte" name="p" /><input class="text" type="text" value="<?php echo $this->_tpl_vars['position']['0']; ?>
|
||||
" method="get"><fieldset class="systeme"><label for="galaxie">Amas :</label><input type="hidden" value="carte" name="p" /><input class="text" type="text" value="<?php echo $this->_tpl_vars['position']['0']; ?>
|
||||
" id="galaxie" name="galaxie" /><label for="systeme">Système solaire :</label><input class="text" type="text" value="<?php echo $this->_tpl_vars['position']['1']; ?>
|
||||
" id="systeme" name="ss" /><div><a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
|
||||
&galaxie=<?php echo $this->_tpl_vars['position']['4']; ?>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 14:24:26
|
||||
<?php /* Smarty version 2.6.19, created on 2008-05-23 01:02:05
|
||||
compiled from game/alliance_liste.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/alliance_liste.tpl', 19, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/alliance_liste.tpl', 20, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
|
|
@ -14,7 +14,8 @@ unset($_smarty_tpl_vars);
|
|||
<tr>
|
||||
<th>Pseudo</th>
|
||||
<th>Race</th>
|
||||
<th>Dernière connexion </th>
|
||||
<th>Dernière connexion</th>
|
||||
<th>Points</th>
|
||||
<th>Grade</th>
|
||||
<th>Mp</th>
|
||||
</tr>
|
||||
|
|
@ -30,6 +31,9 @@ unset($_smarty_tpl_vars);
|
|||
</td>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['membre']['last_visite'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M:%S")); ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['membre']['points']; ?>
|
||||
(<?php echo $this->_tpl_vars['membre']['place_points']; ?>
|
||||
)</td>
|
||||
<td><?php echo $this->_tpl_vars['membre']['id_grade_alliance']; ?>
|
||||
</td>
|
||||
<td><a href="?p=envoyer&d=<?php echo $this->_tpl_vars['membre']['pseudo']; ?>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 18:51:48
|
||||
<?php /* Smarty version 2.6.19, created on 2008-05-23 00:59:16
|
||||
compiled from game/alliance_accueil.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'game/alliance_accueil.tpl', 3, false),array('modifier', 'capitalize', 'game/alliance_accueil.tpl', 3, false),array('modifier', 'nl2br', 'game/alliance_accueil.tpl', 34, false),array('modifier', 'date_format', 'game/alliance_accueil.tpl', 57, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'game/alliance_accueil.tpl', 3, false),array('modifier', 'capitalize', 'game/alliance_accueil.tpl', 3, false),array('modifier', 'escape', 'game/alliance_accueil.tpl', 11, false),array('modifier', 'nl2br', 'game/alliance_accueil.tpl', 34, false),array('modifier', 'date_format', 'game/alliance_accueil.tpl', 57, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
|
|
@ -19,8 +19,8 @@ unset($_smarty_tpl_vars);
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right; vertical-align: middle;"><strong>Nom : </strong></td>
|
||||
<td style="width: 70%;"><?php echo $this->_tpl_vars['alliance']['nom']; ?>
|
||||
(<?php echo $this->_tpl_vars['alliance']['tag']; ?>
|
||||
<td style="width: 70%;"><?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['nom'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
(<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
@ -31,7 +31,7 @@ unset($_smarty_tpl_vars);
|
|||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Votre grade :</strong></td>
|
||||
<td><?php if ($this->_tpl_vars['access']['fondateur']): ?>Fondateur<?php else: ?><?php echo $this->_tpl_vars['grade']['nom']; ?>
|
||||
<td><?php if ($this->_tpl_vars['access']['fondateur']): ?>Fondateur<?php else: ?><?php echo ((is_array($_tmp=$this->_tpl_vars['grade']['nom'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
<?php endif; ?><br /><?php if ($this->_tpl_vars['access']['chat']): ?> <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_chat">Modérer le chat</a> |<?php endif; ?> <?php if ($this->_tpl_vars['access']['membre']): ?> <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_membres">Gestion des membres</a> |<?php endif; ?> <?php if ($this->_tpl_vars['access']['ecriture']): ?> <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
|
|
@ -51,7 +51,7 @@ unset($_smarty_tpl_vars);
|
|||
</tbody>
|
||||
</table>
|
||||
<h2>Présentation</h2>
|
||||
<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['presentation'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
|
||||
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['alliance']['presentation'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
|
||||
|
||||
<table style="width: 100%;">
|
||||
<tbody>
|
||||
|
|
@ -64,7 +64,7 @@ unset($_smarty_tpl_vars);
|
|||
</tbody>
|
||||
</table>
|
||||
<h2>Texte interne</h2>
|
||||
<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['texte_interne'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
|
||||
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['alliance']['texte_interne'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
|
||||
|
||||
<h2>Chat</h2>
|
||||
<div style="height: 150px; overflow: auto; width: 99%;" id="chat">
|
||||
|
|
@ -81,7 +81,7 @@ unset($_smarty_tpl_vars);
|
|||
?>
|
||||
<tr>
|
||||
<td>[<?php echo $this->_tpl_vars['message']['emetteur']; ?>
|
||||
] <i><?php echo ((is_array($_tmp=$this->_tpl_vars['message']['timestamp'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M:%S")); ?>
|
||||
] <i><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['message']['timestamp'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M:%S")))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</i></td>
|
||||
<td><?php echo $this->_tpl_vars['message']['message']; ?>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:59:08
|
||||
<?php /* Smarty version 2.6.19, created on 2008-05-23 00:21:44
|
||||
compiled from game/bugs.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/bugs.tpl', 6, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
|
|
@ -13,7 +15,7 @@ unset($_smarty_tpl_vars);
|
|||
<dl>
|
||||
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><?php echo $this->_tpl_vars['bug']['0']; ?>
|
||||
, le <?php echo $this->_tpl_vars['bug']['1']; ?>
|
||||
sur <?php echo $this->_tpl_vars['bug']['2']; ?>
|
||||
sur <?php echo ((is_array($_tmp=$this->_tpl_vars['bug']['2'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</dt><dd><?php echo $this->_tpl_vars['bug']['3']; ?>
|
||||
<?php if ($this->_tpl_vars['auth_level'] > 2): ?><div style="text-align: right"><a href="<?php echo $this->_tpl_vars['menu']['bugs']; ?>
|
||||
&a=del&i=<?php echo $this->_tpl_vars['bug']['4']; ?>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 16:18:47
|
||||
<?php /* Smarty version 2.6.19, created on 2008-05-23 01:04:47
|
||||
compiled from game/alliance_adm_grades.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'nl2br', 'game/alliance_adm_grades.tpl', 23, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/alliance_adm_grades.tpl', 22, false),array('modifier', 'nl2br', 'game/alliance_adm_grades.tpl', 23, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
|
|
@ -35,9 +35,9 @@ unset($_smarty_tpl_vars);
|
|||
<tr>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_grades&i=<?php echo $this->_tpl_vars['grade']['id']; ?>
|
||||
"><?php echo $this->_tpl_vars['grade']['nom']; ?>
|
||||
"><?php echo ((is_array($_tmp=$this->_tpl_vars['grade']['nom'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</a></td>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['grade']['description'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
|
||||
<td><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['grade']['description'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
|
||||
</td>
|
||||
<td><?php if ($this->_tpl_vars['grade']['gest_ecriture']): ?>Oui<?php else: ?>Non<?php endif; ?></td>
|
||||
<td><?php if ($this->_tpl_vars['grade']['gest_chat']): ?>Oui<?php else: ?>Non<?php endif; ?></td>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-19 18:07:18
|
||||
<?php /* Smarty version 2.6.19, created on 2008-05-22 23:30:07
|
||||
compiled from game/header.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/header.tpl', 45, false),)), $this); ?>
|
||||
<!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">
|
||||
|
|
@ -63,6 +65,11 @@
|
|||
">Vérifier planètes</a><?php endif; ?> <?php if ($this->_tpl_vars['pagea'] == 'vjoueurs'): ?><span>Vérifier joueurs</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['vjoueurs']; ?>
|
||||
">Vérifier joueurs</a><?php endif; ?> <?php if ($this->_tpl_vars['pagea'] == 'valliances'): ?><span>Vérifier alliances</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['valliances']; ?>
|
||||
">Vérifier alliances</a><?php endif; ?><div class="space"></div>
|
||||
<?php if ($this->_tpl_vars['pagea'] == 'sancj'): ?><span>Sanctions joueur</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['sancj']; ?>
|
||||
">Sanctions joueur</a><?php endif; ?> <?php if ($this->_tpl_vars['pagea'] == 'sancp'): ?><span>Sanctions planète</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['sancp']; ?>
|
||||
">Sanctions planète</a><?php endif; ?> <?php if ($this->_tpl_vars['pagea'] == 'controle'): ?><span>Prendre le contrôle</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['controle']; ?>
|
||||
">Prendre le contrôle</a><?php endif; ?> <?php if ($this->_tpl_vars['pagea'] == 'sjoueurs'): ?><span>Supprimer joueurs</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['sjoueurs']; ?>
|
||||
">Supprimer joueurs</a><?php endif; ?><div class="space"></div>
|
||||
<?php else: ?> <?php if ($this->_tpl_vars['page'] == 'accueil'): ?><span>Accueil</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['accueil']; ?>
|
||||
">Accueil</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'batiments'): ?><span>Batiments</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
">Batiments</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'caserne'): ?><span>Caserne</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['caserne']; ?>
|
||||
|
|
@ -99,7 +106,7 @@
|
|||
" method="post"><fieldset><select onchange="this.form.submit();" name="Cplanete"><?php $_from = $this->_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['plan']):
|
||||
?><option <?php if ($this->_tpl_vars['plan']['id'] == $this->_tpl_vars['planete']['id']): ?>selected="selected" <?php endif; ?>value="<?php echo $this->_tpl_vars['plan']['id']; ?>
|
||||
"><?php echo $this->_tpl_vars['plan']['nom_planete']; ?>
|
||||
"><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['nom_planete'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
|
||||
[<?php echo $this->_tpl_vars['plan']['galaxie']; ?>
|
||||
:<?php echo $this->_tpl_vars['plan']['ss']; ?>
|
||||
:<?php echo $this->_tpl_vars['plan']['position']; ?>
|
||||
|
|
@ -119,6 +126,6 @@
|
|||
<div class="border_bt"></div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div><?php echo $this->_tpl_vars['pub']; ?>
|
||||
</div>
|
||||
<?php if ($this->_tpl_vars['page'] != 'admin'): ?><div><?php echo $this->_tpl_vars['pub']; ?>
|
||||
</div><?php endif; ?>
|
||||
<div id="corps">
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:58:55
|
||||
<?php /* Smarty version 2.6.19, created on 2008-05-23 01:11:54
|
||||
compiled from game/flotte1.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/flotte1.tpl', 11, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
|
|
@ -18,17 +20,17 @@ unset($_smarty_tpl_vars);
|
|||
<tr>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
|
||||
&n=<?php echo $this->_tpl_vars['flotteEC']['0']; ?>
|
||||
"><?php echo $this->_tpl_vars['flotteEC']['1']; ?>
|
||||
"><?php echo ((is_array($_tmp=$this->_tpl_vars['flotteEC']['1'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</a></td>
|
||||
<td><?php echo $this->_tpl_vars['flotteEC']['2']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['flotteEC']['3']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['flotteEC']['4']; ?>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['flotteEC']['4'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['flotteEC']['5']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['flotteEC']['6']; ?>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['flotteEC']['6'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['flotteEC']['7']; ?>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-19 01:51:56
|
||||
<?php /* Smarty version 2.6.19, created on 2008-05-20 00:01:48
|
||||
compiled from game/messagerie.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'nl2br', 'game/messagerie.tpl', 8, false),)), $this); ?>
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'nl2br', 'game/messagerie.tpl', 9, false),)), $this); ?>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
|
|
@ -9,6 +9,8 @@ unset($_smarty_tpl_vars);
|
|||
?>
|
||||
<div class="border_top"></div>
|
||||
<h2>Messages</h2>
|
||||
<?php echo $this->_tpl_vars['avertissement']; ?>
|
||||
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['envoie']; ?>
|
||||
">Ecrire un message</a></h3>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['messagerie']; ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue