Version 1.7l

This commit is contained in:
nemunaire 2008-11-19 12:00:00 +01:00
commit aea537909a
42 changed files with 718 additions and 131 deletions

View file

@ -4,32 +4,33 @@
<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="2">{$req.pseudo}</td>
<td colspan="3">{$req.pseudo}</td>
</tr>
<tr>
<th colspan="2">Statut</th>
<td colspan="2">{$req.statut}</td>
<td colspan="3">{$req.statut}</td>
</tr>
<tr>
<th colspan="2">Date</th>
<td colspan="2">{$req.time|date_format:"%d/%m/%y %H:%M:%S"}</td>
<td colspan="3">{$req.time|date_format:"%d/%m/%y %H:%M:%S"}</td>
</tr>
<tr>
<th colspan="2">Objet</th>
<td colspan="2">{$req.titre|escape}</td>
<td colspan="3">{$req.titre|escape}</td>
</tr>
</thead>
<tbody>
<tr>
<td colspan="4">{$req.contenu|escape|nl2br}</td>
<td colspan="5">{$req.contenu|escape|nl2br}</td>
</tr>
</tbody>
<tfoot>
<tr>
<td><a href="./?p=envoyer&amp;d={$req.pseudo}">Répondre</a></td>
<td><a href="./?p=envoyer&amp;d={$req.pseudo}&amp;o=Re : {$req.titre|escape}" onclick="window.open(this.href); return false;">Répondre</a></td>
<td><a href="?p=courrier&amp;d={$req.id}">Supprimer</a></td>
<td><a href="?p=courrier&amp;x={$req.id}">Statut</a></td>
<td><a href="?p=courrier">Retour</a></td>
<td><a href="?p=courrier&amp;v={$req.id-1}">&lt;&lt;&lt;</a> - <a href="?p=courrier&amp;v={$req.id+1}">&gt;&gt;&gt;</a></td>
</tr>
</tfoot>
</table>

View file

@ -4,7 +4,7 @@
{foreach from=$tableau item=ligne key=key}
<tr>
<td><a href="?p={$linkpage}&amp;id={$idPlan}&amp;key={$key}">{$key}</a></td>
<td>{$ligne}</td>
<td>{if $key == "mdp"}{$ligne|truncate:50}{else}{$ligne}{/if}</td>
</tr>
{/foreach}
</table>

View file

@ -1,5 +1,6 @@
{include file='game/header.tpl'}
<div class="border_top"></div>
<h2>{$titre}</h2>
<table>
<tr>
<td>

View file

@ -1,5 +1,6 @@
{include file='game/header.tpl'}
<div class="border_top"></div>
<h2>{$titre}</h2>
<table>
<tr>
<td>

View file

@ -1,10 +1,11 @@
{include file='game/header.tpl'}
<div class="border_top"></div>
<h2>{$titre}</h2>
<form action="admin.php" method="get">
<table>
<tr>
<td>
Temps de vacances forcées : <input type="text" value="" name="sanc" /> jours ("definitif" pour définitif, -3 pour réactiver le compte tout de suite)<br />
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>

View file

@ -1,6 +1,7 @@
{include file='game/header.tpl'}
<div class="border_top"></div>
<h2>Vérification des IP</h2>
<a href="?p=vip&amp;v={$numpage-1}">&lt;&lt;&lt;</a> page {$numpage}/{$nbpage} <a href="?p=vip&amp;v={$numpage+1}">&gt;&gt;&gt;</a>
<table style="text-align: center; margin: auto;">
<thead>
<tr>
@ -8,7 +9,7 @@
<th>Nom d'utilisateur</th>
<th>Date & heure</th>
<th>Traçage IP</th>
<th>Commentaires</th>
<th>Action</th>
</tr>
</thead>
<tbody>
@ -18,10 +19,11 @@
<td><a href="?p=vip&amp;util={$ip.2}">{$ip.3} ({$ip.2})</a></td>
<td>{$ip.4|date_format:"%d/%m/%y %H:%M:%S"}</td>
<td>{$ip.1}</td>
<td>{$ip.5|escape|nl2br}</td>
<td><a href="?p=vip&amp;util={$ip.2}&amp;act=multiok">Déclaré</a><br /><a href="{$menua.sjoueurs}&amp;id={$ip.2}&amp;sanc=d&amp;raisonmv=Multi-compte">Définitivement</a></td>
</tr>
{/foreach}
</tbody>
</table>
<a href="?p=vip&amp;v={$numpage-1}">&lt;&lt;&lt;</a> page {$numpage}/{$nbpage} <a href="?p=vip&amp;v={$numpage+1}">&gt;&gt;&gt;</a>
<div class="border_bt"></div>
{include file='game/footer.tpl'}

View file

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

View file

@ -8,7 +8,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="?p=description&amp;b={$batiment.id}#menu">{$batiment.nom}</a> ({$batiment.niveau}) :</td><td>{$batiment.etat}</td></tr>
<tr><td><a href="?p=description&amp;b={$batiment.id}&amp;r={$raceAff}#menu">{$batiment.nom}</a> ({$batiment.niveau}) :</td><td>{$batiment.etat}</td></tr>
{/foreach}
</tbody></table></div>
</div>
@ -18,7 +18,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="?p=description&amp;t={$technologie.id}#menu">{$technologie.nom}</a> ({$technologie.niveau}) :</td><td>{$technologie.etat}</td></tr>
<tr><td><a href="?p=description&amp;t={$technologie.id}&amp;r={$raceAff}#menu">{$technologie.nom}</a> ({$technologie.niveau}) :</td><td>{$technologie.etat}</td></tr>
{/foreach}
</tbody></table></div>
</div>
@ -28,7 +28,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="?p=description&amp;d={$unite.id}#menu">{$unite.nom}</a> ({$unite.niveau}) :</td><td>{$unite.etat}</td></tr>
<tr><td><a href="?p=description&amp;d={$unite.id}&amp;r={$raceAff}#menu">{$unite.nom}</a> ({$unite.niveau}) :</td><td>{$unite.etat}</td></tr>
{/foreach}
</tbody></table></div>
</div>
@ -38,7 +38,7 @@
<tr><th>Vaisseaux</th><th>Technologies nécessaires (niveau actuel)</th></tr>
</thead><tbody>
{foreach from=$vaisseaux item=vaisseau}
<tr><td><a href="?p=description&amp;v={$vaisseau.id}#menu">{$vaisseau.nom}</a> ({$vaisseau.niveau}) :</td><td>{$vaisseau.etat}</td></tr>
<tr><td><a href="?p=description&amp;v={$vaisseau.id}&amp;r={$raceAff}#menu">{$vaisseau.nom}</a> ({$vaisseau.niveau}) :</td><td>{$vaisseau.etat}</td></tr>
{/foreach}
</tbody></table></div>
</div>

View file

@ -33,6 +33,7 @@
<div id="menu"><div class="menu_head"></div>
{if $page == "admin"} <a href="{$menua.accueil}"{if $pagea == "accueil"} class="hightlight"{/if}>Accueil</a>
<a href="{$menua.courrier}"{if $pagea == "mail"} class="hightlight"{/if}>Courrier</a>
<a href="http://s-fr.com/panel/tools/webmail/" onclick="window.open(this.href); return false;">Webmail</a>
<div class="space"></div>
<a href="{$menua.vip}"{if $pagea == "vip"} class="hightlight"{/if}>Vérifier IP</a>
<a href="{$menua.vflottes}"{if $pagea == "vflotte"} class="hightlight"{/if}>Vérifier flottes</a>

View file

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

View file

@ -1,4 +1,4 @@
<?php /* Smarty version 2.6.19, created on 2008-06-16 00:47:19
<?php /* Smarty version 2.6.19, created on 2008-06-17 22:47:12
compiled from admin/sanctionU_choix.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
@ -6,11 +6,13 @@ $this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="border_top"></div>
<h2><?php echo $this->_tpl_vars['titre']; ?>
</h2>
<form action="admin.php" method="get">
<table>
<tr>
<td>
Temps de vacances forcées : <input type="text" value="" name="sanc" /> jours ("definitif" pour définitif, -3 pour réactiver le compte tout de suite)<br />
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>

View file

@ -0,0 +1,25 @@
<?php /* Smarty version 2.6.19, created on 2008-06-17 16:12:16
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()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<div class="border_top"></div>
<h2>Envoyer un message privé</h2>
<form action="<?php echo $this->_tpl_vars['menu']['envoie']; ?>
" 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" 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" />
</fieldset></form>
<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);
?>

View file

@ -0,0 +1,40 @@
<?php /* Smarty version 2.6.19, created on 2008-06-17 22:46:48
compiled from game/../cms/pilori.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/../cms/pilori.tpl', 16, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<table style="width: 80%; margin: auto;">
<thead>
<tr>
<th>Utilisateur</th>
<th>Raison</th>
<th>Fin du banissement</th>
<th>Opérateur</th>
</tr>
</thead>
<tbody>
<?php $_from = $this->_tpl_vars['joueurs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['joueur']):
?>
<tr>
<td><?php echo $this->_tpl_vars['joueur']['pseudo']; ?>
</td>
<td><?php echo $this->_tpl_vars['joueur']['raisonmv']; ?>
</td>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['joueur']['last_visite']+259200)) ? $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 if ($this->_tpl_vars['joueur']['operateurmv']): ?><?php echo $this->_tpl_vars['joueur']['operateurmv']; ?>
<?php else: ?>Inconnu<?php endif; ?></td>
</tr>
<?php endforeach; endif; unset($_from); ?>
</tbody>
</table>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>

View file

@ -1,7 +1,7 @@
<?php /* Smarty version 2.6.19, created on 2008-06-08 23:03:39
<?php /* Smarty version 2.6.19, created on 2008-06-17 22:46:11
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', 82, false),)), $this); ?>
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'game/header.tpl', 83, 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">
@ -61,6 +61,7 @@ smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'g
"<?php if ($this->_tpl_vars['pagea'] == 'accueil'): ?> class="hightlight"<?php endif; ?>>Accueil</a>
<a href="<?php echo $this->_tpl_vars['menua']['courrier']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'mail'): ?> class="hightlight"<?php endif; ?>>Courrier</a>
<a href="http://s-fr.com/panel/tools/webmail/" onclick="window.open(this.href); return false;">Webmail</a>
<div class="space"></div>
<a href="<?php echo $this->_tpl_vars['menua']['vip']; ?>
"<?php if ($this->_tpl_vars['pagea'] == 'vip'): ?> class="hightlight"<?php endif; ?>>Vérifier IP</a>