forked from halo-battle/game
Version 1.9a
This commit is contained in:
parent
5f81f76b17
commit
d028822d0b
437 changed files with 27543 additions and 81793 deletions
11
templates/admin/accueil.tpl
Normal file
11
templates/admin/accueil.tpl
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Evénements</h2>
|
||||
<em>Heure du serveur: {$datehb}</em>
|
||||
<h4>Version du serveur : <a href="./?p=version">{$version}</a></h4>
|
||||
{foreach from=$news item=new key=key}
|
||||
<h1><strong>{$new.titre}</strong> : {$new.contenu|escape|nl2br}</h1>
|
||||
{/foreach}
|
||||
<h2>Infos</h2>
|
||||
<h4><a href="{$menua.courrier}">Messagerie :</a> {$nbMail} message{if $nbMail > 1}s{/if} en attente</h4>
|
||||
<h4><a href="./{$menu.pilori}">Pilori :</a> {$nbPilori} joueur{if $nbPilori > 1}s{/if} dans le pilori de la galaxie</h4>
|
||||
{include file='game/footer.tpl'}
|
||||
19
templates/admin/bandeau.tpl
Normal file
19
templates/admin/bandeau.tpl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{include file='game/header.tpl'}
|
||||
<a href="?p={$linkpage}&i=add">Ajouter un titre</a>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Action</th>
|
||||
<th>Texte</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$tableau item=ligne key=key}
|
||||
<tr>
|
||||
<td><a href="?p={$linkpage}&i={$ligne.id}">EDIT</a> | <a href="?p={$linkpage}&d={$ligne.id}">SUPPR</a></td>
|
||||
<td{if $ligne.color} style="color: {$ligne.color};"{/if}><b>{$ligne.texte|upper}</b></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{include file='game/footer.tpl'}
|
||||
9
templates/admin/bandeau_add.tpl
Normal file
9
templates/admin/bandeau_add.tpl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{include file='game/header.tpl'}
|
||||
<form action="?p={$linkpage}&i={$id}" method="post">
|
||||
<p>
|
||||
Texte : <input type="text" name="texte" value="{$mod.texte}" /><br />
|
||||
Couleur : <input type="text" name="color" value="{$mod.color}" /><br />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</p>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
23
templates/admin/demarrage.tpl
Normal file
23
templates/admin/demarrage.tpl
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{include file='game/header.tpl'}
|
||||
<a href="?p={$linkpage}&i=add">Créer une nouvelle page</a>
|
||||
<h2>Pages de démarrage</h2>
|
||||
<h3>La première news est celle qui sera affichée à la connexion des joueurs</h3>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Action</th>
|
||||
<th>Titre</th>
|
||||
<th>Date de visibilité</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$tableau item=ligne key=key}
|
||||
<tr>
|
||||
<td><a href="?p={$linkpage}&i={$ligne.id}">EDIT</a> | <a href="?p={$linkpage}&d={$ligne.id}">SUPPR</a></td>
|
||||
<td><b>{$ligne.titre|escape}</b></td>
|
||||
<td>{$ligne.time|date_format:"%d/%m/%y %H:%M:%S"}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{include file='game/footer.tpl'}
|
||||
10
templates/admin/demarrage_add.tpl
Normal file
10
templates/admin/demarrage_add.tpl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{include file='game/header.tpl'}
|
||||
<form action="?p={$linkpage}&i={$id}" method="post">
|
||||
<p>
|
||||
Titre : <input type="text" name="titre" value="{$mod.titre}" /><br />
|
||||
Texte : <br /><textarea name="contenu" rows="10" cols="10">{$mod.contenu}</textarea><br />
|
||||
{if $mod.titre}<input type="checkbox" name="reset" id="reset" value="1" /><label for="reset"> Actualiser la date et l'heure d'écriture</label> <i>Les utilisateurs ayant déjà vu la page la revéront de nouveau.</i><br />{/if}
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</p>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
3
templates/admin/erreur.tpl
Normal file
3
templates/admin/erreur.tpl
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{include file='game/header.tpl'}
|
||||
<div class="error"{if $couleur} style="color: {$couleur};"{/if}>{$message}</div>
|
||||
{include file='game/footer.tpl'}
|
||||
33
templates/admin/inscription.tpl
Normal file
33
templates/admin/inscription.tpl
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{include file='game/header.tpl'}
|
||||
<div class="corpsi">
|
||||
<form action="" method="post">
|
||||
<p><label for="pseudo">Pseudo :</label> <input class="text" name="HB_pseudo" id="pseudo" type="text" maxlength="16" value="{$smarty.post.HB_pseudo}" />
|
||||
<br /><label for="mdp">Mot de passe :</label> <input class="text" name="HB_mdp" id="mdp" type="password" maxlength="32" />
|
||||
<br /><label for="conf">Confirmation :</label> <input class="text" name="HB_conf" id="conf" type="password" maxlength="32" />
|
||||
<br /><label for="mail">Adresse électronique :</label> <input class="text" name="HB_mail" id="mail" type="text" value="{$smarty.post.HB_mail}" maxlength="64" />
|
||||
<br /><br />Race :<br />
|
||||
</p>
|
||||
<table style="margin-left: auto; margin-right: auto; width: 75%;">
|
||||
<tr>
|
||||
<td>
|
||||
<label id="humain" for="humaini">
|
||||
<img src="images/humain.jpg" alt="Humain"/><br />
|
||||
<input type="radio" name="race" id="humaini" value="humain"{if $smarty.post.race == "humain"} selected="selected"{/if} /> Humain
|
||||
</label>
|
||||
</td>
|
||||
<td>
|
||||
<label id="covenant" for="covenanti">
|
||||
<img src="images/covenant.jpg" alt="Covenant"/><br />
|
||||
<input type="radio" name="race" id="covenanti" value="covenant"{if $smarty.post.race == "covenant"} selected="selected"{/if} /> Covenant
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>
|
||||
<br /><label for="servers">Galaxie :</label> <select name="servers" id="servers"><option value="1"> Alpha</option></select>
|
||||
<br /><label for="placement">Placement préférentiel :</label> <input class="text" name="HB_placement" id="placement" type="text" value="{$smarty.post.HB_placement}" />
|
||||
<br /><br /><input class="submit" value="OK" type="submit" />
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
{include file='game/footer.tpl'}
|
||||
24
templates/admin/mail_liste.tpl
Normal file
24
templates/admin/mail_liste.tpl
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{include file='game/header.tpl'}
|
||||
<table style="width: 80%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Action</th>
|
||||
<th>Statut</th>
|
||||
<th>Emetteur</th>
|
||||
<th>Sujet</th>
|
||||
<th>Date</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$mails item=ligne}
|
||||
<tr{if $ligne.statut >= 1} style="background: #{if $ligne.statut == 1}770000{elseif $ligne.statut == 2}007700{elseif $ligne.statut == 3}000077{elseif $ligne.statut == 4}770077{elseif $ligne.statut == 5}007777{elseif $ligne.statut == 6}777700{/if};"{/if}>
|
||||
<td><a href="?p={$linkpage}&w={$ligne.id}">STAT</a><br /><a href="?p={$linkpage}&v={$ligne.id}">LIRE</a><br /><a href="?p={$linkpage}&d={$ligne.id}" onclick="return confirm('Supprimer ce message ?');">SUPPR</a></td>
|
||||
<td>{$ligne.statut}</td>
|
||||
<td>{$ligne.pseudo}</td>
|
||||
<td>{$ligne.titre|escape}<br />{$ligne.contenu|escape|truncate:50}</td>
|
||||
<td>{$ligne.time|date_format:"%d/%m/%y %H:%M:%S"}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{include file='game/footer.tpl'}
|
||||
36
templates/admin/mail_view.tpl
Normal file
36
templates/admin/mail_view.tpl
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{include file='game/header.tpl'}
|
||||
<table style="width: 90%;">
|
||||
<thead{if $req.statut >= 1} style="background: #{if $req.statut == 1}770000{elseif $req.statut == 2}007700{elseif $req.statut == 3}000077{elseif $req.statut == 4}770077{elseif $req.statut == 5}007777{elseif $req.statut == 6}777700{/if};"{/if}>
|
||||
<tr>
|
||||
<th colspan="2">Emetteur</th>
|
||||
<td colspan="3">{$req.pseudo}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">Statut</th>
|
||||
<td colspan="3">{$req.statut}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">Date</th>
|
||||
<td colspan="3">{$req.time|date_format:"%d/%m/%y %H:%M:%S"}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th colspan="2">Objet</th>
|
||||
<td colspan="3">{$req.titre|escape}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="5">{$req.contenu|escape|nl2br}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td><a href="./?p=envoyer&d={$req.pseudo}&o=Re : {$req.titre|escape}" onclick="window.open(this.href); return false;">Répondre</a></td>
|
||||
<td><a href="?p=courrier&d={$req.id}">Supprimer</a></td>
|
||||
<td><a href="?p=courrier&x={$req.id}">Statut</a></td>
|
||||
<td><a href="?p=courrier">Retour</a></td>
|
||||
<td><a href="?p=courrier&v={$req.id-1}"><<<</a> - <a href="?p=courrier&v={$req.id+1}">>>></a></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
{include file='game/footer.tpl'}
|
||||
10
templates/admin/print.tpl
Normal file
10
templates/admin/print.tpl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{include file='game/header.tpl'}
|
||||
<table>
|
||||
{foreach from=$tableau item=ligne key=key}
|
||||
<tr>
|
||||
<td><a href="?p={$linkpage}&id={$idPlan}&key={$key}">{$key}</a></td>
|
||||
<td>{if $key == "mdp"}{$ligne|truncate:50}{else}{$ligne}{/if}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{include file='game/footer.tpl'}
|
||||
29
templates/admin/print_choixP.tpl
Normal file
29
templates/admin/print_choixP.tpl
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>{$titre}</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<form action="admin.php" method="get">
|
||||
<p>
|
||||
ID de la planète : <input type="text" value="" name="id" />
|
||||
<input type="hidden" value="{$linkpage}" name="p" />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</p>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form action="admin.php" method="get">
|
||||
<p>
|
||||
Amas : <input type="text" name="amas" />
|
||||
Système : <input type="text" name="ss" />
|
||||
Position : <input type="text" name="pos" />
|
||||
<input type="hidden" value="{$linkpage}" name="p" />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</p>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{include file='game/footer.tpl'}
|
||||
27
templates/admin/print_choixU.tpl
Normal file
27
templates/admin/print_choixU.tpl
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>{$titre}</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<form action="admin.php" method="get">
|
||||
<p>
|
||||
ID : <input type="text" value="" name="id" />
|
||||
<input type="hidden" value="{$linkpage}" name="p" />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</p>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form action="admin.php" method="get">
|
||||
<p>
|
||||
Nom : <input type="text" name="name" />
|
||||
<input type="hidden" value="{$linkpage}" name="p" />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</p>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{include file='game/footer.tpl'}
|
||||
17
templates/admin/print_key.tpl
Normal file
17
templates/admin/print_key.tpl
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{include file='game/header.tpl'}
|
||||
<table>
|
||||
<tr>
|
||||
<td><a href="?p={$linkpage}&id={$idPlan}">{$key}</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form action="?p={$linkpage}&id={$idPlan}&" method="post">
|
||||
{if $type.0 == 'text' || $type.0 == 'longtext'}<textarea cols="10" rows="10" name="mod">{$tableau.$key}</textarea><br />
|
||||
{else}<input type="text" value="{$tableau.$key}" name="mod" />{/if}
|
||||
<input type="hidden" value="{$key}" name="key" />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{include file='game/footer.tpl'}
|
||||
7
templates/admin/rapports.tpl
Normal file
7
templates/admin/rapports.tpl
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{include file='game/header.tpl'}
|
||||
{foreach from=$tableau item=ligne key=key}
|
||||
<dl>
|
||||
<dt><input class="button2" type="button" onclick="hide(this); return false;" />{$ligne.sujet} de {$ligne.destinataire} à {$ligne.temps|date_format:"%d/%m/%y %H:%M:%S"}</dt><dd>{$ligne.contenu}</dd>
|
||||
</dl>
|
||||
{/foreach}
|
||||
{include file='game/footer.tpl'}
|
||||
26
templates/admin/sanctionU_choix.tpl
Normal file
26
templates/admin/sanctionU_choix.tpl
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>{$titre}</h2>
|
||||
<form action="admin.php" method="get">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
Temps de vacances forcées : <input type="text" value="" name="sanc" /> jours ("d" pour définitif, -3 pour réactiver le compte tout de suite)<br />
|
||||
Raison : <input type="text" maxlength="255" name="raisonmv" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
ID : <input type="text" value="" name="id" />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Nom : <input type="text" name="name" />
|
||||
<input type="hidden" value="{$linkpage}" name="p" />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
25
templates/admin/version.tpl
Normal file
25
templates/admin/version.tpl
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{include file='game/header.tpl'}
|
||||
<a href="?p={$linkpage}&i=add">Ajouter une version</a>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Action</th>
|
||||
<th>Version</th>
|
||||
<th>Infos</th>
|
||||
<th>Date</th>
|
||||
<th>Par</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$tableau item=ligne key=key}
|
||||
<tr>
|
||||
<td><a href="?p={$linkpage}&i={$ligne.id}">EDIT</a> | <a href="?p={$linkpage}&d={$ligne.id}">SUPPR</a></td>
|
||||
<td>{$ligne.version}</td>
|
||||
<td>{$ligne.contenu}</td>
|
||||
<td>{$ligne.temps|date_format:"%d/%m/%y %H:%M:%S"}</td>
|
||||
<td>{$ligne.pseudo}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{include file='game/footer.tpl'}
|
||||
9
templates/admin/version_add.tpl
Normal file
9
templates/admin/version_add.tpl
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{include file='game/header.tpl'}
|
||||
<form action="?p={$linkpage}&i={$id}" method="post">
|
||||
<p>
|
||||
Version : <input type="text" name="version" value="{$mod.version}" /><br />
|
||||
Contenu :<br /><textarea cols="10" rows="10" name="contenu">{$mod.contenu}</textarea><br />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</p>
|
||||
</form>
|
||||
{include file='game/footer.tpl'}
|
||||
25
templates/admin/vflotte.tpl
Normal file
25
templates/admin/vflotte.tpl
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Vérification des flottes</h2>
|
||||
<table style="text-align: center; margin: auto;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Utilisateurs</th>
|
||||
<th>Départ<br />Arrivé<br />Retour</th>
|
||||
<th>Durées</th>
|
||||
<th>Vaisseaux<br />Vitesse</th>
|
||||
<th>Contenu</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$flottes item=flotte}
|
||||
<tr{if $flotte.6} style="background-color: #{$ip.6};"{/if}>
|
||||
<td>{$flotte.0}<br />{$flotte.2}</td>
|
||||
<td>{$flotte.3} {$flotte.4}<br />{$flotte.5} {$flotte.6}</td>
|
||||
<td>{$flotte.7|date_format:"%d/%m/%y %H:%M:%S"}</td>
|
||||
<td>{$flotte.8}<br />{$flotte.9}</td>
|
||||
<td>Métal : {$flotte.10}<br />Cristal : {$flotte.11}<br />Hydrogène : {$flotte.12}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table
|
||||
{include file='game/footer.tpl'}
|
||||
27
templates/admin/vip.tpl
Normal file
27
templates/admin/vip.tpl
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{include file='game/header.tpl'}
|
||||
<h2>Vérification des IP</h2>
|
||||
<a href="?p=vip&v={$numpage-1}"><<<</a> page {$numpage}/{$nbpage} <a href="?p=vip&v={$numpage+1}">>>></a>
|
||||
<table style="text-align: center; margin: auto;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Adresses IP</th>
|
||||
<th>Nom d'utilisateur</th>
|
||||
<th>Date & heure</th>
|
||||
<th>Traçage IP</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach from=$ips item=ip}
|
||||
<tr{if $ip.6} style="background-color: #{$ip.6};"{/if}>
|
||||
<td><a href="?p=vip&ip={$ip.0}">{$ip.0}</a></td>
|
||||
<td><a href="?p=vip&util={$ip.2}">{$ip.3} ({$ip.2})</a></td>
|
||||
<td>{$ip.4|date_format:"%d/%m/%y %H:%M:%S"}</td>
|
||||
<td>{$ip.1}</td>
|
||||
<td><a href="?p=vip&util={$ip.2}&act=multiok">Déclaré</a><br /><a href="{$menua.sjoueurs}&id={$ip.2}&sanc=d&raisonmv=Multi-compte">Définitivement</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
<a href="?p=vip&v={$numpage-1}"><<<</a> page {$numpage}/{$nbpage} <a href="?p=vip&v={$numpage+1}">>>></a>
|
||||
{include file='game/footer.tpl'}
|
||||
4
templates/admin/vp.tpl
Normal file
4
templates/admin/vp.tpl
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{include file='game/header.tpl'}
|
||||
<div class="error">... veuillez patienter ...</div>
|
||||
{$contenu}
|
||||
{include file='game/footer.tpl'}
|
||||
Loading…
Add table
Add a link
Reference in a new issue