From 58928889edf2fe3cfe34bb94012aeb29e43e5aa2 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Mon, 1 Dec 2008 12:00:00 +0100 Subject: [PATCH] Version 1.5a --- Class/class.combat.php | 113 +----- Class/class.rapport.php | 104 ++++++ game/simulateur.php | 122 +++++++ includes/flottes.php | 344 ++++++++---------- includes/noms.php | 8 +- includes/onyx/config.xconf | 2 +- includes/onyx/logs/31-05-2008.xlog | 4 + .../templates/game/ATrapport_combat.tpl | 26 +- .../templates/game/ENrapport_combat.tpl | 26 +- .../templates/game/SIMrapport_combat.tpl | 196 ++++++++++ .../onyx/templates/templates/game/header.tpl | 2 +- .../templates/templates/game/messagerie.tpl | 4 +- .../templates/game/simulateur_combat.tpl | 53 +++ ...04^048^0483A7BB%%chantierterrestre.tpl.php | 100 +++++ .../%%05^056^056EB1C9%%description.tpl.php | 131 +++++++ .../%%0A^0A4^0A4D5AE7%%vflotte.tpl.php | 54 +++ .../%%0F^0F6^0F669F30%%prochainement.tpl.php | 15 + ...%12^128^12871090%%alliance_nm_view.tpl.php | 64 ++++ ...^12D4D8E7%%alliance_adm_grades_add.tpl.php | 58 +++ .../%%14^14B^14B41601%%arbre.tpl.php | 84 +++++ .../%%18^18A^18A2DC5A%%laboratoire.tpl.php | 115 ++++++ .../%%1B^1B6^1B63AF95%%demarrage.tpl.php | 43 +++ .../%%1E^1EB^1EBEE047%%footer.tpl.php | 27 ++ .../%%1E^1ED^1ED3D7AE%%commentjouer.tpl.php | 30 ++ .../%%24^244^24470144%%sommaire.tpl.php | 23 ++ ...5^26507EA8%%alliance_adm_ecritures.tpl.php | 37 ++ .../%%29^293^29380582%%intro.tpl.php | 24 ++ .../%%2D^2D5^2D5ECA21%%config.tpl.php | 27 ++ .../%%2F^2FB^2FB28051%%envoyer.tpl.php | 25 ++ .../%%31^31E^31E7B815%%vide.tpl.php | 14 + .../%%3A^3A1^3A1168FE%%header.tpl.php | 48 +++ ...3F^3F6^3F634000%%alliance_adm_chat.tpl.php | 51 +++ ...426^426AE156%%alliance_adm_membres.tpl.php | 91 +++++ ...%%45^45D^45DA3548%%chantierspatial.tpl.php | 99 +++++ .../%%49^49E^49EF4E4D%%batiments.tpl.php | 115 ++++++ .../%%4B^4B2^4B240858%%alliance_chat.tpl.php | 45 +++ .../%%4F^4F4^4F4A3808%%options.tpl.php | 40 ++ .../%%50^50D^50DBF311%%erreur.tpl.php | 2 + .../%%57^57D^57D0F479%%flotten.tpl.php | 231 ++++++++++++ .../templates_c/%%5C^5CE^5CE50266%%vp.tpl.php | 17 + .../%%62^620^620A3143%%rename.tpl.php | 28 ++ .../%%62^628^62876A9C%%classement.tpl.php | 63 ++++ ...65^65A^65A81123%%simulateur_combat.tpl.php | 95 +++++ .../%%69^69A^69AF6399%%defenses.tpl.php | 99 +++++ .../%%69^69D^69D54D9C%%accueil.tpl.php | 66 ++++ .../%%71^717^7172D774%%ressources.tpl.php | 70 ++++ .../%%74^745^745D5B0F%%mini.tpl.php | 22 ++ .../%%79^79F^79F1779C%%carte.tpl.php | 64 ++++ .../%%7A^7A4^7A420E87%%alliance_liste.tpl.php | 50 +++ .../templates_c/%%7C^7C1^7C189E57%%vp.tpl.php | 17 + ...%7E^7E6^7E6EEC5C%%alliance_accueil.tpl.php | 102 ++++++ .../%%86^863^8633B3FC%%aide.tpl.php | 15 + .../%%88^889^8895FE3A%%rapport_combat.tpl.php | 267 ++++++++++++++ ...%88^88B^88BF99B8%%ENrapport_combat.tpl.php | 270 ++++++++++++++ ...A^8AB^8AB5A548%%alliance_adm_admin.tpl.php | 74 ++++ .../%%8D^8DC^8DC74F79%%erreur.tpl.php | 17 + .../%%93^937^93702918%%oubliemdp.tpl.php | 41 +++ ...%A8^A80^A805529F%%ATrapport_combat.tpl.php | 270 ++++++++++++++ .../%%AA^AA3^AA33D6B3%%flotte2.tpl.php | 49 +++ .../%%B3^B36^B3600846%%avertissements.tpl.php | 43 +++ ...BB7^BB748B33%%alliance_nm_postuler.tpl.php | 36 ++ ...F^BF4^BF4A3EE6%%alliance_nm_search.tpl.php | 38 ++ ...BF^BFC^BFC208DD%%SIMrapport_combat.tpl.php | 269 ++++++++++++++ .../%%C1^C1F^C1F65229%%bugs.tpl.php | 39 ++ .../%%C3^C3A^C3A25C2F%%footer.tpl.php | 2 + ...A^CAC^CAC429B2%%alliance_nm_fonder.tpl.php | 50 +++ ...^CF1^CF1614AE%%alliance_nm_accueil.tpl.php | 49 +++ .../%%D0^D0E^D0E1F621%%secours.tpl.php | 24 ++ .../%%D4^D4B^D4BFDB2F%%vip.tpl.php | 50 +++ ...^E17^E1773DB1%%alliance_adm_header.tpl.php | 14 + ...^E5B^E5BD6034%%alliance_adm_grades.tpl.php | 58 +++ .../%%E7^E70^E70DD496%%header.tpl.php | 132 +++++++ .../%%ED^ED9^ED93AC63%%flotte1.tpl.php | 80 ++++ .../%%F2^F21^F21E08BB%%messagerie.tpl.php | 59 +++ .../%%F5^F5E^F5EB692F%%version.tpl.php | 25 ++ index.php | 6 + js/flotte.js | 1 + js/inscription.js | 2 +- test.php | 2 + 79 files changed, 4936 insertions(+), 336 deletions(-) create mode 100644 game/simulateur.php create mode 100644 includes/onyx/logs/31-05-2008.xlog create mode 100644 includes/onyx/templates/templates/game/SIMrapport_combat.tpl create mode 100644 includes/onyx/templates/templates/game/simulateur_combat.tpl create mode 100644 includes/onyx/templates/templates_c/%%04^048^0483A7BB%%chantierterrestre.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%05^056^056EB1C9%%description.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%0A^0A4^0A4D5AE7%%vflotte.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%0F^0F6^0F669F30%%prochainement.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%12^128^12871090%%alliance_nm_view.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%12^12D^12D4D8E7%%alliance_adm_grades_add.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%14^14B^14B41601%%arbre.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%18^18A^18A2DC5A%%laboratoire.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%1B^1B6^1B63AF95%%demarrage.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%1E^1EB^1EBEE047%%footer.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%1E^1ED^1ED3D7AE%%commentjouer.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%24^244^24470144%%sommaire.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%26^265^26507EA8%%alliance_adm_ecritures.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%29^293^29380582%%intro.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%2D^2D5^2D5ECA21%%config.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%2F^2FB^2FB28051%%envoyer.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%31^31E^31E7B815%%vide.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%3A^3A1^3A1168FE%%header.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%3F^3F6^3F634000%%alliance_adm_chat.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%42^426^426AE156%%alliance_adm_membres.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%45^45D^45DA3548%%chantierspatial.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%49^49E^49EF4E4D%%batiments.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%4B^4B2^4B240858%%alliance_chat.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%4F^4F4^4F4A3808%%options.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%50^50D^50DBF311%%erreur.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%57^57D^57D0F479%%flotten.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%5C^5CE^5CE50266%%vp.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%62^620^620A3143%%rename.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%62^628^62876A9C%%classement.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%65^65A^65A81123%%simulateur_combat.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%69^69A^69AF6399%%defenses.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%69^69D^69D54D9C%%accueil.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%71^717^7172D774%%ressources.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%74^745^745D5B0F%%mini.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%79^79F^79F1779C%%carte.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%7A^7A4^7A420E87%%alliance_liste.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%7C^7C1^7C189E57%%vp.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%7E^7E6^7E6EEC5C%%alliance_accueil.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%86^863^8633B3FC%%aide.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%88^889^8895FE3A%%rapport_combat.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%88^88B^88BF99B8%%ENrapport_combat.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%8A^8AB^8AB5A548%%alliance_adm_admin.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%8D^8DC^8DC74F79%%erreur.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%93^937^93702918%%oubliemdp.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%A8^A80^A805529F%%ATrapport_combat.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%AA^AA3^AA33D6B3%%flotte2.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%B3^B36^B3600846%%avertissements.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%BB^BB7^BB748B33%%alliance_nm_postuler.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%BF^BF4^BF4A3EE6%%alliance_nm_search.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%BF^BFC^BFC208DD%%SIMrapport_combat.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%C1^C1F^C1F65229%%bugs.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%C3^C3A^C3A25C2F%%footer.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%CA^CAC^CAC429B2%%alliance_nm_fonder.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%CF^CF1^CF1614AE%%alliance_nm_accueil.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%D0^D0E^D0E1F621%%secours.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%D4^D4B^D4BFDB2F%%vip.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%E1^E17^E1773DB1%%alliance_adm_header.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%E5^E5B^E5BD6034%%alliance_adm_grades.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%E7^E70^E70DD496%%header.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%ED^ED9^ED93AC63%%flotte1.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%F2^F21^F21E08BB%%messagerie.tpl.php create mode 100644 includes/onyx/templates/templates_c/%%F5^F5E^F5EB692F%%version.tpl.php diff --git a/Class/class.combat.php b/Class/class.combat.php index af9b078..a932208 100644 --- a/Class/class.combat.php +++ b/Class/class.combat.php @@ -22,6 +22,7 @@ class Combat { var $vaisContenuM = 0; var $vaisContenuC = 0; var $vaisContenuH = 0; + var $pillage = array(0, 0, 0); var $debriM = 0; var $debriC = 0; @@ -397,19 +398,25 @@ class Combat { $this->vaisContenuH = floor($this->vaisContenuH/$retirer); } if ($pillage) { - $req = mysql_query("SELECT * FROM flottes WHERE `id` = '".$this->refflotte."'"); + $req = mysql_query("SELECT * FROM `flottes` WHERE `id` = '".$this->refflotte."';"); $resultat = mysql_fetch_array($req); - $reqDef = mysql_query("SELECT * FROM `planete` WHERE `galaxie` = '".$resultat['end_galaxie']."' AND `ss` = '".$resultat['end_ss']."' AND `position` = '".$resultat['end_position']."'") or die ("erreur sql ".mysql_error()); + $reqDef = mysql_query("SELECT * FROM `planete` WHERE `galaxie` = '".$resultat['end_galaxie']."' AND `ss` = '".$resultat['end_ss']."' AND `position` = '".$resultat['end_position']."';"); $resultatDef = mysql_fetch_array($reqDef); $ressplus = pillage($resultatDef['metal'], $resultatDef['cristal'], $resultatDef['hydrogene'], $this->vaisContenu - $this->vaisContenuM - $this->vaisContenuC - $this->vaisContenuH); $this->vaisContenuM += $ressplus[0]; $this->vaisContenuC += $ressplus[1]; $this->vaisContenuH += $ressplus[2]; + $this->pillage = array($ressplus[0], $ressplus[1], $ressplus[2]); } return '`nb_vais` = \''.$nbvais.'\', `contenu_max` = \''.$this->vaisContenu.'\', `contenu_metal` = \''.$this->vaisContenuM.'\', `contenu_cristal` = \''.$this->vaisContenuC.'\', `contenu_hydrogene` = \''.$this->vaisContenuH.'\', `vaisseau_1` = \''.$vaisseau_1.'\', `vaisseau_2` = \''.$vaisseau_2.'\', `vaisseau_3` = \''.$vaisseau_3.'\', `vaisseau_4` = \''.$vaisseau_4.'\', `vaisseau_5` = \''.$vaisseau_5.'\', `vaisseau_6` = \''.$vaisseau_6.'\', `vaisseau_7` = \''.$vaisseau_7.'\', `vaisseau_8` = \''.$vaisseau_8.'\', `vaisseau_9` = \''.$vaisseau_9.'\', `vaisseau_10` = \''.$vaisseau_10.'\', `vaisseau_11` = \''.$vaisseau_11.'\', `vaisseau_12` = \''.$vaisseau_12.'\''; } + function pillageSimul($metal, $cristal, $hydrogene){ + $ressplus = pillage($metal, $cristal, $hydrogene, 999999); + $this->pillage = array($ressplus[0], $ressplus[1], $ressplus[2]); + } + function exportEN(){ $nb = count($this->ENvais); $vaisseau_1 = 0; $vaisseau_2 = 0; $vaisseau_3 = 0; $vaisseau_4 = 0; $vaisseau_5 = 0; $vaisseau_6 = 0; $vaisseau_7 = 0; $vaisseau_8 = 0; $vaisseau_9 = 0; $vaisseau_10 = 0; $vaisseau_11 = 0; $vaisseau_12 = 0; @@ -423,107 +430,5 @@ class Combat { } return '`vaisseau_1` = \''.$vaisseau_1.'\', `vaisseau_2` = \''.$vaisseau_2.'\', `vaisseau_3` = \''.$vaisseau_3.'\', `vaisseau_4` = \''.$vaisseau_4.'\', `vaisseau_5` = \''.$vaisseau_5.'\', `vaisseau_6` = \''.$vaisseau_6.'\', `vaisseau_7` = \''.$vaisseau_7.'\', `vaisseau_8` = \''.$vaisseau_8.'\', `vaisseau_9` = \''.$vaisseau_9.'\', `vaisseau_10` = \''.$vaisseau_10.'\', `vaisseau_11` = \''.$vaisseau_11.'\', `vaisseau_12` = \''.$vaisseau_12.'\', `def_1` = \''.$def_1.'\', `def_2` = \''.$def_2.'\', `def_3` = \''.$def_3.'\', `def_4` = \''.$def_4.'\', `def_5` = \''.$def_5.'\''; } - - function genRapport($fin, $ATgagnant = false){ - $req = mysql_query("SELECT * FROM `flottes` WHERE `id` = '".$this->refflotte."'"); - $resultat = mysql_fetch_array($req); - $reqDef = mysql_query("SELECT `id_user` FROM `planete` WHERE `galaxie` = '".$resultat['end_galaxie']."' AND `ss` = '".$resultat['end_ss']."' AND `position` = '".$resultat['end_position']."'") or die ("erreur sql ".mysql_error()); - $resultatDef = mysql_fetch_array($reqDef); - - if ($this->Ntour == 0) { - $rapportAT = '[b]Le combat contre '.trouvNom($resultatDef['id_user']).' est engagé ![/b] - - '; - $rapportEN = '[b]Un combat est engagé contre '.trouvNom($resultatDef['id_user']).' ![/b] - - '; - } - elseif ($fin) { - $rapportAT = '[b]Le combat contre '.trouvNom($resultatDef['id_user']).' est terminé ![/b] - - '; - $rapportEN = '[b]Le combat contre '.trouvNom($resultatDef['id_user']).' est terminé ![/b] - - '; - } - else { - $rapportAT = '[b]Suite du combat contre '.trouvNom($resultatDef['id_user']).' ![/b] - - '; - $rapportEN = '[b]Suite du combat contre '.trouvNom($resultatDef['id_user']).' ![/b] - - '; - } - $rapportAT .= 'Tactique lors de ce tour : '.txtTactique($this->ATtactique).'. - - Lieux : ['.$resultat['end_galaxie'].':'.$resultat['end_ss'].':'.$resultat['end_position'].'] METTRE UN LIEN - - Vaisseaux au début de notre côté : - Array - - Vaisseaux adverse au début : - Array - - Défenses adverse au début : - Array - - Etat de notre flotte à la fin de ce tour : - Grand Array ^^ - - Etat de la flotte adverse à la fin de ce tour : - Grand Array ^^ - - '; - - $rapportEN .= 'Tactique lors de ce tour : '.txtTactique($this->ENtactique).'. - - Lieux : ['.$resultat['end_galaxie'].':'.$resultat['end_ss'].':'.$resultat['end_position'].'] METTRE UN LIEN - - Vaisseaux au début de notre côté : - Array - - Défenses au début de notre côté : - Array - - Vaisseaux adverse au début : - Array - - Etat de notre flotte à la fin de ce tour : - Grand Array ^^ - - Etat de la flotte adverse à la fin de ce tour : - Grand Array ^^ - - '; - - if (floor($this->Ntour/2) == $this->Ntour/2 && !$fin) { - $rapportAT .= 'Vous pouvez profiter du temps de régénération des boucliers et des armes pour envoyer un nouvel ordre de tactique : Cliquez ici ! - - La prochaine attaque est prévue à '.date('/dm/ H:i:s', $this->timestamp+600); - $rapportEN .= 'Vous pouvez profiter du temps de régénération des boucliers et des armes pour envoyer un nouvel ordre de tactique : Cliquez ici ! - - La prochaine attaque est prévue à '.date('/dm/ H:i:s', $this->timestamp+300); - } - elseif (!$fin) { - $rapportAT .= 'Vous pouvez profiter du temps de régénération des boucliers et des armes pour envoyer un nouvel ordre de tactique : Cliquez ici ! - - La prochaine attaque est prévue à '.date('/dm/ H:i:s', $this->timestamp+300); - $rapportEN .= 'Vous pouvez profiter du temps de régénération des boucliers et des armes pour envoyer un nouvel ordre de tactique : Cliquez ici ! - - La prochaine attaque est prévue à '.date('/dm/ H:i:s', $this->timestamp+600); - } - elseif ($fin && $ATgagnant) { - $rapportAT .= 'Nous avons gagné le combat ! - - Nous repartons avec plein de choses.'; - $rapportEN .= 'Nous n\'avons pas pu repousser l\'envahisseur qui repart avec plein de chose.'; - } - elseif ($fin && !$ATgagnant) { - $rapportAT .= 'Nous avons perdu le combat !'; - $rapportEN .= 'Nous avons pu repousser l\'envahisseur qui repart sans rien.'; - } - - return array(mysql_real_escape_string($rapportAT), mysql_real_escape_string($rapportEN), $resultat['id_user'], $resultatDef['id_user']); - } } ?> \ No newline at end of file diff --git a/Class/class.rapport.php b/Class/class.rapport.php index c01bf8e..93d52dc 100644 --- a/Class/class.rapport.php +++ b/Class/class.rapport.php @@ -100,6 +100,52 @@ class Rapport{ mysql_query("INSERT INTO mail VALUES('', '1', '".trouvNom($this->utilB)."', '', '$titreB', '$rapportB', '$temps')"); } + function sendTransport(){ + include_once('includes/function.php'); + $titre = 'Transport vers '.$this->var[0]['nom_planete'].' ['.$this->var[0]['galaxie'].':'.$this->var[0]['ss'].':'.$this->var[0]['position'].']'; + + $race = trouvInfo($this->utilA, 'race'); + include('includes/noms.php'); + $rapportA = 'Vos vaisseaux ont déposé '.$this->var[1][0].' de '.$ressourc[0].', '.$this->var[1][1].' de '.$ressourc[1].' et '.$this->var[1][2].' d\''.$ressourc[2].' sur '.$this->var[0]['nom_planete'].'['.$this->var[0]['galaxie'].':'.$this->var[0]['ss'].':'.$this->var[0]['position'].']

'; + + $race = trouvInfo($this->utilB, 'race'); + include('includes/noms.php'); + $rapportB = 'Les vaisseaux de '.trouvNom($this->utilA).' ont déposé '.$this->var[1][0].' de '.$ressourc[0].', '.$this->var[1][1].' de '.$ressourc[1].' et '.$this->var[1][2].' d\''.$ressourc[2].' sur '.$this->var[0]['nom_planete'].'['.$this->var[0]['galaxie'].':'.$this->var[0]['ss'].':'.$this->var[0]['position'].']

'; + + $titre = mysql_real_escape_string($titre); + $rapportA = mysql_real_escape_string($rapportA); + $rapportB = mysql_real_escape_string($rapportB); + $temps = $this->timestamp; + + mysql_query("INSERT INTO mail VALUES('', '1', '".trouvNom($this->utilA)."', '', '$titre', '$rapportA', '$temps')"); + mysql_query("INSERT INTO mail VALUES('', '1', '".trouvNom($this->utilB)."', '', '$titre', '$rapportB', '$temps')"); + } + + function sendColonisation(){ + include_once('includes/function.php'); + $titre = 'Colonisation de ['.$this->var[0][0].':'.$this->var[0][1].':'.$this->var[0][2].']'; + if ($this->var[1]) $rapport = 'Votre vaisseau a atteint la planète ['.$this->var[0][0].':'.$this->var[0][1].':'.$this->var[0][2].'] et commence la colonisation.'; + else $rapport = 'Nous n\'avons pas pu coloniser la planète ['.$this->var[0][0].':'.$this->var[0][1].':'.$this->var[0][2].'] car lorsque nous sommes arrivé sur place, elle était déjà colonisée.'; + + $titre = mysql_real_escape_string($titre); + $rapport = mysql_real_escape_string($rapport); + $temps = $this->timestamp; + + mysql_query("INSERT INTO mail VALUES('', '1', '".trouvNom($this->utilA)."', '', '$titre', '$rapport', '$temps')"); + } + + function sendRecyclage(){ + include_once('includes/function.php'); + $titre = 'Recyclage de '.$this->var[0]['nom_planete'].' ['.$this->var[0]['galaxie'].':'.$this->var[0]['ss'].':'.$this->var[0]['position'].']'; + $rapport = 'Vos vaisseaux récoltent '.$this->var[1][0].' de '.$ressourc[0].' et '.$this->var[1][1].' de '.$ressourc[1].' sur '.$this->var[0]['nom_planete'].'['.$this->var[0]['galaxie'].':'.$this->var[0]['ss'].':'.$this->var[0]['position'].']

'; + + $titre = mysql_real_escape_string($titre); + $rapport = mysql_real_escape_string($rapport); + $temps = $this->timestamp; + + mysql_query("INSERT INTO mail VALUES('', '1', '".trouvNom($this->utilA)."', '', '$titre', '$rapport', '$temps')"); + } + function sendCombat(){ include('includes/vars.php'); include_once('includes/function.php'); @@ -137,6 +183,8 @@ class Rapport{ $rapportA->assign('vaisBC', $nomvais_bc); $rapportA->assign('vaisPV', $nomvais_pv); + $rapportA->assign('defBC', $defense_bc); + $rapportA->assign('defPV', $defense_pv); $rapportA->assign('nextTour', $this->var[10]); $race = trouvInfo($this->utilA, 'race'); @@ -169,6 +217,8 @@ class Rapport{ $rapportB->assign('vaisBC', $nomvais_bc); $rapportB->assign('vaisPV', $nomvais_pv); + $rapportB->assign('defBC', $defense_bc); + $rapportB->assign('defPV', $defense_pv); $rapportB->assign('nextTour', $this->var[10]); $race = trouvInfo($this->utilA, 'race'); @@ -195,6 +245,60 @@ class Rapport{ mysql_query("INSERT INTO mail VALUES('', '1', '".trouvNom($this->utilB)."', '', '$titreB', '$rapportB', '$temps')"); } + function show(){ + include('includes/vars.php'); + include_once('includes/function.php'); + require_once(SMARTY_DIR."Smarty.class.php"); + + $rapportA = new Smarty(); + + $rapportA->template_dir = _FCORE.'templates/templates/'; + $rapportA->compile_dir = _FCORE.'templates/templates_c/'; + $rapportA->config_dir = _FCORE.'templates/configs/'; + $rapportA->cache_dir = _FCORE.'templates/cache/'; + + $rapportA->assign('tour', $this->var[3]); + $rapportA->assign('EN', $this->var[4]); + $rapportA->assign('flotte', $this->var[5]); + $rapportA->assign('vaisseaux1', $this->var[0]); + $rapportA->assign('vaisseaux2', $this->var[1]); + $rapportA->assign('defenses1', $this->var[2]); + $rapportA->assign('vaisseaux3', $this->var[7]); + $rapportA->assign('vaisseaux4', $this->var[8]); + $rapportA->assign('defenses2', $this->var[9]); + + $rapportA->assign('termine', $this->var[6][0]); + $rapportA->assign('attaquantG', $this->var[6][1]); + $rapportA->assign('pillage', $this->var[11]); + $rapportA->assign('debris', $this->var[12]); + + $rapportA->assign('page', 'simulation'); + $rapportA->assign('enligne', $this->var[13][0]); + $rapportA->assign('infos', $this->var[13][1]); + $rapportA->assign('nbinfos', $this->var[13][2]); + $rapportA->assign('count', $this->var[13][3]); + $rapportA->assign('version', $this->var[13][4]); + $rapportA->assign('tpsdejeu', $this->var[13][5]); + + $rapportA->assign('vaisBC', $nomvais_bc); + $rapportA->assign('vaisPV', $nomvais_pv); + $rapportA->assign('defBC', $defense_bc); + $rapportA->assign('defPV', $defense_pv); + $rapportA->assign('nextTour', $this->var[10]); + + $race = trouvInfo($this->utilA, 'race'); + include('includes/noms.php'); + $rapportA->assign('ressources', $ressourc); + $rapportA->assign('nomvaisAT', $nomvaisa); + $rapportA->assign('nomvaisEN', $nomvaisa); + array_splice($nomterra, 0, 8); + $rapportA->assign('nomdefEN', $nomterra); + $rapportA->assign('race', $race); + + return $rapportA->fetch('game/SIMrapport_combat.tpl'); + return $rapportA; + } + function sendAlliance(){ include_once('includes/function.php'); $titreA = 'Déclaration officielle de votre alliance !'; diff --git a/game/simulateur.php b/game/simulateur.php new file mode 100644 index 0000000..f01368f --- /dev/null +++ b/game/simulateur.php @@ -0,0 +1,122 @@ + 0, + "contenu_max" => 999999, + "contenu_metal" => 0, + "contenu_cristal" => 0, + "contenu_hydrogene" => 0, + "start_time" => 0, + "end_time" => 0, + "mission" => 1, + "id_user" => $id_user, + "effectue" => 0, + "vaisseau_1" => $_POST['ATvais_1'], + "vaisseau_2" => $_POST['ATvais_2'], + "vaisseau_3" => $_POST['ATvais_3'], + "vaisseau_4" => $_POST['ATvais_4'], + "vaisseau_5" => $_POST['ATvais_5'], + "vaisseau_6" => $_POST['ATvais_6'], + "vaisseau_7" => $_POST['ATvais_7'], + "vaisseau_8" => $_POST['ATvais_8'], + "vaisseau_9" => $_POST['ATvais_9'], + "vaisseau_10" => $_POST['ATvais_10'], + "vaisseau_11" => 0, + "vaisseau_12" => $_POST['ATvais_12'] +); +$queryEN = array( + "debris_met" => 0, + "debris_cri" => 0, + "metal" => $_POST['ENmetal'], + "cristal" => $_POST['ENcristal'], + "hydrogene" => $_POST['ENhydrogene'], + "def_1" => $_POST['ENdef_1'], + "def_2" => $_POST['ENdef_2'], + "def_3" => $_POST['ENdef_3'], + "def_4" => $_POST['ENdef_4'], + "def_5" => $_POST['ENdef_5'], + "vaisseau_1" => $_POST['ENvais_1'], + "vaisseau_2" => $_POST['ENvais_2'], + "vaisseau_3" => $_POST['ENvais_3'], + "vaisseau_4" => $_POST['ENvais_4'], + "vaisseau_5" => $_POST['ENvais_5'], + "vaisseau_6" => $_POST['ENvais_6'], + "vaisseau_7" => $_POST['ENvais_7'], + "vaisseau_8" => $_POST['ENvais_8'], + "vaisseau_9" => $_POST['ENvais_9'], + "vaisseau_10" => $_POST['ENvais_10'], + "vaisseau_11" => $_POST['ENvais_11'], + "vaisseau_12" => $_POST['ENvais_12'] +); + require_once('Class/class.combat.php'); + require_once('Class/class.rapport.php'); + + //On génére un nouveau combat + $combat = new Combat($queryFlottes[$i], $queryEN, $queryEN); + $combat->changerTactiqueAT($_POST['ATtactique']); + $combat->changerTactiqueEN($_POST['ENtactique']); + $rapport = new Rapport(1, $queryFlottes[$i]['id_user'], 0, time()); + $rapport->addInfo($combat->ATvais, 0); + $rapport->addInfo($combat->ENvais, 1); + $rapport->addInfo($combat->ENdef, 2); + $rapport->addInfo($queryEN, 4); + $rapport->addInfo($queryFlottes[$i], 5); + $rapport->addInfo(array(false, false), 6); + + while(!$rapport->var[6][0]) { + if ($combat->Ntour >= $_POST['maxtour']) break; + $combat->Ntour++; + + //Détermine à qui est le tour : attaquant ou défenseur + if ($combat->Ntour%2) { //Tour impaire : tour attaquant + //Récupération des paramètres de la tactique + $arraytactique = tactique($combat->ATtactique); + + //Lancement du combat, si condition validée, attaquant vainceur + if (@!$combat->attaquerVais($combat->calcAttaque($arraytactique[2] + $combat->regenereBC($arraytactique[1], true, !$arraytactique[3]), true), true)) { + $combat->pillageSimul($queryEN['metal'], $queryEN['cristal'], $queryEN['hydrogene']); + $rapport->addInfo(array(true, true), 6); + } + else $rapport->addInfo(array(false, false), 6); + } + else { //Tour impaire : tour défenseur + //Récupération des paramètres de la tactique + $arraytactique = tactique($combat->ENtactique); + + //Lancement du combat, si condition validée, défenseur vainceur + if (@!$combat->attaquerVais($combat->calcAttaque($arraytactique[2] + $combat->regenereBC($arraytactique[1], false, !$arraytactique[3]), false), false)) $rapport->addInfo(array(true, false), 6); + else $rapport->addInfo(array(false, false), 6); + } + + $rapport->addInfo($combat->ATvais, 7); + $rapport->addInfo($combat->ENvais, 8); + $rapport->addInfo($combat->ENdef, 9); + + //Prévision du prochain tour + $combat->timestamp += 300; + $rapport->addInfo($combat->timestamp, 10); + $rapport->addInfo($combat->pillage, 11); + } + $rapport->addInfo($combat->Ntour, 3); + $debriM = $combat->debriM; + $debriC = $combat->debriC; + + $rapport->addInfo(array($debriM, $debriC), 12); + $rapport->addInfo(array($enligne, $infos, count($infos)-1, array('humains' => $nbhumain, 'covenants' => $nbcovie, 'serveurs' => 'cette'), VERSION, $min.' min'), 13); + + $template = $rapport->show(); + print $template; + exit; +} +else { + $template->assign('nomvais', $nomvaisn); + array_splice($nomterra, 0, 8); + $template->assign('nomdef', $nomterra); + $template->assign('nomressourc', $ressourc); +} +?> \ No newline at end of file diff --git a/includes/flottes.php b/includes/flottes.php index 0d51189..d3d432f 100644 --- a/includes/flottes.php +++ b/includes/flottes.php @@ -20,149 +20,87 @@ $Hgalaxie = $queryPlanete["galaxie"]; $Hss = $queryPlanete["ss"]; $Hposition = $queryPlanete["position"]; -$queryFlottes = $chapeau->query("SELECT * FROM `$table_flottes` WHERE `id_user` = '$id_user' OR (`end_galaxie` = '$Hgalaxie' AND `end_ss` = '$Hss' AND `end_position` = '$Hposition')"); +$queryFlottes = $chapeau->query("SELECT * FROM `$table_flottes` WHERE `id_user` = '$id_user' OR (`end_galaxie` = '$Hgalaxie' AND `end_ss` = '$Hss' AND `end_position` = '$Hposition');"); $nbFlottes = $chapeau->num_rows; for ($i = 0; $i < $nbFlottes; $i++) { //Récupération des principales variables de la flotte - $id_user = $queryFlottes[$i]['id_user']; $id_flotte = $queryFlottes[$i]['id']; $mission = $queryFlottes[$i]['mission']; $end_galaxie = $queryFlottes[$i]['end_galaxie']; $end_ss = $queryFlottes[$i]['end_ss']; $end_position = $queryFlottes[$i]['end_position']; - $temps = $queryFlottes[$i]['start_time'] + $queryFlottes[$i]['end_time']; + $end_time = $queryFlottes[$i]['start_time'] + $queryFlottes[$i]['end_time']; + //On vérifie que la planète cible existe + if ($mission != 3 && !$queryEN = $chapeau->unique_query("SELECT * FROM `$table_planete` WHERE `galaxie` = '$end_galaxie' AND `ss` = '$end_ss' AND `position` = '$end_position';")) { +//TODO La planète cible n'existe plus/pas, envoyer un mail au joueur et retourner la flotte + continue; + } + $ENidPlan = $queryEN['id']; //La flotte est prête a effectuer une action if ($queryFlottes[$i]['effectue'] != 1 && time() >= $queryFlottes[$i]['start_time'] + $queryFlottes[$i]['end_time'] && !empty($queryFlottes[$i]['end_time'])) { - - //Mission attaquer + //Mission Attaquer if ($mission == 1) { require_once('Class/class.combat.php'); - //Chargement des données du joueur attaqué : EN... - $planeteEN = $chapeau->unique_query("SELECT * FROM `$table_planete` WHERE `galaxie` = '$end_galaxie' AND `ss` = '$end_ss' AND `position` = '$end_position'"); - $ENidPlan = $planeteEN['id']; - - //Le combat existe déjà, la flotte était placée en attente + //On regarde si le combat a déjà commencé if ($queryFlottes[$i]['effectue'] == 2) { - //Recherche de la flotte - $resultatC = $chapeau->unique_query("SELECT * FROM `$table_flottes_combats` WHERE `refflotte` = '$id_flotte';"); - - //La flotte n'a pas été trouvée dans la BDD : impossible - if (!$resultatC) die('Erreur dans le script de combat, contactez d\'urgence un administrateur !'); - - //Il est temps de passer au tour suivant ! - if (time() >= $resultatC['timestamp']) { - //On récupère le combat - $combat = unserialize($resultatC['serialize']); - - //On prépare les rapports de combats - $rapport = new Rapport($mission, $queryFlottes[$i]['id_user'], $planeteEN['id_user'], $combat->timestamp); - - //Mise à jour des tactiques - if (!empty($resultatC['tactiqueAT'])) $combat->changerTactiqueAT($resultatC['tactiqueAT']); - if (!empty($resultatC['tactiqueEN'])) $combat->changerTactiqueEN($resultatC['tactiqueEN']); - - while($combat->timestamp <= time()) { - //On passe le tour - $combat->Ntour++; - $rapport->addInfo($combat->ATvais, 0); - $rapport->addInfo($combat->ENvais, 1); - $rapport->addInfo($combat->ENdef, 2); - $rapport->addInfo($combat->Ntour, 3); - $rapport->addInfo($planeteEN, 4); - $rapport->addInfo($queryFlottes[$i], 5); - - //Détermine qui est le tour : attaquant ou défenseur - if (floor($combat->Ntour/2) == $combat->Ntour/2) { //Le tour est paire : tour attaquant - $arraytactique = tactique($combat->ATtactique); - if (@$combat->attaquerVais($combat->calcAttaque($arraytactique[2] + $combat->regenereBC($arraytactique[1], true, !$arraytactique[3]), true), true) == 0) { //Attaquant vainceur - $chapeau->query("DELETE FROM `$table_flottes_combats` WHERE `refflotte` = '$id_flotte'"); - $chapeau->query("UPDATE `$table_flottes` SET ".$combat->exportAT(true).", `effectue` = '1', `ret_time` = ".$combat->timestamp." WHERE `id` = '$id_flotte';"); - $chapeau->query("UPDATE `$table_planete` SET ".$combat->exportEN().", `metal` = `metal` - '".$combat->vaisContenuM."', `cristal` = `cristal` - '".$combat->vaisContenuC."', `hydrogene` = `hydrogene` - '".$combat->vaisContenuH."' WHERE `id` = '$ENidPlan';"); - $rapport->addInfo(array(true, true), 6); - } - else $rapport->addInfo(array(false, false), 6); - - $rapport->addInfo($combat->ATvais, 7); - $rapport->addInfo($combat->ENvais, 8); - $rapport->addInfo($combat->ENdef, 9); - } - else { //Le tour est impaire : tour défenseur - $arraytactique = tactique($combat->ENtactique); - if (@$combat->attaquerVais($combat->calcAttaque($arraytactique[2] + $combat->regenereBC($arraytactique[1], false, !$arraytactique[3]), false), false) == 0) { //Défenseur vainceur - $chapeau->query("DELETE FROM `$table_flottes_combats` WHERE `refflotte` = '$id_flotte';"); - $chapeau->query("DELETE FROM `$table_flottes` WHERE `id` = '$id_flotte'"); - $chapeau->query("UPDATE `$table_planete` SET ".$combat->exportEN()." WHERE `id` = '$ENidPlan';"); - $rapport->addInfo(array(true, false), 6); - } - else $rapport->addInfo(array(false, false), 6); - - $rapport->addInfo($combat->ATvais, 7); - $rapport->addInfo($combat->ENvais, 8); - $rapport->addInfo($combat->ENdef, 9); - } - - //Prévision du prochain tour - $combat->timestamp += 300; - $rapport->addInfo($combat->timestamp, 10); - $rapport->addInfo(array($combat->vaisContenuM, $combat->vaisContenuC, $combat->vaisContenuH), 11); - - //On envoie les rapports aux joueurs concernés - $rapport->send(); + if ($queryCombat = $chapeau->unique_query("SELECT * FROM `$table_flottes_combats` WHERE `refflotte` = '$id_flotte';")) { + //On vérifie si on lance le tour suivant ou non + if (time() >= $queryCombat['timestamp']) { + //Récupération du combat + $combat = unserialize($queryCombat['serialize']); + //Mise à jour des tactiques + if (!empty($queryCombat['tactiqueAT'])) $combat->changerTactiqueAT($queryCombat['tactiqueAT']); + if (!empty($queryCombat['tactiqueEN'])) $combat->changerTactiqueEN($queryCombat['tactiqueEN']); } - $timestamp_suite = $combat->timestamp; - - $debriM = $combat->debriM + $planeteEN['debris_met']; - $debriC = $combat->debriC + $planeteEN['debris_cri']; - - $combat->debriM = 0; - $combat->debriC = 0; - - //On sérialise la classe pour l'exporter - $serialise = serialize($combat); - - //On enregistre le combat dans la base de données - $chapeau->query("UPDATE `$table_flottes_combats` SET `serialize` = '$serialise', `tactiqueAT` = '0', `tactiqueEN` = '0', `timestamp` = '$timestamp_suite' WHERE `refflotte` = '$id_flotte'"); - $chapeau->query("UPDATE `$table_planete` SET `debris_met` = '$debriM', `debris_cri` = '$debriC' WHERE `galaxie` = '$end_galaxie' AND `ss` = '$end_ss' AND `position` = '$end_position'"); + else continue; } + else die('Erreur dans le script de combat, contactez d\'urgence un administrateur !'); } else { - //On trouve les variables nécessaire pour le combat : vaisseaux, défenses, ... - $resultatDef = $chapeau->unique_query("SELECT * FROM `$table_planete` WHERE `galaxie` = '$end_galaxie' AND `ss` = '$end_ss' AND `position` = '$end_position'"); + //On génére un nouveau combat + $combat = new Combat($queryFlottes[$i], $queryEN, $queryEN); + $chapeau->query("UPDATE `$table_flottes` SET `effectue` = '2' WHERE `id` = '$id_flotte';"); + } - //On déclare le combat - $combat = new Combat($queryFlottes[$i], $resultatDef, $resultatDef); - - //On prépare les rapports de combats - $rapport = new Rapport($mission, $queryFlottes[$i]['id_user'], $planeteEN['id_user'], $combat->timestamp); - - //Définition des tactiques par défaut pour les deux combatants - $resultatU = $chapeau->unique_query("SELECT `combatAT_tactique` FROM `$table_user` WHERE `id` = '".$queryFlottes[$i]['id_user']."'"); - if (empty($queryFlottes[$i]['tactiqueAT'])) $combat->changerTactiqueAT($resultatU['combatAT_tactique']); - else $combat->changerTactiqueAT($queryFlottes[$i]['tactiqueAT']); - - $resultatU = $chapeau->query("SELECT combatDE_tactique FROM `$table_user` WHERE `id` = '".$resultatDef['id_user']."'"); - if (empty($queryFlottes[$i]['tactiqueEN'])) $combat->changerTactiqueEN($resultatU['combatDE_tactique']); - else $combat->changerTactiqueEN($queryFlottes[$i]['tactiqueEN']); + while($combat->timestamp <= time()) { + //Préparation du rapport + $rapport = new Rapport($mission, $queryFlottes[$i]['id_user'], $queryEN['id_user'], $combat->timestamp); + $combat->Ntour++; $rapport->addInfo($combat->ATvais, 0); $rapport->addInfo($combat->ENvais, 1); $rapport->addInfo($combat->ENdef, 2); $rapport->addInfo($combat->Ntour, 3); - $rapport->addInfo($resultatDef, 4); + $rapport->addInfo($queryEN, 4); $rapport->addInfo($queryFlottes[$i], 5); - //Lancement de l'attaque - if (@$combat->attaquerVais($combat->calcAttaque(100,true),true) == 0) { //Attaquant vainceur - $chapeau->query("DELETE FROM `$table_flottes_combats` WHERE `refflotte` = '$id_flotte'"); - $chapeau->query("UPDATE `$table_flottes` SET ".$combat->exportAT(true).", `effectue` = '1', `ret_time` = ".$combat->timestamp." WHERE `id` = '$id_flotte'"); - $chapeau->query("UPDATE `$table_planete` SET ".$combat->exportEN().", `metal` = `metal` - '".$combat->vaisContenuM."', `cristal` = `cristal` - '".$combat->vaisContenuC."', `hydrogene` = `hydrogene` - '".$combat->vaisContenuH."' WHERE `id` = '$ENidPlan';"); - $rapport->addInfo(array(true, true), 6); - $effect = false; + //Détermine à qui est le tour : attaquant ou défenseur + if ($combat->Ntour%2) { //Tour impaire : tour attaquant + //Récupération des paramètres de la tactique + $arraytactique = tactique($combat->ATtactique); + + //Lancement du combat, si condition validée, attaquant vainceur + if (@!$combat->attaquerVais($combat->calcAttaque($arraytactique[2] + $combat->regenereBC($arraytactique[1], true, !$arraytactique[3]), true), true)) { + $chapeau->query("DELETE FROM `$table_flottes_combats` WHERE `refflotte` = '$id_flotte';"); + $chapeau->query("UPDATE `$table_flottes` SET ".$combat->exportAT(true).", `effectue` = '1', `ret_time` = '".$combat->timestamp."' + `end_time` WHERE `id` = '$id_flotte';"); + $chapeau->query("UPDATE `$table_planete` SET ".$combat->exportEN().", `metal` = `metal` - '".$combat->pillage[0]."', `cristal` = `cristal` - '".$combat->pillage[1]."', `hydrogene` = `hydrogene` - '".$combat->pillage[2]."' WHERE `id` = '$ENidPlan';"); + $rapport->addInfo(array(true, true), 6); + } + else $rapport->addInfo(array(false, false), 6); } - else { - $rapport->addInfo(array(false, false), 6); - $effect = true; + else { //Tour impaire : tour défenseur + //Récupération des paramètres de la tactique + $arraytactique = tactique($combat->ENtactique); + + //Lancement du combat, si condition validée, défenseur vainceur + if (@!$combat->attaquerVais($combat->calcAttaque($arraytactique[2] + $combat->regenereBC($arraytactique[1], false, !$arraytactique[3]), false), false)) { + $chapeau->query("DELETE FROM `$table_flottes_combats` WHERE `refflotte` = '$id_flotte';"); + $chapeau->query("DELETE FROM `$table_flottes` WHERE `id` = '$id_flotte';"); + $chapeau->query("UPDATE `$table_planete` SET ".$combat->exportEN()." WHERE `id` = '$ENidPlan';"); + $rapport->addInfo(array(true, false), 6); + } + else $rapport->addInfo(array(false, false), 6); } $rapport->addInfo($combat->ATvais, 7); @@ -171,44 +109,46 @@ for ($i = 0; $i < $nbFlottes; $i++) { //Prévision du prochain tour $combat->timestamp += 300; - $timestamp_suite = $combat->timestamp; $rapport->addInfo($combat->timestamp, 10); - $rapport->addInfo(array($combat->vaisContenuM, $combat->vaisContenuC, $combat->vaisContenuH), 11); - - $debriM = $combat->debriM + $planeteEN['debris_met']; - $debriC = $combat->debriC + $planeteEN['debris_cri']; - - $combat->debriM = 0; - $combat->debriC = 0; - - //On sérialise la classe pour l'exporter - $serialise = serialize($combat); + $rapport->addInfo($combat->pillage, 11); //On envoie les rapports aux joueurs concernés $rapport->send(); + } + $debriM = $combat->debriM + $queryEN['debris_met']; + $debriC = $combat->debriC + $queryEN['debris_cri']; + + $combat->debriM = 0; + $combat->debriC = 0; + $chapeau->query("UPDATE `$table_planete` SET `debris_met` = '$debriM', `debris_cri` = '$debriC' WHERE `galaxie` = '$end_galaxie' AND `ss` = '$end_ss' AND `position` = '$end_position';"); + + if (!$rapport->var[6][0]) { //Si le combat n'est pas terminé + //On sérialise la classe pour l'exporter + $serialise = serialize($combat); //On enregistre le combat dans la base de données - $chapeau->query("INSERT INTO `$table_flottes_combats` VALUES(NULL, '".$queryFlottes[$i]['id']."', '$timestamp_suite', '$serialise', '0', '0');"); - if ($effect) $chapeau->query("UPDATE `$table_flottes` SET `effectue` = '2' WHERE `id` = '$id_flotte';"); - $chapeau->query("UPDATE `$table_planete` SET `debris_met` = '$debriM', `debris_cri` = '$debriC' WHERE `galaxie` = '$end_galaxie' AND `ss` = '$end_ss' AND `position` = '$end_position';"); + if ($queryFlottes[$i]['effectue']) $chapeau->query("UPDATE `$table_flottes_combats` SET `serialize` = '$serialise', `tactiqueAT` = '0', `tactiqueEN` = '0', `timestamp` = '".$combat->timestamp."' WHERE `refflotte` = '$id_flotte';"); + else $chapeau->query("INSERT INTO `$table_flottes_combats` VALUES(NULL, '".$queryFlottes[$i]['id']."', '".$combat->timestamp."', '$serialise', '0', '0');"); } } //Mission Transporter elseif ($mission == 2) { - $planeteEN = $chapeau->unique_query("SELECT `metal`, `cristal`, `hydrogene` FROM `$table_planete` WHERE `galaxie` = '$end_galaxie' AND `ss` = '$end_ss' AND `position` = '$end_position'"); - $Cmetal = $queryFlottes[$i]['contenu_metal'] + $resultatT['metal']; - $Ccristal = $queryFlottes[$i]['contenu_cristal'] + $planeteEN['cristal']; - $Chydrogene = $queryFlottes[$i]['contenu_hydrogene'] + $planeteEN['hydrogene']; - $chapeau->query("UPDATE `$table_planete` SET `metal` = '$Cmetal', `cristal` = '$Ccristal', `hydrogene` = '$Chydrogene' WHERE `galaxie` = '$end_galaxie' AND `ss` = '$end_ss' AND `position` = '$end_position'"); - $chapeau->query("UPDATE `$table_flottes` SET `effectue` = '1', `contenu_metal` = '0', `contenu_cristal` = '0', `contenu_hydrogene` = '0' WHERE `id` = '$id_flotte'"); + $chapeau->query("UPDATE `$table_planete` SET `metal` = `metal` + '".$queryFlottes[$i]['contenu_metal']."', `cristal` = `cristal` + '".$queryFlottes[$i]['contenu_cristal']."', `hydrogene` = `hydrogene` + '".$queryFlottes[$i]['contenu_hydrogene']."' WHERE `galaxie` = '$end_galaxie' AND `ss` = '$end_ss' AND `position` = '$end_position';"); + $chapeau->query("UPDATE `$table_flottes` SET `effectue` = '1', `contenu_metal` = '0', `contenu_cristal` = '0', `contenu_hydrogene` = '0' WHERE `id` = '$id_flotte';"); - $message = mysql_real_escape_string('Vos vaisseaux ont déposés '.$queryFlottes[$i]['contenu_metal'].' de métal, '.$queryFlottes[$i]['contenu_cristal'].' de cristal et '.$queryFlottes[$i]['contenu_hydrogene'].' d\'hydrogène aux coordonnées '.$end_galaxie.':'.$end_ss.':'.$end_position); - $chapeau->query("INSERT INTO `$table_mail` VALUES('', '1', '".trouvNom($queryFlottes[$i]['id_user'])."', '', 'Transport', '$message', '$temps')"); + $rapport = new Rapport($mission, $queryFlottes[$i]['id_user'], $queryEN['id_user'], $end_time); + $rapport->addInfo($queryEN, 0); + $rapport->addInfo(array($queryFlottes[$i]['contenu_metal'], $queryFlottes[$i]['contenu_cristal'], $queryFlottes[$i]['contenu_hydrogene']), 1); + $rapport->send(); } //Mission Coloniser elseif ($mission == 3) { - $chapeau->query("SELECT * FROM `$table_planete` WHERE `galaxie` = '$end_galaxie' AND `ss` = '$end_ss' AND `position` = '$end_position'"); - if (!$chapeau->num_rows > 0) { + $rapport = new Rapport($mission, $queryFlottes[$i]['id_user'], 0, $end_time); + $rapport->addInfo(array($end_galaxie, $end_ss, $end_position), 0); + + if ($queryEN) $rapport->addInfo(false, 1); + else { + $rapport->addInfo(true, 1); $time = time(); $cases = mt_rand(125,222); $image = mt_rand(1,15); @@ -231,72 +171,68 @@ for ($i = 0; $i < $nbFlottes; $i++) { $debut = mktime(rand(0, 24-$tps), 0, 0, date('n'), date('j'), date('Y')); $fin = $debut + $tps * 3600; - $chapeau->query("INSERT INTO `$table_planete` (`id_user`, `isolement`, `nom_planete`, `galaxie`, `ss`, `position`, `image`, `cases`, `timestamp`, `metal`, `cristal`, `hydrogene`) VALUES ('$queryFlottes[$i]['id_user']', '$debut $fin', 'Planète colonisée', '$end_galaxie', '$end_ss', '$end_position', '$image', '$cases', '$time', '$Cmetal', '$Ccristal', '$Chydrogene')"); + $chapeau->query("INSERT INTO `$table_planete` (`id_user`, `isolement`, `nom_planete`, `galaxie`, `ss`, `position`, `image`, `cases`, `timestamp`, `metal`, `cristal`, `hydrogene`) VALUES ('".$queryFlottes[$i]['id_user']."', '$debut $fin', 'Planète colonisée', '$end_galaxie', '$end_ss', '$end_position', '$image', '$cases', '$time', '$Cmetal', '$Ccristal', '$Chydrogene');"); if ($queryFlottes[$i]['nb_vais'] == 1) { $queryFlottes[$i]['nb_vais'] = -1; $chapeau->query("DELETE FROM `$table_flottes` WHERE `id` = '$id_flotte'"); } - else $chapeau->query("UPDATE `$table_flottes` SET `effectue` = '1', `vaisseau_3` = `vaisseau_3` - 1, `nb_vais` = `nb_vais` - 1, `contenu_metal` = '0', `contenu_cristal` = '0', `contenu_hydrogene` = '0' WHERE `id` = '$id_flotte'"); - - $message = 'Votre vaisseau a atteint la planète ['.$end_galaxie.':'.$end_ss.':'.$end_position.'] et commence la colonisation'; - $chapeau->query("INSERT INTO `$table_mail` VALUES('', '1', '".trouvNom($queryFlottes[$i]['id_user'])."', '', 'Colonisation', '$message', '$temps')"); + else $chapeau->query("UPDATE `$table_flottes` SET `effectue` = '1', `vaisseau_3` = `vaisseau_3` - 1, `nb_vais` = `nb_vais` - 1, `contenu_metal` = '0', `contenu_cristal` = '0', `contenu_hydrogene` = '0' WHERE `id` = '$id_flotte';"); } - else $chapeau->query("INSERT INTO `$table_mail` VALUES('', '1', '".trouvNom($queryFlottes[$i]['id_user'])."', '', 'Colonisation', 'Nous n''avons pas pu coloniser la planète [$end_galaxie:$end_ss:$end_position] car lorsque nous sommes arrivé sur place, elle était déjà colonisée.', '$temps')"); + $rapport->send(); } //Mission Recycler elseif ($mission == 4) { - $resultatT = $chapeau->unique_query("SELECT * FROM `$table_planete` WHERE `galaxie` = '$end_galaxie' AND `ss` = '$end_ss' AND `position` = '$end_position'"); - if ($resultatT) { - $queryFlottes[$i]['contenu_max'] -= (vais_conso($queryFlottes[$i]['end_time'], count($queryFlottes[$i]['nb_vais']))*$queryFlottes[$i]['vitesse']*5) + $queryFlottes[$i]['contenu_metal'] + $queryFlottes[$i]['contenu_cristal'] + $queryFlottes[$i]['contenu_hydrogene']; + $capacite = $queryFlottes[$i]['contenu_max'] - (vais_conso($queryFlottes[$i]['end_time'], count($queryFlottes[$i]['nb_vais']))*$queryFlottes[$i]['vitesse']*5) + $queryFlottes[$i]['contenu_metal'] + $queryFlottes[$i]['contenu_cristal'] + $queryFlottes[$i]['contenu_hydrogene']; - $debris_met = $resultatT['debris_met']; - $debris_cri = $resultatT['debris_cri']; - $capacite = $queryFlottes[$i]['contenu_max']; - if ($debris_met+$debris_cri > $capacite) { - $a = floor($capacite/2); - $b = floor($capacite/2); - if ($a > $debris_met && $b > $debris_cri) { - $a = $debris_met; - $b = $debris_cri; - } - else if ($a > $debris_met) { - $a = $debris_met; - $b = ($capacite - $a); - if ($b > $debris_cri) $b = $debris_cri; - } - else if ($b > $debris_cri) { - $b = $debris_cri; - $a = ($capacite - $b); - if ($a > $debris_met) $a = $debris_met; - } - } - else { + $debris_met = $queryEN['debris_met']; + $debris_cri = $queryEN['debris_cri']; + + if ($debris_met+$debris_cri > $capacite) { + $a = floor($capacite/2); + $b = floor($capacite/2); + if ($a > $debris_met && $b > $debris_cri) { $a = $debris_met; $b = $debris_cri; } - $Cmetal = $a + $queryFlottes[$i]['contenu_metal']; - $Ccristal = $b + $queryFlottes[$i]['contenu_cristal']; - $debris_met -= $a; - $debris_cri -= $b; - - $chapeau->query("UPDATE `$table_flottes` SET `effectue` = '1', `contenu_metal` = '$Cmetal', `contenu_cristal` = '$Ccristal' WHERE `id` = '$id_flotte'"); - $chapeau->query("UPDATE `$table_planete` SET `debris_met` = '$debris_met', `debris_cri` = '$debris_cri' WHERE `galaxie` = '$end_galaxie' AND `ss` = '$end_ss' AND `position` = '$end_position'"); - - $message = 'Vos vaisseaux récoltent '.$a.' de métal et '.$b.' de cristal aux coordonnées '.$end_galaxie.':'.$end_ss.':'.$end_position; - $chapeau->query("INSERT INTO `$table_mail` VALUES('', '1', '".trouvNom($queryFlottes[$i]['id_user'])."', '', 'Recyclage', '$message', '$temps')"); + else if ($a > $debris_met) { + $a = $debris_met; + $b = ($capacite - $a); + if ($b > $debris_cri) $b = $debris_cri; + } + else if ($b > $debris_cri) { + $b = $debris_cri; + $a = ($capacite - $b); + if ($a > $debris_met) $a = $debris_met; + } } + else { + $a = $debris_met; + $b = $debris_cri; + } + $Cmetal = $a + $queryFlottes[$i]['contenu_metal']; + $Ccristal = $b + $queryFlottes[$i]['contenu_cristal']; + + $chapeau->query("UPDATE `$table_flottes` SET `effectue` = '1', `contenu_metal` = '$Cmetal', `contenu_cristal` = '$Ccristal' WHERE `id` = '$id_flotte';"); + $chapeau->query("UPDATE `$table_planete` SET `debris_met` = `debris_met` - '$a', `debris_cri` = `debris_cri` - '$b' WHERE `galaxie` = '$end_galaxie' AND `ss` = '$end_ss' AND `position` = '$end_position';"); + + $rapport = new Rapport($mission, $queryFlottes[$i]['id_user'], $queryEN['id_user'], $end_time); + $rapport->addInfo($queryEN, 0); + $rapport->addInfo(array($a, $b), 1); + $rapport->send(); } + //Mission Espionnage elseif ($mission == 5) { + $chapeau->query("UPDATE `$table_flottes` SET `effectue` = '1' WHERE `id` = '$id_flotte';"); $nbsondes = $queryFlottes[$i]['vaisseau_3']; - $resultatT = $chapeau->unique_query("SELECT * FROM `$table_planete` WHERE `galaxie` = '$end_galaxie' AND `ss` = '$end_ss' AND `position` = '$end_position'"); - $id_userT = $resultatT['id_user']; + $id_userT = $queryEN['id_user']; $id_att = $queryFlottes[$i]['id_user']; $resultatUD = $chapeau->unique_query("SELECT * FROM `$table_user` WHERE `id` = '$id_userT';"); $resultatUA = $chapeau->unique_query("SELECT * FROM `$table_user` WHERE `id` = '$id_att';"); $diffNiveau = $resultatUA['detection'] - $resultatUD['detection'] + floor($nbsondes/2); - $rapport = new Rapport($mission, $id_att, $id_userT, $queryFlottes[$i]['start_time'] + $queryFlottes[$i]['end_time']); + $rapport = new Rapport($mission, $id_att, $id_userT, $end_time); + if ($diffNiveau < 0) { $rapport->addInfo($resultatT, 0); $rapport->addInfo(false, 1); @@ -308,31 +244,41 @@ for ($i = 0; $i < $nbFlottes; $i++) { if ($diffNiveau >= 4) $rapport->addInfo($resultatUD, 4); if ($diffNiveau >= 5) $rapport->addInfo(true, 5); - $chapeau->query("UPDATE `$table_flottes` SET `effectue` = '1' WHERE `id` = '$id_flotte'"); $rapport->send(); } } - if ($queryFlottes[$i]['nb_vais'] >= 0 && time() >= $queryFlottes[$i]['start_time'] + $queryFlottes[$i]['end_time'] * 2 && !empty($queryFlottes[$i]['end_time']) && $queryFlottes[$i]['mission'] != 0 && ($queryFlottes[$i]['mission'] != 1 || (!empty($queryFlottes[$i]['ret_time']) && time() >= $queryFlottes[$i]['ret_time'] + $queryFlottes[$i]['end_time']))) { + + //Si la flotte a terminé son retour + if ($queryFlottes[$i]['nb_vais'] >= 0 && $queryFlottes[$i]['effectue']) { $start_galaxie = $queryFlottes[$i]['start_galaxie']; $start_ss = $queryFlottes[$i]['start_ss']; $start_position = $queryFlottes[$i]['start_position']; $ret_galaxie = $queryFlottes[$i]['ret_galaxie']; $ret_ss = $queryFlottes[$i]['ret_ss']; $ret_position = $queryFlottes[$i]['ret_position']; - $id_flotte = $queryFlottes[$i]['id']; - if (!empty($queryFlottes[$i]['ret_position'])) $resultatP = $chapeau->unique_query("SELECT * FROM `$table_planete` WHERE `galaxie` = '$ret_galaxie' AND `ss` = '$ret_ss' AND `position` = '$ret_position';"); - else $resultatP = $chapeau->unique_query("SELECT * FROM `$table_planete` WHERE `galaxie` = '$start_galaxie' AND `ss` = '$start_ss' AND `position` = '$start_position';"); - $metal = $queryFlottes[$i]['contenu_metal'] + $resultatP['metal']; - $cristal = $queryFlottes[$i]['contenu_cristal'] + $resultatP['cristal']; - $hydrogene = $queryFlottes[$i]['contenu_hydrogene'] + $resultatP['hydrogene']; - for($j = 1; $j <= 12; $j++) { - ${'Pvaisseaux_'.$j} = $resultatP['vaisseau_'.$j] + $queryFlottes[$i]['vaisseau_'.$j]; - $chapeau->query("UPDATE `$table_planete` SET `vaisseau_$j` = '${'Pvaisseaux_'.$j}' WHERE `galaxie` = '$start_galaxie' AND `ss` = '$start_ss' AND `position` = '$start_position'"); + $retour = false; + if (!empty($queryFlottes[$i]['ret_position']) && time() >= $queryFlottes[$i]['ret_time']) { + if ($chapeau->unique_query("SELECT * FROM `$table_planete` WHERE `galaxie` = '$ret_galaxie' AND `ss` = '$ret_ss' AND `position` = '$ret_position';")) { + $export = ''; + for($j = 1; $j <= 12; $j++) { + $export .= ', `vaisseau_'.$j.'` = `vaisseau_'.$j.'` + '.$queryFlottes[$i]['vaisseau_'.$j]; + } + $chapeau->query("UPDATE `$table_planete` SET `metal` = `metal` + '".$queryFlottes[$i]['contenu_metal']."', `cristal` = `cristal` + '".$queryFlottes[$i]['contenu_cristal']."', `hydrogene` = `hydrogene` + '".$queryFlottes[$i]['contenu_hydrogene']."'$export WHERE `galaxie` = '$ret_galaxie' AND `ss` = '$ret_ss' AND `position` = '$ret_position';"); + $chapeau->query("DELETE FROM `$table_flottes` WHERE `id_user` = '".$queryFlottes[$i]['id_user']."' AND `id` = '$id_flotte';"); + } + } + elseif (time() >= $queryFlottes[$i]['ret_time']) $retour = true; + elseif (time() >= $queryFlottes[$i]['start_time'] + $queryFlottes[$i]['end_time'] * 2 && $queryFlottes[$i]['mission'] != 0 && ($queryFlottes[$i]['mission'] != 1 || (!empty($queryFlottes[$i]['ret_time']) && time() >= $queryFlottes[$i]['ret_time'] + $queryFlottes[$i]['end_time']))) $retour = true; + if ($retour) { + if ($chapeau->unique_query("SELECT * FROM `$table_planete` WHERE `galaxie` = '$start_galaxie' AND `ss` = '$start_ss' AND `position` = '$start_position';")) { + $export = ''; + for($j = 1; $j <= 12; $j++) { + $export .= ', `vaisseau_'.$j.'` = `vaisseau_'.$j.'` + '.$queryFlottes[$i]['vaisseau_'.$j]; + } + $chapeau->query("UPDATE `$table_planete` SET `metal` = `metal` + '".$queryFlottes[$i]['contenu_metal']."', `cristal` = `cristal` + '".$queryFlottes[$i]['contenu_cristal']."', `hydrogene` = `hydrogene` + '".$queryFlottes[$i]['contenu_hydrogene']."'$export WHERE `galaxie` = '$start_galaxie' AND `ss` = '$start_ss' AND `position` = '$start_position';"); + $chapeau->query("DELETE FROM `$table_flottes` WHERE `id_user` = '".$queryFlottes[$i]['id_user']."' AND `id` = '$id_flotte';"); + } } - $chapeau->query("UPDATE `$table_planete` SET `metal` = '$metal', `cristal` = '$cristal', `hydrogene` = '$hydrogene' WHERE `galaxie` = '$start_galaxie' AND `ss` = '$start_ss' AND `position` = '$start_position'"); - $chapeau->query("DELETE FROM `$table_flottes` WHERE `id_user` = '$id_user' AND `id` = '$id_flotte'"); } } - -$id_user = $sess->values['id']; ?> \ No newline at end of file diff --git a/includes/noms.php b/includes/noms.php index e5e0ae3..7ccfa7a 100644 --- a/includes/noms.php +++ b/includes/noms.php @@ -54,12 +54,12 @@ if (!isset($auth_level)) @$auth_level = $sess->values['auth_level']; 'Le plus puissant et probablement le plus craint de tous les vaisseaux Covenants. Le Séraphin est le principal vaisseau offensif dans l’espace et peut être employé comme bombardier aérien. Le Séraphin est d\'environ trois fois la taille d\'un Banshee, il possède plusieurs canons de plasma qu\'il utilise lors des engagements aériens pour éliminer des opposants de type LongsWord et Pélican.', 'La frégate covenante est un vaisseau de tonnage moyen composant majoritairement les flottes habituelles. Équipée de lasers à impulsion et de lanceurs de torpilles au plasma latéraux, elle possède ainsi une puissance de feu raisonnable. Sa coque est aussi protégée par un bouclier énergétique la rendant beaucoup plus difficile à détruire.', 'Ce vaisseau redoutable et titanesque sème sans le moindre doute la terreur chez l\'ennemi. Armé d\'un bout à l\'autre de lasers à impulsion, de torpilles au plasma et de bien d\'autres armes, ce croiseur est une arme extraordinaire à ne jamais sous estimer.', - 'Un des plus grands vaisseaux de combat covenant, mesurant 3000 mètres. Équipé de deux canons à projection énergétique et de sept lanceurs de torpilles, il est d\'une puissance extraordinaire. Le seul problème résidant dans le fait que son équipement demande une capacité d\'énergie phénoménale.', + 'Un des plus grands vaisseaux de combat covenant, mesurant 3000 mètres. Équipé de deux canons à projection énergétique et de sept lanceurs de torpilles, il est d\'une puissance extraordinaire. Le seul problème réside dans le fait que son équipement demande une capacité d\'énergie phénoménale.', 'Comme son nom l\'indique, son principal rôle est de transporter des chasseurs Seraphins, des Spirits ou d\'autres vaisseaux de taille similaire. Armé de quelques lasers à impulsion, le porte vaisseau reste un vaisseau de support plutôt qu\'un vaisseau de confrontation directe. Hypothétiquement parlant, sa capacité de tir est légèrement supérieure à celui d\'une corvette.', 'La station spatiale covenante, construite a même un astéroide, possède un canon plasma d\'une centaine de mettre de long projetant une sphère de plasma atteignant une chaleur proche de celle du coeur d\'un soleil. Également équipé de tourelle automatique pour les chasseurs d\'efficacité moyenne, se poste orbital covenant est une arme défensive terrifiante pour toute adversaire de haut niveau ou non.', 'Le vaisseau ultime de la flotte covenante, long de plus de 5400 mètres. Ce vaisseau est capable de transporter des quantités de chasseurs hors du commun. Armé de projecteurs énergétique et de laser à impulsion, ce vaisseau est le plus puissant après la station spatiale.'); - $nomterra = array('banshee(s)','spirit(s)','phantom','boarding craft','ghost(s)','shadow','spectre(s)','appartition(s)','shade','strong shade','tourelle(s) à barreau de combustible','canon(s) à plasma','lanceur(s) de torpilles plasma'); - $nomterrn = array('Banshees', 'Spirit', 'Phantom', 'Boarding craft', 'Ghost', 'Shadow', 'Spectre', 'Appartition', 'Shade', 'Strong shade', 'Tourelle à barreau de combustible', 'Canon à plasma', 'Lanceur de torpilles plasma'); + $nomterra = array('banshee(s)','spirit(s)','phantom','boarding craft','ghost(s)','shadow','spectre(s)','apparition(s)','shade','strong shade','tourelle(s) à barreau de combustible','canon(s) à plasma','lanceur(s) de torpilles plasma'); + $nomterrn = array('Banshees', 'Spirit', 'Phantom', 'Boarding craft', 'Ghost', 'Shadow', 'Spectre', 'Apparition', 'Shade', 'Strong shade', 'Tourelle à barreau de combustible', 'Canon à plasma', 'Lanceur de torpilles plasma'); $nomterri = array('bansheeqp0.jpg', 'spirit1.jpg', 'phantomfu2.jpg', 'boardingcraft.jpg', 'ghostic1.jpg', 'shadow.jpg', 'spectre.jpg', 'wraith.jpg', 'shade.jpg', 'strongshade.jpg', 'tourellebarreau.jpg', 'tourelle.jpg', 'lanceur_torpilles.jpg'); $nomterde = array( 'Rapide et maniable, le Banshee est un formidable véhicule d\'assaut aérien, efficacement blindé contre les armes à feu légères mais ne résistant cependant pas aux armes plus lourdes. Le canon à combustible dont il est équipé en fait un bombardier dangereux tout autant qu\'un chasseur rapide. Le Banshee a la possibilité de faire des tonneaux et des vrilles, ce qui serait impossible pour des véhicules à l\'aérodynamique conventionnelle.', 'Le spirit est une navette de transport de troupes terrestre. De capacité moyenne, il peut transporter un petit contingent armé dans les zones les plus repoussées des planètes. Le spirit est équipé d\'une tourelle de type shade de puissance moyenne, qui permet de maintenir les troupes ennemis à distance jusqu\'à ce que le largage des troupes soit effectué.
Malheureusement, un manque d\'espace empêche l\'installation de générateur énergétique plus puissant qui pourrait supporter des boucliers standards ou même de faible intensité.', @@ -71,7 +71,7 @@ if (!isset($auth_level)) @$auth_level = $sess->values['auth_level']; 'Lent, massif et constituant une cible de taille, ce véhicule n\'en demeure pas moins le blindé covenant le plus destructeur. Ce géant de métal est bien protégé. Le tir de couverture qu\'il peut effectuer grâce à ses mortiers à plasma redoutables en fait un ennemi incroyablement dangereux. Le fait qu\'il soit piloté par une seule personne qui contrôle le véhicule et le système d\'armement limite quelque peu son champ de manoeuvre.', 'Les tourelles shades sont des canons stationnaires énergétiques covenant composés de deux parties, la première étant une base stable à trois pieds pour la stabilité de l’appareil, la deuxième, un siège où le canon est fixé retenu par un champ gravitationnel artificiel. Ce canon lorsqu’il tire, envoie 3 « éclairs » relativement lents et d’efficacité moyenne.', 'Cette tourelle est une version améliorée de la shade standard. Dans les modifications de la tourelle, le système d’accélération magnétique a été révisé pour le rendre plus performant, aboutissant à des rayons plus rapides. Également, un bouclier a été ajouté à l’avant, protégeant ainsi l’utilisateur des attaques aux armes à projectiles de petit et moyen calibre pendant une période de quelques secondes lors de feux nourris.', - 'La tourelle à barreau de combustible est une version fixe de ceux des hunters avec un système de visé amélioré et de condensateur ionique permettent de tirer trois rafales à la suite sans surcharger les relais du générateur. De puissance moyenne, elle est capable de détruire facilement des warthogs et autres véhicules légers avec une facilité hors norme.', + 'La tourelle à barreau de combustible est une version fixe de ceux des hunters avec un système de visée amélioré et de condensateur ionique permettent de tirer trois rafales à la suite sans surcharger les relais du générateur. De puissance moyenne, elle est capable de détruire facilement des warthogs et autres véhicules légers avec une facilité hors norme.', 'Le canon à plasma n’a pas besoin de canonnier pour tirer puisque équipé d’un système de visée automatisé, il utilise une technologie d’intelligence artificielle rudimentaire pour ensuite envoyer un projectile de plasma surchauffé à haute vitesse carbonisant tout sur son passage.', 'Utilisant un principe similaire de la tourelle à plasma, le lanceur de torpilles plasma utilise un condensateur de matière pour condenser le flux de plasma surchauffé en une masse de destruction pure. Ce système est le système de défense terrestre le plus évolué jamais construit. Son défaut majeur reste sa cadence de tire lente, limitant sa défense face à de multiples adversaires.'); } diff --git a/includes/onyx/config.xconf b/includes/onyx/config.xconf index cce0f33..e2f310d 100644 --- a/includes/onyx/config.xconf +++ b/includes/onyx/config.xconf @@ -13,7 +13,7 @@ fuseau_horaire: "2" locales: "fr_FR" lang: "FRA" db_host: "localhost" -db_name: "hb" +db_name: "halo_battle" db_prefix: "" serv_adresse: "http://hb.s-fr.com/" smiley_dir: "images/smiles/" diff --git a/includes/onyx/logs/31-05-2008.xlog b/includes/onyx/logs/31-05-2008.xlog new file mode 100644 index 0000000..c408815 --- /dev/null +++ b/includes/onyx/logs/31-05-2008.xlog @@ -0,0 +1,4 @@ +[01:34:31] MESSAGE : Envoie d'une flotte , [127.0.0.1] [POST] [/?p=flotte] [Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9) Gecko/2008051206 Firefox/3.0] [http://halobattle.local/?p=flotte] +[01:53:49] MESSAGE : Envoie d'une flotte , [127.0.0.1] [POST] [/?p=flotte] [Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9) Gecko/2008051206 Firefox/3.0] [http://halobattle.local/?p=flotte] +[02:00:40] MESSAGE : Envoie d'une flotte , [127.0.0.1] [POST] [/?p=flotte] [Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9) Gecko/2008051206 Firefox/3.0] [http://halobattle.local/?p=flotte] +[04:00:06] MESSAGE : Envoie d'une flotte , [127.0.0.1] [POST] [/?p=flotte] [Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9) Gecko/2008051206 Firefox/3.0] [http://halobattle.local/?p=flotte] diff --git a/includes/onyx/templates/templates/game/ATrapport_combat.tpl b/includes/onyx/templates/templates/game/ATrapport_combat.tpl index 643a1c2..881f4e1 100644 --- a/includes/onyx/templates/templates/game/ATrapport_combat.tpl +++ b/includes/onyx/templates/templates/game/ATrapport_combat.tpl @@ -24,8 +24,8 @@ Lieux du combat : {$groupe.0} - {if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc}%){/if} - {if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv}%) + {if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc|string_format:"%d"}%){/if} + {if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv|string_format:"%d"}%) {/foreach} @@ -55,8 +55,8 @@ Lieux du combat : {$groupe.0} - {if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc}%){/if} - {if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv}%) + {if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc|string_format:"%d"}%){/if} + {if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv|string_format:"%d"}%) {/foreach} @@ -83,10 +83,11 @@ Lieux du combat : {foreach from=$vaisseau.3 item=groupe} +{assign var="pourcent_pv" value="`$groupe[2]*100/$defPV[$nom]`"} - - + + {/foreach}
{$groupe.0}{if $groupe.1 > 99}Complet{elseif $groupe.1 > 80}Bon{elseif $groupe.1 > 60}Correct{elseif $groupe.1 > 40}Moyen{elseif $groupe.1 > 20}Bas{elseif $groupe.1 > 20}Critique{/if}{$groupe.2}{if $defBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$defBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc|string_format:"%d"}%){/if}{if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv|string_format:"%d"}%)
@@ -116,8 +117,8 @@ Lieux du combat :
{$groupe.0} - {if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc}%){/if} - {if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv}%) + {if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc|string_format:"%d"}%){/if} + {if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv|string_format:"%d"}%) {/foreach} @@ -147,8 +148,8 @@ Lieux du combat : {$groupe.0} - {if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc}%){/if} - {if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv}%) + {if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc|string_format:"%d"}%){/if} + {if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv|string_format:"%d"}%) {/foreach} @@ -175,10 +176,11 @@ Lieux du combat : {foreach from=$vaisseau.3 item=groupe} +{assign var="pourcent_pv" value="`$groupe[2]*100/$defPV[$nom]`"} - - + + {/foreach}
{$groupe.0}{$groupe.1}{$groupe.2}{if $defBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$defBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc|string_format:"%d"}%){/if}{if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv|string_format:"%d"}%)
diff --git a/includes/onyx/templates/templates/game/ENrapport_combat.tpl b/includes/onyx/templates/templates/game/ENrapport_combat.tpl index 2a1007b..294dfd9 100644 --- a/includes/onyx/templates/templates/game/ENrapport_combat.tpl +++ b/includes/onyx/templates/templates/game/ENrapport_combat.tpl @@ -24,8 +24,8 @@ Lieux du combat :
{$groupe.0} - {if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc}%){/if} - {if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv}%) + {if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc|string_format:"%d"}%){/if} + {if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv|string_format:"%d"}%) {/foreach} @@ -52,10 +52,11 @@ Lieux du combat : {foreach from=$vaisseau.3 item=groupe} +{assign var="pourcent_pv" value="`$groupe[2]*100/$defPV[$nom]`"} - - + + {/foreach}
{$groupe.0}{if $groupe.1 > 99}Complet{elseif $groupe.1 > 80}Bon{elseif $groupe.1 > 60}Correct{elseif $groupe.1 > 40}Moyen{elseif $groupe.1 > 20}Bas{elseif $groupe.1 > 20}Critique{/if}{$groupe.2}{if $defBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$defBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc|string_format:"%d"}%){/if}{if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv|string_format:"%d"}%)
@@ -85,8 +86,8 @@ Lieux du combat :
{$groupe.0} - {if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc}%){/if} - {if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv}%) + {if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc|string_format:"%d"}%){/if} + {if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv|string_format:"%d"}%) {/foreach} @@ -116,8 +117,8 @@ Lieux du combat : {$groupe.0} - {if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc}%){/if} - {if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv}%) + {if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc|string_format:"%d"}%){/if} + {if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv|string_format:"%d"}%) {/foreach} @@ -144,10 +145,11 @@ Lieux du combat : {foreach from=$vaisseau.3 item=groupe} +{assign var="pourcent_pv" value="`$groupe[2]*100/$defPV[$nom]`"} - - + + {/foreach}
{$groupe.0}{$groupe.1}{$groupe.2}{if $defBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$defBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc|string_format:"%d"}%){/if}{if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv|string_format:"%d"}%)
@@ -177,8 +179,8 @@ Lieux du combat :
{$groupe.0} - {if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc}%){/if} - {if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv}%) + {if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc|string_format:"%d"}%){/if} + {if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv|string_format:"%d"}%) {/foreach} diff --git a/includes/onyx/templates/templates/game/SIMrapport_combat.tpl b/includes/onyx/templates/templates/game/SIMrapport_combat.tpl new file mode 100644 index 0000000..61a8ae7 --- /dev/null +++ b/includes/onyx/templates/templates/game/SIMrapport_combat.tpl @@ -0,0 +1,196 @@ +{include file='game/header.tpl'} +
+Le combat est terminé !

+Nombre de tour : {$tour}

+Vaisseaux à la fin du tour de notre côté : + + + + + + + + + + +{foreach from=$vaisseaux3 item=vaisseau} +{assign var="nom" value="`$vaisseau[0]-1`"} + + + + +{/foreach} + +
VaisseauxNbEtat bouclierEtat PV
{$vaisseau.1} {$nomvaisAT[$nom]} + +{foreach from=$vaisseau.3 item=groupe} +{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"} + + + + + +{/foreach} +
{$groupe.0}{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc|string_format:"%d"}%){/if}{if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv|string_format:"%d"}%)
+
+
Vaisseaux ennemi à la fin du tour : + + + + + + + + + + +{foreach from=$vaisseaux4 item=vaisseau} +{assign var="nom" value="`$vaisseau[0]-1`"} + + + + +{/foreach} + +
VaisseauxNbEtat bouclierEtat PV
{$vaisseau.1} {$nomvaisEN[$nom]} + +{foreach from=$vaisseau.3 item=groupe} +{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"} + + + + + +{/foreach} +
{$groupe.0}{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc|string_format:"%d"}%){/if}{if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv|string_format:"%d"}%)
+
+
Défenses ennemi à la fin du tour : + + + + + + + + + + +{foreach from=$defenses2 item=vaisseau} +{assign var="nom" value="`$vaisseau[0]-1`"} + + + + +{/foreach} + +
DéfensesNbEtat bouclierEtat PV
{$vaisseau.1} {$nomdefEN[$nom]} + +{foreach from=$vaisseau.3 item=groupe} +{assign var="pourcent_pv" value="`$groupe[2]*100/$defPV[$nom]`"} + + + + + +{/foreach} +
{$groupe.0}{if $defBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$defBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc|string_format:"%d"}%){/if}{if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv|string_format:"%d"}%)
+
+

Vaisseaux au début du tour de notre côté : + + + + + + + + + + +{foreach from=$vaisseaux1 item=vaisseau} +{assign var="nom" value="`$vaisseau[0]-1`"} + + + + +{/foreach} + +
VaisseauxNbEtat bouclierEtat PV
{$vaisseau.1} {$nomvaisAT[$nom]} + +{foreach from=$vaisseau.3 item=groupe} +{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"} + + + + + +{/foreach} +
{$groupe.0}{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc|string_format:"%d"}%){/if}{if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv|string_format:"%d"}%)
+
+
Vaisseaux ennemi au début du tour : + + + + + + + + + + +{foreach from=$vaisseaux2 item=vaisseau} +{assign var="nom" value="`$vaisseau[0]-1`"} + + + + +{/foreach} + +
VaisseauxNbEtat bouclierEtat PV
{$vaisseau.1} {$nomvaisEN[$nom]} + +{foreach from=$vaisseau.3 item=groupe} +{assign var="pourcent_pv" value="`$groupe[2]*100/$vaisPV[$nom]`"} + + + + + +{/foreach} +
{$groupe.0}{if $vaisBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$vaisBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc|string_format:"%d"}%){/if}{if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv|string_format:"%d"}%)
+
+
Défenses ennemi au début du tour : + + + + + + + + + + +{foreach from=$defenses1 item=vaisseau} +{assign var="nom" value="`$vaisseau[0]-1`"} + + + + +{/foreach} + +
DéfensesNbEtat bouclierEtat PV
{$vaisseau.1} {$nomdefEN[$nom]} + +{foreach from=$vaisseau.3 item=groupe} +{assign var="pourcent_pv" value="`$groupe[2]*100/$defPV[$nom]`"} + + + + + +{/foreach} +
{$groupe.0}{if $defBC[$nom] == 0}Inexistant{else}{assign var="pourcent_bc" value="`$groupe[1]*100/$defBC[$nom]`"}{if $pourcent_bc > 99}Complet{elseif $pourcent_bc > 80}Bon{elseif $pourcent_bc > 60}Correct{elseif $pourcent_bc > 40}Moyen{elseif $pourcent_bc > 20}Bas{elseif $pourcent_bc == 0}Détruit{else}Critique{/if} ({$pourcent_bc|string_format:"%d"}%){/if}{if $pourcent_pv > 99}Complet{elseif $pourcent_pv > 80}Bon{elseif $pourcent_pv > 60}Correct{elseif $pourcent_pv > 40}Moyen{elseif $pourcent_pv > 20}Bas{elseif $pourcent_pv == 0}Détruit{else}Critique{/if} ({$pourcent_pv|string_format:"%d"}%)
+
+
+{if !$termine}Le combat n'est pas terminé ! +{elseif $attaquantG}Nous avons gagné le combat !
Nous repartons avec {$pillage.0} {$ressources.0}, {$pillage.1} {$ressources.1} et {$pillage.2} {$ressources.2}.
+{else}Nous avons perdu le combat !{/if} +
+{include file='game/footer.tpl'} \ No newline at end of file diff --git a/includes/onyx/templates/templates/game/header.tpl b/includes/onyx/templates/templates/game/header.tpl index baa320d..e1fe2bf 100644 --- a/includes/onyx/templates/templates/game/header.tpl +++ b/includes/onyx/templates/templates/game/header.tpl @@ -38,7 +38,7 @@ {if $page == "ressources"}Ressources{else}
Ressources{/if} {if $page == "gestion" || $page == "rename"}Gestion{else}Gestion{/if} {if $page == "flotte1" || $page == "flotte2"}Flottes{else}Flottes{/if} {if $page == "armee"}Armée{else}Armée{/if} {if $page == "carte"}Carte spatiale{else}Carte spatiale{/if} {if $page == "options"}Options{else}Options{/if}
{if $page == "messagerie" || $page == "envoyer"}Messages et rapports{else}{if $alertMail}Messages et rapports ({$alertMail}){else}Messages et rapports{/if}{/if} {if $page == "alliance"}Alliance{else}Alliance{/if} {if $page == "classement"}Classement{else}Classement{/if} {if $page == "chat"}Chat{else}Chat{/if} {if $page == "forums"}Forums{else}Forums{/if} {if $page == "bugs"}Rapports de bug{else}Rapports de bug{/if} {if $page == "faq"}F.A.Q.{else}F.A.Q.{/if} Déconnexion
{/if} -{if $page != "admin" && $page != "messagerie" && $page != "envoyer" && $page != "bugs" && $page != "carte" && $page != "classement" && $page != "options" && $page != "vp"} +{if $page != "admin" && $page != "messagerie" && $page != "envoyer" && $page != "bugs" && $page != "carte" && $page != "classement" && $page != "options" && $page != "simulation" && $page != "vp"}
planète diff --git a/includes/onyx/templates/templates/game/messagerie.tpl b/includes/onyx/templates/templates/game/messagerie.tpl index fe53334..12a50bf 100644 --- a/includes/onyx/templates/templates/game/messagerie.tpl +++ b/includes/onyx/templates/templates/game/messagerie.tpl @@ -9,7 +9,7 @@
{$message.0} de {$message.2} à {$message.1}
{$message.3|nl2br}
{/foreach} -


Supprimer le sélection :

+


Supprimer la sélection :

Rapports

@@ -18,7 +18,7 @@
{$rapport.0} à {$rapport.1}
{$rapport.3}
{/foreach} -


Supprimer le sélection :

+


Supprimer la sélection :

{include file='game/footer.tpl'} \ No newline at end of file diff --git a/includes/onyx/templates/templates/game/simulateur_combat.tpl b/includes/onyx/templates/templates/game/simulateur_combat.tpl new file mode 100644 index 0000000..24a17d3 --- /dev/null +++ b/includes/onyx/templates/templates/game/simulateur_combat.tpl @@ -0,0 +1,53 @@ +{include file='game/header.tpl'} +
+
+

Vaisseaux de l'attaquant

+
+ + + + + + + + + + + +
+

Vaisseaux et défenses du défenseur

+
+ + + + + + + + + + + + +


+ + + + + +
+

Autres paramètres

+
+ + + +
+
+ + + +
+ +
+
+{include file='game/footer.tpl'} \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%04^048^0483A7BB%%chantierterrestre.tpl.php b/includes/onyx/templates/templates_c/%%04^048^0483A7BB%%chantierterrestre.tpl.php new file mode 100644 index 0000000..303c7bb --- /dev/null +++ b/includes/onyx/templates/templates_c/%%04^048^0483A7BB%%chantierterrestre.tpl.php @@ -0,0 +1,100 @@ + + array(array('modifier', 'lower', 'game/chantierterrestre.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); + ?> +
+

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['fterr']): +?> + _tpl_vars['key'] == 0): ?>Prochaine unité : + + _tpl_vars['fterr']['1']; ?> + _tpl_vars['fterr']['3']; ?> + - + - Annuler un - Annuler tous + + _tpl_vars['Vchaine']): ?>Aucune unité dans la file d'attente +
+
+

Arbre des technologies


+

Chantier terrestre

+ +_tpl_vars['unite']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['unite']): +?> + + + + + +
+ + Unité terrestre + _tpl_vars['unite']['description']; ?> + + + +
+ _tpl_vars['unite']['nom']; ?> +_tpl_vars['unite']['nombre'] > 0): ?> (_tpl_vars['unite']['nombre']; ?> + unite_tpl_vars['unite']['nombre'] > 1): ?>x)

+ _tpl_vars['unite']['nec_metal'] > 0): ?> + _tpl_vars['unite']['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['unite']['nec_metalS']; ?> +
+ Coût _tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['unite']['nec_metalS']; ?> +
+ + _tpl_vars['unite']['nec_cristal'] > 0): ?> + _tpl_vars['unite']['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['unite']['nec_cristalS']; ?> +
+ Coût _tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['unite']['nec_cristalS']; ?> +
+ + _tpl_vars['unite']['nec_hydrogene'] > 0): ?> + _tpl_vars['unite']['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['unite']['nec_hydrogeneS']; ?> +
+ Coût _tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['unite']['nec_hydrogeneS']; ?> +
+ + Temps de construction : _tpl_vars['unite']['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/%%05^056^056EB1C9%%description.tpl.php b/includes/onyx/templates/templates_c/%%05^056^056EB1C9%%description.tpl.php new file mode 100644 index 0000000..279459a --- /dev/null +++ b/includes/onyx/templates/templates_c/%%05^056^056EB1C9%%description.tpl.php @@ -0,0 +1,131 @@ + +_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); + ?> +
+

Détails _tpl_vars['type']; ?> + : _tpl_vars['nom']; ?> +

+ + + + + + + + + + + + + + +_tpl_vars['caract']): ?> + + + + + + + + +
_tpl_vars['nom']; ?> +
Actuellement : _tpl_vars['type'] != 'vaisseaux' && $this->_tpl_vars['type'] != 'terrestre'): ?>niveau _tpl_vars['niveau']; ?> +_tpl_vars['type'] == 'vaisseaux' || $this->_tpl_vars['type'] == 'terrestre'): ?> unités
_tpl_vars['description']; ?> +
+ + + + + + + +_tpl_vars['ressourcesNext']['0']): ?> + + + + + +_tpl_vars['ressourcesNext']['1']): ?> + + + + + +_tpl_vars['ressourcesNext']['2']): ?> + + + + + + + + + + +
Coûts _tpl_vars['type'] == 'vaisseaux' || $this->_tpl_vars['type'] == 'terrestre'): ?>unitéprochain niveau
_tpl_vars['nomsressources']['0']; ?> +_tpl_vars['ressourcesNext']['0']; ?> +
_tpl_vars['nomsressources']['1']; ?> +_tpl_vars['ressourcesNext']['1']; ?> +
_tpl_vars['nomsressources']['2']; ?> +_tpl_vars['ressourcesNext']['2']; ?> +
Temps_tpl_vars['ressourcesNext']['3']; ?> +
+
+ + + + + + + + + + + + + + + + + + + +_tpl_vars['caract']['3']): ?> + + + + + + +
Caractéristiques
Attaque_tpl_vars['caract']['0']; ?> +
Bouclier_tpl_vars['caract']['1']; ?> +
Points de vie_tpl_vars['caract']['2']; ?> +
Capacité de transport_tpl_vars['caract']['3']; ?> +
+
+ + + + + + + + + + + +
Requiert
_tpl_vars['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/%%0A^0A4^0A4D5AE7%%vflotte.tpl.php b/includes/onyx/templates/templates_c/%%0A^0A4^0A4D5AE7%%vflotte.tpl.php new file mode 100644 index 0000000..c198431 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%0A^0A4^0A4D5AE7%%vflotte.tpl.php @@ -0,0 +1,54 @@ + + array(array('modifier', 'date_format', 'admin/vflotte.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); + ?> +
+

Vérification des flottes

+ + + + + + + + + + + +_tpl_vars['flottes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['flotte']): +?> + _tpl_vars['flotte']['6']): ?> style="background-color: #_tpl_vars['ip']['6']; ?> +;"> + + + + + + + + +
UtilisateursDépart
Arrivé
Retour
DuréesVaisseaux
Vitesse
Contenu
_tpl_vars['flotte']['0']; ?> +
_tpl_vars['flotte']['2']; ?> +
_tpl_vars['flotte']['3']; ?> + _tpl_vars['flotte']['4']; ?> +
_tpl_vars['flotte']['5']; ?> + _tpl_vars['flotte']['6']; ?> +
_tpl_vars['flotte']['7'])) ? $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['flotte']['8']; ?> +
_tpl_vars['flotte']['9']; ?> +
Métal : _tpl_vars['flotte']['10']; ?> +
Cristal : _tpl_vars['flotte']['11']; ?> +
Hydrogène : _tpl_vars['flotte']['12']; ?> +
+_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/%%0F^0F6^0F669F30%%prochainement.tpl.php b/includes/onyx/templates/templates_c/%%0F^0F6^0F669F30%%prochainement.tpl.php new file mode 100644 index 0000000..967c12d --- /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..edf1071 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%14^14B^14B41601%%arbre.tpl.php @@ -0,0 +1,84 @@ + +_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/%%18^18A^18A2DC5A%%laboratoire.tpl.php b/includes/onyx/templates/templates_c/%%18^18A^18A2DC5A%%laboratoire.tpl.php new file mode 100644 index 0000000..956ec65 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%18^18A^18A2DC5A%%laboratoire.tpl.php @@ -0,0 +1,115 @@ + + array(array('modifier', 'lower', 'game/laboratoire.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['flab']): +?> + _tpl_vars['flab']['3']; ?> + - - Annuler + + _tpl_vars['Vchaine']): ?>Aucune recherche dans la file d'attente + +
+
+

Arbre des technologies


+

Laboratoire

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

+ _tpl_vars['recherche']['nec_metal'] > 0): ?> + _tpl_vars['recherche']['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['recherche']['nec_metalS']; ?> +
+ Coût _tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['recherche']['nec_metalS']; ?> +
+ + _tpl_vars['recherche']['nec_cristal'] > 0): ?> + _tpl_vars['recherche']['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['recherche']['nec_cristalS']; ?> +
+ Coût _tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['recherche']['nec_cristalS']; ?> +
+ + _tpl_vars['recherche']['nec_hydrogene'] > 0): ?> + _tpl_vars['recherche']['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['recherche']['nec_hydrogeneS']; ?> +
+ Coût _tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['recherche']['nec_hydrogeneS']; ?> +
+ + Temps de recherche : _tpl_vars['recherche']['temps']; ?> +

+ _tpl_vars['recherche']['enfile']): ?>Arrêter + _tpl_vars['recherche']['nec_hydrogene'] > $this->_tpl_vars['planete']['hydrogene']): ?>Ressources insuffisantes + _tpl_vars['recherche']['nec_cristal'] > $this->_tpl_vars['planete']['cristal']): ?>Ressources insuffisantes + _tpl_vars['recherche']['nec_metal'] > $this->_tpl_vars['planete']['metal']): ?>Ressources 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/%%1B^1B6^1B63AF95%%demarrage.tpl.php b/includes/onyx/templates/templates_c/%%1B^1B6^1B63AF95%%demarrage.tpl.php new file mode 100644 index 0000000..2f1accf --- /dev/null +++ b/includes/onyx/templates/templates_c/%%1B^1B6^1B63AF95%%demarrage.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/%%1E^1EB^1EBEE047%%footer.tpl.php b/includes/onyx/templates/templates_c/%%1E^1EB^1EBEE047%%footer.tpl.php new file mode 100644 index 0000000..92e1ff1 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%1E^1EB^1EBEE047%%footer.tpl.php @@ -0,0 +1,27 @@ + + + + + +
+_tpl_vars['script']; ?> + + + + \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%1E^1ED^1ED3D7AE%%commentjouer.tpl.php b/includes/onyx/templates/templates_c/%%1E^1ED^1ED3D7AE%%commentjouer.tpl.php new file mode 100644 index 0000000..6352bcc --- /dev/null +++ b/includes/onyx/templates/templates_c/%%1E^1ED^1ED3D7AE%%commentjouer.tpl.php @@ -0,0 +1,30 @@ + +_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 :: Comment jouer

+

Astuces à l'intention des nouveaux administrateurs coloniaux

+ Vous voilà inscrit et connecté sur votre compte ; si vous pensez que le plus difficile est maintenant derrière-vous, vous vous trompez lourdement. De lourdes tâches vous attendent désormais, et il va vous falloir tout votre sang-froid et votre maîtrise pour triompher des épreuves qui jalonneront votre route.

+ Si vous êtes aguerri dans l'art de gérer et d'administrer à la perfection des colonies, ce chapitre ne vous concerne donc pas à priori. Dans le cas contraire, sans nul doute qu'il vous sera utile pour apprendre, du moins, les théories de votre métier.
+

Que devez-vous savoir dès le départ ?

+ La chose la plus importante à savoir dès le départ est que... cela sera très difficile, quelles que soient les circonstances. Cela ne vous rassure pas ? Tant pis. L'univers de Halo-Battle est une vaste jungle sauvage, où vous devrez trouver vous-mêmes vos repères et survivre. A vous de vous forger votre propre tactique, sinon quoi n'espèrez pas vivre longtemps. Surtout, rappelez-vous bien ceci : il existe plusieurs moyens d'atteindre votre but, quel qu'il soit.

+ Si vous êtes novice dans ce type de jeux, vous devez certainement vous sentir quelque peu perdu : que faire, et comment le faire ?

+ Le plus important pour le moment est de développer vos différentes mines, afin de faire fructifier vos ressources : celles-ci sont en effet le moteur de vos colonies, et n'espérez pas accomplir grand chose sans elles. N'oubliez pas non plus de construire des centrales d'énergie afin d'approvisionner vos bâtiments, qui eux aussi ont besoin de ressources énergétiques pour fonctionner.

+ D'autre part, c'est au tout début que vous devrez définir une tactique de jeu, s'étalant sur le long terme, comprenez donc toute la période où vous jouerez sur votre compte. On fait généralement la distinction entre deux grands courants : les Mineurs et les Raideurs. Tandis que les premiers cherchent à développer leurs mines et leurs défenses coloniales, les seconds visent la création d'une flotte imposante pour percer les défenses ennemies et piller les ressources des autres joueurs. Notez que des intermédiaires ou des courants mineurs existent entre ces deux catégories.

+ Dans le cas d'une stratégie axée sur le minage, sachez que vos débuts seront plus lents et laborieux qu'un joueur raideur. Vous devrez principalement augmenter le niveau de vos mines d'extraction et construire des vaisseaux de transport pour évacuer vos ressources dans le cas où une attaque imminente aurait lieue sur l'une de vos colonies. N'oubliez pas non plus de vous confectionner un « rideau de fer », une ligne de défense pour dissuader les raideurs que vous attaquer n'est absolument pas rentable pour eux.

+ Si les ravages vous semblent plus intéressants et que vous vous définissez une stratégie axée sur le raid, abandonnez l'idée d'économies de ressources pour augmenter le niveau de vos mines et troquez vos défenses planétaires contre plusieurs flottes de vaisseaux. Ici, il s'agira d'attaquer plusieurs fois par jours différents joueurs dans l'objectif d'amasser des ressources. Ne laissez jamais votre flotte stationnée sur une colonie : un autre raideur pourrait très bien vous attaquer et la détruire. Faites voyager vos flottes entre colonies. Cette tactique offre l'avantage d'être propulsé rapidement dans un bon classement, le seul inconvénient (et de taille !) est que si jamais vous venez à perdre votre flotte, la dégringolade va être rude. Reste encore à vous demander si un bon classement signifie quelque chose pour vous...

+ La recherche technologique, disponible via votre laboratoire, est une composante essentielle du développement de vos institutions. Là encore, vous devrez investir nombre de ressources pour avoir accès à de nouveaux types de bâtiments, d'armements ou de technologies susceptibles de vous apporter un avantage certain. Ne négligez jamais cet aspect sous peine d'être irrémédiablement distancé par vos adversaires.
+ Bien d'autres éléments utiles gagnent à être connus pour que vous puissiez jouer dans des conditions optimales. Reportez-vous aux différents chapitres du manuel pour en prendre connaissance.
+

Exemple : la colonie Reach

+ Voici un petit tutorial pour commencer à jouer dans le jeu. Ici, nous aborderons les différents aspects élémentaires pour développer notre planète principale : Reach. Ce tutorial utilise la race Humaine ; toutefois, les données demeurent les mêmes pour la race Covenante. Notez enfin que parfois, les ressources indiquées dans les illustrations diffèrent avec les coûts réels.

+ [...] +
+_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/%%24^244^24470144%%sommaire.tpl.php b/includes/onyx/templates/templates_c/%%24^244^24470144%%sommaire.tpl.php new file mode 100644 index 0000000..cf7dd8d --- /dev/null +++ b/includes/onyx/templates/templates_c/%%24^244^24470144%%sommaire.tpl.php @@ -0,0 +1,23 @@ + +_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/%%29^293^29380582%%intro.tpl.php b/includes/onyx/templates/templates_c/%%29^293^29380582%%intro.tpl.php new file mode 100644 index 0000000..4f55151 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%29^293^29380582%%intro.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 :: Introduction

+ Même la plus puissante des nations finit par succomber un jour...

+ Neuvième Age de la Réclamation. La majestueuse Grande Bonté n'est plus. La voici désormais en proie au Parasite, gangrénée et empoisonnée de l'intérieur. Le glas de la fin du collectif Covenant se fait entendre par-delà les étoiles, alors que les trompettes de la victoire résonnent sur Terre...

+ ... le chaos est total...

+ La galaxie n'est plus que ruine ; les épaves des vaisseaux des batailles passées flottent lamentablement dans l'espace à présent. Alors que le Covenant doit faire face à sa plus grave crise de son histoire, les Humains rassemblent leurs dernières forces dans une tentative désespérée de survivre.

+ ... mais le passé ne meurt jamais.

+ Tandis que certains Covenants pactisent avec les Humains et d'autres veulent se venger de la trahison odieuse qu'ils ont subis de la part de leurs prophètes, beaucoup d'entre eux vouent encore une haine viscérale contre les Humains, et la guerre devient inévitable. Dans chaque camp, tout le monde s'apprête à livrer les batailles de la dernière chance.

+ Préparez-vous à vous battre pour votre cause.

+ Quel que soit votre camp, que vous soyez Humain ou Covenant, vous aussi devez vous préparer à l'inévitable conflit qui se prépare. Si vous espérez un tant soit peu survivre, il vous faudra développer votre économie, rechercher de nouvelles technologies innovatrices et surtout préparer votre armée. Sachez que vos frères d'armes comptent sur vous.

+ Qu'importe les moyens, seule la victoire 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/%%2D^2D5^2D5ECA21%%config.tpl.php b/includes/onyx/templates/templates_c/%%2D^2D5^2D5ECA21%%config.tpl.php new file mode 100644 index 0000000..73aac3d --- /dev/null +++ b/includes/onyx/templates/templates_c/%%2D^2D5^2D5ECA21%%config.tpl.php @@ -0,0 +1,27 @@ + +_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
  • +
+

Démarrage du jeu

+ Pour pouvoir jouer à Halo-Battle, rendez-vous sur la page d'accueil du site puis cliquez sur l'onglet « Jeu » pour accéder au menu principal. Renseignez dans les champs appropriés votre login de joueur puis votre mot de passe pour accéder à votre compte.
+ Il faut être impérativement inscrit pour pouvoir jouer. Si vous ne l'êtes pas, cliquez sur l'onglet « S'inscrire » via la page d'accueil du site, puis laissez-vous guider. Si vous ne comprenez pas ce que l'on vous demande, il vous suffit de cliquer dans la case appropriée et un texte d'aide apparaîtra sur votre gauche. +
+_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..60fd8de --- /dev/null +++ b/includes/onyx/templates/templates_c/%%2F^2FB^2FB28051%%envoyer.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); + ?> +
+

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..a7013bf --- /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..63908ee --- /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),array('modifier', 'escape', 'game/alliance_adm_chat.tpl', 21, 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'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> +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..0e7d509 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%45^45D^45DA3548%%chantierspatial.tpl.php @@ -0,0 +1,99 @@ + + 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..9c8cd0c --- /dev/null +++ b/includes/onyx/templates/templates_c/%%49^49E^49EF4E4D%%batiments.tpl.php @@ -0,0 +1,115 @@ + + 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']): ?>Ressources insuffisantes + _tpl_vars['batiment']['nec_cristal'] > $this->_tpl_vars['planete']['cristal']): ?>Ressources insuffisantes + _tpl_vars['batiment']['nec_metal'] > $this->_tpl_vars['planete']['metal']): ?>Ressources 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..e845c9a --- /dev/null +++ b/includes/onyx/templates/templates_c/%%4F^4F4^4F4A3808%%options.tpl.php @@ -0,0 +1,40 @@ + +_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..76a1d25 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%50^50D^50DBF311%%erreur.tpl.php @@ -0,0 +1,2 @@ + diff --git a/includes/onyx/templates/templates_c/%%57^57D^57D0F479%%flotten.tpl.php b/includes/onyx/templates/templates_c/%%57^57D^57D0F479%%flotten.tpl.php new file mode 100644 index 0000000..77afa7f --- /dev/null +++ b/includes/onyx/templates/templates_c/%%57^57D^57D0F479%%flotten.tpl.php @@ -0,0 +1,231 @@ + + array(array('modifier', 'date_format', 'game/flotten.tpl', 147, 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); + ?> +
+

Détails de la flotte : _tpl_vars['flotte']['nom']; ?> +

+
+
+
+ +
+
+

Composition de la flotte

+
+_tpl_vars['flotte']['vaisseau_1']): ?> + + + + + +_tpl_vars['flotte']['vaisseau_2']): ?> + + + + + +_tpl_vars['flotte']['vaisseau_3']): ?> + + + + + +_tpl_vars['flotte']['vaisseau_4']): ?> + + + + + +_tpl_vars['flotte']['vaisseau_5']): ?> + + + + + +_tpl_vars['flotte']['vaisseau_6']): ?> + + + + + +_tpl_vars['flotte']['vaisseau_7']): ?> + + + + + +_tpl_vars['flotte']['vaisseau_8']): ?> + + + + + +_tpl_vars['flotte']['vaisseau_9']): ?> + + + + + +_tpl_vars['flotte']['vaisseau_10']): ?> + + + + + +_tpl_vars['flotte']['vaisseau_11']): ?> + + + + + +_tpl_vars['flotte']['vaisseau_12']): ?> + + + + + +
_tpl_vars['nomvais']['0']; ?> +_tpl_vars['flotte']['vaisseau_1']; ?> +
_tpl_vars['nomvais']['1']; ?> +_tpl_vars['flotte']['vaisseau_2']; ?> +
_tpl_vars['nomvais']['2']; ?> +_tpl_vars['flotte']['vaisseau_3']; ?> +
_tpl_vars['nomvais']['3']; ?> +_tpl_vars['flotte']['vaisseau_4']; ?> +
_tpl_vars['nomvais']['4']; ?> +_tpl_vars['flotte']['vaisseau_5']; ?> +
_tpl_vars['nomvais']['5']; ?> +_tpl_vars['flotte']['vaisseau_6']; ?> +
_tpl_vars['nomvais']['6']; ?> +_tpl_vars['flotte']['vaisseau_7']; ?> +
_tpl_vars['nomvais']['7']; ?> +_tpl_vars['flotte']['vaisseau_8']; ?> +
_tpl_vars['nomvais']['8']; ?> +_tpl_vars['flotte']['vaisseau_9']; ?> +
_tpl_vars['nomvais']['9']; ?> +_tpl_vars['flotte']['vaisseau_10']; ?> +
_tpl_vars['nomvais']['10']; ?> +_tpl_vars['flotte']['vaisseau_11']; ?> +
_tpl_vars['nomvais']['11']; ?> +_tpl_vars['flotte']['vaisseau_12']; ?> +

+

Contenu de la flotte

+
+ + + + + + + + + + + + + + + + +
_tpl_vars['nomsressources']['0']; ?> +_tpl_vars['flotte']['contenu_metalF']; ?> +
_tpl_vars['nomsressources']['1']; ?> +_tpl_vars['flotte']['contenu_cristalF']; ?> +
_tpl_vars['nomsressources']['2']; ?> +_tpl_vars['flotte']['contenu_hydrogeneF']; ?> +
Maximum_tpl_vars['flotte']['contenu_maxF']; ?> +

+

Détails de la mission

+ + + + + + +_tpl_vars['flotte']['mission'] == 1): ?> + + + + +_tpl_vars['flotte']['tactiqueAT']): ?> + + + + + + + + + + + + + +_tpl_vars['flotte']['effectue'] == 2): ?> + +_tpl_vars['flotte']['effectue'] == 1): ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Mission_tpl_vars['flotte']['missionF']; ?> +
Tactique par défaut_tpl_vars['flotte']['tactiqueAtDef']; ?> +
Tactique pour le tour suivant_tpl_vars['flotte']['tactiqueF']; ?> +
Tactique pour le tour suivant_tpl_vars['flotte']['tactiqueAtDef']; ?> +
Etat de la missionEn coursEffectuéeDéplacement
Planète source[_tpl_vars['flotte']['start_galaxie']; ?> +:_tpl_vars['flotte']['start_ss']; ?> +:_tpl_vars['flotte']['start_position']; ?> +]
Date de départ_tpl_vars['flotte']['start_time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "/%a %d %b %y/ %H%M %S") : smarty_modifier_date_format($_tmp, "/%a %d %b %y/ %H%M %S")); ?> +
Planète de destination[_tpl_vars['flotte']['end_galaxie']; ?> +:_tpl_vars['flotte']['end_ss']; ?> +:_tpl_vars['flotte']['end_position']; ?> +]
Temps de déplacement_tpl_vars['flotte']['end_time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%k:%M:%S") : smarty_modifier_date_format($_tmp, "%k:%M:%S")); ?> +
Date _tpl_vars['flotte']['mission'] != 6): ?>d'arrivéede retour_tpl_vars['flotte']['end_timeT'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "/%a %d %b %y/ %H%M %S") : smarty_modifier_date_format($_tmp, "/%a %d %b %y/ %H%M %S")); ?> +
+ _tpl_vars['flotte']['mission'] != 6): ?>Annuler la mission et rappeler la flotte +
+_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/%%5C^5CE^5CE50266%%vp.tpl.php b/includes/onyx/templates/templates_c/%%5C^5CE^5CE50266%%vp.tpl.php new file mode 100644 index 0000000..0781c06 --- /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..16d40c8 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%62^628^62876A9C%%classement.tpl.php @@ -0,0 +1,63 @@ + +_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['t'] == '0'): ?> + + + _tpl_vars['places']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['place']): +?> + + + + +_tpl_vars['t'] == '1'): ?> + + _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['place']['4']; ?> +
RangAllianceMembresPointsPoints par membres
_tpl_vars['place']['0']; ?> +_tpl_vars['place']['1']; ?> +_tpl_vars['place']['2']; ?> +_tpl_vars['place']['3']; ?> +_tpl_vars['place']['4']; ?> +
+
+_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/%%65^65A^65A81123%%simulateur_combat.tpl.php b/includes/onyx/templates/templates_c/%%65^65A^65A81123%%simulateur_combat.tpl.php new file mode 100644 index 0000000..dbdc8ac --- /dev/null +++ b/includes/onyx/templates/templates_c/%%65^65A^65A81123%%simulateur_combat.tpl.php @@ -0,0 +1,95 @@ + +_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); + ?> +
+
+

Vaisseaux de l'attaquant

+
+ + + + + + + + + + + +
+

Vaisseaux et défenses du défenseur

+
+ + + + + + + + + + + + +


+ + + + + +
+

Autres paramètres

+
+ + + +
+
+ + + +
+ +
+
+_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^69A^69AF6399%%defenses.tpl.php b/includes/onyx/templates/templates_c/%%69^69A^69AF6399%%defenses.tpl.php new file mode 100644 index 0000000..240a0c5 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%69^69A^69AF6399%%defenses.tpl.php @@ -0,0 +1,99 @@ + + array(array('modifier', 'lower', 'game/defenses.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 véhicule : + _tpl_vars['fvais']['1']; ?> + _tpl_vars['fvais']['3']; ?> + - - Annuler un - Annuler tous + + _tpl_vars['Vchaine']): ?>Aucun véhicule dans la file d'attente +
+
+

Arbre des technologies


+

Défenses

+ +_tpl_vars['defenses']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['defense']): +?> + + + + + +
+ + Image + _tpl_vars['defense']['description']; ?> + + + +
+ _tpl_vars['defense']['nom']; ?> +_tpl_vars['defense']['nombre'] > 0): ?> (_tpl_vars['defense']['nombre']; ?> + defense_tpl_vars['defense']['nombre'] > 1): ?>s)

+ _tpl_vars['defense']['nec_metal'] > 0): ?> + _tpl_vars['defense']['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['defense']['nec_metalS']; ?> +
+ Coût _tpl_vars['nomsressources']['0'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['defense']['nec_metalS']; ?> +
+ + _tpl_vars['defense']['nec_cristal'] > 0): ?> + _tpl_vars['defense']['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['defense']['nec_cristalS']; ?> +
+ Coût _tpl_vars['nomsressources']['1'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['defense']['nec_cristalS']; ?> +
+ + _tpl_vars['defense']['nec_hydrogene'] > 0): ?> + _tpl_vars['defense']['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['defense']['nec_hydrogeneS']; ?> +
+ Coût _tpl_vars['nomsressources']['2'])) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?> + : _tpl_vars['defense']['nec_hydrogeneS']; ?> +
+ + Temps de construction : _tpl_vars['defense']['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/%%69^69D^69D54D9C%%accueil.tpl.php b/includes/onyx/templates/templates_c/%%69^69D^69D54D9C%%accueil.tpl.php new file mode 100644 index 0000000..66fa553 --- /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'] == '0'): ?>non classé_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..91a5453 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%71^717^7172D774%%ressources.tpl.php @@ -0,0 +1,70 @@ + + 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']; ?> +
_tpl_vars['planete']['silo']; ?> + _tpl_vars['nombat']['10']; ?> +-_tpl_vars['ressources_silo']['1']; ?> +_tpl_vars['ressources_silo']['1']; ?> +_tpl_vars['ressources_silo']['1']; ?> +0
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..680910f --- /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..a38ddca --- /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..81c9d14 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%7A^7A4^7A420E87%%alliance_liste.tpl.php @@ -0,0 +1,50 @@ + + array(array('modifier', 'date_format', 'game/alliance_liste.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); + ?> +
+

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 connexionPointsGradeMp
_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']['points']; ?> + (_tpl_vars['membre']['place_points']; ?> +)_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..1613d4a --- /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..9b9eec1 --- /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', 'escape', 'game/alliance_accueil.tpl', 11, 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'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> + (_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> +)
Membres : _tpl_vars['nbmembre']; ?> + (Liste des membres)
Votre grade :_tpl_vars['access']['fondateur']): ?>Fondateur_tpl_vars['grade']['nom'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> +
_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('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $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('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $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")))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> +_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/%%88^889^8895FE3A%%rapport_combat.tpl.php b/includes/onyx/templates/templates_c/%%88^889^8895FE3A%%rapport_combat.tpl.php new file mode 100644 index 0000000..dfd3dd0 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%88^889^8895FE3A%%rapport_combat.tpl.php @@ -0,0 +1,267 @@ + + array(array('modifier', 'date_format', 'game/rapport_combat.tpl', 192, false),)), $this); ?> +_tpl_vars['termine']): ?>Le combat contre _tpl_vars['EN']['pseudo']; ?> + est terminé ! +_tpl_vars['tour'] == '1'): ?>Le combat contre _tpl_vars['EN']['pseudo']; ?> + est engagé ! +Suite du combat contre _tpl_vars['EN']['pseudo']; ?> + !

+Tactique lors de ce tour : _tpl_vars['flotte']['tactiqueAT']; ?> +

+Lieux du combat : [_tpl_vars['flotte']['end_galaxie']; ?> +:_tpl_vars['flotte']['end_ss']; ?> +:_tpl_vars['flotte']['end_position']; ?> +]

+Vaisseaux à la fin du tour de notre côté : + + + + + + + + + + +_tpl_vars['vaisseaux3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
VaisseauxNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomvaisAT'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc']; ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv']; ?> +%)
+
+
Vaisseaux ennemi à la fin du tour : + + + + + + + + + + +_tpl_vars['vaisseaux4']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
VaisseauxNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomvaisEN'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc']; ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv']; ?> +%)
+
+
Défenses ennemi à la fin du tour : + + + + + + + + + + +_tpl_vars['defenses2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
DéfensesNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomdefEN'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['groupe']['1'] > 99): ?>Complet_tpl_vars['groupe']['1'] > 80): ?>Bon_tpl_vars['groupe']['1'] > 60): ?>Correct_tpl_vars['groupe']['1'] > 40): ?>Moyen_tpl_vars['groupe']['1'] > 20): ?>Bas_tpl_vars['groupe']['1'] > 20): ?>Critique_tpl_vars['groupe']['2']; ?> +
+
+

Vaisseaux au début du tour de notre côté : + + + + + + + + + + +_tpl_vars['vaisseaux1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
VaisseauxNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomvaisAT'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc']; ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv']; ?> +%)
+
+
Vaisseaux ennemi au début du tour : + + + + + + + + + + +_tpl_vars['vaisseaux2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
VaisseauxNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomvaisEN'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc']; ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv']; ?> +%)
+
+
Défenses ennemi au début du tour : + + + + + + + + + + +_tpl_vars['defenses1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
DéfensesNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomdefEN'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['groupe']['1']; ?> +_tpl_vars['groupe']['2']; ?> +
+
+
+_tpl_vars['termine']): ?>Vous pouvez profiter du temps de régénération des boucliers et des armes pour envoyer un nouvel ordre de tactique : Cliquez ici !

+La prochaine attaque est prévue à _tpl_vars['nextTour'])) ? $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['attaquantG']): ?>Nous avons gagné le combat !

Nous repartons avec _tpl_vars['pillage']['0']; ?> + _tpl_vars['ressources']['0']; ?> +, _tpl_vars['pillage']['1']; ?> + _tpl_vars['ressources']['1']; ?> + et _tpl_vars['pillage']['2']; ?> + _tpl_vars['ressources']['2']; ?> +.
+Nous avons perdu le combat ! \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%88^88B^88BF99B8%%ENrapport_combat.tpl.php b/includes/onyx/templates/templates_c/%%88^88B^88BF99B8%%ENrapport_combat.tpl.php new file mode 100644 index 0000000..b7176ba --- /dev/null +++ b/includes/onyx/templates/templates_c/%%88^88B^88BF99B8%%ENrapport_combat.tpl.php @@ -0,0 +1,270 @@ + + array(array('modifier', 'date_format', 'game/ENrapport_combat.tpl', 194, false),)), $this); ?> +_tpl_vars['termine']): ?>Le combat contre _tpl_vars['flotte']['pseudo']; ?> + est terminé ! +_tpl_vars['tour'] == '1'): ?>Un combat contre _tpl_vars['flotte']['pseudo']; ?> + est engagé ! +Suite du combat contre _tpl_vars['flotte']['pseudo']; ?> + !

+Tactique lors de ce tour : _tpl_vars['flotte']['tactiqueEN']; ?> +

+Lieux du combat : [_tpl_vars['flotte']['end_galaxie']; ?> +:_tpl_vars['flotte']['end_ss']; ?> +:_tpl_vars['flotte']['end_position']; ?> +]

+Vaisseaux à la fin du tour de notre côté : + + + + + + + + + + +_tpl_vars['vaisseaux4']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
VaisseauxNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomvaisEN'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc']; ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv']; ?> +%)
+
+
Nos défenses à la fin du tour : + + + + + + + + + + +_tpl_vars['defenses2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
DéfensesNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomdefEN'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['defPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['defBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['defBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc']; ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv']; ?> +%)
+
+
Vaisseaux ennemi à la fin du tour : + + + + + + + + + + +_tpl_vars['vaisseaux3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
VaisseauxNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomvaisAT'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc']; ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv']; ?> +%)
+
+

Vaisseaux au début du tour de notre côté : + + + + + + + + + + +_tpl_vars['vaisseaux2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
VaisseauxNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomvaisEN'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc']; ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv']; ?> +%)
+
+
Nos défenses au début du tour : + + + + + + + + + + +_tpl_vars['defenses1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
DéfensesNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomdefEN'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['defPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['defBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['defBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc']; ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv']; ?> +%)
+
+
Vaisseaux ennemi au début du tour : + + + + + + + + + + +_tpl_vars['vaisseaux1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
VaisseauxNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomvaisAT'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc']; ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv']; ?> +%)
+
+
+_tpl_vars['termine']): ?> +La prochaine attaque est prévue à _tpl_vars['nextTour'])) ? $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['attaquantG']): ?>Nous n'avons pas réussi à repousser l'attaque !
Ils repartent avec _tpl_vars['pillage']['0']; ?> + _tpl_vars['ressources']['0']; ?> +, _tpl_vars['pillage']['1']; ?> + _tpl_vars['ressources']['1']; ?> + et _tpl_vars['pillage']['2']; ?> + _tpl_vars['ressources']['2']; ?> +.
+Nous avons réussi à repousser l'attaque ! \ 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..30b5ee9 --- /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/%%A8^A80^A805529F%%ATrapport_combat.tpl.php b/includes/onyx/templates/templates_c/%%A8^A80^A805529F%%ATrapport_combat.tpl.php new file mode 100644 index 0000000..5289ff9 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%A8^A80^A805529F%%ATrapport_combat.tpl.php @@ -0,0 +1,270 @@ + + array(array('modifier', 'date_format', 'game/ATrapport_combat.tpl', 194, false),)), $this); ?> +_tpl_vars['termine']): ?>Le combat contre _tpl_vars['EN']['pseudo']; ?> + est terminé ! +_tpl_vars['tour'] == '1'): ?>Le combat contre _tpl_vars['EN']['pseudo']; ?> + est engagé ! +Suite du combat contre _tpl_vars['EN']['pseudo']; ?> + !

+Tactique lors de ce tour : _tpl_vars['flotte']['tactiqueAT']; ?> +

+Lieux du combat : [_tpl_vars['flotte']['end_galaxie']; ?> +:_tpl_vars['flotte']['end_ss']; ?> +:_tpl_vars['flotte']['end_position']; ?> +]

+Vaisseaux à la fin du tour de notre côté : + + + + + + + + + + +_tpl_vars['vaisseaux3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
VaisseauxNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomvaisAT'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc']; ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv']; ?> +%)
+
+
Vaisseaux ennemi à la fin du tour : + + + + + + + + + + +_tpl_vars['vaisseaux4']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
VaisseauxNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomvaisEN'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc']; ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv']; ?> +%)
+
+
Défenses ennemi à la fin du tour : + + + + + + + + + + +_tpl_vars['defenses2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
DéfensesNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomdefEN'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['defPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['defBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['defBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc']; ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv']; ?> +%)
+
+

Vaisseaux au début du tour de notre côté : + + + + + + + + + + +_tpl_vars['vaisseaux1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
VaisseauxNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomvaisAT'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc']; ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv']; ?> +%)
+
+
Vaisseaux ennemi au début du tour : + + + + + + + + + + +_tpl_vars['vaisseaux2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
VaisseauxNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomvaisEN'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc']; ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv']; ?> +%)
+
+
Défenses ennemi au début du tour : + + + + + + + + + + +_tpl_vars['defenses1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
DéfensesNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomdefEN'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['defPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['defBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['defBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc']; ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv']; ?> +%)
+
+
+_tpl_vars['termine']): ?> +La prochaine attaque est prévue à _tpl_vars['nextTour'])) ? $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['attaquantG']): ?>Nous avons gagné le combat !
Nous repartons avec _tpl_vars['pillage']['0']; ?> + _tpl_vars['ressources']['0']; ?> +, _tpl_vars['pillage']['1']; ?> + _tpl_vars['ressources']['1']; ?> + et _tpl_vars['pillage']['2']; ?> + _tpl_vars['ressources']['2']; ?> +.
+Nous avons perdu le combat ! \ No newline at end of file diff --git a/includes/onyx/templates/templates_c/%%AA^AA3^AA33D6B3%%flotte2.tpl.php b/includes/onyx/templates/templates_c/%%AA^AA3^AA33D6B3%%flotte2.tpl.php new file mode 100644 index 0000000..6bf65f9 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%AA^AA3^AA33D6B3%%flotte2.tpl.php @@ -0,0 +1,49 @@ + + array(array('modifier', 'lower', 'game/flotte2.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); + ?> +
+
+

Paramètres généraux

+
+
+ ::
+
+
Pour vous repérer plus facilement entre vos différentes flottes, donnez-lui un nom.
+
+

Mission et contenu

+
+ +
+
+
+
+
+
+

Envoyer

+ + Temps de déplacement : -
+ Consomation : -
+ Complètez les champs ci-dessus +
+
+
+_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/%%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/%%BF^BFC^BFC208DD%%SIMrapport_combat.tpl.php b/includes/onyx/templates/templates_c/%%BF^BFC^BFC208DD%%SIMrapport_combat.tpl.php new file mode 100644 index 0000000..8fd08f2 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%BF^BFC^BFC208DD%%SIMrapport_combat.tpl.php @@ -0,0 +1,269 @@ + + array(array('modifier', 'string_format', 'game/SIMrapport_combat.tpl', 26, 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); + ?> +
+Le combat est terminé !

+Nombre de tour : _tpl_vars['tour']; ?> +

+Vaisseaux à la fin du tour de notre côté : + + + + + + + + + + +_tpl_vars['vaisseaux3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
VaisseauxNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomvaisAT'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?> +%)
+
+
Vaisseaux ennemi à la fin du tour : + + + + + + + + + + +_tpl_vars['vaisseaux4']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
VaisseauxNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomvaisEN'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?> +%)
+
+
Défenses ennemi à la fin du tour : + + + + + + + + + + +_tpl_vars['defenses2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
DéfensesNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomdefEN'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['defPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['defBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['defBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?> +%)
+
+

Vaisseaux au début du tour de notre côté : + + + + + + + + + + +_tpl_vars['vaisseaux1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
VaisseauxNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomvaisAT'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?> +%)
+
+
Vaisseaux ennemi au début du tour : + + + + + + + + + + +_tpl_vars['vaisseaux2']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
VaisseauxNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomvaisEN'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['vaisPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['vaisBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['vaisBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?> +%)
+
+
Défenses ennemi au début du tour : + + + + + + + + + + +_tpl_vars['defenses1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['vaisseau']): +?> +assign('nom', ($this->_tpl_vars['vaisseau'][0]-1)); ?> + + + + + + +
DéfensesNbEtat bouclierEtat PV
_tpl_vars['vaisseau']['1']; ?> + _tpl_vars['nomdefEN'][$this->_tpl_vars['nom']]; ?> + + +_tpl_vars['vaisseau']['3']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['groupe']): +?> +assign('pourcent_pv', ($this->_tpl_vars['groupe'][2]*100/$this->_tpl_vars['defPV'][$this->_tpl_vars['nom']])); ?> + + + + + + +
_tpl_vars['groupe']['0']; ?> +_tpl_vars['defBC'][$this->_tpl_vars['nom']] == 0): ?>Inexistantassign('pourcent_bc', ($this->_tpl_vars['groupe'][1]*100/$this->_tpl_vars['defBC'][$this->_tpl_vars['nom']])); ?>_tpl_vars['pourcent_bc'] > 99): ?>Complet_tpl_vars['pourcent_bc'] > 80): ?>Bon_tpl_vars['pourcent_bc'] > 60): ?>Correct_tpl_vars['pourcent_bc'] > 40): ?>Moyen_tpl_vars['pourcent_bc'] > 20): ?>Bas_tpl_vars['pourcent_bc'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_bc'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?> +%)_tpl_vars['pourcent_pv'] > 99): ?>Complet_tpl_vars['pourcent_pv'] > 80): ?>Bon_tpl_vars['pourcent_pv'] > 60): ?>Correct_tpl_vars['pourcent_pv'] > 40): ?>Moyen_tpl_vars['pourcent_pv'] > 20): ?>Bas_tpl_vars['pourcent_pv'] == 0): ?>DétruitCritique (_tpl_vars['pourcent_pv'])) ? $this->_run_mod_handler('string_format', true, $_tmp, "%d") : smarty_modifier_string_format($_tmp, "%d")); ?> +%)
+
+
+_tpl_vars['termine']): ?>Le combat n'est pas terminé ! +_tpl_vars['attaquantG']): ?>Nous avons gagné le combat !
Nous repartons avec _tpl_vars['pillage']['0']; ?> + _tpl_vars['ressources']['0']; ?> +, _tpl_vars['pillage']['1']; ?> + _tpl_vars['ressources']['1']; ?> + et _tpl_vars['pillage']['2']; ?> + _tpl_vars['ressources']['2']; ?> +.
+Nous avons perdu le combat ! +
+_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..45f9640 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%C1^C1F^C1F65229%%bugs.tpl.php @@ -0,0 +1,39 @@ + + array(array('modifier', 'escape', 'game/bugs.tpl', 6, 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); + ?> +
+

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'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> +
_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..b5e1c71 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%C3^C3A^C3A25C2F%%footer.tpl.php @@ -0,0 +1,2 @@ + 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/%%D4^D4B^D4BFDB2F%%vip.tpl.php b/includes/onyx/templates/templates_c/%%D4^D4B^D4BFDB2F%%vip.tpl.php new file mode 100644 index 0000000..7bb51bb --- /dev/null +++ b/includes/onyx/templates/templates_c/%%D4^D4B^D4BFDB2F%%vip.tpl.php @@ -0,0 +1,50 @@ + + array(array('modifier', 'date_format', 'admin/vip.tpl', 19, false),array('modifier', 'escape', 'admin/vip.tpl', 21, false),array('modifier', 'nl2br', 'admin/vip.tpl', 21, 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); + ?> +
+

Vérification des IP

+ + + + + + + + + + + +_tpl_vars['ips']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): + foreach ($_from as $this->_tpl_vars['ip']): +?> + _tpl_vars['ip']['6']): ?> style="background-color: #_tpl_vars['ip']['6']; ?> +;"> + + + + + + + + +
Adresses IPNom d'utilisateurDate & heureTraçage IPCommentaires
_tpl_vars['ip']['0']; ?> +_tpl_vars['ip']['3']; ?> + (_tpl_vars['ip']['2']; ?> +)_tpl_vars['ip']['4'])) ? $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['ip']['1']; ?> +_tpl_vars['ip']['5'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> +
+_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/%%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..b700009 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%E5^E5B^E5BD6034%%alliance_adm_grades.tpl.php @@ -0,0 +1,58 @@ + + array(array('modifier', 'escape', 'game/alliance_adm_grades.tpl', 22, false),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'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> +_tpl_vars['grade']['description'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $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..3a360f9 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%E7^E70^E70DD496%%header.tpl.php @@ -0,0 +1,132 @@ + + array(array('modifier', 'escape', 'game/header.tpl', 45, false),)), $this); ?> + + + + + + + ::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'] != 'simulation' && $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['page'] != 'admin'): ?>
_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..9b689cf --- /dev/null +++ b/includes/onyx/templates/templates_c/%%ED^ED9^ED93AC63%%flotte1.tpl.php @@ -0,0 +1,80 @@ + + array(array('modifier', 'escape', 'game/flotte1.tpl', 11, 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); + ?> +
+

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'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> +_tpl_vars['flotteEC']['2']; ?> +_tpl_vars['flotteEC']['3']; ?> +_tpl_vars['flotteEC']['4'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> +_tpl_vars['flotteEC']['5']; ?> +_tpl_vars['flotteEC']['6'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> +_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..55acdc1 --- /dev/null +++ b/includes/onyx/templates/templates_c/%%F2^F21^F21E08BB%%messagerie.tpl.php @@ -0,0 +1,59 @@ + + array(array('modifier', 'nl2br', 'game/messagerie.tpl', 9, 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

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

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 la 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']; ?> +
+
+ +


Supprimer la 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..f6ace08 --- /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/index.php b/index.php index 94948d1..90d14a4 100644 --- a/index.php +++ b/index.php @@ -75,6 +75,9 @@ if (isset($sess) && isset($sess->values['connected']) && $sess->values['connecte $queryPlanete = $chapeau->unique_query("SELECT * FROM `$table_planete` WHERE `id` = '$idPlan'"); + $metal = $queryPlanete["metal"]; + $cristal = $queryPlanete["cristal"]; + $hydrogene = $queryPlanete["hydrogene"]; $queryPlanete["metalS"] = separerNombres($queryPlanete["metal"]); $queryPlanete["cristalS"] = separerNombres($queryPlanete["cristal"]); $queryPlanete["hydrogeneS"] = separerNombres($queryPlanete["hydrogene"]); @@ -201,6 +204,9 @@ if (isset($sess) && isset($sess->values['connected']) && $sess->values['connecte case 'faq': include('game/aide.php'); break; + case 'simulateur': + include('game/simulateur.php'); + break; case 'deconnexion': include('game/logout.php'); break; diff --git a/js/flotte.js b/js/flotte.js index a4e5da3..aef2d49 100644 --- a/js/flotte.js +++ b/js/flotte.js @@ -63,6 +63,7 @@ window.onload = function(){ } function tempsFlotte() { + document.getElementById('deblok').innerHTML = '...'; new Ajax.Request( 'ajax_flotte.php', { diff --git a/js/inscription.js b/js/inscription.js index 69500d1..d4e84e0 100644 --- a/js/inscription.js +++ b/js/inscription.js @@ -27,7 +27,7 @@ window.onload = function(){ document.getElementById('description').innerHTML = 'Serveurs

Choisissez un serveur dans la liste.

'; } document.getElementById('placement').onfocus = function(){ - document.getElementById('description').innerHTML = 'Placement préférentiel

Ce champ est facultatif.

Si un de vos amis joue à Halo-Battle sur le serveur que vous avez sélectionné ci-dessus, vous pouvez demander d'être placé à côté de l'une de ses planètes.

Sous réserve de disponibilité.

'; + document.getElementById('description').innerHTML = 'Placement préférentiel

Ce champ est facultatif.

Si un de vos amis joue à Halo-Battle sur le serveur que vous avez sélectionné ci-dessus, vous pouvez demander d'être placé à côté de l'une de ses planètes en indiquant simplement son pseudo.

Sous réserve de disponibilité.

'; } document.getElementById('captcha').onfocus = function(){ document.getElementById('description').innerHTML = 'Captcha

Pour s'assurer que vous êtes un humains et non pas un robot, nous vous demandons de bien vouloir recopier le texte situé contre cette case.

Vous pouvez générer une autre chaîne en cliquant sur l'image.

Si vous êtes visuellement déficient et que vous ne pouvez pas voir le texte, contactez un administrateur.

'; diff --git a/test.php b/test.php index 325ef29..991bedc 100644 --- a/test.php +++ b/test.php @@ -1,4 +1,6 @@ '; array_splice($input, 0, 8);