forked from halo-battle/game
Version 1.1b
This commit is contained in:
parent
6a19363758
commit
c4a18d4281
82 changed files with 2532 additions and 180 deletions
|
|
@ -34,6 +34,7 @@ class Rapport{
|
|||
elseif ($this->type == '4') $this->sendRecyclage();
|
||||
elseif ($this->type == '5') $this->sendEspionnage();
|
||||
elseif ($this->type == '6') $this->sendAlliance();
|
||||
elseif ($this->type == '7') $this->sendAlliance2();
|
||||
}
|
||||
|
||||
function sendEspionnage(){
|
||||
|
|
@ -110,5 +111,17 @@ class Rapport{
|
|||
|
||||
mysql_query("INSERT INTO mail VALUES('', '1', '".trouvNom($this->utilA)."', '', '$titreA', '$rapportA', '$temps')");
|
||||
}
|
||||
|
||||
function sendAlliance2(){
|
||||
include_once('includes/function.php');
|
||||
$titreA = 'Fondation de votre alliance !';
|
||||
$rapportA = 'Pour terminer la création de votre alliance, trouvez 4 joueurs de cette galaxie sans alliance pour leur faire signer votre traité de fondation d\'alliance.<br /><br />Lien de signature : <a href="?p=alliances&q=signer&i='.$this->var[0].'">http://battle.halo.fr/?p=alliances&q=signer&i='.$this->var[0].'</a>';
|
||||
|
||||
$titreA = mysql_real_escape_string($titreA);
|
||||
$rapportA = mysql_real_escape_string($rapportA);
|
||||
$temps = $this->timestamp;
|
||||
|
||||
mysql_query("INSERT INTO mail VALUES('', '1', '".trouvNom($this->utilA)."', '', '$titreA', '$rapportA', '$temps')");
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
@ -1,64 +0,0 @@
|
|||
<?php
|
||||
include('includes/header.php');
|
||||
$_SESSION['dernPage'] = 'flotte.php';
|
||||
|
||||
/* Page Flotte => Création
|
||||
*
|
||||
*/
|
||||
$template->set_filenames(array('contenu' => 'flotte2.tpl'));
|
||||
$_SESSION['FL_time'] = time();
|
||||
$ACTIONSUPP ='';
|
||||
|
||||
$nombreVaisseau = 0;
|
||||
for ($i=1 ; $i<=12 ; $i++) {
|
||||
if (!isset($_POST['vaisseau'.$i]) || !is_numeric($_POST['vaisseau'.$i]) || $_POST['vaisseau'.$i] != abs(floor($_POST['vaisseau'.$i]))) $_POST['vaisseau'.$i] = 0;
|
||||
if ($_POST['vaisseau'.$i] >= 0 && $i != 11) {
|
||||
$template->assign_block_vars('vaisseau',array('NB' => $_POST['vaisseau'.$i], 'NUM' => $i));
|
||||
$_SESSION['FL_vaisseau'.$i] = $_POST['vaisseau'.$i];
|
||||
$nombreVaisseau += $_POST['vaisseau'.$i];
|
||||
}
|
||||
if ($i == 5 && $_POST['vaisseau'.$i] >= 1) $ACTIONSUPP .= '<option value="4" selected="selected">Recycler</option>';
|
||||
if ($i == 4 && $_POST['vaisseau'.$i] >= 1) $ACTIONSUPP .= '<option value="5" selected="selected">Espionner</option>';
|
||||
if ($i == 3 && $_POST['vaisseau'.$i] >= 1) $ACTIONSUPP .= '<option value="3" selected="selected">Coloniser</option>';
|
||||
}
|
||||
|
||||
// On vérifie que l'utilisateur ait bien envoyé au moins un vaisseau
|
||||
if ($nombreVaisseau <= 0) {
|
||||
header('Location: flotte.php?err=5');
|
||||
exit;
|
||||
}
|
||||
$_SESSION['FL_nbvais'] = $nombreVaisseau;
|
||||
|
||||
// Définition des paramètres de la flotte
|
||||
$AvaisType = ''; $AvaisVitesseC = ''; $AvaisVitesseL = ''; $AvaisPrepC = ''; $AvaisPrepL = ''; $AvaisChauffe = ''; $AvaisContenu = 0;
|
||||
for ($i=1 ; $i<=12 ; $i++) {
|
||||
for ($j = 1; $j <= $_POST['vaisseau'.$i]; $j++) {
|
||||
$AvaisType .= ($i).' ';
|
||||
$AvaisVitesseC .= $nomvais_dc[$i-1].' ';
|
||||
$AvaisVitesseL .= $nomvais_dl[$i-1].' ';
|
||||
$AvaisContenu += $nomvais_rs[$i-1].' ';
|
||||
$AvaisPrepC .= $nomvais_pdc[$i-1].' ';
|
||||
$AvaisPrepL .= $nomvais_pdl[$i-1].' ';
|
||||
$AvaisChauffe .= $nomvais_cdl[$i-1].' ';
|
||||
break;
|
||||
}
|
||||
}
|
||||
$AvaisType = split(' ', trim($AvaisType)); $AvaisVitesseC = split(' ', trim($AvaisVitesseC)); $AvaisVitesseL = split(' ', trim($AvaisVitesseL)); $AvaisContenu = split(' ', trim($AvaisContenu)); $AvaisPrepC = split(' ', trim($AvaisPrepC)); $AvaisPrepL = split(' ', trim($AvaisPrepL)); $AvaisChauffe = split(' ', trim($AvaisChauffe));
|
||||
if(min($AvaisVitesseL) != 0) {
|
||||
$_SESSION['FL_vitesse'] = max($AvaisVitesseL);
|
||||
$_SESSION['FL_preparation'] = max($AvaisPrepL);
|
||||
$_SESSION['FL_chauffe'] = max($AvaisChauffe);
|
||||
}
|
||||
else {
|
||||
$_SESSION['FL_vitesse'] = max($AvaisVitesseC);
|
||||
$_SESSION['FL_preparation'] = max($AvaisPrepC);
|
||||
$_SESSION['FL_chauffe'] = 0;
|
||||
}
|
||||
|
||||
$template->assign_vars(array('ACTIONSUPP' => $ACTIONSUPP, 'GALAXIE' => $galaxy, 'SYSTEME' => $ss, 'POS' => $pos));
|
||||
/* FIN Page Création de flottes
|
||||
*
|
||||
*/
|
||||
|
||||
include('includes/footer.php');
|
||||
?>
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
RewriteEngine on
|
||||
RewriteRule ^accueil.html$ index.php [L]
|
||||
php_flag register_globals Off
|
||||
php_flag magic_quotes_gpc Off
|
||||
php_flag magic_quotes_runtime Off
|
||||
php_flag magic_quotes_sybase Off
|
||||
|
|
@ -33,4 +33,7 @@ $Classpoints = separerNombres($queryUser['points']);
|
|||
$template->assign('attaques',$attaquesRadar);
|
||||
$template->assign('diametre',$diametre);
|
||||
$template->assign('points',$Classpoints);
|
||||
|
||||
$alli = $chapeau->unique_query("SELECT * FROM `$table_alliances` WHERE `id` = '".$queryUser['id_alliance']."';");
|
||||
$template->assign('alliance', $alli);
|
||||
?>
|
||||
18
game/aide.php
Normal file
18
game/aide.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
if(!defined('INDEX')) { header('Location: ../'); exit; }
|
||||
$titre = 'Aide';
|
||||
|
||||
if (empty($_GET['q'])) $_GET['q'] = '';
|
||||
|
||||
switch($_GET['q']){
|
||||
case '1':
|
||||
$page = 'aide/avertissements';;
|
||||
break;
|
||||
case '2':
|
||||
$page = 'aide/config';;
|
||||
break;
|
||||
default:
|
||||
$page = 'aide/sommaire';
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
if(!defined('INDEX')) { header('Location: ../'); exit; }
|
||||
$titre = 'Alliance';
|
||||
|
||||
include_once('Class/class.rapport.php');
|
||||
|
||||
//Si le joueur est membre de l'alliance
|
||||
if (!empty($queryUser['id_alliance']) && $queryUser['id_grade_alliance'] != -1 ) {
|
||||
|
|
@ -274,7 +274,8 @@ else {
|
|||
$lien = mysql_real_escape_string($_GET['i']);
|
||||
$alliance = $chapeau->unique_query("SELECT * FROM `$table_alliances_creation` WHERE `lien` = '$lien';");
|
||||
if ($alliance) {
|
||||
$signataires = explode(';', $alliance['signatures']);
|
||||
if (empty($alliance['signatures'])) $signataires = array();
|
||||
else $signataires = explode(';', $alliance['signatures']);
|
||||
if ($alliance['fondateur'] == $id_user || in_array($id_user, $signataires)) {
|
||||
$template->assign('message','Vous avez déjà signé pour cette alliance.');
|
||||
$template->assign('script','<script type="text/javascript">setTimeout(\'document.location.href="?p=alliances&q=signer";\', 3500);</script>');
|
||||
|
|
@ -291,7 +292,6 @@ else {
|
|||
file_log("Création de l'alliance : ".$alliance['nom']." par ".$id_user." (fondateur : ".$alliance['fondateur'].") après validation de 4 signatures : ".implode(', ', $signataires).$id_user);
|
||||
|
||||
//On envoie un message au fondateur de l'alliance
|
||||
include_once('Class/class.rapport.php');
|
||||
$rapport = new Rapport(6, $alliance['fondateur'], 0, time());
|
||||
$rapport->send();
|
||||
|
||||
|
|
@ -301,7 +301,7 @@ else {
|
|||
}
|
||||
$chapeau->query("UPDATE `$table_user` SET `id_alliance` = '".$alliance['id']."' WHERE `id` = '$id_user'");
|
||||
|
||||
$template->assign('message','Votre signature a bien été ajoutée à la déclaration de l\'alliance.<br />L\'alliance a désormais désormais suffisament de signature pour être créée !');
|
||||
$template->assign('message','Votre signature a bien été ajoutée à la déclaration de l\'alliance.<br />L\'alliance a désormais suffisament de signature pour être créée !');
|
||||
$template->assign('couleur','green');
|
||||
$template->display('game/erreur.tpl');
|
||||
exit;
|
||||
|
|
@ -373,7 +373,11 @@ else {
|
|||
$lien = sha1($tag.'Hb$'.$nom.'☺Ø'.$id_user.rand());
|
||||
$chapeau->query("INSERT INTO `alliances_creation` VALUES(NULL, '$lien' ,'$tag', '$nom', '$id_user', '');");
|
||||
|
||||
$template->assign('message','Votre alliance a bien été créée.<br />Il ne vous reste plus qu\'à trouver au moins 4 signatures pour finir la création de votre alliance.<br /><br />Le lien permettant à vos quatres personnes de signer est <a href="?p=alliances&q=signer&i='.$lien.'">?p=alliances&q=signer&i='.$lien.'</a>');
|
||||
$rapport = new Rapport(7, $id_user, 0, time());
|
||||
$rapport->addInfo($lien, 0);
|
||||
$rapport->send();
|
||||
|
||||
$template->assign('message','Votre alliance a bien été créée.<br />Il ne vous reste plus qu\'à trouver au moins 4 signatures pour finir la création de votre alliance.<br /><br />Le lien permettant à vos quatres personnes de signer est <a href="?p=alliances&q=signer&i='.$lien.'">'.$config['serv_adresse'].'?p=alliances&q=signer&i='.$lien.'</a>');
|
||||
$template->assign('couleur','green');
|
||||
$template->display('game/erreur.tpl');
|
||||
exit;
|
||||
|
|
|
|||
|
|
@ -5,25 +5,25 @@ $titre = 'Carte spatiale';
|
|||
|
||||
if (isset($_GET['galaxy'])) $g = floor($_GET['galaxy']); else $g = $queryPlanete['galaxie'];
|
||||
if ($g < 1) $g = 1;
|
||||
if ($g > 15) $g = 1;
|
||||
if ($g > MAX_AMAS) $g = 1;
|
||||
|
||||
if (isset($_GET['ss'])) $s = floor($_GET['ss']); else $s = $queryPlanete['ss'];
|
||||
if ($s < 1) $s = 1;
|
||||
if ($s > 300) $s = 300;
|
||||
if ($s > MAX_SYSTEME) $s = MAX_SYSTEME;
|
||||
|
||||
if ($s == 1 && $g > 1) {
|
||||
$Gmu = $g - 1;
|
||||
$Smu = 300;
|
||||
$Smu = MAX_SYSTEME;
|
||||
}
|
||||
elseif ($s == 1) {
|
||||
$Gmu = 15;
|
||||
$Smu = 300;
|
||||
$Smu = MAX_SYSTEME;
|
||||
}
|
||||
else {
|
||||
$Gmu = $g;
|
||||
$Smu = $s - 1;
|
||||
}
|
||||
if ($s == 300) {
|
||||
if ($s == MAX_SYSTEME) {
|
||||
$Gpu = $g + 1;
|
||||
$Spu = 1;
|
||||
}
|
||||
|
|
@ -33,7 +33,7 @@ else {
|
|||
}
|
||||
|
||||
$TEMP_carte = array();
|
||||
for ($i=1; $i<=12; $i++) {
|
||||
for ($i=1; $i<=MAX_PLANETE; $i++) {
|
||||
$resultat = mysql_query("SELECT * FROM planete WHERE galaxie='$g' AND ss='$s' AND position='$i'");
|
||||
if(mysql_num_rows($resultat)>=1) {
|
||||
$x = mysql_query("SELECT * FROM planete WHERE galaxie='$g' AND ss='$s'AND position='$i'");
|
||||
|
|
|
|||
|
|
@ -26,4 +26,5 @@ if (!empty($_POST['objet']) && !empty($_POST['nom']) && !empty($_POST['message']
|
|||
}
|
||||
|
||||
if (isset($_GET['d'])) $template->assign('destinataire',$_GET['d']);
|
||||
if (isset($_GET['o'])) $template->assign('objet',$_GET['o']);
|
||||
?>
|
||||
|
|
@ -117,7 +117,7 @@ if (isset($_POST['HB_pseudo']) && isset($_POST['HB_mdp']) && isset($_POST['HB_co
|
|||
$mail->AddReplyTo('no-reply@halo-battle.s-fr.com');
|
||||
$mail->Subject='Halo-Battle :: Activation de votre compte';
|
||||
//$mail->Subject='Halo-Battle :: Pre-Inscription';
|
||||
$mail->Body=htmlentities('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Halo-Battle :: Activation de votre compte</title></head><body><p>Bonjour '.$pseudo.',<br />Vous recevez ce mail suite à votre demande d\'inscription sur le jeu <a href="http://www.halo-battle.s-fr.com/">Halo-Battle</a>. Pour confirmer votre adresse mail et ainsi pouvoir accéder au jeu, cliquez sur le lien ci-après :<br /><a href="http://halo-battle.s-fr.com/?p=validation&i='.$id_activ.'">http://halo-battle.s-fr.com/?p=validation&i='.$id_activ.'</a><br /><br />A bientôt dans Halo-Battle,<br />Le staff</p></body></html>');
|
||||
$mail->Body='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Halo-Battle :: Activation de votre compte</title></head><body><p>Bonjour '.$pseudo.',<br />Vous recevez ce mail suite à votre demande d\'inscription sur le jeu <a href="http://www.halo-battle.s-fr.com/">Halo-Battle</a>. Pour confirmer votre adresse mail et ainsi pouvoir accéder au jeu, cliquez sur le lien ci-après :<br /><a href="http://halo-battle.s-fr.com/?p=validation&i='.$id_activ.'">http://halo-battle.s-fr.com/?p=validation&i='.$id_activ.'</a><br /><br />A bientôt dans Halo-Battle,<br />Le staff</p></body></html>';
|
||||
//$mail->Body='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Halo-Battle :: Pré-Inscription</title></head><body><p>Félicitations '.$pseudo.' !<br />Votre compte vient d'être enregistré sur notre serveur. Un mail de confirmation vous sera envoyé lors de la sortie du jeu en ligne Halo-Battle. Si vous ne recevez pas l\'email de confirmation, <a href="mailto:technique@halo-battle.s-fr.com">contactez un administrateur</a>.<br /><br />A très bientôt pour la sortie d'Halo-Battle !</p></body></html>';
|
||||
|
||||
if(!$mail->Send()){
|
||||
|
|
@ -128,7 +128,7 @@ if (isset($_POST['HB_pseudo']) && isset($_POST['HB_mdp']) && isset($_POST['HB_co
|
|||
}
|
||||
else{
|
||||
mysql_query("INSERT INTO `user_inscriptions` (`id_activ`, `pseudo`, `race`, `mdp`, `mail`, `last_ip`, `placement`, `time_inscription`, `last_visite`) VALUES ('$id_activ', '$pseudo', '$race', '$mdp', '$Nmail', '$ip', '$placement', '$time', '$time')") or die ('MYSQLERREUR'.mysql_error());
|
||||
$template->assign('message','Félécitations, votre compte vient d\'être créé sur le serveur '.$server.' de Halo-Battle.<br /><br />Un courriel de confirmation vient d\'être envoyé à votre adresse électronique afin de valider votre inscription au jeu en ligne Halo-Battle.<br /><br />N\'attendez-plus, commencez le combat dès à présent !');
|
||||
$template->assign('message','Félicitations, votre compte vient d\'être créé sur le serveur '.$server.' de Halo-Battle.<br /><br />Un courriel de confirmation vient d\'être envoyé à votre adresse électronique afin de valider votre inscription au jeu en ligne Halo-Battle.<br /><br />N\'attendez-plus, commencez le combat dès à présent !');
|
||||
$template->assign('couleur','green');
|
||||
$template->display('cms/erreur.tpl');
|
||||
exit;
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ if (isset($_GET['chg']) && $_GET['chg'] == 'mdp') {
|
|||
$mail->AddAddress($mailUtil);
|
||||
$mail->AddReplyTo('no-reply@halo-battle.s-fr.com');
|
||||
$mail->Subject='Halo-Battle :: Activation de votre nouveau mot de passe';
|
||||
$mail->Body='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><title>Halo-Battle :: Activation de votre nouveau mot de passe</title></head><body><p>Bonjour '.trouvNom($id_user).',<br />Vous recevez ce mail suite à votre demande de changement de mot de passe. Ce dernier entrera en vigueur une fois que vous aurez valider ce changement en cliquant via ce lien :<br /><a href="http://battle.halo.fr/pages/options_validation.php?chg=activation&util='.$id_user.'&auth='.$auth.'">http://battle.halo.fr/pages/options_validation.php?chg=activation&util='.$id_user.'&auth='.$auth.'</a><br />Notez que pour que le mot de passe soit changé, il faut que vous soyer connecté sur votre compte.<br /><br />A bientôt dans Halo-Battle,<br />Le staff</p></body></html>';
|
||||
$mail->Body='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><title>Halo-Battle :: Activation de votre nouveau mot de passe</title></head><body><p>Bonjour '.trouvNom($id_user).',<br />Vous recevez ce mail suite à votre demande de changement de mot de passe. Ce dernier entrera en vigueur une fois que vous aurez valider ce changement en cliquant via ce lien :<br /><a href="'.$config['serv_adresse'].'?p=changeopt&util='.$id_user.'&auth='.$auth.'">'.$config['serv_adresse'].'?p=changeopt&util='.$id_user.'&auth='.$auth.'</a><br />Notez que pour que le mot de passe soit changé, il faut que vous soyer connecté sur votre compte.<br /><br />A bientôt dans Halo-Battle,<br />Le staff</p></body></html>';
|
||||
|
||||
if(!$mail->Send()){ //Teste si le return code est ok.
|
||||
$template->assign('message','Erreur lors de l\'envoie du courriel de confirmation !<br /><br /><small><i>'.$mail->ErrorInfo.'</i></small><br /><br />Si le problème perciste, <a href="mailto:technique@halo-battle.s-fr.com">contactez un administrateur</a>.');
|
||||
|
|
@ -150,7 +150,7 @@ elseif (isset($_GET['chg']) && $_GET['chg'] == 'mail') {
|
|||
$mail->AddAddress($Nmail);
|
||||
$mail->AddReplyTo('no-reply@halo-battle.s-fr.com');
|
||||
$mail->Subject='Halo-Battle :: Activation de votre nouvelle adresse électronique';
|
||||
$mail->Body='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><title>Halo-Battle :: Activation de votre nouvelle adresse électronique</title></head><body><p>Bonjour,<br />Vous recevez ce mail suite à votre demande de changement d\'adresse électronique. Cette dernière entrera en vigueur une fois que vous aurez valider ce changement en cliquant via ce lien :<br /><a href="http://battle.halo.fr/pages/options_validation.php?chg=activation&util='.$id_user.'&auth='.$auth.'">http://battle.halo.fr/pages/options_validation.php?chg=activation&util='.$id_user.'&auth='.$auth.'</a><br />Notez que pour que l\'adresse soit changée, il faut que vous soyer connecté sur votre compte.<br /><br />A bientôt dans Halo-Battle,<br />Le staff</p></body></html>';
|
||||
$mail->Body='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><title>Halo-Battle :: Activation de votre nouvelle adresse électronique</title></head><body><p>Bonjour,<br />Vous recevez ce mail suite à votre demande de changement d\'adresse électronique. Cette dernière entrera en vigueur une fois que vous aurez valider ce changement en cliquant via ce lien :<br /><a href="'.$config['serv_adresse'].'?p=changeopt&util='.$id_user.'&auth='.$auth.'">'.$config['serv_adresse'].'?p=changeopt&util='.$id_user.'&auth='.$auth.'</a><br />Notez que pour que l\'adresse soit changée, il faut que vous soyer connecté sur votre compte.<br /><br />A bientôt dans Halo-Battle,<br />Le staff</p></body></html>';
|
||||
|
||||
if(!$mail->Send()){ //Teste si le return code est ok.
|
||||
$template->assign('message','Erreur lors de l\'envoie du courriel de confirmation !<br /><br /><small><i>'.$mail->ErrorInfo.'</i></small><br /><br />Si le problème perciste, <a href="mailto:technique@halo-battle.s-fr.com">contactez un administrateur</a>.');
|
||||
|
|
@ -184,20 +184,6 @@ elseif (isset($_GET['chg']) && $_GET['chg'] == 'mail') {
|
|||
exit;
|
||||
}
|
||||
}
|
||||
elseif (isset($_GET['chg']) && $_GET['chg'] == 'activation' && isset($_GET['util']) && !empty($_GET['util']) && isset($_GET['auth']) && !empty($_GET['auth'])) {
|
||||
if ($_GET['util'] == $id) {
|
||||
if (!empty($donnees['mdpNOUV']) && sha1($donnees['mdpNOUV']) == $_GET['auth']) {
|
||||
mysql_query("UPDATE `user` SET `mdp` = `mdpNOUV`, `mdpNOUV` = '', `mailNOUV` = '' WHERE ID='$id'");
|
||||
header('Location: options.php?erreur=8');
|
||||
exit;
|
||||
}
|
||||
elseif (!empty($donnees['mailNOUV']) && sha1($donnees['mailNOUV']) == $_GET['auth']) {
|
||||
mysql_query("UPDATE `user` SET `mail` = `mailNOUV`, `mailNOUV` = '', `mdpNOUV` = '' WHERE ID='$id'");
|
||||
header('Location: options.php?erreur=9');
|
||||
exit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$sess->values['idvac'] = sha1(rand(123456789,9876543210).'ß‘}☻'.time());
|
||||
$sess->put();
|
||||
|
|
|
|||
33
game/options_change.php
Normal file
33
game/options_change.php
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<?php
|
||||
if(!defined('INDEX')) { header('Location: ../'); exit; }
|
||||
$titre = 'Changement des options';
|
||||
|
||||
if (isset($_GET['auth'])) {
|
||||
if (!empty($queryUser['mdpNOUV']) && !empty($queryUser['mdpNOUV']) && sha1($queryUser['mdpNOUV']) == $_GET['auth']) {
|
||||
mysql_query("UPDATE `user` SET `mdp` = `mdpNOUV`, `mdpNOUV` = '', `mailNOUV` = '' WHERE ID='$id_user'");
|
||||
$template->assign('message','Votre nouveau mot de passe est en place.');
|
||||
$template->assign('couleur','green');
|
||||
$template->display('game/erreur.tpl');
|
||||
exit;
|
||||
}
|
||||
elseif (!empty($queryUser['mailNOUV']) && !empty($queryUser['mailNOUV']) && sha1($queryUser['mailNOUV']) == $_GET['auth']) {
|
||||
mysql_query("UPDATE `user` SET `mail` = `mailNOUV`, `mailNOUV` = '', `mdpNOUV` = '' WHERE ID='$id_user'");
|
||||
$template->assign('message','Votre nouvelle adresse électronique est en place.');
|
||||
$template->assign('couleur','green');
|
||||
$template->display('game/erreur.tpl');
|
||||
exit;
|
||||
}
|
||||
else {
|
||||
$template->assign('message','Impossible d\'authentifier le lien !');
|
||||
$template->assign('couleur','red');
|
||||
$template->display('game/erreur.tpl');
|
||||
exit;
|
||||
}
|
||||
}
|
||||
else {
|
||||
$template->assign('message','Le lien est incomplet !');
|
||||
$template->assign('couleur','red');
|
||||
$template->display('game/erreur.tpl');
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
83
game/oubliemdp.php
Normal file
83
game/oubliemdp.php
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
<?php
|
||||
if(!defined('INDEX')) { header('Location: ../'); exit; }
|
||||
session_start();
|
||||
require_once('Class/class.phpmailer.php');
|
||||
$page = 'oubliemdp';
|
||||
$erreur = '';
|
||||
|
||||
if (!empty($_GET['i']) && isset($_GET['n'])) {
|
||||
$user = $chapeau->unique_query("SELECT * FROM `user` WHERE `pseudo` = '".mysql_real_escape_string($_GET['n'])."' AND `mdpNOUV` = '".mysql_real_escape_string($_GET['i'])."';");
|
||||
if ($user) {
|
||||
mysql_query("UPDATE `user` SET `mdp` = `mdpNOUV`, `mdpNOUV` = '' WHERE `pseudo` = '".mysql_real_escape_string($_GET['n'])."'");
|
||||
$template->assign('message','Votre mot de passe a été réinitialisé avec succès.');
|
||||
$template->assign('script','<script type="text/javascript">setTimeout(\'document.location.href="?index";\', 3500);</script>');
|
||||
$template->assign('couleur','green');
|
||||
$template->display('cms/erreur.tpl');
|
||||
exit;
|
||||
}
|
||||
else {
|
||||
$template->assign('message','Ce lien a expiré !');
|
||||
$template->assign('couleur','red');
|
||||
$template->display('cms/erreur.tpl');
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($_POST['HB_pseudo']) && isset($_POST['HB_mail']) && isset($_POST['HB_captcha'])) {
|
||||
$ok = true;
|
||||
if (empty($_POST['HB_pseudo']) || empty($_POST['HB_mail'])) {
|
||||
$ok = false;
|
||||
$erreur .= '<p style="color: #FF0000"><b>Pseudo ou adresse électronique vide :</b><br />Veuillez compléter tous les champs de ce formulaire avant de le valider.</p><br />';
|
||||
}
|
||||
if (strtolower($_POST['HB_captcha']) != strtolower($_SESSION['aleat_nbr'])) {
|
||||
$ok = false;
|
||||
$erreur .= '<p style="color: #FF0000"><b>Code de vérification incorrect :</b><br />Le texte que vous avez recopier ne correspondait pas au texte de l\'image, veuillez recommencer.</p><br />';
|
||||
}
|
||||
if ($ok) {
|
||||
$user = $chapeau->unique_query("SELECT * FROM `user` WHERE `pseudo` = '".mysql_real_escape_string($_POST['HB_pseudo'])."' AND `mail` = '".mysql_real_escape_string($_POST['HB_mail'])."';");
|
||||
if ($user) {
|
||||
$liste = "abcdefghijklmnopqrstuvwxyz123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
||||
$code = '';
|
||||
while(strlen($code) != 8) {
|
||||
$code .= $liste[rand(0,60)];
|
||||
}
|
||||
$passNOUV = sha1(strtoupper($pseudo).':'.$code);
|
||||
mysql_query("UPDATE `user` SET `mdpNOUV` = '".$passNOUV."' WHERE `pseudo` = '".mysql_real_escape_string($_POST["HB_pseudo"])."'");
|
||||
|
||||
$mail = new PHPmailer();
|
||||
$mail->SetLanguage('fr', 'Class/');
|
||||
$mail->IsSMTP();
|
||||
$mail->IsHTML(true);
|
||||
$mail->Host='s-fr.com';
|
||||
$mail->From='no-reply@halo-battle.s-fr.com';
|
||||
$mail->FromName='Halo-Battle';
|
||||
$mail->SMTPAuth=true;
|
||||
$mail->Username='no-reply@halo-battle.s-fr.com';
|
||||
$mail->Password='hD3e2nXu';
|
||||
|
||||
$mail->AddAddress($_POST['HB_mail']);
|
||||
$mail->AddReplyTo('no-reply@halo-battle.s-fr.com');
|
||||
$mail->Subject='Halo-Battle :: Reinitialisation du mot de passe';
|
||||
$mail->Body='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Halo-Battle :: Réinitialisation du mot de passe</title></head><body><p>Bonjour '.$_POST["HB_pseudo"].',<br />Vous recevez ce mail suite à votre demande de réinitialisation de mot de passe. Pour confirmer votre réinitialisation de mot de passe et ainsi pouvoir de nouveau accéder au jeu, cliquez sur le lien ci-après :<br /><a href="'.$config['serv_adresse'].'?p=oubliemdp&i='.$passNOUV.'&n='.$_POST["HB_pseudo"].'">'.$config['serv_adresse'].'?p=oubliemdp&i='.$passNOUV.'&n='.$_POST["HB_pseudo"].'</a><br /><br />Votre nouveau mot de passe est : '.$code.'<br /><br />A bientôt dans Halo-Battle,<br />Le staff</p></body></html>';
|
||||
|
||||
if(!$mail->Send()){ //Teste si le return code est ok.
|
||||
$template->assign('message','Erreur lors de l\'envoie du courriel de confirmation !<br /><br /><small><i>'.$mail->ErrorInfo.'</i></small><br /><br />Si le problème perciste, <a href="mailto:technique@halo-battle.s-fr.com">contactez un administrateur</a>.');
|
||||
$template->assign('couleur','red');
|
||||
$template->display('cms/erreur.tpl');
|
||||
exit;
|
||||
}
|
||||
else{
|
||||
$template->assign('message','Un nouveau mot de passe a été généré pour votre compte, vous le trouverez dans votre boîte de courrier électronique.');
|
||||
$template->assign('couleur','green');
|
||||
$template->display('cms/erreur.tpl');
|
||||
exit;
|
||||
}
|
||||
$mail->SmtpClose();
|
||||
unset($mail);
|
||||
}
|
||||
else $erreur .= '<p style="color: #FF0000"><b>Nom d\'utilisateur ou adresse électronique incorrect :</b><br />L\'adresse électronique que vous avez indiqué ne correspond pas au nom d\'utilisateur. Réessayez.</p><br />';
|
||||
}
|
||||
}
|
||||
|
||||
$template->assign('erreurs', $erreur);
|
||||
?>
|
||||
|
|
@ -5,7 +5,7 @@ $titre = $queryPlanete["nom_planete"];
|
|||
$id_plan = $queryPlanete["id"];
|
||||
|
||||
if (isset($_POST['planete'])) {
|
||||
$nouvNom = mysql_real_escape_string(htmlentities(trim($_POST['planete'])));
|
||||
$nouvNom = mysql_real_escape_string(str_replace('<', '<', trim($_POST['planete'])));
|
||||
if (empty($nouvNom)) {
|
||||
$template->assign('message','Vous n\'avez indiqué aucun nom de planète.');
|
||||
$template->assign('script','<script type="text/javascript">setTimeout(\'document.location.href="?p=rename";\', 2500);</script>');
|
||||
|
|
|
|||
|
|
@ -3,9 +3,20 @@ if(!defined('INDEX')) { header('Location: ../'); exit; }
|
|||
$page = 'ressources';
|
||||
$titre = 'Ressources';
|
||||
|
||||
if (isset($_POST['coeff_metal']) && isset($_POST['coeff_cs'])) {
|
||||
if (!isset($_POST['coeff_cristal'])) $_POST['coeff_cristal'] = 0;
|
||||
if (!isset($_POST['coeff_hydrogene'])) $_POST['coeff_hydrogene'] = 0;
|
||||
if (!isset($_POST['coeff_ce'])) $_POST['coeff_ce'] = 0;
|
||||
|
||||
$chapeau->query("UPDATE `planete` SET `coeff_mine_m` = '".(floor($_POST['coeff_metal'])/100)."', `coeff_mine_c` = '".(floor($_POST['coeff_cristal'])/100)."', `coeff_mine_h` = '".(floor($_POST['coeff_hydrogene'])/100)."', `coeff_centrale_s` = '".(floor($_POST['coeff_cs'])/100)."', `coeff_centrale_f` = '".(floor($_POST['coeff_ce'])/100)."' WHERE `id` = '$idPlan'");
|
||||
header('Location: ?p=ressources');
|
||||
exit;
|
||||
}
|
||||
|
||||
$template->assign('nombat', $batiment);
|
||||
$template->assign('ressources_prod', array(separerNombres(floor(ceil(pow(1.1,$mine_m)*35*$mine_m)*$coeff_mine_m)), separerNombres(floor(ceil(pow(1.1,$mine_c)*23*$mine_c)*$coeff_mine_c)), separerNombres(floor((ceil(pow(1.1,$mine_h)*14*($mine_h+0.7))) * $coeff_mine_h)), separerNombres(floor(ceil(exp(0.28*$centrale_s)*22)*$coeff_centrale_s)), separerNombres(floor(ceil(exp(0.297*$centrale_f)*25)*$coeff_centrale_f))));
|
||||
$template->assign('ressources_conso', array(separerNombres(ceil(exp(0.28*$mine_m)*10)*$coeff_mine_m), separerNombres(ceil(exp(0.28*$mine_c)*10)*$coeff_mine_c), separerNombres(ceil(exp(0.2849*$mine_h)*13)*$coeff_mine_h), floor(ceil(pow(1.34,($centrale_f-1))*9)*$coeff_centrale_f)));
|
||||
$template->assign('ressources_toto', array(separerNombres(floor((ceil(pow(1.1,$mine_h)*14*($mine_h+0.7))) * $coeff_mine_h) - floor(ceil(pow(1.34,($centrale_f-1))*9)*$coeff_centrale_f))), $diffnrj);
|
||||
$template->assign('ressources_coef', array(floor($coeff_mine_m*100), floor($coeff_mine_c*100), floor($coeff_mine_h*100), floor($coeff_centrale_s*100), floor($coeff_centrale_f*100)));
|
||||
$template->assign('ressources_toto', array(separerNombres(floor((ceil(pow(1.1,$mine_h)*14*($mine_h+0.7))) * $coeff_mine_h) - floor(ceil(pow(1.34,($centrale_f-1))*9)*$coeff_centrale_f))), '('.$diffnrj.')');
|
||||
$template->assign('ressources_coef', array(floor($coeff_mine_m*10)*10, floor($coeff_mine_c*10)*10, floor($coeff_mine_h*10)*10, floor($coeff_centrale_s*10)*10, floor($coeff_centrale_f*10)*10));
|
||||
$template->assign('ressources_tab', array(0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100));
|
||||
?>
|
||||
|
|
@ -15,7 +15,8 @@ if (!empty($_GET['i'])) {
|
|||
$url = "http://127.0.0.1/hbn/";
|
||||
break;
|
||||
case 1:
|
||||
$url = "http://battle.halo.fr/";
|
||||
//$url = "http://battle.halo.fr/";
|
||||
$url = "http://hb.s-fr.com/";
|
||||
break;
|
||||
default:
|
||||
$url = "http://battle.halo.fr/";
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@ if(!defined('INDEX')) { header('Location: ../'); exit; }
|
|||
define("_FCORE",$_SERVER["DOCUMENT_ROOT"].'/includes/onyx/');
|
||||
define("_FDIR",'hbn');
|
||||
|
||||
define('VERSION', '1.0b');
|
||||
define('VERSION', '1.1b');
|
||||
|
||||
//Constante permettant de savoir si les attaques sont désactivées ou non
|
||||
define("ATTAQUES", false);
|
||||
//Définition des limites de la galaxie
|
||||
define("MAX_AMAS", 3);
|
||||
define("MAX_AMAS", 9);
|
||||
define("MAX_SYSTEME", 99);
|
||||
define("MAX_PLANETE", 12);
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ $HEADER = '';
|
|||
|
||||
$nanite = 0;
|
||||
|
||||
$PUB = '<script type="text/javascript"><!--
|
||||
$template->assign('pub', '<script type="text/javascript"><!--
|
||||
google_ad_client = "pub-8183761828268957";
|
||||
//468x60, date de création 20/11/07
|
||||
google_ad_slot = "9088855275";
|
||||
|
|
@ -56,5 +56,15 @@ google_ad_height = 60;
|
|||
//--></script>
|
||||
<script type="text/javascript"
|
||||
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
|
||||
</script><br />';
|
||||
</script><br />');
|
||||
$template->assign('analyst', '<script type="text/javascript">
|
||||
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
||||
document.write(unescape("%3Cscript src=\'" + gaJsHost + "google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E"));
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
var pageTracker = _gat._getTracker("UA-3544473-3");
|
||||
pageTracker._initData();
|
||||
pageTracker._trackPageview();
|
||||
</script>
|
||||
');
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ class bdd
|
|||
|
||||
if(!$this->reponse)
|
||||
{
|
||||
echo("Requete à la base de donnée invalide".mysql_error());
|
||||
echo("Requete à la base de donnée invalide");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ lang: "FRA"
|
|||
db_host: "localhost"
|
||||
db_name: "halo_battle"
|
||||
db_prefix: ""
|
||||
serv_adresse: "http://127.0.0.1/"
|
||||
smiley_dir: "images/smiles/"
|
||||
smiley[wink]: ":wink:"
|
||||
smiley[biggrin]: ":D"
|
||||
|
|
@ -32,12 +33,13 @@ smiley[neutral]: ":-|"
|
|||
smiley[redface]: ":oops:"
|
||||
smiley[rolleyes]: ":roll:"
|
||||
smiley[lol]: ":lol:"
|
||||
link[forum]: "/forum/index.php"
|
||||
link[jeu]: "http://battle.halo.fr"
|
||||
link[blog]: "ark/"
|
||||
link[accueil]: "/accueil.html"
|
||||
link[contact]: "/contact.html"
|
||||
link[forum]: "http://halo-battle.s-fr.com/forum/index.php"
|
||||
link[jeu]: "http://battle.halo.fr/"
|
||||
link[blog]: "http://halo-battle.s-fr.com/ark/"
|
||||
link[accueil]: "http://halo-battle.s-fr.com/"
|
||||
link[contact]: "/contact.php"
|
||||
link[self]: "./"
|
||||
link[oubliemdp]: "?p=oubliemdp"
|
||||
link[inscription]: "?p=inscription"
|
||||
menu[accueil]: "?p=accueil"
|
||||
menu[batiments]: "?p=batiments"
|
||||
|
|
@ -59,7 +61,7 @@ menu[alliance]: "?p=alliances"
|
|||
menu[classement]: "?p=classement"
|
||||
menu[forums]: "http://halo-battle.s-fr.com/forum/"
|
||||
menu[bugs]: "?p=bugs"
|
||||
menu[faq]: "?p=prochainement"
|
||||
menu[faq]: "?p=faq"
|
||||
menu[deconnexion]: "?p=deconnexion"
|
||||
menuadmin[accueil]: "?p=accueil"
|
||||
menuadmin[vip]: "?p=vip"
|
||||
|
|
|
|||
1
includes/onyx/logs/19-05-2008.xlog
Normal file
1
includes/onyx/logs/19-05-2008.xlog
Normal file
|
|
@ -0,0 +1 @@
|
|||
[01:59:54] MESSAGE : Création de l'alliance : les nouveaux poms par 8 (fondateur : 1) après validation de 4 signatures : 2, 3, 48 , [127.0.0.1] [GET] [/?p=alliances&q=signer&i=9933b43c5fed536612fd1dcdd52815a4ce854938] [Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5] [http://halobattle.local/?p=messagerie]
|
||||
0
includes/onyx/record.xlist
Normal file
0
includes/onyx/record.xlist
Normal file
|
|
@ -17,7 +17,7 @@ class session {
|
|||
$db = new bdd();
|
||||
$db->connexion();
|
||||
$db->db();
|
||||
$db->control($config['db_prefix']."sessions");
|
||||
#$db->control($config['db_prefix']."sessions");
|
||||
|
||||
$time = time()-$config['session_time'];
|
||||
$table = $config['db_prefix']."sessions";
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{include file='cms/header.tpl'}
|
||||
<div id="connexion" class="block">
|
||||
<div class="header">Connexion</div>
|
||||
<div class="corps"><form action="http://battle.halo.fr/" method="post"><fieldset><span><input type="text" class="text" name="HB_login" maxlength="15" tabindex="1" /><input type="password" class="password" name="HB_password" maxlength="30" tabindex="2" /><input type="submit" class="submit" value="GO" tabindex="3" /></span><span><input type="checkbox" name="cookie" id="cookie" /><label for="cookie">Retenir mes informations</label> <a href="#" tabindex="4">Mot de passe oublié</a></span></fieldset></form></div>
|
||||
<div class="corps"><form action="?log" method="post"><fieldset><span><input type="text" class="text" name="HB_login" maxlength="32" tabindex="1" /><input type="password" class="password" name="HB_password" maxlength="32" tabindex="2" /><input type="submit" class="submit" value="GO" tabindex="3" /></span><span><input type="checkbox" name="cookie" id="cookie" /><label for="cookie">Retenir mes informations</label> <a href="{$link.oubliemdp}" tabindex="4">Mot de passe oublié</a></span></fieldset></form></div>
|
||||
</div>
|
||||
|
||||
<div id="inscription" class="block"><span><a href="{$link.inscription}">INSCRIVEZ VOUS</a> Rejoignez l'alliance ou engagez-vous</span> <p><strong>DEFENDREZ VOUS L'HUMANITE OU LA DETRUIREZ VOUS?</strong><br /><br />Repoussez l'ennemi et partez a la conquète des mondes-anneaux dans des univers vastes et riches basés sur l'univers du jeu vidéo Halo<br /><br /><em>Une simple inscription gratuite et un navigateur internet sont demandés pour pouvoir participer a des batailles épiques!</em></p> <a href="{$link.inscription}" class="link"><span>Cliquez ici pour vous inscrire</span></a> <a href="{$link.inscription}" class="more">En savoir plus</a></div>
|
||||
|
|
|
|||
29
includes/onyx/templates/templates/cms/oubliemdp.tpl
Normal file
29
includes/onyx/templates/templates/cms/oubliemdp.tpl
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{include file='cms/header.tpl'}
|
||||
<div id="dernierminute" class="block">
|
||||
<div class="header">Informations</div>
|
||||
<div class="corps" id="description"><b>Oublie de mot de passe</b><br /><br /><p>Complétez le formualaire ci-contre avec votre nom d'utilisateur et votre adresse électronique. Un nouveau mot de passe sera envoyé à votre adresse, vous permettant ainsi d'avoir de nouveau accès à votre compte.<br /><br />Pensez à changer ce nouveau mot de passe que vous ne retiendrez pas facilement, via la page option du jeu.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="statistiques" class="block">
|
||||
<div class="header">Formulaire de réinitialisation de mot de passe</div>
|
||||
<div class="corpsi">
|
||||
<form action="{$link.oubliemdp}" method="post">
|
||||
<span><label for="HB_pseudo">Pseudo :</label> <input class="text" name="HB_pseudo" id="pseudo" type="text" />
|
||||
<br /><label for="HB_mail">Adresse électronique :</label> <input class="text" name="HB_mail" id="mail" type="text" />
|
||||
<br /><br /><label for="HB_captcha">Recopiez ce texte :</label> <input class="text" name="HB_captcha" id="captcha" type="text" /> <img src="captcha/image.php" alt="Génération ..." id="gen" />
|
||||
<br /><br /><input class="submit" value="OK" type="submit">
|
||||
</span>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{if $erreurs}
|
||||
<div id="connexion" class="block">
|
||||
<div class="header"><b>Impossible de changer le mot de passe :</b></div>
|
||||
<div class="corps" id="description">
|
||||
<p>
|
||||
{$erreurs}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{include file='cms/footer.tpl'}
|
||||
|
|
@ -15,5 +15,6 @@
|
|||
<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>
|
||||
{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'}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,33 @@
|
|||
{include file='game/header.tpl'}
|
||||
<div class="border_top"></div>
|
||||
<h2>Aide de Halo-Battle :: Avertissements</h2>
|
||||
<h3>Avertissement aux utilisateurs de téléviseurs à rétroprojection</h3><br />
|
||||
Les images fixes peuvent endommager de manière irréversible le tube cathodique ou marquer à jamais les luminophores qui constituent l'écran de ces téléviseurs.<br />C'est pourquoi il est conseillé d'éviter d'utiliser des jeux vidéo trop souvent ou de façon prolongée avec les téléviseurs à rétroprojection.<br /><br />
|
||||
<h3>Prévention des risques d'épilepsie</h3><br />
|
||||
<h4>A lire avant toute utilisation d'un jeu vidéo par vous-même ou par votre enfant.</h4><br />
|
||||
Chez certaines personnes, la stimulation visuelle par certains effets stroboscopiques ou motifs lumineux peut déclencher une crise d'épilepsie ou une perte de connaissance et ce, y compris dans la vie de tous les jours.<br />
|
||||
Chez ces personnes, le simple fait de regarder la télévision ou de jouer à un jeu vidéo peut suffire à déclencher une crise. Les symptômes peuvent même se déclarer chez un individu sans antécédents médicaux ou n'ayant jamais souffert de crise d'épilepsie.<br />
|
||||
Si vous-même ou un membre de votre famille avez déjà présenté des symptômes liés à l'épilepsie (crise d'épilepsie ou de perte de connaissance) à la suite d'une exposition à des effets lumineux stroboscopiques, veuillez consulter votre médecin avant de commencer à jouer.<br />
|
||||
Nous conseillons vivement aux parents de prêter une attention soutenue à leurs enfants lorsqu'ils utilisent un jeu vidéo. Si vous ou votre enfant ressentez l'un des symptômes suivants en cours de jeu : vertiges, troubles de la vue, contractions oculaires ou musculaires incontrôlées, perte de connaissance, désorientation, mouvements involontaires ou convulsions, veuillez cesser IMMEDIATEMENT la partie et consulter votre médecin.<br /><br />
|
||||
<h3>Règles à respecter pour jouer dans les meilleures conditions possibles</h3>
|
||||
<ul>
|
||||
<li>S'installer confortablement en position assise, le plus loin possible de l'écran.
|
||||
<li>Jouer de préférence sur un écran de petite taille.</li>
|
||||
<li>Eviter de jouer en cas de fatigue ou de manque de sommeil.</li>
|
||||
<li>Veiller à ce que la pièce soit bien éclairée.</li>
|
||||
<li>Observer des pauses de 10 à 15 minutes par heure de jeu.</li>
|
||||
</ul><br />
|
||||
<h3>Prévention des risques liés aux troubles du sommeil</h3><br />
|
||||
Pour votre santé, veillez à observer un compte d'heures minimales allouées à votre repos. Jouer plusieurs heures d'affilées comporte un risque de déréglement de votre horloge interne et/ou de troubles du sommeil. Si vous ou votre enfant ressentez l'un des symptômes suivants en cours de jeu : fatigue, vertiges, troubles de la vue, contractions oculaires ou musculaires incontrôlées, perte de connaissance, insomnie, stress, veuillez cesser IMMEDIATEMENT de jouer et prenez du repos.<br />
|
||||
Pour bien dormir, observez ces quelques règles :
|
||||
<ul>
|
||||
<li>Couchez-vous et levez-vous à heures régulières.</li>
|
||||
<li>Pas de grasse matinée : levez-vous dès le réveil.</li>
|
||||
<li>Dînez léger et pas trop tard, en mangeant un laitage.</li>
|
||||
<li>Observer les premiers signes annonciateurs du sommeil, ne luttez pas contre le sommeil.</li>
|
||||
<li>Maintenir une température basse (entre 15 et 18 °C) ainsi qu'un bon degré d'hygrométrie.<br />Opter pour l'obscurité, elle favorise le sommeil. Choisir un lit confortable (ni trop ferme ni trop mou) et des couvertures légères.</li>
|
||||
<li>Evitez la prise de produits stimulants : coca-cola, thé, café, vitamine C…</li>
|
||||
<li>La régularité du sommeil reste le meilleur gage de qualité.</li>
|
||||
</ul>
|
||||
<div class="border_bt"></div>
|
||||
{include file='game/footer.tpl'}
|
||||
14
includes/onyx/templates/templates/game/aide/config.tpl
Normal file
14
includes/onyx/templates/templates/game/aide/config.tpl
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{include file='game/header.tpl'}
|
||||
<div class="border_top"></div>
|
||||
<h2>Aide de Halo-Battle :: Configuration requise</h2>
|
||||
<br /><h3>Configuration nécessaire</h3><br />
|
||||
Pour jouer à Halo-Battle, un simple navigateur internet est suffisant. Assurez-vous donc de disposer du matériel informatique adéquat ainsi que d'une connexion internet.<br />
|
||||
<br /><h3>Configuration recommandée</h3><br />
|
||||
Pour jouer dans des conditions optimales :<br />
|
||||
<ul>
|
||||
<li>Connexion 512 k</li>
|
||||
<li>Navigateur internet Mozilla Firefox ou Opéra</li>
|
||||
<li>JavaScript</li>
|
||||
</ul>
|
||||
<div class="border_bt"></div>
|
||||
{include file='game/footer.tpl'}
|
||||
10
includes/onyx/templates/templates/game/aide/sommaire.tpl
Normal file
10
includes/onyx/templates/templates/game/aide/sommaire.tpl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{include file='game/header.tpl'}
|
||||
<div class="border_top"></div>
|
||||
<h2>Aide de Halo-Battle :: Sommaire</h2>
|
||||
<h3><a href="{$menu.faq}&q=1">Avertissements</a></h3>
|
||||
<h3><a href="{$menu.faq}&q=2">Configuration nécessaire</a></h3>
|
||||
<h3><a href="{$menu.faq}&q=3">Démarrage du jeu</a></h3>
|
||||
<h3><a href="{$menu.faq}&q=4">Introduction</a></h3>
|
||||
<h3><a href="{$menu.faq}&q=5">Comment jouer</a></h3>
|
||||
<div class="border_bt"></div>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -40,9 +40,9 @@
|
|||
{/if}
|
||||
Temps de construction : {$batiment.temps}<br /><br />
|
||||
{if $batiment.enfile}<a href="{$menu.batiments}&a={$batiment.num}">Arrêter</a>
|
||||
{elseif $batiment.nec_hydrogene > $planete.hydrogene}<span class="lack" title="manque {if $batiment.maq_metal >0}{$batiment.maq_metal} de {$nomsressources.0|lower} ; {/if}{if $batiment.maq_cristal >0}{$batiment.maq_cristal} de {$nomsressources.1|lower} ; {/if}{if $batiment.maq_hydrogene > 0}{$batiment.maq_hydrogene} de {$nomsressources.2|lower}{/if}">Ressouces insuffisantes</span>
|
||||
{elseif $batiment.nec_cristal > $planete.cristal}<span class="lack" title="manque {if $batiment.maq_metal >0}{$batiment.maq_metal} de {$nomsressources.0|lower} ; {/if}{if $batiment.maq_cristal >0}{$batiment.maq_cristal} de {$nomsressources.1|lower} ; {/if}{if $batiment.maq_hydrogene > 0}{$batiment.maq_hydrogene} de {$nomsressources.2|lower}{/if}">Ressouces insuffisantes</span>
|
||||
{elseif $batiment.nec_metal > $planete.metal}<span class="lack" title="manque {if $batiment.maq_metal >0}{$batiment.maq_metal} de {$nomsressources.0|lower} ; {/if}{if $batiment.maq_cristal >0}{$batiment.maq_cristal} de {$nomsressources.1|lower} ; {/if}{if $batiment.maq_hydrogene > 0}{$batiment.maq_hydrogene} de {$nomsressources.2|lower}{/if}">Ressouces insuffisantes</span>
|
||||
{elseif $batiment.nec_hydrogene > $planete.hydrogene}<span class="lack" title="manque {if $batiment.maq_metal >0}{$batiment.maq_metal} de {$nomsressources.0|lower} ; {/if}{if $batiment.maq_cristal >0}{$batiment.maq_cristal} de {$nomsressources.1|lower} ; {/if}{if $batiment.maq_hydrogene > 0}{$batiment.maq_hydrogene} de {$nomsressources.2|lower}{/if}">Ressources insuffisantes</span>
|
||||
{elseif $batiment.nec_cristal > $planete.cristal}<span class="lack" title="manque {if $batiment.maq_metal >0}{$batiment.maq_metal} de {$nomsressources.0|lower} ; {/if}{if $batiment.maq_cristal >0}{$batiment.maq_cristal} de {$nomsressources.1|lower} ; {/if}{if $batiment.maq_hydrogene > 0}{$batiment.maq_hydrogene} de {$nomsressources.2|lower}{/if}">Ressources insuffisantes</span>
|
||||
{elseif $batiment.nec_metal > $planete.metal}<span class="lack" title="manque {if $batiment.maq_metal >0}{$batiment.maq_metal} de {$nomsressources.0|lower} ; {/if}{if $batiment.maq_cristal >0}{$batiment.maq_cristal} de {$nomsressources.1|lower} ; {/if}{if $batiment.maq_hydrogene > 0}{$batiment.maq_hydrogene} de {$nomsressources.2|lower}{/if}">Ressources insuffisantes</span>
|
||||
{else}<a href="{$menu.batiments}&c={$batiment.num}">Construire</a>
|
||||
{/if}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<h2>Envoyer un message privé</h2>
|
||||
<form action="{$menu.envoie}" method="post"><fieldset class="options">
|
||||
<label for="nom">Nom du destinataire :</label><input class="text" type="text" name="nom" value="{$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="{$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,10 +1,24 @@
|
|||
</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 /><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}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -42,11 +42,12 @@
|
|||
<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 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.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>
|
||||
<div class="ressource"><span>{$nomsressources.0}</span><br />{if $alertes.0 == true}<span class="lack">{/if}{$planete.metalS}{if $alertes.0}</span>{/if}</div>
|
||||
<div class="border_bt"></div>
|
||||
</div>
|
||||
{/if}
|
||||
<div>{$pub}</div>
|
||||
<div id="corps">
|
||||
|
|
@ -39,9 +39,9 @@
|
|||
{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}">Ressouces 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}">Ressouces 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}">Ressouces insuffisantes</span>
|
||||
{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>
|
||||
{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>
|
||||
{/if}
|
||||
</div>
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
{/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">Ressouces insuffisantes</span></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'}
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
<form action="{$menu.messagerie}" method="post">
|
||||
{foreach from=$messages item=message}
|
||||
<dl>
|
||||
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><input class="checkbox" type="checkbox" name="m{$message.4}" value="{$message.5}" />{$message.0} de {$message.2} à {$message.1}</dt><dd>{$message.3}</dd>
|
||||
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><input class="checkbox" type="checkbox" name="m{$message.4}" value="{$message.5}" /><a href="?p=envoyer&d={$message.2}&o={$message.0}">{$message.0}</a> de {$message.2} à {$message.1}</dt><dd>{$message.3|nl2br}</dd>
|
||||
</dl>
|
||||
{/foreach}
|
||||
<fieldset><input class="button" type="button" value="Tout sélectionner" onclick="checkboxes(true)" /> <input class="button" type="button" value="Tout déselectionner" onclick="checkboxes(false)" /><br /><br /><strong>Supprimer le sélection : </strong><input class="submit" type="submit" value="OK" /><br /><br /><input type="hidden" value="{$IM}" name="IM" /></fieldset>
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
<form action="{$menu.messagerie}" method="post">
|
||||
{foreach from=$rapports item=rapport}
|
||||
<dl>
|
||||
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><input class="checkbox" type="checkbox" name="r{$rapport.4}" value="{$rapport.5}" />{$rapport.0} à {$rapport.1}</dt><dd>{$rapport.3}</dd>
|
||||
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><input class="checkbox" type="checkbox" name="r{$rapport.4}" value="{$rapport.5}" />{$rapport.0} à {$rapport.1}</dt><dd>{$rapport.3|nl2br}</dd>
|
||||
</dl>
|
||||
{/foreach}
|
||||
<fieldset><input class="button" type="button" value="Tout sélectionner" onclick="checkboxesr(true)" /> <input class="button" type="button" value="Tout déselectionner" onclick="checkboxesr(false)" /><br /><br /><strong>Supprimer le sélection : </strong><input class="submit" type="submit" value="OK" /><br /><br /><input type="hidden" value="{$IR}" name="IR" /></fieldset>
|
||||
|
|
|
|||
|
|
@ -1,16 +1,19 @@
|
|||
{include file='game/header.tpl'}
|
||||
<div class="border_top"></div>
|
||||
<h2>Ressources</h2>
|
||||
<table>
|
||||
<thead><tr><th> </th><th>Coefficient</th><th>Métal</th><th>Cristal</th><th>Hydrogène</th><th>Energie</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>{$planete.mine_m} {$nombat.0}</td><td>{$ressources_coef.0}%</td><td>{$ressources_prod.0}</td><td>0</td><td>0</td><td class="lack">-{$ressources_conso.0}</td></tr>
|
||||
<tr><td>{$planete.mine_c} {$nombat.1}</td><td>{$ressources_coef.1}%</td><td>0</td><td>{$ressources_prod.1}</td><td>0</td><td class="lack">-{$ressources_conso.1}</td></tr>
|
||||
<tr><td>{$planete.mine_h} {$nombat.2}</td><td>{$ressources_coef.2}%</td><td>0</td><td>0</td><td>{$ressources_prod.2}</td><td class="lack">-{$ressources_conso.2}</td></tr>
|
||||
<tr><td>{$planete.centrale_s} {$nombat.3}</td><td>{$ressources_coef.3}%</td><td>0</td><td>0</td><td>0</td><td>{$ressources_prod.3}</td></tr>
|
||||
<tr><td>{$planete.centrale_f} {$nombat.4}</td><td>{$ressources_coef.4}%</td><td>0</td><td>0</td><td class="lack">-{$ressources_conso.3}</td><td>{$ressources_prod.4}</td></tr>
|
||||
<tr><td><strong>Total</strong></td><td>-</td><td>{$ressources_prod.0}</td><td>{$ressources_prod.1}</td><td>{$ressources_toto.0}</td><td{if $alertes.5 <= 0} class="lack"{/if}>{$alertes.5}</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<form method="post" action="{$menu.ressources}">
|
||||
<table>
|
||||
<thead><tr><th> </th><th>Coefficient</th><th>{$nomsressources.0}</th><th>{$nomsressources.1}</th><th>{$nomsressources.2}</th><th>{$nomsressources.3}</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td>{$planete.mine_m} {$nombat.0}</td><td><select name="coeff_metal" class="coeff">{html_options values=$ressources_tab selected=$ressources_coef.0 output=$ressources_tab|cat:'%'}</select></td><td>{$ressources_prod.0}</td><td>0</td><td>0</td><td class="lack">-{$ressources_conso.0}</td></tr>
|
||||
{if $planete.mine_c}<tr><td>{$planete.mine_c} {$nombat.1}</td><td><select name="coeff_cristal" class="coeff">{html_options values=$ressources_tab selected=$ressources_coef.1 output=$ressources_tab|cat:'%'}</select></td><td>0</td><td>{$ressources_prod.1}</td><td>0</td><td class="lack">-{$ressources_conso.1}</td></tr>{/if}
|
||||
{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><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>
|
||||
<input type="submit" class="submit" value="GO" /><br /><br />
|
||||
</form>
|
||||
<div class="border_bt"></div>
|
||||
{include file='game/footer.tpl'}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:58:40
|
||||
compiled from game/prochainement.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>
|
||||
<div class="error">Prochainement sur Halo-Battle.</div>
|
||||
<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,64 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 18:50:33
|
||||
compiled from game/alliance_nm_view.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'game/alliance_nm_view.tpl', 3, false),array('modifier', 'capitalize', 'game/alliance_nm_view.tpl', 3, false),array('modifier', 'nl2br', 'game/alliance_nm_view.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>[<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
|
||||
] <?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['nom'])) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp)); ?>
|
||||
</h2>
|
||||
<table cellpadding="2" cellspacing="0" style="text-align: center; width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="2"><img src="<?php echo $this->_tpl_vars['alliance']['image']; ?>
|
||||
" /></td>
|
||||
</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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Membres : </strong></td>
|
||||
<td><?php echo $this->_tpl_vars['nbmembre']; ?>
|
||||
(<a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=liste&i=<?php echo $this->_tpl_vars['alliance']['id']; ?>
|
||||
">Liste des membres</a>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Votre grade :</strong></td>
|
||||
<td>Invité</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Status des inscriptions :</strong></td>
|
||||
<td><?php if ($this->_tpl_vars['alliance']['etat_inscription']): ?>Ouvertes - <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=postuler&i=<?php echo $this->_tpl_vars['alliance']['id']; ?>
|
||||
">Postuler</a><?php else: ?>Fermée<?php endif; ?></td>
|
||||
</tr>
|
||||
</tr>
|
||||
</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)); ?>
|
||||
|
||||
<table style="width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Forum :</strong></td>
|
||||
<td style="width: 70%;"><a href="<?php echo $this->_tpl_vars['alliance']['url']; ?>
|
||||
"><?php echo $this->_tpl_vars['alliance']['url']; ?>
|
||||
</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</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,58 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 15:27:11
|
||||
compiled from game/alliance_adm_grades_add.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>Administration de l'alliance</h2>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/alliance_adm_header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<br />
|
||||
<h2>Ajouter un grade</h2>
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_grades&a=add">
|
||||
<table style="text-align: center; width: 83%;">
|
||||
<tr>
|
||||
<td style="width: 20%;"><strong><label for="nom">Nom du grade</label></strong></td>
|
||||
<td><input name="nom" type="text" id="nom" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong><label for="description">Description</label></strong></td>
|
||||
<td><textarea name="description" id="description"></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gestion <strong>chat</strong></td>
|
||||
<td><input name="gest_chat" type="checkbox" id="chat" value="1" /><label for="chat"> Oui</label></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gestion <strong>rang</strong></td>
|
||||
<td><input name="gest_rang" type="checkbox" id="rang" value="1" /><label for="rang"> Oui</label></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gestion <strong>membre</strong></td>
|
||||
<td><input name="gest_membre" type="checkbox" id="membre" value="1" /><label for="membre"> Oui</label></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gestion <strong>écriture</strong></td>
|
||||
<td><input name="gest_ecriture" type="checkbox" id="ecriture" value="1" /><label for="ecriture"> Oui</label></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Gestion <strong>alliance</strong></td>
|
||||
<td><input name="gest_alliance" type="checkbox" id="alliance" value="1" /><label for="alliance"> Oui</label></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><input type="submit" class="submit" value="Ok" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,80 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 12:27:08
|
||||
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()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<div class="border_top"></div>
|
||||
<h2>Arbre Technologique</h2>
|
||||
<div class="techno">
|
||||
<div<?php if ($this->_tpl_vars['defaut'] == 'batiments'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=batiments">Bâtiments</a>
|
||||
<div><table><thead>
|
||||
<tr><th>Batiments (niveau)</th><th>Technologies nécessaires (niveau actuel)</th></tr>
|
||||
</thead><tbody>
|
||||
<?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']; ?>
|
||||
</a> (<?php echo $this->_tpl_vars['batiment']['niveau']; ?>
|
||||
) :</td><td><?php echo $this->_tpl_vars['batiment']['etat']; ?>
|
||||
</td></tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody></table></div>
|
||||
</div>
|
||||
|
||||
<div<?php if ($this->_tpl_vars['defaut'] == 'technologies'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=technologies">Technologies</a>
|
||||
<div><table><thead>
|
||||
<tr><th>Technologies (niveau)</th><th>Technologies nécessaires (niveau actuel)</th></tr>
|
||||
</thead><tbody>
|
||||
<?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']; ?>
|
||||
</a> (<?php echo $this->_tpl_vars['technologie']['niveau']; ?>
|
||||
) :</td><td><?php echo $this->_tpl_vars['technologie']['etat']; ?>
|
||||
</td></tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody></table></div>
|
||||
</div>
|
||||
|
||||
<div<?php if ($this->_tpl_vars['defaut'] == 'chantierterrestre'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=chantierterrestre">Chantier terrestre</a>
|
||||
<div><table><thead>
|
||||
<tr><th>Véhicules/Défenses</th><th>Technologies nécessaires (niveau actuel)</th></tr>
|
||||
</thead><tbody>
|
||||
<?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']; ?>
|
||||
</a> (<?php echo $this->_tpl_vars['unite']['niveau']; ?>
|
||||
) :</td><td><?php echo $this->_tpl_vars['unite']['etat']; ?>
|
||||
</td></tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody></table></div>
|
||||
</div>
|
||||
|
||||
<div<?php if ($this->_tpl_vars['defaut'] == 'vaisseaux'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=vaisseaux">Chantier spatial</a>
|
||||
<div><table><thead>
|
||||
<tr><th>Vaisseaux</th><th>Technologies nécessaires (niveau actuel)</th></tr>
|
||||
</thead><tbody>
|
||||
<?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']; ?>
|
||||
</a> (<?php echo $this->_tpl_vars['vaisseau']['niveau']; ?>
|
||||
) :</td><td><?php echo $this->_tpl_vars['vaisseau']['etat']; ?>
|
||||
</td></tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody></table></div>
|
||||
</div>
|
||||
</div>
|
||||
<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,40 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-19 19:19:52
|
||||
compiled from game/footer.tpl */ ?>
|
||||
</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']; ?>
|
||||
">Accueil</a> | <a href="<?php echo $this->_tpl_vars['link']['jeu']; ?>
|
||||
">Le jeu</a> | <a href="<?php echo $this->_tpl_vars['link']['inscription']; ?>
|
||||
">S'inscrire</a> | <a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
|
||||
">Forum</a> | <a href="<?php echo $this->_tpl_vars['link']['staff']; ?>
|
||||
">Staff</a> | <a href="<?php echo $this->_tpl_vars['link']['faq']; ?>
|
||||
">F.A.Q.</a>
|
||||
<?php echo $this->_tpl_vars['analyst']; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="cornerbt"></div>
|
||||
<?php echo $this->_tpl_vars['script']; ?>
|
||||
|
||||
<!-- \\******* By Phantom *******// Halo-Battle, Tous droits réservés -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-19 02:26:40
|
||||
compiled from game/aide/sommaire.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>Aide de Halo-Battle :: Sommaire</h2>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
|
||||
&q=1">Avertissements</a></h3>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
|
||||
&q=2">Configuration nécessaire</a></h3>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
|
||||
&q=3">Démarrage du jeu</a></h3>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
|
||||
&q=4">Introduction</a></h3>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
|
||||
&q=5">Comment jouer</a></h3>
|
||||
<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,37 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 17:24:31
|
||||
compiled from game/alliance_adm_ecritures.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'nl2br', 'game/alliance_adm_ecritures.tpl', 10, 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>Administration de l'alliance</h2>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/alliance_adm_header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<br /><br />
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_ecrits&t=presentation">Modifier la présentation</a> - <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_ecrits&t=interne">Modifier la page interne</a><br />
|
||||
<h2>Modification <?php if ($this->_tpl_vars['mod'] == 'presentation'): ?>de la présentation de l'alliance<?php else: ?>du texte interne<?php endif; ?></h2>
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_ecrits">
|
||||
<p>
|
||||
<textarea name="textarea" cols="90" rows="15" id="textarea"><?php if ($this->_tpl_vars['mod'] == 'presentation'): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['presentation'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
|
||||
<?php else: ?><?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['texte_interne'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
|
||||
<?php endif; ?></textarea>
|
||||
<input name="type" type="hidden" value="<?php if ($this->_tpl_vars['mod'] == 'presentation'): ?>presentation<?php else: ?>texte_interne<?php endif; ?>" /><br />
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</p>
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-19 02:29:16
|
||||
compiled from game/aide/config.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>Aide de Halo-Battle :: Configuration requise</h2>
|
||||
<br /><h3>Configuration nécessaire</h3><br />
|
||||
Pour jouer à Halo-Battle, un simple navigateur internet est suffisant. Assurez-vous donc de disposer du matériel informatique adéquat ainsi que d'une connexion internet.<br />
|
||||
<br /><h3>Configuration recommandée</h3><br />
|
||||
Pour jouer dans des conditions optimales :<br />
|
||||
<ul>
|
||||
<li>Connexion 512 k</li>
|
||||
<li>Navigateur internet Mozilla Firefox ou Opéra</li>
|
||||
<li>JavaScript</li>
|
||||
</ul>
|
||||
<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,24 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-19 00:06:10
|
||||
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" 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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 23:43:29
|
||||
compiled from cms/vide.tpl */ ?>
|
||||
<?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);
|
||||
?>
|
||||
<?php echo $this->_tpl_vars['contenu']; ?>
|
||||
|
||||
<?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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-14 22:48:04
|
||||
compiled from cms/header.tpl */ ?>
|
||||
<!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">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Content-Language" content="fr" />
|
||||
<title> ::Halo-Battle:: - <?php echo $this->_tpl_vars['titre']; ?>
|
||||
</title>
|
||||
<link rel="stylesheet" href="templates/cms/default.css" type="text/css" media="all" />
|
||||
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
|
||||
<script src="js/cms.js" type="text/javascript"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="cornertop"></div>
|
||||
<div id="all">
|
||||
<div id="header">
|
||||
<div id="header_link"><span id="date"><?php echo $this->_tpl_vars['date']; ?>
|
||||
</span> | <a href="<?php echo $this->_tpl_vars['link']['lastNews']; ?>
|
||||
"><?php echo $this->_tpl_vars['lastNews']; ?>
|
||||
</a> | <a href="<?php echo $this->_tpl_vars['link']['lastTopic']; ?>
|
||||
"><?php echo $this->_tpl_vars['lastTopic']; ?>
|
||||
</a> | <a href="<?php echo $this->_tpl_vars['link']['lastUser']; ?>
|
||||
"><?php echo $this->_tpl_vars['lastUser']; ?>
|
||||
</a> | <a href="<?php echo $this->_tpl_vars['link']['lastDownload']; ?>
|
||||
"><?php echo $this->_tpl_vars['lastDownload']; ?>
|
||||
</a> | <a href="<?php echo $this->_tpl_vars['link']['lastLink']; ?>
|
||||
"><?php echo $this->_tpl_vars['lastLink']; ?>
|
||||
</a></div><a href="<?php echo $this->_tpl_vars['link']['RSS']; ?>
|
||||
" id="rss">RSS :: s'abonner</a>
|
||||
<a href="<?php echo $this->_tpl_vars['link']['self']; ?>
|
||||
" id="img"><span></span>Halo Battle</a>
|
||||
<div id="buttons"><div><a href="<?php echo $this->_tpl_vars['link']['accueil']; ?>
|
||||
">ACCUEIL</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['jeu']; ?>
|
||||
">LE JEU</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['inscription']; ?>
|
||||
">S'INSCRIRE</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
|
||||
">FORUM</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['staff']; ?>
|
||||
">STAFF</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['faq']; ?>
|
||||
">F.A.Q.</a></div></div>
|
||||
<form action="#" method="post"><fieldset id="recherche"><input class="text" type="text" name="recherche" value="rechercher..." maxlength="128" tabindex="10" onfocus="this.value = this.value!='rechercher...'?this.value:''" onblur="this.value=this.value==''?'rechercher...':this.value" /><input value="OK" class="submit" type="submit" tabindex="11" /><br /><a href="#" tabindex="12">Recherche Avancée</a></fieldset></form>
|
||||
</div>
|
||||
<div id="banner"><span id="bannerleft">DEFENDREZ-VOUS L'HUMANITE OU LA DETRUIREZ-VOUS ?</span> <span id="bannerright"><?php echo $this->_tpl_vars['count']['humains']; ?>
|
||||
Marines et <?php echo $this->_tpl_vars['count']['covenants']; ?>
|
||||
Covenants se battent dans <ins><?php echo $this->_tpl_vars['count']['serveurs']; ?>
|
||||
galaxie<?php if ($this->_tpl_vars['count']['serveurs'] > 1): ?>s<?php endif; ?></ins></span></div>
|
||||
<div id="corps">
|
||||
|
|
@ -0,0 +1,51 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 14:52:54
|
||||
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); ?>
|
||||
<?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>Administration de l'alliance</h2>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/alliance_adm_header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<br />
|
||||
<h2 id="chat">Administration du chat</h2>
|
||||
<table style="text-align: center; width: 100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Pseudo</th>
|
||||
<th>Date</th>
|
||||
<th>Message</th>
|
||||
<th>Supprimer</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['chat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['message']):
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $this->_tpl_vars['message']['emetteur']; ?>
|
||||
</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>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_chat&i=<?php echo $this->_tpl_vars['message']['id']; ?>
|
||||
"><i>Supprimer</i></a></td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</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,91 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 18:53:11
|
||||
compiled from game/alliance_adm_membres.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_membres.tpl', 23, false),array('modifier', 'nl2br', 'game/alliance_adm_membres.tpl', 45, false),array('function', 'html_options', 'game/alliance_adm_membres.tpl', 24, 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>Administration de l'alliance</h2>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/alliance_adm_header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<br />
|
||||
<h2>Administration des membres</h2>
|
||||
<table style="text-align: center; width: 100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Pseudo</th>
|
||||
<th>Race</th>
|
||||
<th>Dernière connexion </th>
|
||||
<th>Grade</th>
|
||||
<th>Mp</th>
|
||||
<th>Renvoyer de l'alliance </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['membres']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['membre']):
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $this->_tpl_vars['membre']['pseudo']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['membre']['race']; ?>
|
||||
</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><form action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_membres" method="post"><p><input type="hidden" name="user" value="<?php echo $this->_tpl_vars['membre']['id']; ?>
|
||||
" /><select name="grade" onchange="this.form.submit();"><option label="Aucun" value="0">Aucun</option><?php echo smarty_function_html_options(array('values' => $this->_tpl_vars['gradei'],'selected' => $this->_tpl_vars['membre']['id_grade_alliance'],'output' => $this->_tpl_vars['grades']), $this);?>
|
||||
</select></p></form></td>
|
||||
<td><a href="?p=envoyer&d=<?php echo $this->_tpl_vars['membre']['pseudo']; ?>
|
||||
" class="msg"><span>Message</span></a></td>
|
||||
<td><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_membres&u=<?php echo $this->_tpl_vars['membre']['id']; ?>
|
||||
"><i>Renvoyer</i></a></td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<table style="text-align: center; width: 100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Pseudo</th>
|
||||
<th>Message de motivation</th>
|
||||
<th>Date</th>
|
||||
<th>Action</th>
|
||||
<th>Mp</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['candidats']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['candidat']):
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $this->_tpl_vars['candidat']['pseudo_membre']; ?>
|
||||
</td>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['candidat']['message'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
|
||||
</td>
|
||||
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['candidat']['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><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_membres&accept=<?php echo $this->_tpl_vars['candidat']['id_membre']; ?>
|
||||
"><i>Accpeter</i></a> - <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_membres&refus=<?php echo $this->_tpl_vars['candidat']['id_membre']; ?>
|
||||
"><i>Refuser</i></a></td>
|
||||
<td><a href="?p=envoyer&d=<?php echo $this->_tpl_vars['candidat']['pseudo_membre']; ?>
|
||||
" class="msg"><span>Message</span></a></td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</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,98 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:58:42
|
||||
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); ?>
|
||||
<?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 vaisseau</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']['chantierspatial']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['fvais']['0']; ?>
|
||||
">Annuler un</a> - <a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
|
||||
&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 vaisseau dans la file d'attente</span><?php endif; ?>
|
||||
<br />
|
||||
</div>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=vaisseaux">Arbre des technologies</a></h3><br />
|
||||
<h2>Chantier spatial</h2>
|
||||
<table class="construction">
|
||||
<?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 class="bulle" href="#">
|
||||
<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']; ?>
|
||||
</span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<strong><?php echo $this->_tpl_vars['vaisseau']['nom']; ?>
|
||||
<?php if ($this->_tpl_vars['vaisseau']['nombre'] > 0): ?> (<?php echo $this->_tpl_vars['vaisseau']['nombre']; ?>
|
||||
vaisseau<?php if ($this->_tpl_vars['vaisseau']['nombre'] > 1): ?>x<?php endif; ?>)<?php endif; ?></strong><br /><br />
|
||||
<?php if ($this->_tpl_vars['vaisseau']['nec_metal'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['vaisseau']['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['vaisseau']['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['vaisseau']['nec_metalS']; ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['vaisseau']['nec_cristal'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['vaisseau']['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['vaisseau']['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['vaisseau']['nec_cristalS']; ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['vaisseau']['nec_hydrogene'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['vaisseau']['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['vaisseau']['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['vaisseau']['nec_hydrogeneS']; ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
Temps de construction : <?php echo $this->_tpl_vars['vaisseau']['temps']; ?>
|
||||
<br /><br />
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
|
||||
&v=<?php echo $this->_tpl_vars['vaisseau']['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,114 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:58:07
|
||||
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); ?>
|
||||
<?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['fbat']):
|
||||
?>
|
||||
<span><?php echo $this->_tpl_vars['fbat']['3']; ?>
|
||||
- <em id="reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
"></em><script type="text/javascript">reste(<?php echo $this->_tpl_vars['fbat']['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']['batiments']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['fbat']['0']; ?>
|
||||
">Annuler</a></span>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php if ($this->_tpl_vars['Vchaine']): ?><span>Aucun batiment dans la file d'attente</span>
|
||||
<?php endif; ?>
|
||||
<br />
|
||||
</div>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
&q=batiments">Arbre des technologies</a></h3><br />
|
||||
<h2>Batiments</h2>
|
||||
<table class="construction">
|
||||
<?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 class="bulle" href="#">
|
||||
<img width="130" height="132" src="images/batiments/<?php echo $this->_tpl_vars['batiment']['image']; ?>
|
||||
" alt="<?php echo $this->_tpl_vars['batiment']['nom']; ?>
|
||||
" />
|
||||
<span><?php echo $this->_tpl_vars['batiment']['description']; ?>
|
||||
</span>
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<div>
|
||||
<strong><?php echo $this->_tpl_vars['batiment']['nom']; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['niveau'] > 0): ?> (Niveau <?php echo $this->_tpl_vars['batiment']['niveau']; ?>
|
||||
)<?php endif; ?></strong><br /><br />
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_metal'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['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['batiment']['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['batiment']['nec_metalS']; ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_cristal'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['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['batiment']['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['batiment']['nec_cristalS']; ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['nec_hydrogene'] > 0): ?>
|
||||
<?php if ($this->_tpl_vars['batiment']['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['batiment']['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['batiment']['nec_hydrogeneS']; ?>
|
||||
<br /><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
Temps de construction : <?php echo $this->_tpl_vars['batiment']['temps']; ?>
|
||||
<br /><br />
|
||||
<?php if ($this->_tpl_vars['batiment']['enfile']): ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['batiment']['num']; ?>
|
||||
">Arrêter</a>
|
||||
<?php elseif ($this->_tpl_vars['batiment']['nec_hydrogene'] > $this->_tpl_vars['planete']['hydrogene']): ?><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 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 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 else: ?><a href="<?php echo $this->_tpl_vars['menu']['batiments']; ?>
|
||||
&c=<?php echo $this->_tpl_vars['batiment']['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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 14:29:35
|
||||
compiled from game/alliance_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_chat.tpl', 19, 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" id="chat"></div>
|
||||
<h2>Chat</h2>
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=chat">
|
||||
Réponse : <input name="msg" type="text" size="50" maxlength="250"> <input value="GO" class="submit" type="submit">
|
||||
</form>
|
||||
<br />
|
||||
<div style="height: 550px; overflow: auto; width: 99%;">
|
||||
<table style="width: 100%; margin: 0px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 172px;">[pseudo] heure</td>
|
||||
<th style="width: 536px;">Message</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['chat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['message']):
|
||||
?>
|
||||
<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></td>
|
||||
<td><?php echo $this->_tpl_vars['message']['message']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<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,39 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:59:00
|
||||
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()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<div class="border_top"></div>
|
||||
<h2>Changer de mot de passe</h2>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&chg=mdp" method="post"><fieldset class="options">
|
||||
<label for="ancien">Ancien mot de passe :</label><input class="text" type="password" id="ancien" name="mdp_anc" />
|
||||
<label for="nouveau">Nouveau mot de passe :</label><input class="text" type="password" id="nouveau" name="mdp_nouv" />
|
||||
<label for="confirm">Confirmez le mot de passe :</label><input class="text" type="password" id="confirm" name="mdp_conf" /><br /><br />
|
||||
<b>Le nouveau mot de passe sera modifié après validation par mail.<br />Veuillez vous assurez que votre adresse actuelle est toujours valide.</b><br /><br />
|
||||
<input class="submit" type="submit" value="OK" />
|
||||
</fieldset></form>
|
||||
<h2>Changer d'adresse électronique</h2>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&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 />
|
||||
<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>
|
||||
<h2>Mode vacances</h2>
|
||||
Si vous devez vous absenter de votre compte pour une durée supérieure à 3 jours, vous pouvez mettre votre compte en mode vacances.<br />Vous ne pouvez pas vous faire attaquer (les attaques déjà lancées ne seront pas annulées !) durant cette période, mais vous ne produirez pas de resources sur vos planètes.<br /><br /><b>Veuillez vider <u>toutes</u> vos files d'attentes avant d'activer le mode vacances !</b><br />
|
||||
<br /><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
&a=mv&n=<?php echo $this->_tpl_vars['idvac']; ?>
|
||||
">Activer le mode vacances maintenant</a>
|
||||
<h2>Supprimer son compte</h2>
|
||||
Contactez le chef interne de votre galaxie pour supprimer votre compte.
|
||||
<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,15 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 16:38:59
|
||||
compiled from cms/erreur.tpl */ ?>
|
||||
<?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);
|
||||
?>
|
||||
<div class="error"<?php if ($this->_tpl_vars['couleur']): ?> style="color: <?php echo $this->_tpl_vars['couleur']; ?>
|
||||
;"<?php endif; ?>><?php echo $this->_tpl_vars['message']; ?>
|
||||
</div>
|
||||
<?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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 23:40:38
|
||||
compiled from admin/vp.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>
|
||||
<div class="error">... veuillez patienter ...</div>
|
||||
<div class="border_bt"></div>
|
||||
<?php echo $this->_tpl_vars['contenu']; ?>
|
||||
|
||||
<?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,28 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-18 22:44:53
|
||||
compiled from game/rename.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>
|
||||
<img src="images/planetes/<?php echo $this->_tpl_vars['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: (<?php echo $this->_tpl_vars['planete']['galaxie']; ?>
|
||||
:<?php echo $this->_tpl_vars['planete']['ss']; ?>
|
||||
:<?php echo $this->_tpl_vars['planete']['position']; ?>
|
||||
) :</label><input class="text" type="text" name="planete" value="<?php echo $this->_tpl_vars['planete']['nom_planete']; ?>
|
||||
" id="planete" /><br /><br /><input class="submit" type="submit" value="OK" /></fieldset>
|
||||
</form>
|
||||
<h2>Abandonner la planète</h2>
|
||||
<?php if ($this->_tpl_vars['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=<?php echo $this->_tpl_vars['abandonH']; ?>
|
||||
" onclick="return confirm('Êtes-vous sûr de vouloir abandonner cette planète ?');">cliquez sur ce lien</a>.<br /><br />
|
||||
<?php else: ?>Vous ne pouvez pas abandonner cette planète car vous n'en avez pas d'autre.<br /><br /><?php endif; ?>
|
||||
<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,31 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-18 00:20:23
|
||||
compiled from game/classement.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>Classement</h2>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['classement']; ?>
|
||||
" method="get"><fieldset><input type="hidden" value="classement" name="p" /><select name="t"><option value="0">Pseudo</option><option value="1">Alliance</option></select> <select name="e"><option value="points"<?php if ($this->_tpl_vars['export'] == 'points'): ?> selected="selected"<?php endif; ?>>Points</option><option value="batiment"<?php if ($this->_tpl_vars['export'] == 'batiments'): ?> selected="selected"<?php endif; ?>>Bâtiment</option><option value="flotte"<?php if ($this->_tpl_vars['export'] == 'flottes'): ?> selected="selected"<?php endif; ?>>Flotte</option><option value="recherches"<?php if ($this->_tpl_vars['export'] == 'recherches'): ?> selected="selected"<?php endif; ?>>Recherches</option></select> <?php echo $this->_tpl_vars['q']; ?>
|
||||
<input class="submit" type="submit" value="GO" /></fieldset></form>
|
||||
<table class="systeme"><thead>
|
||||
<tr><th>Rang</th><th>Evolution</th><th>Pseudo</th><th>Message</th><th>Race</th><th>Alliance</th><th>Points</th></tr></thead><tbody>
|
||||
<?php $_from = $this->_tpl_vars['places']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['place']):
|
||||
?>
|
||||
<tr><td><?php echo $this->_tpl_vars['place']['0']; ?>
|
||||
</td><td>-</td><td><?php echo $this->_tpl_vars['place']['1']; ?>
|
||||
</td><td><a href="?p=envoyer&d=<?php echo $this->_tpl_vars['place']['1']; ?>
|
||||
" class="msg"><span>Message</span></a></td><td><?php echo $this->_tpl_vars['place']['2']; ?>
|
||||
</td><td>-</td><td><?php echo $this->_tpl_vars['place']['3']; ?>
|
||||
</td></tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody></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,66 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-19 02:05:45
|
||||
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); ?>
|
||||
<?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>Evénements</h2>
|
||||
<em>Heure du serveur: <?php echo $this->_tpl_vars['datehb']; ?>
|
||||
</em>
|
||||
<?php $_from = $this->_tpl_vars['attaques']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['attaque']):
|
||||
?>
|
||||
<h4 class="attaque">attaque: Une flotte ennemie en provenance de <?php echo $this->_tpl_vars['attaque']['0']; ?>
|
||||
[<?php echo $this->_tpl_vars['attaque']['2']; ?>
|
||||
:<?php echo $this->_tpl_vars['attaque']['3']; ?>
|
||||
:<?php echo $this->_tpl_vars['attaque']['4']; ?>
|
||||
] atteint la planète <?php echo $this->_tpl_vars['attaque']['5']; ?>
|
||||
[<?php echo $this->_tpl_vars['attaque']['6']; ?>
|
||||
:<?php echo $this->_tpl_vars['attaque']['7']; ?>
|
||||
:<?php echo $this->_tpl_vars['attaque']['8']; ?>
|
||||
] dans <span id="reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
"><?php echo $this->_tpl_vars['attaque']['1']; ?>
|
||||
</span><script type="text/javascript">reste(<?php echo $this->_tpl_vars['attaque']['9']; ?>
|
||||
,'reste<?php echo $this->_tpl_vars['key']; ?>
|
||||
', true);</script></h4>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<?php if ($this->_tpl_vars['mail']['nbre'] >= 2): ?><h4>messagerie: <a href="?p=messagerie"><?php echo $this->_tpl_vars['mail']['nbre']; ?>
|
||||
messages non lu</a></h4>
|
||||
<?php elseif ($this->_tpl_vars['mail']['nbre'] >= 1): ?><h4>messagerie: <a href="?p=messagerie"><?php echo $this->_tpl_vars['mail']['nbre']; ?>
|
||||
message non lu</a></h4>
|
||||
<?php endif; ?>
|
||||
<h3><a href="?p=rename"><?php if (! $this->_tpl_vars['planete']['nom_planete']): ?>Sans nom<?php endif; ?><?php echo $this->_tpl_vars['planete']['nom_planete']; ?>
|
||||
</a> (<span><?php echo $this->_tpl_vars['user']['pseudo']; ?>
|
||||
</span>)</h3>
|
||||
<img src="images/planetes/<?php echo $this->_tpl_vars['planete']['image']; ?>
|
||||
.jpg" width="200" height="200" alt="planete" />
|
||||
<h2>Infos</h2>
|
||||
<h4>Diamètre: <?php echo $this->_tpl_vars['diametre']; ?>
|
||||
km <ins>(<?php echo $this->_tpl_vars['caseRest']; ?>
|
||||
/<?php echo $this->_tpl_vars['planete']['cases']; ?>
|
||||
cases)</ins></h4>
|
||||
<h4>Race : <?php echo $this->_tpl_vars['user']['race']; ?>
|
||||
</h4>
|
||||
<h4>position: <a href="?p=carte&galaxie=<?php echo $this->_tpl_vars['planete']['galaxie']; ?>
|
||||
&ss=<?php echo $this->_tpl_vars['planete']['ss']; ?>
|
||||
"><?php echo $this->_tpl_vars['planete']['galaxie']; ?>
|
||||
.<?php echo $this->_tpl_vars['planete']['ss']; ?>
|
||||
.<?php echo $this->_tpl_vars['planete']['position']; ?>
|
||||
</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>
|
||||
<?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; ?>
|
||||
<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,64 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-18 23:03:52
|
||||
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); ?>
|
||||
<?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>Ressources</h2>
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['ressources']; ?>
|
||||
">
|
||||
<table>
|
||||
<thead><tr><th> </th><th>Coefficient</th><th><?php echo $this->_tpl_vars['nomsressources']['0']; ?>
|
||||
</th><th><?php echo $this->_tpl_vars['nomsressources']['1']; ?>
|
||||
</th><th><?php echo $this->_tpl_vars['nomsressources']['2']; ?>
|
||||
</th><th><?php echo $this->_tpl_vars['nomsressources']['3']; ?>
|
||||
</th></tr></thead>
|
||||
<tbody>
|
||||
<tr><td><?php echo $this->_tpl_vars['planete']['mine_m']; ?>
|
||||
<?php echo $this->_tpl_vars['nombat']['0']; ?>
|
||||
</td><td><select name="coeff_metal" class="coeff"><?php echo smarty_function_html_options(array('values' => $this->_tpl_vars['ressources_tab'],'selected' => $this->_tpl_vars['ressources_coef']['0'],'output' => ((is_array($_tmp=$this->_tpl_vars['ressources_tab'])) ? $this->_run_mod_handler('cat', true, $_tmp, '%') : smarty_modifier_cat($_tmp, '%'))), $this);?>
|
||||
</select></td><td><?php echo $this->_tpl_vars['ressources_prod']['0']; ?>
|
||||
</td><td>0</td><td>0</td><td class="lack">-<?php echo $this->_tpl_vars['ressources_conso']['0']; ?>
|
||||
</td></tr>
|
||||
<?php if ($this->_tpl_vars['planete']['mine_c']): ?><tr><td><?php echo $this->_tpl_vars['planete']['mine_c']; ?>
|
||||
<?php echo $this->_tpl_vars['nombat']['1']; ?>
|
||||
</td><td><select name="coeff_cristal" class="coeff"><?php echo smarty_function_html_options(array('values' => $this->_tpl_vars['ressources_tab'],'selected' => $this->_tpl_vars['ressources_coef']['1'],'output' => ((is_array($_tmp=$this->_tpl_vars['ressources_tab'])) ? $this->_run_mod_handler('cat', true, $_tmp, '%') : smarty_modifier_cat($_tmp, '%'))), $this);?>
|
||||
</select></td><td>0</td><td><?php echo $this->_tpl_vars['ressources_prod']['1']; ?>
|
||||
</td><td>0</td><td class="lack">-<?php echo $this->_tpl_vars['ressources_conso']['1']; ?>
|
||||
</td></tr><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['planete']['mine_h']): ?><tr><td><?php echo $this->_tpl_vars['planete']['mine_h']; ?>
|
||||
<?php echo $this->_tpl_vars['nombat']['2']; ?>
|
||||
</td><td><select name="coeff_hydrogene" class="coeff"><?php echo smarty_function_html_options(array('values' => $this->_tpl_vars['ressources_tab'],'selected' => $this->_tpl_vars['ressources_coef']['2'],'output' => ((is_array($_tmp=$this->_tpl_vars['ressources_tab'])) ? $this->_run_mod_handler('cat', true, $_tmp, '%') : smarty_modifier_cat($_tmp, '%'))), $this);?>
|
||||
</select></td><td>0</td><td>0</td><td><?php echo $this->_tpl_vars['ressources_prod']['2']; ?>
|
||||
</td><td class="lack">-<?php echo $this->_tpl_vars['ressources_conso']['2']; ?>
|
||||
</td></tr><?php endif; ?>
|
||||
<tr><td><?php echo $this->_tpl_vars['planete']['centrale_s']; ?>
|
||||
<?php echo $this->_tpl_vars['nombat']['3']; ?>
|
||||
</td><td><select name="coeff_cs" class="coeff"><?php echo smarty_function_html_options(array('values' => $this->_tpl_vars['ressources_tab'],'selected' => $this->_tpl_vars['ressources_coef']['3'],'output' => ((is_array($_tmp=$this->_tpl_vars['ressources_tab'])) ? $this->_run_mod_handler('cat', true, $_tmp, '%') : smarty_modifier_cat($_tmp, '%'))), $this);?>
|
||||
</select></td><td>0</td><td>0</td><td>0</td><td><?php echo $this->_tpl_vars['ressources_prod']['3']; ?>
|
||||
</td></tr>
|
||||
<?php if ($this->_tpl_vars['planete']['centrale_f']): ?><tr><td><?php echo $this->_tpl_vars['planete']['centrale_f']; ?>
|
||||
<?php echo $this->_tpl_vars['nombat']['4']; ?>
|
||||
</td><td><select name="coeff_ce" class="coeff"><?php echo smarty_function_html_options(array('values' => $this->_tpl_vars['ressources_tab'],'selected' => $this->_tpl_vars['ressources_coef']['4'],'output' => ((is_array($_tmp=$this->_tpl_vars['ressources_tab'])) ? $this->_run_mod_handler('cat', true, $_tmp, '%') : smarty_modifier_cat($_tmp, '%'))), $this);?>
|
||||
</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><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']; ?>
|
||||
<?php else: ?>0<?php endif; ?></td><td<?php if ($this->_tpl_vars['alertes']['5'] <= 0): ?> class="lack"<?php endif; ?>><?php echo $this->_tpl_vars['alertes']['5']; ?>
|
||||
</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<input type="submit" class="submit" value="GO" /><br /><br />
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-19 23:02:45
|
||||
compiled from cms/mini.tpl */ ?>
|
||||
<?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);
|
||||
?>
|
||||
<div id="connexion" class="block">
|
||||
<div class="header">Connexion</div>
|
||||
<div class="corps"><form action="?log" method="post"><fieldset><span><input type="text" class="text" name="HB_login" maxlength="32" tabindex="1" /><input type="password" class="password" name="HB_password" maxlength="32" tabindex="2" /><input type="submit" class="submit" value="GO" tabindex="3" /></span><span><input type="checkbox" name="cookie" id="cookie" /><label for="cookie">Retenir mes informations</label> <a href="<?php echo $this->_tpl_vars['link']['oubliemdp']; ?>
|
||||
" tabindex="4">Mot de passe oublié</a></span></fieldset></form></div>
|
||||
</div>
|
||||
|
||||
<div id="inscription" class="block"><span><a href="<?php echo $this->_tpl_vars['link']['inscription']; ?>
|
||||
">INSCRIVEZ VOUS</a> Rejoignez l'alliance ou engagez-vous</span> <p><strong>DEFENDREZ VOUS L'HUMANITE OU LA DETRUIREZ VOUS?</strong><br /><br />Repoussez l'ennemi et partez a la conquète des mondes-anneaux dans des univers vastes et riches basés sur l'univers du jeu vidéo Halo<br /><br /><em>Une simple inscription gratuite et un navigateur internet sont demandés pour pouvoir participer a des batailles épiques!</em></p> <a href="<?php echo $this->_tpl_vars['link']['inscription']; ?>
|
||||
" class="link"><span>Cliquez ici pour vous inscrire</span></a> <a href="<?php echo $this->_tpl_vars['link']['inscription']; ?>
|
||||
" class="more">En savoir plus</a></div>
|
||||
<?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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,64 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:58:59
|
||||
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()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
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']; ?>
|
||||
" 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']; ?>
|
||||
&ss=<?php echo $this->_tpl_vars['position']['5']; ?>
|
||||
"><<<</a><input class="submit" type="submit" value="GO" /><a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
|
||||
&galaxie=<?php echo $this->_tpl_vars['position']['2']; ?>
|
||||
&ss=<?php echo $this->_tpl_vars['position']['3']; ?>
|
||||
">>>></a></div></fieldset></form>
|
||||
<h2>Système Solaire</h2>
|
||||
<table class="systeme">
|
||||
<thead>
|
||||
<tr>
|
||||
<td colspan="6">Système: <?php echo $this->_tpl_vars['position']['0']; ?>
|
||||
:<?php echo $this->_tpl_vars['position']['1']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Position</th>
|
||||
<th>Nom</th>
|
||||
<th>Débris métal</th>
|
||||
<th>Débris cristal</th>
|
||||
<th>Joueur</th>
|
||||
<th>Message</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['carte']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['plan']):
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $this->_tpl_vars['plan']['0']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['plan']['1']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['plan']['2']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['plan']['3']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['plan']['5']; ?>
|
||||
<?php echo $this->_tpl_vars['plan']['4']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['plan']['6']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</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,46 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 14:24:26
|
||||
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); ?>
|
||||
<?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>Composition de l'alliance</h2>
|
||||
<table style="text-align: center; width: 100%;" cellpadding="0" cellspacing="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Pseudo</th>
|
||||
<th>Race</th>
|
||||
<th>Dernière connexion </th>
|
||||
<th>Grade</th>
|
||||
<th>Mp</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['membres']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['membre']):
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $this->_tpl_vars['membre']['pseudo']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['membre']['race']; ?>
|
||||
</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']['id_grade_alliance']; ?>
|
||||
</td>
|
||||
<td><a href="?p=envoyer&d=<?php echo $this->_tpl_vars['membre']['pseudo']; ?>
|
||||
" class="msg"><span>Message</span></a></td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</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,17 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 18:19:03
|
||||
compiled from game/vp.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>
|
||||
<div class="error">... veuillez patienter ...</div>
|
||||
<div class="border_bt"></div>
|
||||
<?php echo $this->_tpl_vars['contenu']; ?>
|
||||
|
||||
<?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,102 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 18:51:48
|
||||
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); ?>
|
||||
<?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>[<?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
|
||||
] <?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['nom'])) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp)); ?>
|
||||
</h2>
|
||||
<table cellpadding="2" cellspacing="0" style="text-align: center; width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="2"><img src="<?php echo $this->_tpl_vars['alliance']['image']; ?>
|
||||
" /></td>
|
||||
</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>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Membres : </strong></td>
|
||||
<td><?php echo $this->_tpl_vars['nbmembre']; ?>
|
||||
(<a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=liste">Liste des membres</a>)</td>
|
||||
</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']; ?>
|
||||
<?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']; ?>
|
||||
&q=adm_ecrits">Gestion des écritures</a> |<?php endif; ?> <?php if ($this->_tpl_vars['access']['alliance']): ?> <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_alliance">Gestion de l'alliance</a> |<?php endif; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Status des inscriptions :</strong></td>
|
||||
<td><?php if ($this->_tpl_vars['alliance']['etat_inscription']): ?>Ouvertes<?php else: ?>Fermée<?php endif; ?></td>
|
||||
</tr>
|
||||
<?php if ($this->_tpl_vars['access']['membre']): ?>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Mail collectif :</strong></td>
|
||||
<td><a href="admin_alliance.php?action=massmail">Envoyer un message collectif</a> (prochainement)</td>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
</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)); ?>
|
||||
|
||||
<table style="width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: right;"><strong>Forum :</strong></td>
|
||||
<td style="width: 70%;"><a href="<?php echo $this->_tpl_vars['alliance']['url']; ?>
|
||||
"><?php echo $this->_tpl_vars['alliance']['url']; ?>
|
||||
</a></td>
|
||||
</tr>
|
||||
</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)); ?>
|
||||
|
||||
<h2>Chat</h2>
|
||||
<div style="height: 150px; overflow: auto; width: 99%;" id="chat">
|
||||
<table style="width: 100%; margin: 0px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 172px;">[pseudo] heure</td>
|
||||
<th style="width: 536px;">Message</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['chat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['message']):
|
||||
?>
|
||||
<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></td>
|
||||
<td><?php echo $this->_tpl_vars['message']['message']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=chat">
|
||||
Réponse : <input name="msg" type="text" size="50" maxlength="250"> <input value="GO" class="submit" type="submit">
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 23:39:08
|
||||
compiled from game/aide.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>Aide</h2>
|
||||
<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,74 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 17:55:55
|
||||
compiled from game/alliance_adm_admin.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'game/alliance_adm_admin.tpl', 15, false),array('function', 'html_options', 'game/alliance_adm_admin.tpl', 19, 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>Administration de l'alliance</h2>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/alliance_adm_header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<br />
|
||||
<h2>Administration de l'alliance</h2>
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_alliance">
|
||||
<table style="width: 100%;">
|
||||
<tr>
|
||||
<td style="width: 17%;"><strong><label for="nom">Nom :</label></strong></td>
|
||||
<td colspan="3"><?php echo $this->_tpl_vars['alliance']['nom']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong><label for="tag">Tag :</label></strong></td>
|
||||
<td colspan="3"><?php echo ((is_array($_tmp=$this->_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong>Defcon : </strong></td>
|
||||
<td><select name="defcon" id="defcon"><?php echo smarty_function_html_options(array('values' => $this->_tpl_vars['niveauxi'],'selected' => $this->_tpl_vars['alliance']['defcon'],'output' => $this->_tpl_vars['niveaux']), $this);?>
|
||||
</select></td>
|
||||
<td><strong><label for="defcon_txt">Message du Defcon :</label></strong></td>
|
||||
<td><input name="defcon_txt" type="text" id="defcon_txt" value="<?php echo $this->_tpl_vars['alliance']['defcon_txt']; ?>
|
||||
" /></td>
|
||||
</tr>
|
||||
<?php if ($this->_tpl_vars['access']['fondateur']): ?>
|
||||
<tr>
|
||||
<td><strong><label>Fondateur :</label></strong></td>
|
||||
<td><select name="fondateur" id="fondateur"><?php echo smarty_function_html_options(array('values' => $this->_tpl_vars['membresi'],'selected' => $this->_tpl_vars['alliance']['fondateur'],'output' => $this->_tpl_vars['membres']), $this);?>
|
||||
</select></td>
|
||||
<td><strong>Dissoudre l'alliance</strong></td>
|
||||
<td>Ecrivez votre mot de passe dans le champ ci-dessous :<br /><input name="pswd_admin" type="password" id="pswd_admin" /></td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<tr>
|
||||
<td><strong><label for="etat_inscription">Etat des candidatures :</label></strong></td>
|
||||
<td colspan="3"><select name="etat_inscription" id="etat_inscription"><?php echo smarty_function_html_options(array('values' => $this->_tpl_vars['etatinscripti'],'selected' => $this->_tpl_vars['alliance']['etat_inscription'],'output' => $this->_tpl_vars['etatinscript']), $this);?>
|
||||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong><label for="image">Url de l'image :</label></strong></td>
|
||||
<td colspan="3"><input name="image" type="text" id="image" value="<?php echo $this->_tpl_vars['alliance']['image']; ?>
|
||||
" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><strong><label for="url">Url du forum de l'alliance :</label></strong></td>
|
||||
<td colspan="3"><input name="url" type="text" id="url" value="<?php echo $this->_tpl_vars['alliance']['url']; ?>
|
||||
" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4"><input type="submit" class="submit" value="Ok" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-16 00:25:38
|
||||
compiled from game/erreur.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>
|
||||
<div class="error"<?php if ($this->_tpl_vars['couleur']): ?> style="color: <?php echo $this->_tpl_vars['couleur']; ?>
|
||||
;"<?php endif; ?>><?php echo $this->_tpl_vars['message']; ?>
|
||||
</div>
|
||||
<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,41 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-18 00:20:06
|
||||
compiled from cms/oubliemdp.tpl */ ?>
|
||||
<?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);
|
||||
?>
|
||||
<div id="dernierminute" class="block">
|
||||
<div class="header">Informations</div>
|
||||
<div class="corps" id="description"><b>Oublie de mot de passe</b><br /><br /><p>Complétez le formualaire ci-contre avec votre nom d'utilisateur et votre adresse électronique. Un nouveau mot de passe sera envoyé à votre adresse, vous permettant ainsi d'avoir de nouveau accès à votre compte.<br /><br />Pensez à changer ce nouveau mot de passe que vous ne retiendrez pas facilement, via la page option du jeu.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="statistiques" class="block">
|
||||
<div class="header">Formulaire de réinitialisation de mot de passe</div>
|
||||
<div class="corpsi">
|
||||
<form action="<?php echo $this->_tpl_vars['link']['oubliemdp']; ?>
|
||||
" method="post">
|
||||
<span><label for="HB_pseudo">Pseudo :</label> <input class="text" name="HB_pseudo" id="pseudo" type="text" />
|
||||
<br /><label for="HB_mail">Adresse électronique :</label> <input class="text" name="HB_mail" id="mail" type="text" />
|
||||
<br /><br /><label for="HB_captcha">Recopiez ce texte :</label> <input class="text" name="HB_captcha" id="captcha" type="text" /> <img src="captcha/image.php" alt="Génération ..." id="gen" />
|
||||
<br /><br /><input class="submit" value="OK" type="submit">
|
||||
</span>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($this->_tpl_vars['erreurs']): ?>
|
||||
<div id="connexion" class="block">
|
||||
<div class="header"><b>Impossible de changer le mot de passe :</b></div>
|
||||
<div class="corps" id="description">
|
||||
<p>
|
||||
<?php echo $this->_tpl_vars['erreurs']; ?>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-19 02:25:42
|
||||
compiled from game/aide/avertissements.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>Aide de Halo-Battle :: Avertissements</h2>
|
||||
<h3>Avertissement aux utilisateurs de téléviseurs à rétroprojection</h3><br />
|
||||
Les images fixes peuvent endommager de manière irréversible le tube cathodique ou marquer à jamais les luminophores qui constituent l'écran de ces téléviseurs.<br />C'est pourquoi il est conseillé d'éviter d'utiliser des jeux vidéo trop souvent ou de façon prolongée avec les téléviseurs à rétroprojection.<br /><br />
|
||||
<h3>Prévention des risques d'épilepsie</h3><br />
|
||||
<h4>A lire avant toute utilisation d'un jeu vidéo par vous-même ou par votre enfant.</h4><br />
|
||||
Chez certaines personnes, la stimulation visuelle par certains effets stroboscopiques ou motifs lumineux peut déclencher une crise d'épilepsie ou une perte de connaissance et ce, y compris dans la vie de tous les jours.<br />
|
||||
Chez ces personnes, le simple fait de regarder la télévision ou de jouer à un jeu vidéo peut suffire à déclencher une crise. Les symptômes peuvent même se déclarer chez un individu sans antécédents médicaux ou n'ayant jamais souffert de crise d'épilepsie.<br />
|
||||
Si vous-même ou un membre de votre famille avez déjà présenté des symptômes liés à l'épilepsie (crise d'épilepsie ou de perte de connaissance) à la suite d'une exposition à des effets lumineux stroboscopiques, veuillez consulter votre médecin avant de commencer à jouer.<br />
|
||||
Nous conseillons vivement aux parents de prêter une attention soutenue à leurs enfants lorsqu'ils utilisent un jeu vidéo. Si vous ou votre enfant ressentez l'un des symptômes suivants en cours de jeu : vertiges, troubles de la vue, contractions oculaires ou musculaires incontrôlées, perte de connaissance, désorientation, mouvements involontaires ou convulsions, veuillez cesser IMMEDIATEMENT la partie et consulter votre médecin.<br /><br />
|
||||
<h3>Règles à respecter pour jouer dans les meilleures conditions possibles</h3>
|
||||
<ul>
|
||||
<li>S'installer confortablement en position assise, le plus loin possible de l'écran.
|
||||
<li>Jouer de préférence sur un écran de petite taille.</li>
|
||||
<li>Eviter de jouer en cas de fatigue ou de manque de sommeil.</li>
|
||||
<li>Veiller à ce que la pièce soit bien éclairée.</li>
|
||||
<li>Observer des pauses de 10 à 15 minutes par heure de jeu.</li>
|
||||
</ul><br />
|
||||
<h3>Prévention des risques liés aux troubles du sommeil</h3><br />
|
||||
Pour votre santé, veillez à observer un compte d'heures minimales allouées à votre repos. Jouer plusieurs heures d'affilées comporte un risque de déréglement de votre horloge interne et/ou de troubles du sommeil. Si vous ou votre enfant ressentez l'un des symptômes suivants en cours de jeu : fatigue, vertiges, troubles de la vue, contractions oculaires ou musculaires incontrôlées, perte de connaissance, insomnie, stress, veuillez cesser IMMEDIATEMENT de jouer et prenez du repos.<br />
|
||||
Pour bien dormir, observez ces quelques règles :
|
||||
<ul>
|
||||
<li>Couchez-vous et levez-vous à heures régulières.</li>
|
||||
<li>Pas de grasse matinée : levez-vous dès le réveil.</li>
|
||||
<li>Dînez léger et pas trop tard, en mangeant un laitage.</li>
|
||||
<li>Observer les premiers signes annonciateurs du sommeil, ne luttez pas contre le sommeil.</li>
|
||||
<li>Maintenir une température basse (entre 15 et 18 °C) ainsi qu'un bon degré d'hygrométrie.<br />Opter pour l'obscurité, elle favorise le sommeil. Choisir un lit confortable (ni trop ferme ni trop mou) et des couvertures légères.</li>
|
||||
<li>Evitez la prise de produits stimulants : coca-cola, thé, café, vitamine C…</li>
|
||||
<li>La régularité du sommeil reste le meilleur gage de qualité.</li>
|
||||
</ul>
|
||||
<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,36 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 18:36:57
|
||||
compiled from game/alliance_nm_postuler.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>Postuler pour l'alliance : <?php echo $this->_tpl_vars['alliance']['nom']; ?>
|
||||
</h2>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=postuler&i=2" method="post">
|
||||
<table style="width: 100%;">
|
||||
<tr>
|
||||
<td>Message de motivation </td>
|
||||
<td><textarea name="message" cols="53" rows="6" id="message"></textarea></td>
|
||||
<td rowspan="3"><div style="text-align: justify;">Une adhésion à une alliance ne se fait pas automatiquement. Vous devez d'abord demandé à être recruté, via le formulaire ci-joint. Les fondateurs de l'alliance décideront ensuite de vous accepter, ou non, au sein de leur groupe. </div></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">Une lettre de motivation courte est en général appreciée, et peut vous aider dans votre recrutement. Un français correct est de rigueur. </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input name="id" type="hidden" id="id" value="<?php echo $this->_tpl_vars['alliance']['id']; ?>
|
||||
" />
|
||||
<?php if ($this->_tpl_vars['alliance']['etat_inscription']): ?><input type="submit" class="submit" value="GO" /><?php else: ?>Inscriptions fermées.<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 18:45:20
|
||||
compiled from game/alliance_nm_search.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'upper', 'game/alliance_nm_search.tpl', 13, 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>
|
||||
<table cellpadding="0" cellspacing="0" style="width: 60%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>[TAG] Alliance</th>
|
||||
<th>Etat inscriptions </th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?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 href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=view&i=<?php echo $this->_tpl_vars['recherche']['id']; ?>
|
||||
">[<?php echo ((is_array($_tmp=$this->_tpl_vars['recherche']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?>
|
||||
] <?php echo $this->_tpl_vars['recherche']['nom']; ?>
|
||||
</a></td>
|
||||
<td><?php if ($this->_tpl_vars['recherche']['etat_inscription']): ?>Ouvertes<?php else: ?>Fermées<?php endif; ?></td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</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,37 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:59:08
|
||||
compiled from game/bugs.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>Rapports de bug</h2>
|
||||
<?php $_from = $this->_tpl_vars['bugs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['bug']):
|
||||
?>
|
||||
<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']; ?>
|
||||
</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']; ?>
|
||||
"><i>Supprimer</i></a></div><?php endif; ?></dd>
|
||||
</dl>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<h2>Ajouter un bug</h2>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['bugs']; ?>
|
||||
&post" method="post"><fieldset class="options">
|
||||
<strong>Attention : bien lire les bugs deja proposé,<br />l'utilisation abusive ou des bugs ayant non lieus seront sanctionnés.</strong><br /><br />
|
||||
<label for="page">Page concernée :</label><input class="text" type="text" name="page" id="page" />
|
||||
<label for="desc">Description :</label>
|
||||
<textarea id="desc" name="description" 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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-14 22:48:04
|
||||
compiled from cms/footer.tpl */ ?>
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Réalisé par Halo Battle Staff<br />
|
||||
Design by <a href="http://www.nothing-arts.com" onclick="window.open(this.href); return false;"><ins>nothingarts</ins></a><br /><br />
|
||||
<!--Site visité 514200 fois depuis sa création<br />-->
|
||||
<a href="<?php echo $this->_tpl_vars['link']['accueil']; ?>
|
||||
">Accueil</a> | <a href="<?php echo $this->_tpl_vars['link']['jeu']; ?>
|
||||
">Le jeu</a> | <a href="<?php echo $this->_tpl_vars['link']['inscription']; ?>
|
||||
">S'inscrire</a> | <a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
|
||||
">Forum</a> | <a href="<?php echo $this->_tpl_vars['link']['staff']; ?>
|
||||
">Staff</a> | <a href="<?php echo $this->_tpl_vars['link']['faq']; ?>
|
||||
">F.A.Q.</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="cornerbt"></div>
|
||||
<?php echo $this->_tpl_vars['script']; ?>
|
||||
|
||||
<!-- \\******* By Phantom *******// Halo-Battle, Tous droits réservés -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-16 23:14:02
|
||||
compiled from game/alliance_nm_fonder.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>Création d'une alliance</h2>
|
||||
<form id="form2" method="post" action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=fonder">
|
||||
<table cellpadding="0" cellspacing="0" style="height: 143px; width: 621px;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="367" scope="col">
|
||||
<table width="376" height="159" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="113" height="50" align="center" valign="middle" scope="col"><strong>Nom</strong></td>
|
||||
<td width="242" align="center" valign="middle" scope="col">
|
||||
<input name="nom" type="text" maxlength="255" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="51" align="center" valign="middle"><strong>Tag</strong></td>
|
||||
<td align="center" valign="middle">
|
||||
<input name="tag" type="text" size="15" maxlength="15" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2" align="center" valign="middle"><input type="submit" class="submit" value="Créer " /></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</th>
|
||||
<th scope="col" style="text-align: justify; vertical-align: middle; width: 254px;">
|
||||
Rappel : <br />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 liens à quatre personnes qui sont sans alliance.
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-14 22:48:12
|
||||
compiled from game/alliance_nm_accueil.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>
|
||||
<form method="post" action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=search">
|
||||
<table width="355" height="194" border="0" cellpadding="0" cellspacing="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2" align="center" valign="middle" scope="col">
|
||||
<p>Rechercher une alliance<br />
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=fonder">Fonder une alliance</a> † <a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=signerform">Ratifier une alliance</a></p>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td width="113" align="center" valign="middle">
|
||||
<select name="by" size="2" id="by">
|
||||
<option value="tag" selected="selected">Tag</option>
|
||||
<option value="nom">Nom</option>
|
||||
</select>
|
||||
</td>
|
||||
<td width="242" align="center" valign="middle">
|
||||
<p>Rechercher les alliances dont le nom/tag contiennent :<br /><input name="search" type="text" id="search" /></p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2" align="center" valign="middle">
|
||||
<input type="submit" class="submit" value="GO" />
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-19 22:55:42
|
||||
compiled from cms/secours.tpl */ ?>
|
||||
<?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);
|
||||
?>
|
||||
<div id="connexion" class="block">
|
||||
<div class="header">Connexion</div>
|
||||
<div class="corps">
|
||||
Sélectionnez votre serveur :<br /><br />
|
||||
<a href="http://battle.halo.fr/">Serveur n°1</a><br />
|
||||
<!--<a href="http://battle.halo.fr/">Serveur n°2</a><br />-->
|
||||
<br />
|
||||
<a href="http://beta.halobattle.free.fr/">Serveur de béta-test #1</a><br />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="inscription" class="block"><span>Le serveur de base de données est indisponible</span> <p><em>Le serveur de base de données n'étant actuellement pas en mesure d'assurer la génération des pages web, ni le processus de connexion ou d'inscription, utilisez les liens du cadre ci-contre pour accèder à la page de connexion de secours de votre serveur.<br /><br />Veuillez nous excuser pour la gène occasionnée, nous faisons notre possible pour rétablir le site au plus vite.<br /><br /><i>Le Staff</i></em></p></div>
|
||||
<?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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 17:20:15
|
||||
compiled from game/alliance_adm_header.tpl */ ?>
|
||||
<?php if ($this->_tpl_vars['access']['chat']): ?><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_chat">Administration du chat</a> - <?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['access']['membre']): ?><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_membres">Administration des membres et des candidatures</a> - <?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['access']['grades']): ?><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_grades">Administration des rangs</a> - <?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['access']['ecriture']): ?><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_ecrits">Administration de la présentation et de la page interne.</a> - <?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['access']['alliance']): ?><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_alliance">Administration globale (defcon, successeur ...)</a> - <?php endif; ?>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
">Retour</a>
|
||||
|
|
@ -0,0 +1,58 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-17 16:18: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); ?>
|
||||
<?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>Administration de l'alliance</h2>
|
||||
<?php $_smarty_tpl_vars = $this->_tpl_vars;
|
||||
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/alliance_adm_header.tpl', 'smarty_include_vars' => array()));
|
||||
$this->_tpl_vars = $_smarty_tpl_vars;
|
||||
unset($_smarty_tpl_vars);
|
||||
?>
|
||||
<br />
|
||||
<h2>Administration des grades</h2>
|
||||
<table style="text-align: center; width: 100%;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Nom</th>
|
||||
<th>Description</th>
|
||||
<th>Gestion écritures</th>
|
||||
<th>Gestion chat</th>
|
||||
<th>Gestion membre</th>
|
||||
<th>Gestion grades</th>
|
||||
<th>Gestion alliance</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['grades']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['grade']):
|
||||
?>
|
||||
<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']; ?>
|
||||
</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>
|
||||
<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>
|
||||
<td><?php if ($this->_tpl_vars['grade']['gest_membre']): ?>Oui<?php else: ?>Non<?php endif; ?></td>
|
||||
<td><?php if ($this->_tpl_vars['grade']['gest_rang']): ?>Oui<?php else: ?>Non<?php endif; ?></td>
|
||||
<td><?php if ($this->_tpl_vars['grade']['gest_admin']): ?>Oui<?php else: ?>Non<?php endif; ?></td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
&q=adm_grades&a=add">Ajouter un rang</a><br /><br />
|
||||
<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,124 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-19 18:07:18
|
||||
compiled from game/header.tpl */ ?>
|
||||
<!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">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Content-Language" content="fr" />
|
||||
<title> ::Halo-Battle:: - <?php echo $this->_tpl_vars['titre']; ?>
|
||||
</title>
|
||||
<?php if ($this->_tpl_vars['race'] == 'covenant'): ?><link rel="stylesheet" href="templates/covenants.css" type="text/css" media="all" title="Covenants" /><?php endif; ?>
|
||||
<?php if ($this->_tpl_vars['race'] == 'humain'): ?><link rel="stylesheet" href="templates/csnu.css" type="text/css" media="all" title="CSNU" /><?php endif; ?>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
|
||||
<script src="js/fonctions.js" type="text/javascript"></script>
|
||||
<script src="js/img_manques.js" type="text/javascript"></script>
|
||||
<script src="js/infos.js" type="text/javascript"></script>
|
||||
<?php echo $this->_tpl_vars['scripth']; ?>
|
||||
|
||||
</head>
|
||||
|
||||
<body onload="first(<?php echo $this->_tpl_vars['nbinfos']; ?>
|
||||
);">
|
||||
<div id="cornertop"></div>
|
||||
<div id="all">
|
||||
<div id="header">
|
||||
<div id="header_link"><span id="date"><?php echo $this->_tpl_vars['date']; ?>
|
||||
</span> | Vous jouez depuis <?php echo $this->_tpl_vars['tpsdejeu']; ?>
|
||||
| <a href="?p=version">Version <?php echo $this->_tpl_vars['version']; ?>
|
||||
</a></div><a href="<?php echo $this->_tpl_vars['link']['RSS']; ?>
|
||||
" id="rss">RSS :: s'abonner</a>
|
||||
<h1><a href="<?php echo $this->_tpl_vars['link']['self']; ?>
|
||||
" id="img"><span></span>Halo Battle</a></h1>
|
||||
<div id="buttons"><div><a href="<?php echo $this->_tpl_vars['link']['accueil']; ?>
|
||||
">ACCUEIL</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['jeu']; ?>
|
||||
">LE JEU</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['inscription']; ?>
|
||||
">S'INSCRIRE</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['forum']; ?>
|
||||
">FORUM</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['staff']; ?>
|
||||
">STAFF</a></div> <div><a href="<?php echo $this->_tpl_vars['link']['faq']; ?>
|
||||
">F.A.Q.</a></div></div>
|
||||
<form action="#" method="post"><fieldset id="recherche"><input class="text" type="text" name="recherche" value="rechercher..." onfocus="this.value = this.value!='rechercher...'?this.value:''" onblur="this.value=this.value==''?'rechercher...':this.value" /><input value="OK" class="submit" type="submit" /><br /><a href="#">Recherche Avancée</a></fieldset></form>
|
||||
</div>
|
||||
<div id="annonce">
|
||||
<?php $_from = $this->_tpl_vars['infos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['info']):
|
||||
?>
|
||||
<div id="quadri<?php echo $this->_tpl_vars['key']; ?>
|
||||
" class="annonceleft"<?php if ($this->_tpl_vars['info']['color']): ?> style="color: <?php echo $this->_tpl_vars['info']['color']; ?>
|
||||
;"<?php endif; ?>><?php echo $this->_tpl_vars['info']['texte']; ?>
|
||||
</div>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<span id="annonceright"><?php echo $this->_tpl_vars['count']['humains']; ?>
|
||||
Marines et <?php echo $this->_tpl_vars['count']['covenants']; ?>
|
||||
Covenants se battent dans <ins><?php echo $this->_tpl_vars['count']['serveurs']; ?>
|
||||
galaxie<?php if ($this->_tpl_vars['count']['serveurs'] > 1): ?>s<?php endif; ?></ins></span>
|
||||
</div>
|
||||
<div>
|
||||
<div id="menu"><div class="menu_head"></div>
|
||||
<?php if ($this->_tpl_vars['page'] == 'admin'): ?> <?php if ($this->_tpl_vars['pagea'] == 'accueil'): ?><span>Accueil</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['accueil']; ?>
|
||||
">Accueil</a><?php endif; ?><div class="space"></div>
|
||||
<?php if ($this->_tpl_vars['pagea'] == 'vip'): ?><span>Vérifier IP</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['vip']; ?>
|
||||
">Vérifier IP</a><?php endif; ?> <?php if ($this->_tpl_vars['pagea'] == 'vflottes'): ?><span>Vérifier flottes</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['vflottes']; ?>
|
||||
">Vérifier flottes</a><?php endif; ?> <?php if ($this->_tpl_vars['pagea'] == 'vplanetes'): ?><span>Vérifier planètes</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menua']['vplanetes']; ?>
|
||||
">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 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']; ?>
|
||||
">Caserne</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'chantierspatial'): ?><span>Chantier spatial</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['chantierspatial']; ?>
|
||||
">Chantier spatial</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'chantierterrestre'): ?><span>Chantier terrestre</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['chantierterrestre']; ?>
|
||||
">Chantier terrestre</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'defenses'): ?><span>Défenses</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['defenses']; ?>
|
||||
">Défenses</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'laboratoire'): ?><span>Laboratoire</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
|
||||
">Laboratoire</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'arbre'): ?><span>Arbre technologique</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
|
||||
">Arbre technologique</a><?php endif; ?><div class="space"></div>
|
||||
<?php if ($this->_tpl_vars['page'] == 'ressources'): ?><span>Ressources</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['ressources']; ?>
|
||||
">Ressources</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'gestion' || $this->_tpl_vars['page'] == 'rename'): ?><span>Gestion</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['gestion']; ?>
|
||||
">Gestion</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'flotte1' || $this->_tpl_vars['page'] == 'flotte2'): ?><span>Flottes</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
|
||||
">Flottes</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'armee'): ?><span>Armée</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['armee']; ?>
|
||||
">Armée</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'carte'): ?><span>Carte spatiale</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['carte']; ?>
|
||||
">Carte spatiale</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'options'): ?><span>Options</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['options']; ?>
|
||||
">Options</a><?php endif; ?><div class="space"></div>
|
||||
<?php if ($this->_tpl_vars['page'] == 'messagerie' || $this->_tpl_vars['page'] == 'envoyer'): ?><span>Messages et rapports</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['messages']; ?>
|
||||
"><?php if ($this->_tpl_vars['alertMail']): ?><b>Messages et rapports (<?php echo $this->_tpl_vars['alertMail']; ?>
|
||||
)</b><?php else: ?>Messages et rapports<?php endif; ?></a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'alliance'): ?><span>Alliance</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||||
">Alliance</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'classement'): ?><span>Classement</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['classement']; ?>
|
||||
">Classement</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'forums'): ?><span>Forums</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['forums']; ?>
|
||||
">Forums</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'bugs'): ?><span>Rapports de bug</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['bugs']; ?>
|
||||
">Rapports de bug</a><?php endif; ?> <?php if ($this->_tpl_vars['page'] == 'faq'): ?><span>F.A.Q.</span><?php else: ?><a href="<?php echo $this->_tpl_vars['menu']['faq']; ?>
|
||||
">F.A.Q.</a><?php endif; ?> <a href="<?php echo $this->_tpl_vars['menu']['deconnexion']; ?>
|
||||
">Déconnexion</a><div class="space"></div>
|
||||
<?php endif; ?> <div class="menu_bt"></div></div>
|
||||
<?php if ($this->_tpl_vars['page'] != 'admin' && $this->_tpl_vars['page'] != 'messagerie' && $this->_tpl_vars['page'] != 'envoyer' && $this->_tpl_vars['page'] != 'bugs' && $this->_tpl_vars['page'] != 'carte' && $this->_tpl_vars['page'] != 'classement' && $this->_tpl_vars['page'] != 'options' && $this->_tpl_vars['page'] != 'vp'): ?>
|
||||
<div id="corps_top">
|
||||
<div class="border_top"></div>
|
||||
<img src="images/planetes/<?php echo $this->_tpl_vars['planete']['image']; ?>
|
||||
.jpg" width="70" height="70" alt="planète" />
|
||||
<div>Bonjour, <span><?php echo $this->_tpl_vars['user']['pseudo']; ?>
|
||||
.</span><br />Votre position actuelle:<br /><br /><form action="<?php echo $this->_tpl_vars['link']['changeplanete']; ?>
|
||||
" 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 $this->_tpl_vars['plan']['galaxie']; ?>
|
||||
:<?php echo $this->_tpl_vars['plan']['ss']; ?>
|
||||
:<?php echo $this->_tpl_vars['plan']['position']; ?>
|
||||
]</option><?php endforeach; endif; unset($_from); ?></select><noscript><div><br /><input class="submit" type="submit" value="GO" /></div></noscript></fieldset></form></div>
|
||||
<div class="ressource"><span><?php echo $this->_tpl_vars['nomsressources']['3']; ?>
|
||||
</span><br /><?php if ($this->_tpl_vars['alertes']['4'] == true): ?><span class="lack"><?php endif; ?><?php echo $this->_tpl_vars['alertes']['3']; ?>
|
||||
<?php if ($this->_tpl_vars['alertes']['4']): ?></span><?php endif; ?></div>
|
||||
<div class="ressource"><span><?php echo $this->_tpl_vars['nomsressources']['2']; ?>
|
||||
</span><br /><?php if ($this->_tpl_vars['alertes']['2'] == true): ?><span class="lack"><?php endif; ?><?php echo $this->_tpl_vars['planete']['hydrogeneS']; ?>
|
||||
<?php if ($this->_tpl_vars['alertes']['2']): ?></span><?php endif; ?></div>
|
||||
<div class="ressource"><span><?php echo $this->_tpl_vars['nomsressources']['1']; ?>
|
||||
</span><br /><?php if ($this->_tpl_vars['alertes']['1'] == true): ?><span class="lack"><?php endif; ?><?php echo $this->_tpl_vars['planete']['cristalS']; ?>
|
||||
<?php if ($this->_tpl_vars['alertes']['1']): ?></span><?php endif; ?></div>
|
||||
<div class="ressource"><span><?php echo $this->_tpl_vars['nomsressources']['0']; ?>
|
||||
</span><br /><?php if ($this->_tpl_vars['alertes']['0'] == true): ?><span class="lack"><?php endif; ?><?php echo $this->_tpl_vars['planete']['metalS']; ?>
|
||||
<?php if ($this->_tpl_vars['alertes']['0']): ?></span><?php endif; ?></div>
|
||||
<div class="border_bt"></div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div><?php echo $this->_tpl_vars['pub']; ?>
|
||||
</div>
|
||||
<div id="corps">
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-16 22:58:55
|
||||
compiled from game/flotte1.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>Flottes en action</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Nom</th><th>Mission</th><th>Nb.vaisseau(x)</th><th>Destination</th><th>Heure d'arrivée</th><th>Retour</th><th>Heure de retour</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php $_from = $this->_tpl_vars['flottesEC']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['flotteEC']):
|
||||
?>
|
||||
<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']; ?>
|
||||
</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>
|
||||
<td><?php echo $this->_tpl_vars['flotteEC']['5']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['flotteEC']['6']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['flotteEC']['7']; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<h2>Vaisseaux disponibles sur cette planète</h2>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['flotte']; ?>
|
||||
" method="post">
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Vaisseaux</th><th>Nombre disponible</th><th>Max</th><th>A envoyer<br />Flottes : <?php echo $this->_tpl_vars['nbflotte']; ?>
|
||||
/<?php echo $this->_tpl_vars['nbflottemax']; ?>
|
||||
</th></tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr><td colspan="4"><input class="button" type="button" value="Tous les vaisseaux" onclick="vaisseaux(true)" /> <input class="button" type="button" value="Aucun vaisseau" onclick="vaisseaux(false)" /></td></tr>
|
||||
<tr><td colspan="4"><?php echo $this->_tpl_vars['action']; ?>
|
||||
</td></tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
<?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><?php echo $this->_tpl_vars['vaisseau']['0']; ?>
|
||||
</td>
|
||||
<td><?php echo $this->_tpl_vars['vaisseau']['1']; ?>
|
||||
<span id="v_<?php echo $this->_tpl_vars['vaisseau']['3']; ?>
|
||||
" style="display: none;"><?php echo $this->_tpl_vars['vaisseau']['2']; ?>
|
||||
</span></td>
|
||||
<td><input class="button" type="button" value="Max" onclick="max('<?php echo $this->_tpl_vars['vaisseau']['3']; ?>
|
||||
')" /></td>
|
||||
<td><input class="text" type="text" name="v<?php echo $this->_tpl_vars['vaisseau']['3']; ?>
|
||||
" value="0" /></td>
|
||||
</tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-19 01:51:56
|
||||
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); ?>
|
||||
<?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>Messages</h2>
|
||||
<h3><a href="<?php echo $this->_tpl_vars['menu']['envoie']; ?>
|
||||
">Ecrire un message</a></h3>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['messagerie']; ?>
|
||||
" method="post">
|
||||
<?php $_from = $this->_tpl_vars['messages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['message']):
|
||||
?>
|
||||
<dl>
|
||||
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><input class="checkbox" type="checkbox" name="m<?php echo $this->_tpl_vars['message']['4']; ?>
|
||||
" value="<?php echo $this->_tpl_vars['message']['5']; ?>
|
||||
" /><a href="?p=envoyer&d=<?php echo $this->_tpl_vars['message']['2']; ?>
|
||||
&o=<?php echo $this->_tpl_vars['message']['0']; ?>
|
||||
"><?php echo $this->_tpl_vars['message']['0']; ?>
|
||||
</a> de <?php echo $this->_tpl_vars['message']['2']; ?>
|
||||
à <?php echo $this->_tpl_vars['message']['1']; ?>
|
||||
</dt><dd><?php echo ((is_array($_tmp=$this->_tpl_vars['message']['3'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
|
||||
</dd>
|
||||
</dl>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<fieldset><input class="button" type="button" value="Tout sélectionner" onclick="checkboxes(true)" /> <input class="button" type="button" value="Tout déselectionner" onclick="checkboxes(false)" /><br /><br /><strong>Supprimer le sélection : </strong><input class="submit" type="submit" value="OK" /><br /><br /><input type="hidden" value="<?php echo $this->_tpl_vars['IM']; ?>
|
||||
" name="IM" /></fieldset>
|
||||
</form>
|
||||
<h2>Rapports</h2>
|
||||
<form action="<?php echo $this->_tpl_vars['menu']['messagerie']; ?>
|
||||
" method="post">
|
||||
<?php $_from = $this->_tpl_vars['rapports']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['rapport']):
|
||||
?>
|
||||
<dl>
|
||||
<dt><input class="button2" type="button" onclick="hide(this); return false;" /><input class="checkbox" type="checkbox" name="r<?php echo $this->_tpl_vars['rapport']['4']; ?>
|
||||
" value="<?php echo $this->_tpl_vars['rapport']['5']; ?>
|
||||
" /><?php echo $this->_tpl_vars['rapport']['0']; ?>
|
||||
à <?php echo $this->_tpl_vars['rapport']['1']; ?>
|
||||
</dt><dd><?php echo ((is_array($_tmp=$this->_tpl_vars['rapport']['3'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
|
||||
</dd>
|
||||
</dl>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
<fieldset><input class="button" type="button" value="Tout sélectionner" onclick="checkboxesr(true)" /> <input class="button" type="button" value="Tout déselectionner" onclick="checkboxesr(false)" /><br /><br /><strong>Supprimer le sélection : </strong><input class="submit" type="submit" value="OK" /><br /><br /><input type="hidden" value="<?php echo $this->_tpl_vars['IR']; ?>
|
||||
" name="IR" /></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);
|
||||
?>
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
<?php /* Smarty version 2.6.19, created on 2008-05-18 00:26:43
|
||||
compiled from game/version.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>Mises à jour</h2>
|
||||
<table><thead><tr><th>Versions</th><th>Détails</th></tr></thead><tbody>
|
||||
<?php $_from = $this->_tpl_vars['versions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
||||
foreach ($_from as $this->_tpl_vars['version']):
|
||||
?>
|
||||
<tr><td><?php echo $this->_tpl_vars['version']['numero']; ?>
|
||||
<br /><?php echo $this->_tpl_vars['version']['date']; ?>
|
||||
</td><td><?php echo $this->_tpl_vars['version']['description']; ?>
|
||||
</td></tr>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</tbody></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);
|
||||
?>
|
||||
|
|
@ -21,13 +21,14 @@ if ($coeff_mine_h < 0) $coeff_mine_h = 0;
|
|||
if ($coeff_mine_h > 1) $coeff_mine_h = 1;
|
||||
|
||||
$centrale_s = $queryPlanete['centrale_s'];
|
||||
//$coeff_centrale_s = $queryPlanete['coeff_centrale_s'];
|
||||
$coeff_centrale_s = 1;
|
||||
$coeff_centrale_s = $queryPlanete['coeff_centrale_s'];
|
||||
//$coeff_centrale_s = 1;
|
||||
if ($coeff_centrale_s < 0) $coeff_centrale_s = 0;
|
||||
if ($coeff_centrale_s > 1) $coeff_centrale_s = 1;
|
||||
|
||||
$centrale_f = $queryPlanete['centrale_f'];
|
||||
$coeff_centrale_f = $queryPlanete['coeff_centrale_f'];
|
||||
if ($centrale_f <= 0) $coeff_centrale_f = 0;
|
||||
else $coeff_centrale_f = $queryPlanete['coeff_centrale_f'];
|
||||
if ($coeff_centrale_f < 0) $coeff_centrale_f = 0;
|
||||
if ($coeff_centrale_f > 1) $coeff_centrale_f = 1;
|
||||
|
||||
|
|
@ -51,51 +52,39 @@ if ($centrale_f > 0) $energie_f = ceil(exp(0.297*$centrale_f)*25); else $energie
|
|||
if ($centrale_s > 0) $energie_s = ceil(exp(0.28*$centrale_s)*22); else $energie_s = 0;
|
||||
|
||||
//Calcul de la consomation d'énergie
|
||||
$nrj = $energie_m + $energie_c + $energie_h;
|
||||
$nrj = $energie_m * $coeff_mine_m + $energie_c * $coeff_mine_c + $energie_h * $coeff_mine_h;
|
||||
$nrjmx = $energie_m + $energie_c + $energie_h;
|
||||
|
||||
//Calcul de la production d'énergie
|
||||
$t = $energie_s + $energie_f;
|
||||
$t = $energie_s * $coeff_centrale_s + $energie_f * $coeff_centrale_f;
|
||||
|
||||
if ($nrj == 0) $coeff = 0;
|
||||
else $coeff = $t / $nrj;
|
||||
//print $coeff.' = '.$t.'/'.$nrj;
|
||||
|
||||
if ($coeff < 0) $coeff = 0;
|
||||
elseif ($coeff > 1) $coeff = 1;
|
||||
|
||||
//Calcul des proportions
|
||||
$point = $coeff * 3;
|
||||
|
||||
if ($coeff_mine_m + $coeff_mine_c + $coeff_mine_h != 0) {
|
||||
$p_mine_m = $coeff_mine_m / ($coeff_mine_m + $coeff_mine_c + $coeff_mine_h);
|
||||
$p_mine_c = $coeff_mine_c / ($coeff_mine_m + $coeff_mine_c + $coeff_mine_h);
|
||||
$p_mine_h = $coeff_mine_h / ($coeff_mine_m + $coeff_mine_c + $coeff_mine_h);
|
||||
}
|
||||
else {
|
||||
$p_mine_m = 0.33333333;
|
||||
$p_mine_c = 0.33333333;
|
||||
$p_mine_h = 0.33333333;
|
||||
}
|
||||
|
||||
$Ncoeff_mine_m = $point * $p_mine_m;
|
||||
$Ncoeff_mine_c = $point * $p_mine_c;
|
||||
$Ncoeff_mine_h = $point * $p_mine_h;
|
||||
$Ncoeff_mine_m = $coeff * $coeff_mine_m;
|
||||
$Ncoeff_mine_c = $coeff * $coeff_mine_c;
|
||||
$Ncoeff_mine_h = $coeff * $coeff_mine_h;
|
||||
|
||||
if ($Ncoeff_mine_m > 1) $Ncoeff_mine_m = 1;
|
||||
if ($Ncoeff_mine_c > 1) $Ncoeff_mine_c = 1;
|
||||
if ($Ncoeff_mine_h > 1) $Ncoeff_mine_h = 1;
|
||||
|
||||
//if ($Ncoeff_mine_m < $coeff_mine_m) {
|
||||
mysql_query("UPDATE planete SET coeff_mine_m='$Ncoeff_mine_m' WHERE id_user='$id_user' AND galaxie='$g' AND ss='$s'AND position='$p'");
|
||||
if ($Ncoeff_mine_m < $coeff_mine_m) {
|
||||
mysql_query("UPDATE planete SET coeff_mine_m='$Ncoeff_mine_m' WHERE id_user='$id_user' AND galaxie='$g' AND ss='$s'AND position='$p'") or die ('mysql');
|
||||
$coeff_mine_m = $Ncoeff_mine_m;
|
||||
//}
|
||||
//if ($Ncoeff_mine_c < $coeff_mine_c) {
|
||||
}
|
||||
if ($Ncoeff_mine_c < $coeff_mine_c) {
|
||||
mysql_query("UPDATE planete SET coeff_mine_c='$Ncoeff_mine_c' WHERE id_user='$id_user' AND galaxie='$g' AND ss='$s'AND position='$p'");
|
||||
$coeff_mine_c = $Ncoeff_mine_c;
|
||||
//}
|
||||
//if ($Ncoeff_mine_h < $coeff_mine_h) {
|
||||
}
|
||||
if ($Ncoeff_mine_h < $coeff_mine_h) {
|
||||
mysql_query("UPDATE planete SET coeff_mine_h='$Ncoeff_mine_h' WHERE id_user='$id_user' AND galaxie='$g' AND ss='$s'AND position='$p'");
|
||||
$coeff_mine_h = $Ncoeff_mine_h;
|
||||
//}
|
||||
}
|
||||
|
||||
$alert_metal = false;
|
||||
if ($metal >= $cap) {
|
||||
|
|
@ -104,7 +93,7 @@ if ($metal >= $cap) {
|
|||
$alert_metal = true;
|
||||
}
|
||||
else {
|
||||
if ($mine_m < 0) $prod_met = 0.011*$temps_ecoule;
|
||||
if ($mine_m <= 0 || $centrale_s <= 0) $prod_met = 0.011*$temps_ecoule;
|
||||
else $prod_met = ((ceil(pow(1.1,$mine_m)*35*$mine_m)/3600)*$temps_ecoule)*$coeff_mine_m;
|
||||
}
|
||||
|
||||
|
|
@ -115,7 +104,7 @@ if ($cristal >= $cap) {
|
|||
$alert_cristal = true;
|
||||
}
|
||||
else {
|
||||
if ($mine_c < 0) $prod_cri = 0.0055*$temps_ecoule;
|
||||
if ($mine_c <= 0 || $centrale_s <= 0) $prod_cri = 0.0055*$temps_ecoule;
|
||||
else $prod_cri = ((ceil(pow(1.1,$mine_c)*23*$mine_c)/3600)*$temps_ecoule)*$coeff_mine_c;
|
||||
}
|
||||
|
||||
|
|
@ -147,9 +136,9 @@ elseif (ceil(pow(1.34,($centrale_f-1))*9) <= $hydrogene/5 && $coeff_centrale_f =
|
|||
$coeff_energie_f = 1;
|
||||
}
|
||||
|
||||
$a=$metal+$prod_met;
|
||||
$b=$cristal+$prod_cri;
|
||||
$c=$hydrogene+$prod_hy;
|
||||
$a = $metal + $prod_met;
|
||||
$b = $cristal + $prod_cri;
|
||||
$c = $hydrogene + $prod_hy;
|
||||
$u = $energie_s * $coeff_centrale_s + $energie_f * $coeff_centrale_f;
|
||||
|
||||
$TEMP_energie = separerNombres(intval($nrj)).'/'.separerNombres($u);
|
||||
|
|
|
|||
34
index.php
34
index.php
|
|
@ -5,6 +5,7 @@ require_once(_FCORE."../tables.php");
|
|||
|
||||
//On vérifie que le serveur ne soit pas fermé
|
||||
require('includes/fermerServeur.php');
|
||||
$template->assign('url_serveur', $config['serv_adresse']);
|
||||
|
||||
//On vérifie si le client est connecté ou non sur le site
|
||||
if (isset($sess) && isset($sess->values['connected']) && $sess->values['connected'] && !empty($sess->values['id']) && isset($sess->values['auth_level']) && !empty($sess->values['idPlan'])) {
|
||||
|
|
@ -88,7 +89,7 @@ if (isset($sess) && isset($sess->values['connected']) && $sess->values['connecte
|
|||
for ($i=0 ; $i<$coun ; $i++) {
|
||||
$caseRest -= $queryPlanete[$batimentVAR[$i]];
|
||||
}
|
||||
$template->assign('caseRest',$caseRest);
|
||||
$template->assign('caseRest',$case-$caseRest);
|
||||
|
||||
if (!isset($_GET['p'])) $_GET['p'] = '';
|
||||
//Isolement de la planète
|
||||
|
|
@ -166,6 +167,9 @@ if (isset($sess) && isset($sess->values['connected']) && $sess->values['connecte
|
|||
case 'options':
|
||||
include('game/options.php');
|
||||
break;
|
||||
case 'changeopt':
|
||||
include('game/options_change.php');
|
||||
break;
|
||||
case 'messagerie':
|
||||
include('game/messagerie.php');
|
||||
break;
|
||||
|
|
@ -181,6 +185,9 @@ if (isset($sess) && isset($sess->values['connected']) && $sess->values['connecte
|
|||
case 'bugs':
|
||||
include('game/bugs.php');
|
||||
break;
|
||||
case 'faq':
|
||||
include('game/aide.php');
|
||||
break;
|
||||
case 'deconnexion':
|
||||
include('game/logout.php');
|
||||
break;
|
||||
|
|
@ -199,9 +206,9 @@ else {
|
|||
$chapeau = new bdd();
|
||||
$chapeau->connexion();
|
||||
$chapeau->db();
|
||||
$chapeau->query("SELECT * FROM `$table_user_inscriptions` WHERE `race` = 'covenant';");
|
||||
$chapeau->query("SELECT * FROM `$table_user` WHERE `race` = 'covenant';");
|
||||
$nbcovie = $chapeau->num_rows;
|
||||
$chapeau->query("SELECT * FROM `$table_user_inscriptions` WHERE `race` = 'humain';");
|
||||
$chapeau->query("SELECT * FROM `$table_user` WHERE `race` = 'humain';");
|
||||
$template->assign('count',array('humains' => $chapeau->num_rows, 'covenants' => $nbcovie, 'serveurs' => '1'));
|
||||
|
||||
if (isset($_POST['HB_login']) && isset($_POST['HB_password'])) {
|
||||
|
|
@ -212,6 +219,13 @@ else {
|
|||
exit;
|
||||
}
|
||||
else {
|
||||
$chapeau->query("SELECT * FROM `$table_sessions` WHERE `active` = '1' AND `var_session` != '';");
|
||||
/*if ($chapeau->num_rows > 750) {
|
||||
$template->assign('message','Il y a actuellement trop de monde connecté sur Halo-Battle. Pour permettre aux joueurs une navigation convenable, nous vous remercions de revenir plus tard.<br /><br /><i>Un système de file d\'attente sera bientôt mis en place pour permettre d\'avoir accès au jeu dans un délais raisonable.</i>');
|
||||
$template->assign('couleur','red');
|
||||
$template->display('cms/erreur.tpl');
|
||||
exit;
|
||||
}*/
|
||||
$HB_login = mysql_real_escape_string($_POST['HB_login']);
|
||||
$HB_password = sha1(strtoupper($HB_login).':'.mysql_real_escape_string($_POST['HB_password']));
|
||||
$resultat = $chapeau->unique_query("SELECT * FROM `$table_user` WHERE `pseudo` = '$HB_login' AND `mdp` = '$HB_password'");
|
||||
|
|
@ -253,25 +267,30 @@ else {
|
|||
}
|
||||
}
|
||||
}
|
||||
$chapeau->deconnexion();
|
||||
|
||||
if (!isset($_GET['p'])) $_GET['p'] = '';
|
||||
switch($_GET['p']){
|
||||
//Serveur principal
|
||||
case "validation":
|
||||
/* case "validation":
|
||||
include('game/validation.php');
|
||||
break;
|
||||
case "inscription":
|
||||
include('game/inscription.php');
|
||||
break;
|
||||
case "oubliemdp":
|
||||
header('Location: http://battle.halo.fr/?p=oubliemdp');
|
||||
break;*/
|
||||
//Serveur de jeu
|
||||
/* case "njoueur":
|
||||
case "njoueur":
|
||||
include('game/njoueur.php');
|
||||
break;
|
||||
case "inscription":
|
||||
header('Location: http://halo-battle.s-fr.com/?p=inscription');
|
||||
exit;
|
||||
break;*/
|
||||
break;
|
||||
case "oubliemdp":
|
||||
include('game/oubliemdp.php');
|
||||
break;
|
||||
//Tous serveurs
|
||||
case "conditions":
|
||||
include('game/conditions.php');
|
||||
|
|
@ -284,5 +303,6 @@ else {
|
|||
}
|
||||
|
||||
$template->display('cms/'.$page.'.tpl');
|
||||
$chapeau->deconnexion();
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue