diff --git a/Class/class.rapport.php b/Class/class.rapport.php index d332ed7..fa22188 100644 --- a/Class/class.rapport.php +++ b/Class/class.rapport.php @@ -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.

Lien de signature : http://battle.halo.fr/?p=alliances&q=signer&i='.$this->var[0].''; + + $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')"); + } } ?> \ No newline at end of file diff --git a/DELlancer_flotte.php b/DELlancer_flotte.php deleted file mode 100644 index 1935006..0000000 --- a/DELlancer_flotte.php +++ /dev/null @@ -1,64 +0,0 @@ - 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 .= ''; - if ($i == 4 && $_POST['vaisseau'.$i] >= 1) $ACTIONSUPP .= ''; - if ($i == 3 && $_POST['vaisseau'.$i] >= 1) $ACTIONSUPP .= ''; -} - -// 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'); -?> \ No newline at end of file diff --git a/captcha/.htaccess b/captcha/.htaccess deleted file mode 100644 index f2bc67f..0000000 --- a/captcha/.htaccess +++ /dev/null @@ -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 \ No newline at end of file diff --git a/game/accueil.php b/game/accueil.php index 4483981..2d0cd2f 100644 --- a/game/accueil.php +++ b/game/accueil.php @@ -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); ?> \ No newline at end of file diff --git a/game/aide.php b/game/aide.php new file mode 100644 index 0000000..a2344de --- /dev/null +++ b/game/aide.php @@ -0,0 +1,18 @@ + \ No newline at end of file diff --git a/game/alliances.php b/game/alliances.php index 819cecc..ed95c45 100644 --- a/game/alliances.php +++ b/game/alliances.php @@ -1,7 +1,7 @@ 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',''); @@ -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.
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.
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.
Il ne vous reste plus qu\'à trouver au moins 4 signatures pour finir la création de votre alliance.

Le lien permettant à vos quatres personnes de signer est ?p=alliances&q=signer&i='.$lien.''); + $rapport = new Rapport(7, $id_user, 0, time()); + $rapport->addInfo($lien, 0); + $rapport->send(); + + $template->assign('message','Votre alliance a bien été créée.
Il ne vous reste plus qu\'à trouver au moins 4 signatures pour finir la création de votre alliance.

Le lien permettant à vos quatres personnes de signer est '.$config['serv_adresse'].'?p=alliances&q=signer&i='.$lien.''); $template->assign('couleur','green'); $template->display('game/erreur.tpl'); exit; diff --git a/game/carte.php b/game/carte.php index 4662dd6..a246486 100644 --- a/game/carte.php +++ b/game/carte.php @@ -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'"); diff --git a/game/envoyer.php b/game/envoyer.php index 986aeca..e5d340f 100644 --- a/game/envoyer.php +++ b/game/envoyer.php @@ -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']); ?> \ No newline at end of file diff --git a/game/inscription.php b/game/inscription.php index e419c9f..82b1216 100644 --- a/game/inscription.php +++ b/game/inscription.php @@ -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('Halo-Battle :: Activation de votre compte

Bonjour '.$pseudo.',
Vous recevez ce mail suite à votre demande d\'inscription sur le jeu Halo-Battle. Pour confirmer votre adresse mail et ainsi pouvoir accéder au jeu, cliquez sur le lien ci-après :
http://halo-battle.s-fr.com/?p=validation&i='.$id_activ.'

A bientôt dans Halo-Battle,
Le staff

'); + $mail->Body='Halo-Battle :: Activation de votre compte

Bonjour '.$pseudo.',
Vous recevez ce mail suite à votre demande d\'inscription sur le jeu Halo-Battle. Pour confirmer votre adresse mail et ainsi pouvoir accéder au jeu, cliquez sur le lien ci-après :
http://halo-battle.s-fr.com/?p=validation&i='.$id_activ.'

A bientôt dans Halo-Battle,
Le staff

'; //$mail->Body='Halo-Battle :: Pré-Inscription

Félicitations '.$pseudo.' !
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, contactez un administrateur.

A très bientôt pour la sortie d'Halo-Battle !

'; 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.

Un courriel de confirmation vient d\'être envoyé à votre adresse électronique afin de valider votre inscription au jeu en ligne Halo-Battle.

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.

Un courriel de confirmation vient d\'être envoyé à votre adresse électronique afin de valider votre inscription au jeu en ligne Halo-Battle.

N\'attendez-plus, commencez le combat dès à présent !'); $template->assign('couleur','green'); $template->display('cms/erreur.tpl'); exit; diff --git a/game/options.php b/game/options.php index 445aec9..9f2ae24 100644 --- a/game/options.php +++ b/game/options.php @@ -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='Halo-Battle :: Activation de votre nouveau mot de passe

Bonjour '.trouvNom($id_user).',
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 :
http://battle.halo.fr/pages/options_validation.php?chg=activation&util='.$id_user.'&auth='.$auth.'
Notez que pour que le mot de passe soit changé, il faut que vous soyer connecté sur votre compte.

A bientôt dans Halo-Battle,
Le staff

'; + $mail->Body='Halo-Battle :: Activation de votre nouveau mot de passe

Bonjour '.trouvNom($id_user).',
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 :
'.$config['serv_adresse'].'?p=changeopt&util='.$id_user.'&auth='.$auth.'
Notez que pour que le mot de passe soit changé, il faut que vous soyer connecté sur votre compte.

A bientôt dans Halo-Battle,
Le staff

'; if(!$mail->Send()){ //Teste si le return code est ok. $template->assign('message','Erreur lors de l\'envoie du courriel de confirmation !

'.$mail->ErrorInfo.'

Si le problème perciste, contactez un administrateur.'); @@ -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='Halo-Battle :: Activation de votre nouvelle adresse électronique

Bonjour,
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 :
http://battle.halo.fr/pages/options_validation.php?chg=activation&util='.$id_user.'&auth='.$auth.'
Notez que pour que l\'adresse soit changée, il faut que vous soyer connecté sur votre compte.

A bientôt dans Halo-Battle,
Le staff

'; + $mail->Body='Halo-Battle :: Activation de votre nouvelle adresse électronique

Bonjour,
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 :
'.$config['serv_adresse'].'?p=changeopt&util='.$id_user.'&auth='.$auth.'
Notez que pour que l\'adresse soit changée, il faut que vous soyer connecté sur votre compte.

A bientôt dans Halo-Battle,
Le staff

'; if(!$mail->Send()){ //Teste si le return code est ok. $template->assign('message','Erreur lors de l\'envoie du courriel de confirmation !

'.$mail->ErrorInfo.'

Si le problème perciste, contactez un administrateur.'); @@ -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(); diff --git a/game/options_change.php b/game/options_change.php new file mode 100644 index 0000000..9755f9d --- /dev/null +++ b/game/options_change.php @@ -0,0 +1,33 @@ +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; +} +?> \ No newline at end of file diff --git a/game/oubliemdp.php b/game/oubliemdp.php new file mode 100644 index 0000000..375d1d7 --- /dev/null +++ b/game/oubliemdp.php @@ -0,0 +1,83 @@ +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',''); + $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 .= '

Pseudo ou adresse électronique vide :
Veuillez compléter tous les champs de ce formulaire avant de le valider.


'; + } + if (strtolower($_POST['HB_captcha']) != strtolower($_SESSION['aleat_nbr'])) { + $ok = false; + $erreur .= '

Code de vérification incorrect :
Le texte que vous avez recopier ne correspondait pas au texte de l\'image, veuillez recommencer.


'; + } + 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='Halo-Battle :: Réinitialisation du mot de passe

Bonjour '.$_POST["HB_pseudo"].',
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 :
'.$config['serv_adresse'].'?p=oubliemdp&i='.$passNOUV.'&n='.$_POST["HB_pseudo"].'

Votre nouveau mot de passe est : '.$code.'

A bientôt dans Halo-Battle,
Le staff

'; + + if(!$mail->Send()){ //Teste si le return code est ok. + $template->assign('message','Erreur lors de l\'envoie du courriel de confirmation !

'.$mail->ErrorInfo.'

Si le problème perciste, contactez un administrateur.'); + $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 .= '

Nom d\'utilisateur ou adresse électronique incorrect :
L\'adresse électronique que vous avez indiqué ne correspond pas au nom d\'utilisateur. Réessayez.


'; + } +} + +$template->assign('erreurs', $erreur); +?> \ No newline at end of file diff --git a/game/rename.php b/game/rename.php index dba2c2c..84bc919 100644 --- a/game/rename.php +++ b/game/rename.php @@ -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',''); diff --git a/game/ressources.php b/game/ressources.php index 6305100..c44172f 100644 --- a/game/ressources.php +++ b/game/ressources.php @@ -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)); ?> \ No newline at end of file diff --git a/game/validation.php b/game/validation.php index b8a3e5f..669ba52 100644 --- a/game/validation.php +++ b/game/validation.php @@ -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/"; diff --git a/includes/common.php b/includes/common.php index aa9daa2..12b66f3 100644 --- a/includes/common.php +++ b/includes/common.php @@ -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 = '
'; +
'); +$template->assign('analyst', ' + +'); ?> diff --git a/includes/onyx/bdd.class.php b/includes/onyx/bdd.class.php index da851c4..77ea682 100644 --- a/includes/onyx/bdd.class.php +++ b/includes/onyx/bdd.class.php @@ -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; } diff --git a/includes/onyx/config.xconf b/includes/onyx/config.xconf index e6218ac..219d279 100644 --- a/includes/onyx/config.xconf +++ b/includes/onyx/config.xconf @@ -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" diff --git a/includes/onyx/logs/19-05-2008.xlog b/includes/onyx/logs/19-05-2008.xlog new file mode 100644 index 0000000..5ee9f52 --- /dev/null +++ b/includes/onyx/logs/19-05-2008.xlog @@ -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] diff --git a/includes/onyx/record.xlist b/includes/onyx/record.xlist new file mode 100644 index 0000000..e69de29 diff --git a/includes/onyx/session.class.php b/includes/onyx/session.class.php index 1a26b54..564e0b9 100644 --- a/includes/onyx/session.class.php +++ b/includes/onyx/session.class.php @@ -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"; diff --git a/includes/onyx/templates/templates/cms/mini.tpl b/includes/onyx/templates/templates/cms/mini.tpl index e629adb..58f9825 100644 --- a/includes/onyx/templates/templates/cms/mini.tpl +++ b/includes/onyx/templates/templates/cms/mini.tpl @@ -1,7 +1,7 @@ {include file='cms/header.tpl'}
Connexion
-
Mot de passe oublié
+
Mot de passe oublié
INSCRIVEZ VOUS Rejoignez l'alliance ou engagez-vous

DEFENDREZ VOUS L'HUMANITE OU LA DETRUIREZ VOUS?

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

Une simple inscription gratuite et un navigateur internet sont demandés pour pouvoir participer a des batailles épiques!

Cliquez ici pour vous inscrire En savoir plus
diff --git a/includes/onyx/templates/templates/cms/oubliemdp.tpl b/includes/onyx/templates/templates/cms/oubliemdp.tpl new file mode 100644 index 0000000..8ae1f48 --- /dev/null +++ b/includes/onyx/templates/templates/cms/oubliemdp.tpl @@ -0,0 +1,29 @@ +{include file='cms/header.tpl'} +
+
Informations
+
Oublie de mot de passe

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.

Pensez à changer ce nouveau mot de passe que vous ne retiendrez pas facilement, via la page option du jeu.

+
+
+
+
Formulaire de réinitialisation de mot de passe
+
+
+ +
+

Génération ... +

+
+
+
+
+ {if $erreurs} +
+
Impossible de changer le mot de passe :
+
+

+ {$erreurs} +

+
+
+ {/if} +{include file='cms/footer.tpl'} \ No newline at end of file diff --git a/includes/onyx/templates/templates/game/accueil.tpl b/includes/onyx/templates/templates/game/accueil.tpl index 4f77126..b270685 100644 --- a/includes/onyx/templates/templates/game/accueil.tpl +++ b/includes/onyx/templates/templates/game/accueil.tpl @@ -15,5 +15,6 @@

Race : {$user.race}

position: {$planete.galaxie}.{$planete.ss}.{$planete.position}

Classement: {$points} points ({$user.place_points}{if $user.place_points == '1'}er{else}ème{/if})

+ {if $alliance}

Alliance: [{$alliance.tag|upper}] {$alliance.nom}

{/if}
{include file='game/footer.tpl'} diff --git a/includes/onyx/templates/templates/game/aide/avertissements.tpl b/includes/onyx/templates/templates/game/aide/avertissements.tpl new file mode 100644 index 0000000..20dc19a --- /dev/null +++ b/includes/onyx/templates/templates/game/aide/avertissements.tpl @@ -0,0 +1,33 @@ +{include file='game/header.tpl'} +
+

Aide de Halo-Battle :: Avertissements

+

Avertissement aux utilisateurs de téléviseurs à rétroprojection


+ 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.
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.

+

Prévention des risques d'épilepsie


+

A lire avant toute utilisation d'un jeu vidéo par vous-même ou par votre enfant.


+ 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.
+ 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.
+ 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.
+ 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.

+

Règles à respecter pour jouer dans les meilleures conditions possibles

+
+

Prévention des risques liés aux troubles du sommeil


+ 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.
+ Pour bien dormir, observez ces quelques règles : + +
+{include file='game/footer.tpl'} \ No newline at end of file diff --git a/includes/onyx/templates/templates/game/aide/config.tpl b/includes/onyx/templates/templates/game/aide/config.tpl new file mode 100644 index 0000000..75fd55d --- /dev/null +++ b/includes/onyx/templates/templates/game/aide/config.tpl @@ -0,0 +1,14 @@ +{include file='game/header.tpl'} +
+

Aide de Halo-Battle :: Configuration requise

+

Configuration nécessaire


+ 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.
+

Configuration recommandée


+ Pour jouer dans des conditions optimales :
+ +
+{include file='game/footer.tpl'} \ No newline at end of file diff --git a/includes/onyx/templates/templates/game/aide/sommaire.tpl b/includes/onyx/templates/templates/game/aide/sommaire.tpl new file mode 100644 index 0000000..b2bd17d --- /dev/null +++ b/includes/onyx/templates/templates/game/aide/sommaire.tpl @@ -0,0 +1,10 @@ +{include file='game/header.tpl'} +
+

Aide de Halo-Battle :: Sommaire

+

Avertissements

+

Configuration nécessaire

+

Démarrage du jeu

+

Introduction

+

Comment jouer

+
+{include file='game/footer.tpl'} \ No newline at end of file diff --git a/includes/onyx/templates/templates/game/batiments.tpl b/includes/onyx/templates/templates/game/batiments.tpl index 842d27a..d7415ea 100644 --- a/includes/onyx/templates/templates/game/batiments.tpl +++ b/includes/onyx/templates/templates/game/batiments.tpl @@ -40,9 +40,9 @@ {/if} Temps de construction : {$batiment.temps}

{if $batiment.enfile}Arrêter - {elseif $batiment.nec_hydrogene > $planete.hydrogene}Ressouces insuffisantes - {elseif $batiment.nec_cristal > $planete.cristal}Ressouces insuffisantes - {elseif $batiment.nec_metal > $planete.metal}Ressouces insuffisantes + {elseif $batiment.nec_hydrogene > $planete.hydrogene}Ressources insuffisantes + {elseif $batiment.nec_cristal > $planete.cristal}Ressources insuffisantes + {elseif $batiment.nec_metal > $planete.metal}Ressources insuffisantes {else}Construire {/if} diff --git a/includes/onyx/templates/templates/game/envoyer.tpl b/includes/onyx/templates/templates/game/envoyer.tpl index ff0466e..3212576 100644 --- a/includes/onyx/templates/templates/game/envoyer.tpl +++ b/includes/onyx/templates/templates/game/envoyer.tpl @@ -3,7 +3,7 @@

Envoyer un message privé

- +

diff --git a/includes/onyx/templates/templates/game/footer.tpl b/includes/onyx/templates/templates/game/footer.tpl index 8dbaec5..d7dd5d2 100644 --- a/includes/onyx/templates/templates/game/footer.tpl +++ b/includes/onyx/templates/templates/game/footer.tpl @@ -1,10 +1,24 @@ diff --git a/includes/onyx/templates/templates/game/header.tpl b/includes/onyx/templates/templates/game/header.tpl index 38c3485..3f67d0b 100644 --- a/includes/onyx/templates/templates/game/header.tpl +++ b/includes/onyx/templates/templates/game/header.tpl @@ -42,11 +42,12 @@
planète
Bonjour, {$user.pseudo}.
Votre position actuelle:

-
{$nomsressources.2}
{if $alertes.2 == true}{/if}{$planete.hydrogeneS}{if $alertes.2}{/if}
{$nomsressources.3}
{if $alertes.4 == true}{/if}{$alertes.3}{if $alertes.4}{/if}
+
{$nomsressources.2}
{if $alertes.2 == true}{/if}{$planete.hydrogeneS}{if $alertes.2}{/if}
{$nomsressources.1}
{if $alertes.1 == true}{/if}{$planete.cristalS}{if $alertes.1}{/if}
{$nomsressources.0}
{if $alertes.0 == true}{/if}{$planete.metalS}{if $alertes.0}{/if}
{/if} +
{$pub}
\ No newline at end of file diff --git a/includes/onyx/templates/templates/game/laboratoire.tpl b/includes/onyx/templates/templates/game/laboratoire.tpl index be1add8..d52ce40 100644 --- a/includes/onyx/templates/templates/game/laboratoire.tpl +++ b/includes/onyx/templates/templates/game/laboratoire.tpl @@ -39,9 +39,9 @@ {else}Coût {$nomsressources.2|lower} : {$recherche.nec_hydrogeneS}
{/if} {/if} Temps de recherche : {$recherche.temps}

- {if $recherche.nec_hydrogene > $planete.hydrogene}Ressouces insuffisantes - {elseif $recherche.nec_cristal > $planete.cristal}Ressouces insuffisantes - {elseif $recherche.nec_metal > $planete.metal}Ressouces insuffisantes + {if $recherche.nec_hydrogene > $planete.hydrogene}Ressources insuffisantes + {elseif $recherche.nec_cristal > $planete.cristal}Ressources insuffisantes + {elseif $recherche.nec_metal > $planete.metal}Ressources insuffisantes {else}Construire {/if}
@@ -50,7 +50,7 @@ {/foreach} + hydrogèneCe 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.
Usine d'hydrogène

Coût métal : 12000
Coût cristal : 12000
Coût hydrogène : 12000
Temps de construction : 1 heure 12 minutes

Ressources insuffisantes
-->
{include file='game/footer.tpl'} \ No newline at end of file diff --git a/includes/onyx/templates/templates/game/messagerie.tpl b/includes/onyx/templates/templates/game/messagerie.tpl index 0ce7e16..32d3985 100644 --- a/includes/onyx/templates/templates/game/messagerie.tpl +++ b/includes/onyx/templates/templates/game/messagerie.tpl @@ -5,7 +5,7 @@
{foreach from=$messages item=message}
-
{$message.0} de {$message.2} à {$message.1}
{$message.3}
+
{$message.0} de {$message.2} à {$message.1}
{$message.3|nl2br}
{/foreach}


Supprimer le sélection :

@@ -14,7 +14,7 @@ {foreach from=$rapports item=rapport}
-
{$rapport.0} à {$rapport.1}
{$rapport.3}
+
{$rapport.0} à {$rapport.1}
{$rapport.3|nl2br}
{/foreach}


Supprimer le sélection :

diff --git a/includes/onyx/templates/templates/game/ressources.tpl b/includes/onyx/templates/templates/game/ressources.tpl index c9ab6cd..6a53a36 100644 --- a/includes/onyx/templates/templates/game/ressources.tpl +++ b/includes/onyx/templates/templates/game/ressources.tpl @@ -1,16 +1,19 @@ {include file='game/header.tpl'}

Ressources

- - - - - - - - - {$alertes.5} - -
CoefficientMétalCristalHydrogèneEnergie
{$planete.mine_m} {$nombat.0}{$ressources_coef.0}%{$ressources_prod.0}00-{$ressources_conso.0}
{$planete.mine_c} {$nombat.1}{$ressources_coef.1}%0{$ressources_prod.1}0-{$ressources_conso.1}
{$planete.mine_h} {$nombat.2}{$ressources_coef.2}%00{$ressources_prod.2}-{$ressources_conso.2}
{$planete.centrale_s} {$nombat.3}{$ressources_coef.3}%000{$ressources_prod.3}
{$planete.centrale_f} {$nombat.4}{$ressources_coef.4}%00-{$ressources_conso.3}{$ressources_prod.4}
Total-{$ressources_prod.0}{$ressources_prod.1}{$ressources_toto.0}
+ + + + + + {if $planete.mine_c}{/if} + {if $planete.mine_h}{/if} + + {if $planete.centrale_f}{/if} + {$alertes.5} + +
Coefficient{$nomsressources.0}{$nomsressources.1}{$nomsressources.2}{$nomsressources.3}
{$planete.mine_m} {$nombat.0}{$ressources_prod.0}00-{$ressources_conso.0}
{$planete.mine_c} {$nombat.1}0{$ressources_prod.1}0-{$ressources_conso.1}
{$planete.mine_h} {$nombat.2}00{$ressources_prod.2}-{$ressources_conso.2}
{$planete.centrale_s} {$nombat.3}000{$ressources_prod.3}
{$planete.centrale_f} {$nombat.4}00-{$ressources_conso.3}{$ressources_prod.4}
Total-{$ressources_prod.0}{$ressources_prod.1}{if $planete.mine_h}{$ressources_toto.0}{else}0{/if}
+

+
{include file='game/footer.tpl'} \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%0F^0F6^0F669F30%%prochainement.tpl.php b/includes/onyx/templates/templates_c/%%0F^0F6^0F669F30%%prochainement.tpl.php new file mode 100644 index 0000000..ff7ddb6 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%0F^0F6^0F669F30%%prochainement.tpl.php @@ -0,0 +1,15 @@ + +_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); + ?> +
+
Prochainement sur Halo-Battle.
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%12^128^12871090%%alliance_nm_view.tpl.php b/includes/onyx/templates/templates_c/%%12^128^12871090%%alliance_nm_view.tpl.php new file mode 100644 index 0000000..df52082 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%12^128^12871090%%alliance_nm_view.tpl.php @@ -0,0 +1,64 @@ + + 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); ?> +_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); + ?> +
+

[_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?> +] _tpl_vars['alliance']['nom'])) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp)); ?> +

+ + + + + + + + + + + + + + + + + + + + + + + +
Nom : _tpl_vars['alliance']['nom']; ?> + (_tpl_vars['alliance']['tag']; ?> +)
Membres : _tpl_vars['nbmembre']; ?> + (Liste des membres)
Votre grade :Invité
Status des inscriptions :_tpl_vars['alliance']['etat_inscription']): ?>Ouvertes - PostulerFermée
+

Présentation

+ _tpl_vars['alliance']['presentation'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> + + + + + + + + +
Forum :_tpl_vars['alliance']['url']; ?> +
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%12^12D^12D4D8E7%%alliance_adm_grades_add.tpl.php b/includes/onyx/templates/templates_c/%%12^12D^12D4D8E7%%alliance_adm_grades_add.tpl.php new file mode 100644 index 0000000..d49bf54 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%12^12D^12D4D8E7%%alliance_adm_grades_add.tpl.php @@ -0,0 +1,58 @@ + +_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); + ?> +
+

Administration de l'alliance

+_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); + ?> +
+

Ajouter un grade

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Gestion chat
Gestion rang
Gestion membre
Gestion écriture
Gestion alliance
+
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%14^14B^14B41601%%arbre.tpl.php b/includes/onyx/templates/templates_c/%%14^14B^14B41601%%arbre.tpl.php new file mode 100644 index 0000000..4b94300 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%14^14B^14B41601%%arbre.tpl.php @@ -0,0 +1,80 @@ + +_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); + ?> +
+

Arbre Technologique

+
+ _tpl_vars['defaut'] == 'batiments'): ?> class="hightlight">Bâtiments +
+ + +_tpl_vars['batiments']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['batiment']): +?> + + +
Batiments (niveau)Technologies nécessaires (niveau actuel)
_tpl_vars['batiment']['nom']; ?> + (_tpl_vars['batiment']['niveau']; ?> +) :_tpl_vars['batiment']['etat']; ?> +
+
+ + _tpl_vars['defaut'] == 'technologies'): ?> class="hightlight">Technologies +
+ + +_tpl_vars['technologies']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['technologie']): +?> + + +
Technologies (niveau)Technologies nécessaires (niveau actuel)
_tpl_vars['technologie']['nom']; ?> + (_tpl_vars['technologie']['niveau']; ?> +) :_tpl_vars['technologie']['etat']; ?> +
+ + + _tpl_vars['defaut'] == 'chantierterrestre'): ?> class="hightlight">Chantier terrestre +
+ + +_tpl_vars['unites']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['unite']): +?> + + +
Véhicules/DéfensesTechnologies nécessaires (niveau actuel)
_tpl_vars['unite']['nom']; ?> + (_tpl_vars['unite']['niveau']; ?> +) :_tpl_vars['unite']['etat']; ?> +
+ + + _tpl_vars['defaut'] == 'vaisseaux'): ?> class="hightlight">Chantier spatial +
+ + +_tpl_vars['vaisseaux']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> + + +
VaisseauxTechnologies nécessaires (niveau actuel)
_tpl_vars['vaisseau']['nom']; ?> + (_tpl_vars['vaisseau']['niveau']; ?> +) :_tpl_vars['vaisseau']['etat']; ?> +
+ + +
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%1E^1EB^1EBEE047%%footer.tpl.php b/includes/onyx/templates/templates_c/%%1E^1EB^1EBEE047%%footer.tpl.php new file mode 100644 index 0000000..9393417 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%1E^1EB^1EBEE047%%footer.tpl.php @@ -0,0 +1,40 @@ + + + + + +
+_tpl_vars['script']; ?> + + + + \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%24^244^24470144%%sommaire.tpl.php b/includes/onyx/templates/templates_c/%%24^244^24470144%%sommaire.tpl.php new file mode 100644 index 0000000..93d1f92 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%24^244^24470144%%sommaire.tpl.php @@ -0,0 +1,25 @@ + +_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); + ?> +
+

Aide de Halo-Battle :: Sommaire

+

Avertissements

+

Configuration nécessaire

+

Démarrage du jeu

+

Introduction

+

Comment jouer

+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%26^265^26507EA8%%alliance_adm_ecritures.tpl.php b/includes/onyx/templates/templates_c/%%26^265^26507EA8%%alliance_adm_ecritures.tpl.php new file mode 100644 index 0000000..af37fa4 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%26^265^26507EA8%%alliance_adm_ecritures.tpl.php @@ -0,0 +1,37 @@ + + array(array('modifier', 'nl2br', 'game/alliance_adm_ecritures.tpl', 10, false),)), $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); + ?> +
+

Administration de l'alliance

+_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); + ?> +

+ Modifier la présentation - Modifier la page interne
+

Modification _tpl_vars['mod'] == 'presentation'): ?>de la présentation de l'alliancedu texte interne

+
+

+ +
+ +

+
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%2D^2D5^2D5ECA21%%config.tpl.php b/includes/onyx/templates/templates_c/%%2D^2D5^2D5ECA21%%config.tpl.php new file mode 100644 index 0000000..22eb898 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%2D^2D5^2D5ECA21%%config.tpl.php @@ -0,0 +1,24 @@ + +_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); + ?> +
+

Aide de Halo-Battle :: Configuration requise

+

Configuration nécessaire


+ 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.
+

Configuration recommandée


+ Pour jouer dans des conditions optimales :
+
    +
  • Connexion 512 k
  • +
  • Navigateur internet Mozilla Firefox ou Opéra
  • +
  • JavaScript
  • +
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%2F^2FB^2FB28051%%envoyer.tpl.php b/includes/onyx/templates/templates_c/%%2F^2FB^2FB28051%%envoyer.tpl.php new file mode 100644 index 0000000..c02590c --- /dev/null +++ b/includes/onyx/templates/templates_c/%%2F^2FB^2FB28051%%envoyer.tpl.php @@ -0,0 +1,24 @@ + +_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); + ?> +
+

Envoyer un message privé

+
+ + + +

+ +
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%31^31E^31E7B815%%vide.tpl.php b/includes/onyx/templates/templates_c/%%31^31E^31E7B815%%vide.tpl.php new file mode 100644 index 0000000..b0d8de2 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%31^31E^31E7B815%%vide.tpl.php @@ -0,0 +1,14 @@ + +_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); + ?> + _tpl_vars['contenu']; ?> + +_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%3A^3A1^3A1168FE%%header.tpl.php b/includes/onyx/templates/templates_c/%%3A^3A1^3A1168FE%%header.tpl.php new file mode 100644 index 0000000..e293b54 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%3A^3A1^3A1168FE%%header.tpl.php @@ -0,0 +1,48 @@ + + + + + + + + ::Halo-Battle:: - <?php echo $this->_tpl_vars['titre']; ?> + + + + + + + +
+
+ + +
\ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%3F^3F6^3F634000%%alliance_adm_chat.tpl.php b/includes/onyx/templates/templates_c/%%3F^3F6^3F634000%%alliance_adm_chat.tpl.php new file mode 100644 index 0000000..3cef5b4 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%3F^3F6^3F634000%%alliance_adm_chat.tpl.php @@ -0,0 +1,51 @@ + + array(array('modifier', 'date_format', 'game/alliance_adm_chat.tpl', 20, false),)), $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); + ?> +
+

Administration de l'alliance

+_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); + ?> +
+

Administration du chat

+ + + + + + + + + + +_tpl_vars['chat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['message']): +?> + + + + + + + + +
PseudoDateMessageSupprimer
_tpl_vars['message']['emetteur']; ?> +_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")); ?> +_tpl_vars['message']['message']; ?> +Supprimer
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%42^426^426AE156%%alliance_adm_membres.tpl.php b/includes/onyx/templates/templates_c/%%42^426^426AE156%%alliance_adm_membres.tpl.php new file mode 100644 index 0000000..4df98be --- /dev/null +++ b/includes/onyx/templates/templates_c/%%42^426^426AE156%%alliance_adm_membres.tpl.php @@ -0,0 +1,91 @@ + + 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); ?> +_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); + ?> +
+

Administration de l'alliance

+_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); + ?> +
+

Administration des membres

+ + + + + + + + + + + + +_tpl_vars['membres']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['membre']): +?> + + + + + + + + + + +
PseudoRaceDernière connexion GradeMpRenvoyer de l'alliance
_tpl_vars['membre']['pseudo']; ?> +_tpl_vars['membre']['race']; ?> +_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")); ?> +

MessageRenvoyer
+ + + + + + + + + + + +_tpl_vars['candidats']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['candidat']): +?> + + + + + + + + + +
PseudoMessage de motivationDateActionMp
_tpl_vars['candidat']['pseudo_membre']; ?> +_tpl_vars['candidat']['message'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> +_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")); ?> +Accpeter - RefuserMessage
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%45^45D^45DA3548%%chantierspatial.tpl.php b/includes/onyx/templates/templates_c/%%45^45D^45DA3548%%chantierspatial.tpl.php new file mode 100644 index 0000000..47723d6 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%45^45D^45DA3548%%chantierspatial.tpl.php @@ -0,0 +1,98 @@ + + array(array('modifier', 'lower', 'game/chantierspatial.tpl', 27, false),)), $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); + ?> +
+

File d'attente

+
+_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']): +?> + _tpl_vars['key'] == 0): ?>Prochain vaisseau : + _tpl_vars['fvais']['1']; ?> + _tpl_vars['fvais']['3']; ?> + - - Annuler un - Annuler tous + + _tpl_vars['Vchaine']): ?>Aucun vaisseau dans la file d'attente +
+
+

Arbre des technologies


+

Chantier spatial

+ +_tpl_vars['vaisseaux']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> + + + + + +
+ + Vaisseaux + _tpl_vars['vaisseau']['description']; ?> + + + +
+ _tpl_vars['vaisseau']['nom']; ?> +_tpl_vars['vaisseau']['nombre'] > 0): ?> (_tpl_vars['vaisseau']['nombre']; ?> + vaisseau_tpl_vars['vaisseau']['nombre'] > 1): ?>x)

+ _tpl_vars['vaisseau']['nec_metal'] > 0): ?> + _tpl_vars['vaisseau']['nec_metal'] > $this->_tpl_vars['planete']['metal']): ?>Coût _tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['vaisseau']['nec_metalS']; ?> +
+ Coût _tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['vaisseau']['nec_metalS']; ?> +
+ + _tpl_vars['vaisseau']['nec_cristal'] > 0): ?> + _tpl_vars['vaisseau']['nec_cristal'] > $this->_tpl_vars['planete']['cristal']): ?>Coût _tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['vaisseau']['nec_cristalS']; ?> +
+ Coût _tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['vaisseau']['nec_cristalS']; ?> +
+ + _tpl_vars['vaisseau']['nec_hydrogene'] > 0): ?> + _tpl_vars['vaisseau']['nec_hydrogene'] > $this->_tpl_vars['planete']['hydrogene']): ?>Coût _tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['vaisseau']['nec_hydrogeneS']; ?> +
+ Coût _tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['vaisseau']['nec_hydrogeneS']; ?> +
+ + Temps de construction : _tpl_vars['vaisseau']['temps']; ?> +

+
+
+ + +
+
+
+
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%49^49E^49EF4E4D%%batiments.tpl.php b/includes/onyx/templates/templates_c/%%49^49E^49EF4E4D%%batiments.tpl.php new file mode 100644 index 0000000..c5e10a9 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%49^49E^49EF4E4D%%batiments.tpl.php @@ -0,0 +1,114 @@ + + array(array('modifier', 'lower', 'game/batiments.tpl', 30, false),)), $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); + ?> +
+

File d'attente

+
+_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']): +?> + _tpl_vars['fbat']['3']; ?> + - - Annuler + + _tpl_vars['Vchaine']): ?>Aucun batiment dans la file d'attente + +
+
+

Arbre des technologies


+

Batiments

+ +_tpl_vars['batiments']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['batiment']): +?> + + + + + +
+ + <?php echo $this->_tpl_vars['batiment']['nom']; ?>
+ + _tpl_vars['batiment']['description']; ?> + + + +
+ _tpl_vars['batiment']['nom']; ?> +_tpl_vars['batiment']['niveau'] > 0): ?> (Niveau _tpl_vars['batiment']['niveau']; ?> +)

+ _tpl_vars['batiment']['nec_metal'] > 0): ?> + _tpl_vars['batiment']['nec_metal'] > $this->_tpl_vars['planete']['metal']): ?>Coût _tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['batiment']['nec_metalS']; ?> +
+ Coût _tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['batiment']['nec_metalS']; ?> +
+ + _tpl_vars['batiment']['nec_cristal'] > 0): ?> + _tpl_vars['batiment']['nec_cristal'] > $this->_tpl_vars['planete']['cristal']): ?>Coût _tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['batiment']['nec_cristalS']; ?> +
+ Coût _tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['batiment']['nec_cristalS']; ?> +
+ + _tpl_vars['batiment']['nec_hydrogene'] > 0): ?> + _tpl_vars['batiment']['nec_hydrogene'] > $this->_tpl_vars['planete']['hydrogene']): ?>Coût _tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['batiment']['nec_hydrogeneS']; ?> +
+ Coût _tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['batiment']['nec_hydrogeneS']; ?> +
+ + Temps de construction : _tpl_vars['batiment']['temps']; ?> +

+ _tpl_vars['batiment']['enfile']): ?>Arrêter + _tpl_vars['batiment']['nec_hydrogene'] > $this->_tpl_vars['planete']['hydrogene']): ?>Ressouces insuffisantes + _tpl_vars['batiment']['nec_cristal'] > $this->_tpl_vars['planete']['cristal']): ?>Ressouces insuffisantes + _tpl_vars['batiment']['nec_metal'] > $this->_tpl_vars['planete']['metal']): ?>Ressouces insuffisantes + Construire + +
+
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%4B^4B2^4B240858%%alliance_chat.tpl.php b/includes/onyx/templates/templates_c/%%4B^4B2^4B240858%%alliance_chat.tpl.php new file mode 100644 index 0000000..6a46b30 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%4B^4B2^4B240858%%alliance_chat.tpl.php @@ -0,0 +1,45 @@ + + array(array('modifier', 'date_format', 'game/alliance_chat.tpl', 19, false),)), $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); + ?> +
+

Chat

+
+ Réponse :          +
+
+
+ + + + + + +_tpl_vars['chat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['message']): +?> + + + + + + +
[pseudo] heure + Message +
[_tpl_vars['message']['emetteur']; ?> +] _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")); ?> +_tpl_vars['message']['message']; ?> +
+
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%4F^4F4^4F4A3808%%options.tpl.php b/includes/onyx/templates/templates_c/%%4F^4F4^4F4A3808%%options.tpl.php new file mode 100644 index 0000000..795051b --- /dev/null +++ b/includes/onyx/templates/templates_c/%%4F^4F4^4F4A3808%%options.tpl.php @@ -0,0 +1,39 @@ + +_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); + ?> +
+

Changer de mot de passe

+
+ + +

+ Le nouveau mot de passe sera modifié après validation par mail.
Veuillez vous assurez que votre adresse actuelle est toujours valide.


+ +
+

Changer d'adresse électronique

+
+

_tpl_vars['mail']; ?> +

+

+ L'adresse électronique sera modifiée une fois validée depuis votre nouvelle adresse.

+ +
+

Mode vacances

+ Si vous devez vous absenter de votre compte pour une durée supérieure à 3 jours, vous pouvez mettre votre compte en mode vacances.
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.

Veuillez vider toutes vos files d'attentes avant d'activer le mode vacances !
+
Activer le mode vacances maintenant +

Supprimer son compte

+ Contactez le chef interne de votre galaxie pour supprimer votre compte. +
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%50^50D^50DBF311%%erreur.tpl.php b/includes/onyx/templates/templates_c/%%50^50D^50DBF311%%erreur.tpl.php new file mode 100644 index 0000000..d67ad7b --- /dev/null +++ b/includes/onyx/templates/templates_c/%%50^50D^50DBF311%%erreur.tpl.php @@ -0,0 +1,15 @@ + +_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); + ?> +
_tpl_vars['couleur']): ?> style="color: _tpl_vars['couleur']; ?> +;">_tpl_vars['message']; ?> +
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%5C^5CE^5CE50266%%vp.tpl.php b/includes/onyx/templates/templates_c/%%5C^5CE^5CE50266%%vp.tpl.php new file mode 100644 index 0000000..d30ff6c --- /dev/null +++ b/includes/onyx/templates/templates_c/%%5C^5CE^5CE50266%%vp.tpl.php @@ -0,0 +1,17 @@ + +_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); + ?> +
+
... veuillez patienter ...
+
+ _tpl_vars['contenu']; ?> + +_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%62^620^620A3143%%rename.tpl.php b/includes/onyx/templates/templates_c/%%62^620^620A3143%%rename.tpl.php new file mode 100644 index 0000000..fdf9c65 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%62^620^620A3143%%rename.tpl.php @@ -0,0 +1,28 @@ + +_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); + ?> +
+ planète +

Renommer la planète

+
+


+
+

Abandonner la planète

+ _tpl_vars['abandonH']): ?>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.

Si vous êtes sur de vouloir abandonner cette planète : cliquez sur ce lien.

+ Vous ne pouvez pas abandonner cette planète car vous n'en avez pas d'autre.

+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%62^628^62876A9C%%classement.tpl.php b/includes/onyx/templates/templates_c/%%62^628^62876A9C%%classement.tpl.php new file mode 100644 index 0000000..7645f5c --- /dev/null +++ b/includes/onyx/templates/templates_c/%%62^628^62876A9C%%classement.tpl.php @@ -0,0 +1,31 @@ + +_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); + ?> +
+

Classement

+
        _tpl_vars['q']; ?> +    
+ + +_tpl_vars['places']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['place']): +?> + + +
RangEvolutionPseudoMessageRaceAlliancePoints
_tpl_vars['place']['0']; ?> +-_tpl_vars['place']['1']; ?> +Message_tpl_vars['place']['2']; ?> +-_tpl_vars['place']['3']; ?> +
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%69^69D^69D54D9C%%accueil.tpl.php b/includes/onyx/templates/templates_c/%%69^69D^69D54D9C%%accueil.tpl.php new file mode 100644 index 0000000..421fdf7 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%69^69D^69D54D9C%%accueil.tpl.php @@ -0,0 +1,66 @@ + + array(array('modifier', 'upper', 'game/accueil.tpl', 18, false),)), $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); + ?> +
+

Evénements

+ Heure du serveur: _tpl_vars['datehb']; ?> + + _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']): +?> +

attaque: Une flotte ennemie en provenance de _tpl_vars['attaque']['0']; ?> + [_tpl_vars['attaque']['2']; ?> +:_tpl_vars['attaque']['3']; ?> +:_tpl_vars['attaque']['4']; ?> +] atteint la planète _tpl_vars['attaque']['5']; ?> + [_tpl_vars['attaque']['6']; ?> +:_tpl_vars['attaque']['7']; ?> +:_tpl_vars['attaque']['8']; ?> +] dans _tpl_vars['attaque']['1']; ?> +

+ + _tpl_vars['mail']['nbre'] >= 2): ?>

messagerie: _tpl_vars['mail']['nbre']; ?> + messages non lu

+ _tpl_vars['mail']['nbre'] >= 1): ?>

messagerie: _tpl_vars['mail']['nbre']; ?> + message non lu

+ +

_tpl_vars['planete']['nom_planete']): ?>Sans nom_tpl_vars['planete']['nom_planete']; ?> + (_tpl_vars['user']['pseudo']; ?> +)

+ planete +

Infos

+

Diamètre: _tpl_vars['diametre']; ?> + km (_tpl_vars['caseRest']; ?> +/_tpl_vars['planete']['cases']; ?> + cases)

+

Race : _tpl_vars['user']['race']; ?> +

+

position: _tpl_vars['planete']['galaxie']; ?> +._tpl_vars['planete']['ss']; ?> +._tpl_vars['planete']['position']; ?> +

+

Classement: _tpl_vars['points']; ?> + points (_tpl_vars['user']['place_points']; ?> +_tpl_vars['user']['place_points'] == '1'): ?>erème)

+ _tpl_vars['alliance']): ?>

Alliance: [_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?> +] _tpl_vars['alliance']['nom']; ?> +

+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%71^717^7172D774%%ressources.tpl.php b/includes/onyx/templates/templates_c/%%71^717^7172D774%%ressources.tpl.php new file mode 100644 index 0000000..87db57f --- /dev/null +++ b/includes/onyx/templates/templates_c/%%71^717^7172D774%%ressources.tpl.php @@ -0,0 +1,64 @@ + + array(array('function', 'html_options', 'game/ressources.tpl', 8, false),array('modifier', 'cat', 'game/ressources.tpl', 8, false),)), $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); + ?> +
+

Ressources

+
+ + + + + _tpl_vars['planete']['mine_c']): ?> + _tpl_vars['planete']['mine_h']): ?> + + _tpl_vars['planete']['centrale_f']): ?> + _tpl_vars['alertes']['5'] <= 0): ?> class="lack">_tpl_vars['alertes']['5']; ?> + + +
Coefficient_tpl_vars['nomsressources']['0']; ?> +_tpl_vars['nomsressources']['1']; ?> +_tpl_vars['nomsressources']['2']; ?> +_tpl_vars['nomsressources']['3']; ?> +
_tpl_vars['planete']['mine_m']; ?> + _tpl_vars['nombat']['0']; ?> +_tpl_vars['ressources_prod']['0']; ?> +00-_tpl_vars['ressources_conso']['0']; ?> +
_tpl_vars['planete']['mine_c']; ?> + _tpl_vars['nombat']['1']; ?> +0_tpl_vars['ressources_prod']['1']; ?> +0-_tpl_vars['ressources_conso']['1']; ?> +
_tpl_vars['planete']['mine_h']; ?> + _tpl_vars['nombat']['2']; ?> +00_tpl_vars['ressources_prod']['2']; ?> +-_tpl_vars['ressources_conso']['2']; ?> +
_tpl_vars['planete']['centrale_s']; ?> + _tpl_vars['nombat']['3']; ?> +000_tpl_vars['ressources_prod']['3']; ?> +
_tpl_vars['planete']['centrale_f']; ?> + _tpl_vars['nombat']['4']; ?> +00-_tpl_vars['ressources_conso']['3']; ?> +_tpl_vars['ressources_prod']['4']; ?> +
Total-_tpl_vars['ressources_prod']['0']; ?> +_tpl_vars['ressources_prod']['1']; ?> +_tpl_vars['planete']['mine_h']): ?>_tpl_vars['ressources_toto']['0']; ?> +0
+

+
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%74^745^745D5B0F%%mini.tpl.php b/includes/onyx/templates/templates_c/%%74^745^745D5B0F%%mini.tpl.php new file mode 100644 index 0000000..756e93f --- /dev/null +++ b/includes/onyx/templates/templates_c/%%74^745^745D5B0F%%mini.tpl.php @@ -0,0 +1,22 @@ + +_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); + ?> +
+
Connexion
+
Mot de passe oublié
+
+ +
INSCRIVEZ VOUS Rejoignez l'alliance ou engagez-vous

DEFENDREZ VOUS L'HUMANITE OU LA DETRUIREZ VOUS?

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

Une simple inscription gratuite et un navigateur internet sont demandés pour pouvoir participer a des batailles épiques!

Cliquez ici pour vous inscrire En savoir plus
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%79^79F^79F1779C%%carte.tpl.php b/includes/onyx/templates/templates_c/%%79^79F^79F1779C%%carte.tpl.php new file mode 100644 index 0000000..81392a2 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%79^79F^79F1779C%%carte.tpl.php @@ -0,0 +1,64 @@ + +_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); + ?> +
+

Navigation

+
+

Système Solaire

+ + + + + + + + + + + + + + + + _tpl_vars['carte']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['plan']): +?> + + + + + + + + + + +
Système: _tpl_vars['position']['0']; ?> +:_tpl_vars['position']['1']; ?> +
PositionNomDébris métalDébris cristalJoueurMessage
_tpl_vars['plan']['0']; ?> +_tpl_vars['plan']['1']; ?> +_tpl_vars['plan']['2']; ?> +_tpl_vars['plan']['3']; ?> +_tpl_vars['plan']['5']; ?> + _tpl_vars['plan']['4']; ?> +_tpl_vars['plan']['6']; ?> +
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%7A^7A4^7A420E87%%alliance_liste.tpl.php b/includes/onyx/templates/templates_c/%%7A^7A4^7A420E87%%alliance_liste.tpl.php new file mode 100644 index 0000000..c32a961 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%7A^7A4^7A420E87%%alliance_liste.tpl.php @@ -0,0 +1,46 @@ + + array(array('modifier', 'date_format', 'game/alliance_liste.tpl', 19, false),)), $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); + ?> +
+

Composition de l'alliance

+ + + + + + + + + + + +_tpl_vars['membres']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['membre']): +?> + + + + + + + + + +
PseudoRaceDernière connexion GradeMp
_tpl_vars['membre']['pseudo']; ?> +_tpl_vars['membre']['race']; ?> +_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")); ?> +_tpl_vars['membre']['id_grade_alliance']; ?> +Message
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%7C^7C1^7C189E57%%vp.tpl.php b/includes/onyx/templates/templates_c/%%7C^7C1^7C189E57%%vp.tpl.php new file mode 100644 index 0000000..22502ae --- /dev/null +++ b/includes/onyx/templates/templates_c/%%7C^7C1^7C189E57%%vp.tpl.php @@ -0,0 +1,17 @@ + +_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); + ?> +
+
... veuillez patienter ...
+
+ _tpl_vars['contenu']; ?> + +_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%7E^7E6^7E6EEC5C%%alliance_accueil.tpl.php b/includes/onyx/templates/templates_c/%%7E^7E6^7E6EEC5C%%alliance_accueil.tpl.php new file mode 100644 index 0000000..b967fa1 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%7E^7E6^7E6EEC5C%%alliance_accueil.tpl.php @@ -0,0 +1,102 @@ + + 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); ?> +_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); + ?> +
+

[_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?> +] _tpl_vars['alliance']['nom'])) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp)); ?> +

+ + + + + + + + + + + + + + + + + + + + + + _tpl_vars['access']['membre']): ?> + + + + + + +
Nom : _tpl_vars['alliance']['nom']; ?> + (_tpl_vars['alliance']['tag']; ?> +)
Membres : _tpl_vars['nbmembre']; ?> + (Liste des membres)
Votre grade :_tpl_vars['access']['fondateur']): ?>Fondateur_tpl_vars['grade']['nom']; ?> +
_tpl_vars['access']['chat']): ?> Modérer le chat | _tpl_vars['access']['membre']): ?> Gestion des membres | _tpl_vars['access']['ecriture']): ?> Gestion des écritures | _tpl_vars['access']['alliance']): ?> Gestion de l'alliance |
Status des inscriptions :_tpl_vars['alliance']['etat_inscription']): ?>OuvertesFermée
Mail collectif :Envoyer un message collectif (prochainement)
+

Présentation

+ _tpl_vars['alliance']['presentation'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> + + + + + + + + +
Forum :_tpl_vars['alliance']['url']; ?> +
+

Texte interne

+ _tpl_vars['alliance']['texte_interne'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> + +

Chat

+
+ + + + + + +_tpl_vars['chat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['message']): +?> + + + + + + +
[pseudo] heure + Message +
[_tpl_vars['message']['emetteur']; ?> +] _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")); ?> +_tpl_vars['message']['message']; ?> +
+
+
+ Réponse :          +
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%86^863^8633B3FC%%aide.tpl.php b/includes/onyx/templates/templates_c/%%86^863^8633B3FC%%aide.tpl.php new file mode 100644 index 0000000..1210076 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%86^863^8633B3FC%%aide.tpl.php @@ -0,0 +1,15 @@ + +_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); + ?> +
+

Aide

+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%8A^8AB^8AB5A548%%alliance_adm_admin.tpl.php b/includes/onyx/templates/templates_c/%%8A^8AB^8AB5A548%%alliance_adm_admin.tpl.php new file mode 100644 index 0000000..79e80b1 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%8A^8AB^8AB5A548%%alliance_adm_admin.tpl.php @@ -0,0 +1,74 @@ + + array(array('modifier', 'upper', 'game/alliance_adm_admin.tpl', 15, false),array('function', 'html_options', 'game/alliance_adm_admin.tpl', 19, false),)), $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); + ?> +
+

Administration de l'alliance

+_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); + ?> +
+

Administration de l'alliance

+
+ + + + + + + + + + + + + + + +_tpl_vars['access']['fondateur']): ?> + + + + + + + + + + + + + + + + + + + + + + +
_tpl_vars['alliance']['nom']; ?> +
_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?> +
Defcon :
Dissoudre l'allianceEcrivez votre mot de passe dans le champ ci-dessous :
+
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%8D^8DC^8DC74F79%%erreur.tpl.php b/includes/onyx/templates/templates_c/%%8D^8DC^8DC74F79%%erreur.tpl.php new file mode 100644 index 0000000..c38ad94 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%8D^8DC^8DC74F79%%erreur.tpl.php @@ -0,0 +1,17 @@ + +_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); + ?> +
+
_tpl_vars['couleur']): ?> style="color: _tpl_vars['couleur']; ?> +;">_tpl_vars['message']; ?> +
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%93^937^93702918%%oubliemdp.tpl.php b/includes/onyx/templates/templates_c/%%93^937^93702918%%oubliemdp.tpl.php new file mode 100644 index 0000000..8fb576c --- /dev/null +++ b/includes/onyx/templates/templates_c/%%93^937^93702918%%oubliemdp.tpl.php @@ -0,0 +1,41 @@ + +_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); + ?> +
+
Informations
+
Oublie de mot de passe

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.

Pensez à changer ce nouveau mot de passe que vous ne retiendrez pas facilement, via la page option du jeu.

+
+
+
+
Formulaire de réinitialisation de mot de passe
+
+
+ +
+

Génération ... +

+
+
+
+
+ _tpl_vars['erreurs']): ?> +
+
Impossible de changer le mot de passe :
+
+

+ _tpl_vars['erreurs']; ?> + +

+
+
+ +_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%B3^B36^B3600846%%avertissements.tpl.php b/includes/onyx/templates/templates_c/%%B3^B36^B3600846%%avertissements.tpl.php new file mode 100644 index 0000000..556fe45 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%B3^B36^B3600846%%avertissements.tpl.php @@ -0,0 +1,43 @@ + +_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); + ?> +
+

Aide de Halo-Battle :: Avertissements

+

Avertissement aux utilisateurs de téléviseurs à rétroprojection


+ 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.
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.

+

Prévention des risques d'épilepsie


+

A lire avant toute utilisation d'un jeu vidéo par vous-même ou par votre enfant.


+ 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.
+ 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.
+ 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.
+ 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.

+

Règles à respecter pour jouer dans les meilleures conditions possibles

+
    +
  • S'installer confortablement en position assise, le plus loin possible de l'écran. +
  • Jouer de préférence sur un écran de petite taille.
  • +
  • Eviter de jouer en cas de fatigue ou de manque de sommeil.
  • +
  • Veiller à ce que la pièce soit bien éclairée.
  • +
  • Observer des pauses de 10 à 15 minutes par heure de jeu.
  • +

+

Prévention des risques liés aux troubles du sommeil


+ 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.
+ Pour bien dormir, observez ces quelques règles : +
    +
  • Couchez-vous et levez-vous à heures régulières.
  • +
  • Pas de grasse matinée : levez-vous dès le réveil.
  • +
  • Dînez léger et pas trop tard, en mangeant un laitage.
  • +
  • Observer les premiers signes annonciateurs du sommeil, ne luttez pas contre le sommeil.
  • +
  • Maintenir une température basse (entre 15 et 18 °C) ainsi qu'un bon degré d'hygrométrie.
    Opter pour l'obscurité, elle favorise le sommeil. Choisir un lit confortable (ni trop ferme ni trop mou) et des couvertures légères.
  • +
  • Evitez la prise de produits stimulants : coca-cola, thé, café, vitamine C…
  • +
  • La régularité du sommeil reste le meilleur gage de qualité.
  • +
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%BB^BB7^BB748B33%%alliance_nm_postuler.tpl.php b/includes/onyx/templates/templates_c/%%BB^BB7^BB748B33%%alliance_nm_postuler.tpl.php new file mode 100644 index 0000000..51274a2 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%BB^BB7^BB748B33%%alliance_nm_postuler.tpl.php @@ -0,0 +1,36 @@ + +_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); + ?> +
+

Postuler pour l'alliance : _tpl_vars['alliance']['nom']; ?> +

+
+ + + + + + + + + + + + +
Message de motivation
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.
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.
+ + _tpl_vars['alliance']['etat_inscription']): ?>Inscriptions fermées. +
+
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%BF^BF4^BF4A3EE6%%alliance_nm_search.tpl.php b/includes/onyx/templates/templates_c/%%BF^BF4^BF4A3EE6%%alliance_nm_search.tpl.php new file mode 100644 index 0000000..d4e2a33 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%BF^BF4^BF4A3EE6%%alliance_nm_search.tpl.php @@ -0,0 +1,38 @@ + + array(array('modifier', 'upper', 'game/alliance_nm_search.tpl', 13, false),)), $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); + ?> +
+ + + + + + + + +_tpl_vars['recherches']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['recherche']): +?> + + + + + + +
[TAG] AllianceEtat inscriptions
[_tpl_vars['recherche']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?> +] _tpl_vars['recherche']['nom']; ?> +_tpl_vars['recherche']['etat_inscription']): ?>OuvertesFermées
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%C1^C1F^C1F65229%%bugs.tpl.php b/includes/onyx/templates/templates_c/%%C1^C1F^C1F65229%%bugs.tpl.php new file mode 100644 index 0000000..c7ecffe --- /dev/null +++ b/includes/onyx/templates/templates_c/%%C1^C1F^C1F65229%%bugs.tpl.php @@ -0,0 +1,37 @@ + +_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); + ?> +
+

Rapports de bug

+_tpl_vars['bugs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['bug']): +?> +
+
_tpl_vars['bug']['0']; ?> +, le _tpl_vars['bug']['1']; ?> + sur _tpl_vars['bug']['2']; ?> +
_tpl_vars['bug']['3']; ?> +_tpl_vars['auth_level'] > 2): ?>
+
+ +

Ajouter un bug

+
+ Attention : bien lire les bugs deja proposé,
l'utilisation abusive ou des bugs ayant non lieus seront sanctionnés.


+ + +

+ +
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%C3^C3A^C3A25C2F%%footer.tpl.php b/includes/onyx/templates/templates_c/%%C3^C3A^C3A25C2F%%footer.tpl.php new file mode 100644 index 0000000..9a5635c --- /dev/null +++ b/includes/onyx/templates/templates_c/%%C3^C3A^C3A25C2F%%footer.tpl.php @@ -0,0 +1,23 @@ + +
+ + +
+
+_tpl_vars['script']; ?> + + + + \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%CA^CAC^CAC429B2%%alliance_nm_fonder.tpl.php b/includes/onyx/templates/templates_c/%%CA^CAC^CAC429B2%%alliance_nm_fonder.tpl.php new file mode 100644 index 0000000..8b692c3 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%CA^CAC^CAC429B2%%alliance_nm_fonder.tpl.php @@ -0,0 +1,50 @@ + +_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); + ?> +
+

Création d'une alliance

+
+ + + + + + + +
+ + + + + + + + + + + + + + + + +
Nom + +
Tag + +
+
+ Rappel :
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.   +
+
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%CF^CF1^CF1614AE%%alliance_nm_accueil.tpl.php b/includes/onyx/templates/templates_c/%%CF^CF1^CF1614AE%%alliance_nm_accueil.tpl.php new file mode 100644 index 0000000..ea9a3ae --- /dev/null +++ b/includes/onyx/templates/templates_c/%%CF^CF1^CF1614AE%%alliance_nm_accueil.tpl.php @@ -0,0 +1,49 @@ + +_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); + ?> +
+
+ + + + + + + + + + + + + + + + + +
+

Rechercher une alliance
+ Fonder une allianceRatifier une alliance

+
+ + +

Rechercher les alliances dont le nom/tag contiennent :

+
+ +
+
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%D0^D0E^D0E1F621%%secours.tpl.php b/includes/onyx/templates/templates_c/%%D0^D0E^D0E1F621%%secours.tpl.php new file mode 100644 index 0000000..c876087 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%D0^D0E^D0E1F621%%secours.tpl.php @@ -0,0 +1,24 @@ + +_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); + ?> +
+
Connexion
+
+ Sélectionnez votre serveur :

+ Serveur n°1
+ +
+ Serveur de béta-test #1
+
+
+ +
Le serveur de base de données est indisponible

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.

Veuillez nous excuser pour la gène occasionnée, nous faisons notre possible pour rétablir le site au plus vite.

Le Staff

+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%E1^E17^E1773DB1%%alliance_adm_header.tpl.php b/includes/onyx/templates/templates_c/%%E1^E17^E1773DB1%%alliance_adm_header.tpl.php new file mode 100644 index 0000000..dbef8c7 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%E1^E17^E1773DB1%%alliance_adm_header.tpl.php @@ -0,0 +1,14 @@ + + _tpl_vars['access']['chat']): ?>Administration du chat - + _tpl_vars['access']['membre']): ?>Administration des membres et des candidatures - + _tpl_vars['access']['grades']): ?>Administration des rangs - + _tpl_vars['access']['ecriture']): ?>Administration de la présentation et de la page interne. - + _tpl_vars['access']['alliance']): ?>Administration globale (defcon, successeur ...) - + Retour \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%E5^E5B^E5BD6034%%alliance_adm_grades.tpl.php b/includes/onyx/templates/templates_c/%%E5^E5B^E5BD6034%%alliance_adm_grades.tpl.php new file mode 100644 index 0000000..59df113 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%E5^E5B^E5BD6034%%alliance_adm_grades.tpl.php @@ -0,0 +1,58 @@ + + array(array('modifier', 'nl2br', 'game/alliance_adm_grades.tpl', 23, false),)), $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); + ?> +
+

Administration de l'alliance

+_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); + ?> +
+

Administration des grades

+ + + + + + + + + + + + + +_tpl_vars['grades']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['grade']): +?> + + + + + + + + + + + +
NomDescriptionGestion écrituresGestion chatGestion membreGestion gradesGestion alliance
_tpl_vars['grade']['nom']; ?> +_tpl_vars['grade']['description'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> +_tpl_vars['grade']['gest_ecriture']): ?>OuiNon_tpl_vars['grade']['gest_chat']): ?>OuiNon_tpl_vars['grade']['gest_membre']): ?>OuiNon_tpl_vars['grade']['gest_rang']): ?>OuiNon_tpl_vars['grade']['gest_admin']): ?>OuiNon
+ Ajouter un rang

+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%E7^E70^E70DD496%%header.tpl.php b/includes/onyx/templates/templates_c/%%E7^E70^E70DD496%%header.tpl.php new file mode 100644 index 0000000..bdbe9da --- /dev/null +++ b/includes/onyx/templates/templates_c/%%E7^E70^E70DD496%%header.tpl.php @@ -0,0 +1,124 @@ + + + + + + + + ::Halo-Battle:: - <?php echo $this->_tpl_vars['titre']; ?> + +_tpl_vars['race'] == 'covenant'): ?> +_tpl_vars['race'] == 'humain'): ?> + + + + +_tpl_vars['scripth']; ?> + + + + +
+
+ +
+_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']): +?> +
_tpl_vars['info']['color']): ?> style="color: _tpl_vars['info']['color']; ?> +;">_tpl_vars['info']['texte']; ?> +
+ + _tpl_vars['count']['humains']; ?> + Marines et _tpl_vars['count']['covenants']; ?> + Covenants se battent dans _tpl_vars['count']['serveurs']; ?> + galaxie_tpl_vars['count']['serveurs'] > 1): ?>s +
+
+ +_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'): ?> +
+
+ planète +
Bonjour, _tpl_vars['user']['pseudo']; ?> +.
Votre position actuelle:

+
_tpl_vars['nomsressources']['3']; ?> +
_tpl_vars['alertes']['4'] == true): ?>_tpl_vars['alertes']['3']; ?> +_tpl_vars['alertes']['4']): ?>
+
_tpl_vars['nomsressources']['2']; ?> +
_tpl_vars['alertes']['2'] == true): ?>_tpl_vars['planete']['hydrogeneS']; ?> +_tpl_vars['alertes']['2']): ?>
+
_tpl_vars['nomsressources']['1']; ?> +
_tpl_vars['alertes']['1'] == true): ?>_tpl_vars['planete']['cristalS']; ?> +_tpl_vars['alertes']['1']): ?>
+
_tpl_vars['nomsressources']['0']; ?> +
_tpl_vars['alertes']['0'] == true): ?>_tpl_vars['planete']['metalS']; ?> +_tpl_vars['alertes']['0']): ?>
+
+
+ +
_tpl_vars['pub']; ?> +
+
\ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%ED^ED9^ED93AC63%%flotte1.tpl.php b/includes/onyx/templates/templates_c/%%ED^ED9^ED93AC63%%flotte1.tpl.php new file mode 100644 index 0000000..c15618e --- /dev/null +++ b/includes/onyx/templates/templates_c/%%ED^ED9^ED93AC63%%flotte1.tpl.php @@ -0,0 +1,78 @@ + +_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); + ?> +
+

Flottes en action

+ + + + + +_tpl_vars['flottesEC']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['flotteEC']): +?> + + + + + + + + + + + +
NomMissionNb.vaisseau(x)DestinationHeure d'arrivéeRetourHeure de retour
_tpl_vars['flotteEC']['1']; ?> +_tpl_vars['flotteEC']['2']; ?> +_tpl_vars['flotteEC']['3']; ?> +_tpl_vars['flotteEC']['4']; ?> +_tpl_vars['flotteEC']['5']; ?> +_tpl_vars['flotteEC']['6']; ?> +_tpl_vars['flotteEC']['7']; ?> +
+

Vaisseaux disponibles sur cette planète

+
+ + + + + + + + + +_tpl_vars['vaisseaux']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> + + + + + + + + +
VaisseauxNombre disponibleMaxA envoyer
Flottes : _tpl_vars['nbflotte']; ?> +/_tpl_vars['nbflottemax']; ?> +
_tpl_vars['action']; ?> +
_tpl_vars['vaisseau']['0']; ?> +_tpl_vars['vaisseau']['1']; ?> +
+
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%F2^F21^F21E08BB%%messagerie.tpl.php b/includes/onyx/templates/templates_c/%%F2^F21^F21E08BB%%messagerie.tpl.php new file mode 100644 index 0000000..2bb5796 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%F2^F21^F21E08BB%%messagerie.tpl.php @@ -0,0 +1,57 @@ + + array(array('modifier', 'nl2br', 'game/messagerie.tpl', 8, false),)), $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); + ?> +
+

Messages

+

Ecrire un message

+
+_tpl_vars['messages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['message']): +?> +
+
_tpl_vars['message']['0']; ?> + de _tpl_vars['message']['2']; ?> + à _tpl_vars['message']['1']; ?> +
_tpl_vars['message']['3'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> +
+
+ +


Supprimer le sélection :

+
+

Rapports

+
+_tpl_vars['rapports']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['rapport']): +?> +
+
_tpl_vars['rapport']['0']; ?> + à _tpl_vars['rapport']['1']; ?> +
_tpl_vars['rapport']['3'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> +
+
+ +


Supprimer le sélection :

+
+
+_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); + ?> \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%F5^F5E^F5EB692F%%version.tpl.php b/includes/onyx/templates/templates_c/%%F5^F5E^F5EB692F%%version.tpl.php new file mode 100644 index 0000000..617380e --- /dev/null +++ b/includes/onyx/templates/templates_c/%%F5^F5E^F5EB692F%%version.tpl.php @@ -0,0 +1,25 @@ + +_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); + ?> +
+

Mises à jour

+ +_tpl_vars['versions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['version']): +?> + + +
VersionsDétails
_tpl_vars['version']['numero']; ?> +
_tpl_vars['version']['date']; ?> +
_tpl_vars['version']['description']; ?> +
+
+_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); + ?> \ No newline at end of file diff --git a/includes/ressources.php b/includes/ressources.php index 91afbdc..66095e1 100644 --- a/includes/ressources.php +++ b/includes/ressources.php @@ -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); diff --git a/index.php b/index.php index dd99793..10946ca 100644 --- a/index.php +++ b/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.

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.'); + $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(); } ?> \ No newline at end of file