forked from halo-battle/game
Version 1.13a
This commit is contained in:
parent
de31cd3e9a
commit
ba8f323879
1634 changed files with 10080 additions and 213021 deletions
27
onyx2/tpl/game/alliance/chat_ajax.tpl
Normal file
27
onyx2/tpl/game/alliance/chat_ajax.tpl
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Chat</h2>
|
||||
<noscript><div id="erreur" style="color: red;">Vous devez activer le JavaScript pour pouvoir utiliser le chat !</div></noscript>
|
||||
{if $planete->permissions_alliance &256}
|
||||
<form method="post" action="{$menu.chat_alli}" onsubmit="return chat_sendMessage();">
|
||||
<label for="msg">Réponse :</label> <input name="msg" id="msg" type="text" size="50" maxlength="250" /> <input value="GO" class="submit" type="submit" /> <input value="MAJ" onclick="chat_MAJ();" class="submit" type="button" />
|
||||
</form>
|
||||
<br />
|
||||
{/if}
|
||||
<div style="height: 550px; overflow: auto; width: 99%;">
|
||||
<table style="width: 100%; margin: 0px;">
|
||||
<tbody id="chat">
|
||||
<tr>
|
||||
<td colspan="2">Vous vous connectez au chat</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 172px;">[pseudo] heure</td>
|
||||
<th style="width: 536px;">Message</td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
<script type="text/javascript" src="js/prototype.js"></script>
|
||||
<script type="text/javascript" src="js/chat.js"></script>
|
||||
{include file='game/footer.tpl'}
|
||||
48
onyx2/tpl/game/alliance/chat_irc.tpl
Normal file
48
onyx2/tpl/game/alliance/chat_irc.tpl
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Chat</h2>
|
||||
<applet name="coolsmile" code="EIRC.class" style="height: 450px; width: 98%;">
|
||||
<param name="archive" value="java/EIRC.jar,java/EIRC-cfg.jar">
|
||||
<param name="cabbase" value="java/EIRC.cab,java/EIRC-cfg.cab">
|
||||
<param name="server" value="{$planete->url_chat}">
|
||||
<param name="port" value="{$planete->details.port_chat}">
|
||||
<param name="irc_pass" value="{$planete->details.pass_chat}">
|
||||
|
||||
<param name="font_name" value="Helvetica">
|
||||
<param name="font_size" value="11">
|
||||
<param name="language" value="">
|
||||
<param name="mainbg" value="{if $race == "humain"}#2E3122{else}#2E293D{/if}">
|
||||
<param name="mainfg" value="{if $race == "humain"}#999966{else}#6993A7{/if}">
|
||||
<param name="textbg" value="#FFFFFF">
|
||||
<param name="textfg" value="#000000">
|
||||
<param name="selbg" value="#F0F0FF">
|
||||
<param name="selfg" value="#000000">
|
||||
|
||||
<param name="join" value="{if !ereg("#", $planete->details.chan_chat)}#{/if}{$planete->details.chan_chat}">
|
||||
<param name="username" value="Appletweb">
|
||||
<param name="realname" value="">
|
||||
<param name="nickname" value="{$planete->pseudo}">
|
||||
<param name="nicksrv_pass" value="">
|
||||
<param name="login" value="1">
|
||||
<param name="asl" value="1">
|
||||
<param name="spawn_frame" value="0">
|
||||
<param name="gui_nick" value="1">
|
||||
|
||||
<param name="gui_away" value="1">
|
||||
<param name="gui_chanlist" value="1">
|
||||
<param name="gui_userlist" value="1">
|
||||
<param name="gui_options" value="1">
|
||||
<param name="gui_help" value="1">
|
||||
<param name="gui_connect" value="1">
|
||||
<param name="width" value="700">
|
||||
<param name="height" value="500">
|
||||
<param name="write_color" value="12">
|
||||
|
||||
<param name="debug_traffic" value="0">
|
||||
<param name="boxmessage" value="Patientez quelques instants svp ...">
|
||||
<param name="boxbgcolor" value="blue">
|
||||
<param name="boxfgcolor" value="black">
|
||||
<param name="progressbar" value="true">
|
||||
<param name="progresscolor" value="red">
|
||||
</applet>
|
||||
<br /><br />Vous pouvez aussi utiliser votre propre client IRC : <a href="irc:{$planete->url_chat}:{$planete->details.port_chat}{if !ereg("#", $planete->details.chan_chat)}#{/if}{$planete->details.chan_chat}">irc:{$planete->url_chat}:{$planete->details.port_chat}{if !ereg("#", $planete->details.chan_chat)}#{/if}{$planete->details.chan_chat}</a><br />
|
||||
{include file='game/footer.tpl'}
|
||||
62
onyx2/tpl/game/alliance/gestion_alliance.tpl
Normal file
62
onyx2/tpl/game/alliance/gestion_alliance.tpl
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
{include file='game/header.tpl'}
|
||||
{include file='game/alliance/gestion_common.tpl'}
|
||||
<h2>Designation de l'alliance</h2><br />
|
||||
<label>Nom de l'alliance :</label> {$planete->nom_alliance}<br />
|
||||
<label>Tag de l'alliance :</label> {$planete->tag}<br />
|
||||
<label>Race de l'alliance :</label> {$planete->race}<br /><br />
|
||||
<em>Pour changer le tag ou le nom de votre alliance, veuillez contacter un opérateur.</em><br /><br /><br />
|
||||
<form method="post" action="{$menu.gestion}&g=alliance">
|
||||
<fieldset class="options">
|
||||
<label for="asteroide_name">Nom de l'astéroïde : <input type="text" class="text" name="asteroide_name" id="asteroide_name" value="{$planete->nom_asteroide}" maxlength="32" /></label><br /><br />
|
||||
<input type="submit" class="submit" value="Go" /><br /><br />
|
||||
</fieldset>
|
||||
</form>
|
||||
<h2>Communication et défense de l'alliance</h2><br />
|
||||
<form method="post" action="{$menu.gestion}&g=alliance">
|
||||
<fieldset class="options">
|
||||
<label for="texte_interne">Message interne :<br /><textarea name="texte_interne" id="texte_interne">{$planete->details.texte_interne|escape}</textarea></label><br /><br />
|
||||
<label for="defcon">Defcon : <select name="defcon" id="defcon"><option value="1"{if $planete->details.defcon == 1} selected="selected"{/if}>Niveau 1</option><option value="2"{if $planete->details.defcon == 2} selected="selected"{/if}>Niveau 2</option><option value="3"{if $planete->details.defcon == 3} selected="selected"{/if}>Niveau 3</option><option value="4"{if $planete->details.defcon == 4} selected="selected"{/if}>Niveau 4</option><option value="5"{if $planete->details.defcon == 5} selected="selected"{/if}>Niveau 5</option></select></label><br />
|
||||
<label for="defcon_txt"><textarea name="defcon_txt" id="defcon_txt">{$planete->details.defcon_txt|escape}</textarea></label><br /><br />
|
||||
<input type="submit" class="submit" value="Go" /><br /><br />
|
||||
</fieldset>
|
||||
</form>
|
||||
<h2>Paramètres des moyens de communication</h2><br />
|
||||
<form method="post" action="{$menu.gestion}&g=alliance">
|
||||
<fieldset class="options">
|
||||
<label for="url_forum">URL du forum de l'alliance : <input name="url_forum" id="url_forum" maxlength="64" class="text" type="text" value="{$planete->url_forum}" /></label><br />
|
||||
<br />
|
||||
<label for="url_chat">Adresse sur serveur IRC de l'alliance : <input name="url_chat" id="url_chat" maxlength="64" class="text" type="text" value="{$planete->url_chat}" /></label><br />
|
||||
<label for="port_chat">Port du serveur IRC : <input name="port_chat" id="port_chat" maxlength="64" class="text" type="text" value="{$planete->details.port_chat}" /></label><br />
|
||||
<label for="pass_chat">Mot de passe du serveur sur le serveur : <input name="pass_chat" id="pass_chat" maxlength="64" class="text" type="password" value="{$planete->details.pass_chat}" /></label><br />
|
||||
<label for="chan_chat">Channel de l'alliance sur le serveur : <input name="chan_chat" id="chan_chat" maxlength="64" class="text" type="text" value="{$planete->details.chan_chat}" /></label><br />
|
||||
<em>Laissez l'adresse du serveur IRC vide pour utiliser le chat par défaut du jeu.</em><br /><br /><br />
|
||||
<input type="submit" class="submit" value="Go" /><br /><br />
|
||||
</fieldset>
|
||||
</form>
|
||||
<h2>Réglages des inscriptions</h2><br />
|
||||
<form method="post" action="{$menu.gestion}&g=alliance">
|
||||
<fieldset class="options">
|
||||
<label for="etatinscriptions"><input type="checkbox" name="etatinscriptions" id="etatinscriptions" {if $planete->details.etat_inscription} checked="checked"{/if} /> Ouvrir les inscriptions</label><br /><br />
|
||||
<label for="message_inscription">Message affiché pour les inscriptions (activées ou désactivées) :<br /><textarea name="message_inscription" id="message_inscription">{$planete->details.message_inscription|escape}</textarea></label><br /><br />
|
||||
<br />
|
||||
<label for="presentation">Texte de présentation de l'alliance :<br /><textarea name="presentation" id="presentation">{$planete->details.presentation|escape}</textarea></label><br /><br />
|
||||
<br />
|
||||
<input type="submit" class="submit" value="Go" /><br /><br />
|
||||
</fieldset>
|
||||
</form>
|
||||
{if $planete->fondateur == $planete->id_user}
|
||||
<h2>Changer de fondateur</h2><br />
|
||||
<form method="post" action="{$menu.gestion}&g=alliance">
|
||||
<fieldset class="options">
|
||||
Vous êtres actuellement le fondateur de l'alliance.<br /><br />
|
||||
<label for="newfondateur">Nouveau fondateur :</label> <select id="newfondateur" name="newfondateur">
|
||||
{foreach from=$membres item=membre}
|
||||
<option value="{$membre.id}">{$membre.pseudo}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<br />
|
||||
<input type="submit" class="submit" value="Go" /><br /><br />
|
||||
</fieldset>
|
||||
</form>
|
||||
{/if}
|
||||
{include file='game/footer.tpl'}
|
||||
6
onyx2/tpl/game/alliance/gestion_common.tpl
Normal file
6
onyx2/tpl/game/alliance/gestion_common.tpl
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<ul class="onglets">
|
||||
{if $planete->permissions_alliance & 32}<li><a href="{$menu.gestion}&g=membres"{if $onglet == "membres"} class="hilight"{/if}>Membres</a></li>{/if}
|
||||
{if $planete->permissions_alliance & 128}<li><a href="{$menu.gestion}&g=grades"{if $onglet == "grades"} class="hilight"{/if}>Grades</a></li>{/if}
|
||||
{if $planete->permissions_alliance & 64}<li><a href="{$menu.gestion}&g=wings"{if $onglet == "wings" || ($onglet == "alliance" && $planete->wing)} class="hilight"{/if}>Wings</a></li>{/if}
|
||||
{if $planete->permissions_alliance & 128 && !$planete->wing}<li><a href="{$menu.gestion}&g=alliance"{if $onglet == "alliance"} class="hilight"{/if}>Alliance</a></li>{/if}
|
||||
</ul>
|
||||
8
onyx2/tpl/game/alliance/gestion_first.tpl
Normal file
8
onyx2/tpl/game/alliance/gestion_first.tpl
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Gestion de l'alliance</h2>
|
||||
<h4><a href="{$menu.gestion}&g=membres">Gérer les membres et postulants</a></h4>
|
||||
<h4><a href="{$menu.gestion}&g=grades">Gérer les grades</a></h4>
|
||||
<h4><a href="{$menu.gestion}&g=wings">Gérer des wings</a></h4>
|
||||
<br />
|
||||
<h4><a href="{$menu.gestion}&g=alliance">Gérer l'alliance</a></h4>
|
||||
{include file='game/footer.tpl'}
|
||||
57
onyx2/tpl/game/alliance/gestion_grades.tpl
Normal file
57
onyx2/tpl/game/alliance/gestion_grades.tpl
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{include file='game/header.tpl'}
|
||||
{include file='game/alliance/gestion_common.tpl'}
|
||||
<h2>Gestion des grades existants</h2>
|
||||
<table>
|
||||
<tbody>
|
||||
{foreach from=$grades item=grade}
|
||||
<tr>
|
||||
<td><a href="{$menu.gestion}&g=grades&i={$grade.id}">{$grade.nom|escape}</a></td>
|
||||
<td>{if $grade.auth & 1}Oui{else}Non{/if}</td>
|
||||
<td>{if $grade.auth & 2}Oui{else}Non{/if}</td>
|
||||
<td>{if $grade.auth & 4}Oui{else}Non{/if}</td>
|
||||
<td>{if $grade.auth & 8}Oui{else}Non{/if}</td>
|
||||
<td>{if $grade.auth & 16}Oui{else}Non{/if}</td>
|
||||
<td>{if $grade.auth & 32}Oui{else}Non{/if}</td>
|
||||
<td>{if $grade.auth & 64}Oui{else}Non{/if}</td>
|
||||
<td>{if $grade.auth & 128}Oui{else}Non{/if}</td>
|
||||
<td>{if $grade.auth & 256}Oui{else}Non{/if}</td>
|
||||
<td>{if $grade.auth & 512}Oui{else}Non{/if}</td>
|
||||
<td><a href="{$menu.gestion}&g=grades&d={$grade.id}" onclick="return confirm('Êtes-vous sûr de vouloir supprimer ce grade ?');">Supprimer</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Nom</th>
|
||||
<th>Bâtiments</th>
|
||||
<th>Vaisseaux</th>
|
||||
<th>Flottes</th>
|
||||
<th>Diplomatie</th>
|
||||
<th>Crédits</th>
|
||||
<th>Membres</th>
|
||||
<th>Wings</th>
|
||||
<th>Alliance</th>
|
||||
<th>Chat</th>
|
||||
<th>Messagerie</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<h2>{if $grade_mod}Modifier{else}Créer{/if} un grade</h2><br />
|
||||
<form action="{$menu.gestion}&g=grades{if $grade_mod}&i={$grade_mod.id}{/if}" method="post">
|
||||
<fieldset class="options">
|
||||
<label for="nom">Nom :</label> <input type="text" name="nom" id="nom" value="{$grade_mod.nom|escape}" size="30" maxlength="32" tabindex="1" /><br /><br />
|
||||
<input type="checkbox" name="gbats" id="gbats" value="1"{if $grade_mod.auth & 1} checked="checked"{/if} /> <label for="gbats">Gestion des bâtiments</label><br />
|
||||
<input type="checkbox" name="gvais" id="gvais" value="1"{if $grade_mod.auth & 2} checked="checked"{/if} /> <label for="gvais">Gestion des vaisseaux</label><br />
|
||||
<input type="checkbox" name="gflot" id="gflot" value="1"{if $grade_mod.auth & 4} checked="checked"{/if} /> <label for="gflot">Gestion des flottes</label><br />
|
||||
<input type="checkbox" name="gdipl" id="gdipl" value="1"{if $grade_mod.auth & 8} checked="checked"{/if} /> <label for="gdipl">Gestion de la diplomatie</label><br />
|
||||
<input type="checkbox" name="gcred" id="gcred" value="1"{if $grade_mod.auth & 16} checked="checked"{/if} /> <label for="gcred">Gestion des crédits</label><br /><br />
|
||||
<input type="checkbox" name="gmemb" id="gmemb" value="1"{if $grade_mod.auth & 32} checked="checked"{/if} /> <label for="gmemb">Gestion des membres</label><br />
|
||||
<input type="checkbox" name="gwing" id="gwing" value="1"{if $grade_mod.auth & 64} checked="checked"{/if} /> <label for="gwing">Gestion des wings</label><br />
|
||||
<input type="checkbox" name="galli" id="galli" value="1"{if $grade_mod.auth & 128} checked="checked"{/if} /> <label for="galli">Gestion de l'alliance</label><br />
|
||||
<input type="checkbox" name="gchat" id="gchat" value="1"{if $grade_mod.auth & 256} checked="checked"{/if} /> <label for="gchat">Participe au chat</label><br />
|
||||
<input type="checkbox" name="gmess" id="gmess" value="1"{if $grade_mod.auth & 512} checked="checked"{/if} /> <label for="gmess">Utilisation de la messagerie d'alliance</label><br />
|
||||
<br /><input type="submit" class="submit" value="GO" tabindex="3" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
37
onyx2/tpl/game/alliance/gestion_membres.tpl
Normal file
37
onyx2/tpl/game/alliance/gestion_membres.tpl
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{include file='game/header.tpl'}
|
||||
{include file='game/alliance/gestion_common.tpl'}
|
||||
<h2>Gestion des membres</h2>
|
||||
<table>
|
||||
<tbody>
|
||||
{foreach from=$membres item=membre}
|
||||
<tr>
|
||||
<td>{$membre.pseudo}</td>
|
||||
<td>{$membre.race}</td>
|
||||
<td>{$membre.last_visite|date_format:"%d/%m/%y %H:%M:%S"}</td>
|
||||
<td><form action="{$menu.gestion}&g=membres&i={$membre.id}" method="post"><p><select name="grade" onchange="this.form.submit();"><option label="Aucun" value="0">Aucun</option>{foreach from=$grades item=grade}<option label="{$grade.nom}" value="{$grade.id}"{if $grade.id == $membre.id_grade_alliance} selected="selected"{/if}>{$grade.nom}</option>{/foreach}</select><noscript> <input type="submit" class="submit" value="GO" /></noscript></p></form></td>
|
||||
<td><a href="{$menu.messages}&n=envoyer&d={$membre.pseudo}" class="msg"><span>Message</span></a></td>
|
||||
<td><a href="{$menu.gestion}&g=membres&u={$membre.id}"><em>Exclure</em></a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Pseudo</th>
|
||||
<th>Race</th>
|
||||
<th>Dernière connexion </th>
|
||||
<th>Grade</th>
|
||||
<th>MP</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<h2>Gestion des postulants</h2>
|
||||
<div id="messagerie">
|
||||
{foreach from=$postulants item=postulant}
|
||||
<dl class="new">
|
||||
<dt><a href="?p=...&i={$postulant.id_user}">{$postulant.pseudo}</a> le {$postulant.timestamp|date_format:"%d/%m/%y %H:%M:%S"}</dt>
|
||||
<dd>{$postulant.message|escape|nl2br}<br /><div style="text-align: right;"><a href="{$menu.gestion}&g=membres&pa={$postulant.id}"><em>Accepter</em></a> | <a href="{$menu.gestion}&g=membres&pr={$postulant.id}"><em>Refuser</em></a></div></dd>
|
||||
</dl>
|
||||
{/foreach}
|
||||
</div>
|
||||
{include file='game/footer.tpl'}
|
||||
43
onyx2/tpl/game/alliance/gestion_wing.tpl
Normal file
43
onyx2/tpl/game/alliance/gestion_wing.tpl
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{include file='game/header.tpl'}
|
||||
{include file='game/alliance/gestion_common.tpl'}
|
||||
<h2>Gestion des wings</h2>
|
||||
{if $wings}
|
||||
<table>
|
||||
<tbody>
|
||||
{foreach from=$wings item=wing}
|
||||
<tr>
|
||||
<td>{$wing.nom_alliance}</td>
|
||||
<td>{$wing.race}</td>
|
||||
<td>{$wing.nbMembres}</td>
|
||||
<td>{$wing.pseudo}</td>
|
||||
<td><a href="{$menu.messages}&n=envoyer&d={$wing.fondateur}" class="msg"><span>Message</span></a></td>
|
||||
<td><a href="{$menu.gestion}&g=wing&u={$membre.id}"><em>supprimer</em></a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Nom de la wing</th>
|
||||
<th>Race</th>
|
||||
<th>Nombre de membres</th>
|
||||
<th>Fondateur</th>
|
||||
<th>MP fondateur</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
{else}
|
||||
<div id="erreur">L'alliance ne possède aucune wing.</div>
|
||||
{/if}
|
||||
<h2>Créer une wing</h2>
|
||||
<form method="post" action="{$menu.gestion}&g=wings">
|
||||
<fieldset class="options">
|
||||
<label for="nom">Nom de la wing : <input type="text" class="text" name="nom" id="nom" maxlength="32" /></label><br />
|
||||
<label for="tag">Tag de la wing : <input type="text" class="text" name="tag" id="tag" maxlength="5" /></label><br />
|
||||
<label for="race">Race de la wing : <select name="race" id="race"><option value="humain">Humaine</option><option value="covenant">Covenante</option></select></label><br />
|
||||
<label for="fondateur">Membre fondateur : <input type="text" class="text" name="fondateur" id="fondateur" maxlength="64" /></label><br />
|
||||
<em>Le membre fondateur ne doit faire actuellement parti d'aucune alliance.<br />La wing sera créée une fois que le fondateur aura accepté votre demande.</em><br />
|
||||
<input type="submit" class="submit" value="Go" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
13
onyx2/tpl/game/alliance/nm_accueil.tpl
Normal file
13
onyx2/tpl/game/alliance/nm_accueil.tpl
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Rechercher une alliance</h2>
|
||||
<form method="post" action="{$menu.alliance}">
|
||||
<fieldset class="form">
|
||||
<label for="tag">Tag : <input type="text" class="text" name="search_tag" id="tag" maxlength="5" /></label><br />
|
||||
<label for="nom">Nom : <input type="text" class="text" name="search_nom" id="nom" /></label><br />
|
||||
<input type="submit" class="submit" value="Ok" />
|
||||
</fieldset>
|
||||
</form>
|
||||
<br />
|
||||
<h2>Créer une alliance</h2>
|
||||
<h3><a href="{$menu.alliance}&q=fonder">{if $fondation}Consulter le statut de votre alliance{else}Fonder une alliance{/if}</a></h3>
|
||||
{include file='game/footer.tpl'}
|
||||
11
onyx2/tpl/game/alliance/nm_fonder.tpl
Normal file
11
onyx2/tpl/game/alliance/nm_fonder.tpl
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Création d'une alliance</h2>
|
||||
<form method="post" action="{$menu.alliance}&q=fonder">
|
||||
<fieldset class="form">
|
||||
<p>Créer une alliance ne peut pas se faire seul. Une fois que vous aurez lancé la procédure, un lien vous sera donné. Pour finir la création, donnez ce lien à quatre personnes qui sont sans alliance afin qu'elles ratifient l'alliance.</p>
|
||||
<label for="nom">Nom : <input type="text" class="text" name="nom" id="nom" /></label><br />
|
||||
<label for="tag">Tag : <input type="text" class="text" name="tag" id="tag" maxlength="5" /></label><br />
|
||||
<input type="submit" class="submit" value="Créer " />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
10
onyx2/tpl/game/alliance/nm_postuler.tpl
Normal file
10
onyx2/tpl/game/alliance/nm_postuler.tpl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Postuler pour l'alliance : {$alliance.nom_alliance|capitalize|escape}</h2>
|
||||
<form action="{$menu.alliance}&postuler={$alliance.id}" method="post">
|
||||
<fieldset class="form">
|
||||
<p>{$alliance.message_inscription|escape|bbcode|nl2br}</p>
|
||||
<label for="motivation">Message de motivation : <textarea name="motivation" id="motivation"></textarea></label><br />
|
||||
<input type="submit" class="submit" value="Ok" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
26
onyx2/tpl/game/alliance/nm_search.tpl
Normal file
26
onyx2/tpl/game/alliance/nm_search.tpl
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{include file='game/header.tpl'}
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>[TAG] Alliance</th>
|
||||
<th>Race</th>
|
||||
<th>Etat inscriptions </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$recherches item=recherche}
|
||||
<tr>
|
||||
{if $recherche.etat_inscription == 2}
|
||||
<td><a href="{$menu.alliance}&signer={$recherche.id}">[{$recherche.tag|upper|escape}] {$recherche.nom_alliance|escape}</a></td>
|
||||
<td>En fondation</td>
|
||||
<td>En fondation</td>
|
||||
{else}
|
||||
<td><a href="{$menu.alliance}&v={$recherche.id}">[{$recherche.tag|upper|escape}] {$recherche.nom_alliance|escape}</a></td>
|
||||
<td><img src="{$url_images}images/carte/{$recherche.race}.jpg" width="45" alt="{$recherche.race}" /></td>
|
||||
<td>{if $recherche.etat_inscription}Ouvertes{else}Fermées{/if}</td>
|
||||
{/if}
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{include file='game/footer.tpl'}
|
||||
9
onyx2/tpl/game/alliance/nm_signer.tpl
Normal file
9
onyx2/tpl/game/alliance/nm_signer.tpl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Ratifier l'alliance : {$alliance.nom_alliance|capitalize|escape}</h2>
|
||||
<form action="{$menu.alliance}&signer={$alliance.id}" method="post">
|
||||
<div><strong>Vous êtes sur le point de ratifier l'alliance [{$alliance.tag|upper|escape}] {$alliance.nom_alliance|escape}.<br />Actuellement, {$alliance.nbsignatures} personnes(s) ont ratifier cette alliance.<br />{if $ratifier}<br />En ratifiant cette alliance, vous annulez votre signature pour l'alliance [{$ratifier.tag|upper|escape}] {$ratifier.nom_alliance|escape}<br />{/if}<br />Voulez-vous signer ?</strong></div>
|
||||
<fieldset class="form">
|
||||
<input type="submit" class="submit" value="Oui " name="sign" /> - <input type="submit" class="submit" value="Non " name="sign" />
|
||||
</fieldset>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
12
onyx2/tpl/game/alliance/nm_statut.tpl
Normal file
12
onyx2/tpl/game/alliance/nm_statut.tpl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Alliance en fondation</h2>
|
||||
<h3><strong>Nom :</strong> {$alliance.nom_alliance}</h3>
|
||||
<h3><strong>Tag :</strong> {$alliance.tag|upper}</h3><br />
|
||||
<h2>Signatures</h2>
|
||||
<h3><strong>Actuellement :</strong> {$nbSignatures}</h3>
|
||||
<h3><strong>Nécessaire :</strong> 4</h3>
|
||||
<h3><strong>Signataires :</strong> {foreach from=$pseudos key=k item=pseudo}{if $k != 0}, {/if}{$pseudo.pseudo}{/foreach}</h3><br />
|
||||
<h2>Autre</h2>
|
||||
<h3><a href="?p=alliances&q=fonder&r=quit">Quitter l'alliance</a></h3>
|
||||
<h3><strong>Lien de signature :</strong> <a href="http://{$url_serveur}/{$first_page}?p=alliances&signer={$alliance.lien}">http://{$url_serveur}/{$first_page}?p=alliances&signer={$alliance.lien}</a></h3>
|
||||
{include file='game/footer.tpl'}
|
||||
29
onyx2/tpl/game/alliance/view.tpl
Normal file
29
onyx2/tpl/game/alliance/view.tpl
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>[{$alliance.tag|upper|escape}] {$alliance.nom_alliance|capitalize|escape}</h2>
|
||||
<table cellpadding="2" cellspacing="0" style="text-align: center; width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="2"><img src="{$alliance.image}" alt="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right; vertical-align: middle;"><strong>Nom : </strong></td>
|
||||
<td style="width: 70%;">{$alliance.nom|escape} ({$alliance.tag|upper|escape})</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Membres : </strong></td>
|
||||
<td>{$nbmembres} (<a href="{$menu.alliance}&m={$alliance.id}">Liste des membres</a>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Votre grade :</strong></td>
|
||||
<td>{$grade}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Status des inscriptions :</strong></td>
|
||||
<td>{if $alliance.etat_inscription}Ouvertes{if !$planete->id_alliance} - <a href="{$menu.alliance}&postuler={$alliance.id}">Postuler</a>{/if}{else}Fermée{/if}</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2>Présentation</h2>
|
||||
{$alliance.presentation|nl2br}
|
||||
{include file='game/footer.tpl'}
|
||||
Loading…
Add table
Add a link
Reference in a new issue