diff --git a/onyx2/modules/templates/compile/wrtAF36.tmp b/onyx2/modules/templates/cache/.cache similarity index 100% rename from onyx2/modules/templates/compile/wrtAF36.tmp rename to onyx2/modules/templates/cache/.cache diff --git a/onyx2/modules/templates/compile/.compile b/onyx2/modules/templates/compile/.compile new file mode 100644 index 0000000..e69de29 diff --git a/onyx2/modules/templates/compile/1012769745.file.footer.tpl.php b/onyx2/modules/templates/compile/1012769745.file.footer.tpl.php deleted file mode 100644 index 661dfc6..0000000 --- a/onyx2/modules/templates/compile/1012769745.file.footer.tpl.php +++ /dev/null @@ -1,31 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:1:{s:10:"F884437780";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//cms/footer.tpl";i:1;i:1250785005;}}}'); ?> - - - - - -
-getVariable('script')->value;?> - - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1171928392.file.chantierspatial.tpl.php b/onyx2/modules/templates/compile/1171928392.file.chantierspatial.tpl.php deleted file mode 100644 index 40a8da5..0000000 --- a/onyx2/modules/templates/compile/1171928392.file.chantierspatial.tpl.php +++ /dev/null @@ -1,573 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:10:"F486750957";a:2:{i:0;s:89:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/chantierspatial.tpl";i:1;i:1257038674;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- - assign('max',$_smarty_tpl->getVariable('planete')->value->batiments[8],null,null); }else{ ?> - assign('max',$_smarty_tpl->getVariable('planete')->value->batiments[3],null,null); }?> - - -

File d'attente

- -

Arbre des technologies


-

smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][8]),true);?> -

-getVariable('vaisseaux')->value){?> -
-tpl_vars['vaisseau'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('vaisseaux')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['vaisseau']->key => $_smarty_tpl->tpl_vars['vaisseau']->value){ -?> -
-
smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['vaisseaux']['noms_sing'][$_smarty_tpl->getVariable('vaisseau')->value['id']]),true); if ($_smarty_tpl->getVariable('vaisseau')->value['nombre']>0){?> (getVariable('vaisseau')->value['nombre'];?> - unitégetVariable('vaisseau')->value['nombre']>1){?>s)
-
<?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['vaisseaux']['noms_sing'][$_smarty_tpl->getVariable('vaisseau')->value['id']]),true);?>
-

getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['vaisseaux']['descriptions'][$_smarty_tpl->getVariable('vaisseau')->value['id']];?> -

-
- getVariable('vaisseau')->value['nombre']>0){?>Nombre actuel : getVariable('vaisseau')->value['nombre'];?> -

- getVariable('vaisseau')->value['nec_metal']>0){?>Coût getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['metal'];?> - : smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('vaisseau')->value['nec_metal']),true);?> -
- getVariable('vaisseau')->value['nec_cristal']>0){?>Coût getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['cristal'];?> - : smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('vaisseau')->value['nec_cristal']),true);?> -
- getVariable('vaisseau')->value['nec_hydrogene']>0){?>Coût getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['hydrogene'];?> - : smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('vaisseau')->value['nec_hydrogene']),true);?> -
- Temps de construction : getVariable('vaisseau')->value['temps'];?> -
-
- getVariable('vaisseau')->value['nec_hydrogene']>$_smarty_tpl->getVariable('planete')->value->hydrogene||$_smarty_tpl->getVariable('vaisseau')->value['nec_cristal']>$_smarty_tpl->getVariable('planete')->value->cristal||$_smarty_tpl->getVariable('vaisseau')->value['nec_metal']>$_smarty_tpl->getVariable('planete')->value->metal){?>Ressources insuffisantes -
- - -
-
-
- -
-
Aucun vaisseau à construire actuellement.
smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1197239840.file.menu_asteroide.tpl.php b/onyx2/modules/templates/compile/1197239840.file.menu_asteroide.tpl.php deleted file mode 100644 index ec931fe..0000000 --- a/onyx2/modules/templates/compile/1197239840.file.menu_asteroide.tpl.php +++ /dev/null @@ -1,122 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:1:{s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}}}'); ?> - - -getVariable('planete')->value->permissions_alliance & 1||$_smarty_tpl->getVariable('planete')->value->permissions_alliance & 2){?> - - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1216995115.file.encours.tpl.php b/onyx2/modules/templates/compile/1216995115.file.encours.tpl.php deleted file mode 100644 index 842b373..0000000 --- a/onyx2/modules/templates/compile/1216995115.file.encours.tpl.php +++ /dev/null @@ -1,575 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:7:{s:10:"F273861049";a:2:{i:0;s:92:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/diplomatie/encours.tpl";i:1;i:1249071310;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1069497286";a:2:{i:0;s:91:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/diplomatie/common.tpl";i:1;i:1252592471;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:30:44 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/diplomatie/common.tpl" */ ?> - -

Déclarations de guerre

-getVariable('guerres')->value){?> - - -

Aucune guerre n'est actuellement déclarée

- -
-

Pactes de non agression

-getVariable('pnas')->value){?> - - -

Aucun pacte de ce type n'est actuellement en vigueur

- -
-

Pactes commerciaux

-getVariable('pcs')->value){?> - - -

Aucun pacte de ce type n'est actuellement en vigueur

- -
-

Pactes militaires

-getVariable('pms')->value){?> - - -

Aucun pacte de ce type n'est actuellement en vigueur

-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1240419917.file.batiments.tpl.php b/onyx2/modules/templates/compile/1240419917.file.batiments.tpl.php deleted file mode 100644 index a00588f..0000000 --- a/onyx2/modules/templates/compile/1240419917.file.batiments.tpl.php +++ /dev/null @@ -1,567 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F1236840859";a:2:{i:0;s:83:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/batiments.tpl";i:1;i:1257029821;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- - - -

File d'attente

- -

Arbre des technologies


-

Bâtiments

-
-tpl_vars['batiment'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('batiments')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['batiment']->key => $_smarty_tpl->tpl_vars['batiment']->value){ -?> -
-
smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][$_smarty_tpl->getVariable('batiment')->value['id']]),true); if ($_smarty_tpl->getVariable('batiment')->value['niveau']>0){?> (Niveau getVariable('batiment')->value['niveau'];?> -)
-
<?php echo $_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][$_smarty_tpl->getVariable('batiment')->value['id']];?>
-

getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['descriptions'][$_smarty_tpl->getVariable('batiment')->value['id']];?> -

-
- getVariable('batiment')->value['niveau']>0){?>Niveau actuel : getVariable('batiment')->value['niveau'];?> -

- getVariable('batiment')->value['nec_metal']>0){?>Coût getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['metal'];?> - : getVariable('batiment')->value['nec_metal']>$_smarty_tpl->getVariable('planete')->value->metal){?> class="lack">smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('batiment')->value['nec_metal']),true);?> -
- getVariable('batiment')->value['nec_cristal']>0){?>Coût getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['cristal'];?> - : getVariable('batiment')->value['nec_cristal']>$_smarty_tpl->getVariable('planete')->value->cristal){?> class="lack">smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('batiment')->value['nec_cristal']),true);?> -
- getVariable('batiment')->value['nec_hydrogene']>0){?>Coût getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['hydrogene'];?> - : getVariable('batiment')->value['nec_hydrogene']>$_smarty_tpl->getVariable('planete')->value->hydrogene){?> class="lack">smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('batiment')->value['nec_hydrogene']),true);?> -
- Temps de construction : getVariable('batiment')->value['temps'];?> -
-
- getVariable('batiment')->value['nec_hydrogene']>$_smarty_tpl->getVariable('planete')->value->hydrogene||$_smarty_tpl->getVariable('batiment')->value['nec_cristal']>$_smarty_tpl->getVariable('planete')->value->cristal||$_smarty_tpl->getVariable('batiment')->value['nec_metal']>$_smarty_tpl->getVariable('planete')->value->metal){?>Ressources insuffisantes - getVariable('planete')->value->casesRest>=1){?>Construire - getVariable('batiment')->value['enfile']!==false){?>Arrêter - getVariable('batiment')->value['niveau']>0){?> Démolir un niveau -
-
- -
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1356591889.file.erreur.tpl.php b/onyx2/modules/templates/compile/1356591889.file.erreur.tpl.php deleted file mode 100644 index e02bbb5..0000000 --- a/onyx2/modules/templates/compile/1356591889.file.erreur.tpl.php +++ /dev/null @@ -1,106 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:3:{s:11:"F1479615446";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//cms/erreur.tpl";i:1;i:1249071304;}s:10:"F855357499";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//cms/header.tpl";i:1;i:1250784847;}s:10:"F884437780";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//cms/footer.tpl";i:1;i:1250785005;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:13:37 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//cms/header.tpl" */ ?> - - - - - - - - ::Halo-Battle:: - <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - - - - - - -
-
- - -
-
getVariable('couleur')->value){?> style="color: getVariable('couleur')->value;?> -;">getVariable('message')->value;?> -
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:13:38 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//cms/footer.tpl" */ ?> -
- - -
-
-getVariable('script')->value;?> - - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1436040177.file.nouveau.tpl.php b/onyx2/modules/templates/compile/1436040177.file.nouveau.tpl.php deleted file mode 100644 index dd56ddd..0000000 --- a/onyx2/modules/templates/compile/1436040177.file.nouveau.tpl.php +++ /dev/null @@ -1,508 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:7:{s:10:"F222506339";a:2:{i:0;s:92:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/diplomatie/nouveau.tpl";i:1;i:1249071310;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1069497286";a:2:{i:0;s:91:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/diplomatie/common.tpl";i:1;i:1252592471;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:30:44 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/diplomatie/common.tpl" */ ?> - -

Nouvelle déclaration de guerre

-
-
- Déclaration de guerre

-

- -
-
-

-

Nouveau pacte

-
-
-

-

- -
-
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1439443277.file.flotte2.tpl.php b/onyx2/modules/templates/compile/1439443277.file.flotte2.tpl.php deleted file mode 100644 index 6687588..0000000 --- a/onyx2/modules/templates/compile/1439443277.file.flotte2.tpl.php +++ /dev/null @@ -1,525 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F1028715463";a:2:{i:0;s:81:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/flotte2.tpl";i:1;i:1257029821;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257161190;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-02 13:19:56 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -
-

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 -
-
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1441696123.file.gestion_common.tpl.php b/onyx2/modules/templates/compile/1441696123.file.gestion_common.tpl.php deleted file mode 100644 index 31629fe..0000000 --- a/onyx2/modules/templates/compile/1441696123.file.gestion_common.tpl.php +++ /dev/null @@ -1,14 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:1:{s:11:"F2086263191";a:2:{i:0;s:97:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/alliance/gestion_common.tpl";i:1;i:1252592443;}}}'); ?> - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1465624499.file.caserne.tpl.php b/onyx2/modules/templates/compile/1465624499.file.caserne.tpl.php deleted file mode 100644 index ab9ee8f..0000000 --- a/onyx2/modules/templates/compile/1465624499.file.caserne.tpl.php +++ /dev/null @@ -1,571 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F1070038329";a:2:{i:0;s:81:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/caserne.tpl";i:1;i:1257036867;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- - - -

File d'attente

- -

Arbre des technologies


-

smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][9]),true);?> -

-getVariable('unites')->value){?> -
-tpl_vars['unite'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('unites')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['unite']->key => $_smarty_tpl->tpl_vars['unite']->value){ -?> -
-
smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['caserne']['noms_sing'][$_smarty_tpl->getVariable('unite')->value['id']]),true); if ($_smarty_tpl->getVariable('unite')->value['nombre']>0){?> (getVariable('unite')->value['nombre'];?> - unitégetVariable('unite')->value['nombre']>1){?>s)
-
<?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['caserne']['noms_sing'][$_smarty_tpl->getVariable('unite')->value['id']]),true);?>
-

getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['caserne']['descriptions'][$_smarty_tpl->getVariable('unite')->value['id']];?> -

-
- getVariable('unite')->value['nombre']>0){?>Nombre actuel : getVariable('unite')->value['nombre'];?> -

- getVariable('unite')->value['nec_metal']>0){?>Coût getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['metal'];?> - : smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('unite')->value['nec_metal']),true);?> -
- getVariable('unite')->value['nec_cristal']>0){?>Coût getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['cristal'];?> - : smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('unite')->value['nec_cristal']),true);?> -
- getVariable('unite')->value['nec_hydrogene']>0){?>Coût getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['hydrogene'];?> - : smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('unite')->value['nec_hydrogene']),true);?> -
- Temps de construction : getVariable('unite')->value['temps'];?> -
-
- getVariable('unite')->value['nec_hydrogene']>$_smarty_tpl->getVariable('planete')->value->hydrogene||$_smarty_tpl->getVariable('unite')->value['nec_cristal']>$_smarty_tpl->getVariable('planete')->value->cristal||$_smarty_tpl->getVariable('unite')->value['nec_metal']>$_smarty_tpl->getVariable('planete')->value->metal){?>Ressources insuffisantes -
- - -
-
-
- -
-
Aucune unité à entraîner actuellement.
smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1466845853.file.1.tpl.php b/onyx2/modules/templates/compile/1466845853.file.1.tpl.php deleted file mode 100644 index d121368..0000000 --- a/onyx2/modules/templates/compile/1466845853.file.1.tpl.php +++ /dev/null @@ -1,516 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:7:{s:11:"F1463399755";a:2:{i:0;s:83:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/options/1.tpl";i:1;i:1249071311;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257161190;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:10:"F803375734";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/options/common.tpl";i:1;i:1252592406;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-02 13:19:56 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:29:43 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/options/common.tpl" */ ?> - -

Signature pour forums

- Signature
http://getVariable('url_serveur')->value;?> -/sign.php?i=getVariable('planete')->value->id_user;?> -

- [url=http://www.halo-battle.fr][img]http://getVariable('url_serveur')->value;?> -/sign.php?i=getVariable('planete')->value->id_user;?> -[/img][/url] -


- Signature
http://getVariable('url_serveur')->value;?> -/sign.php?i=getVariable('planete')->value->id_user;?> -&f=1

- [url=http://www.halo-battle.fr][img]http://getVariable('url_serveur')->value;?> -/sign.php?i=getVariable('planete')->value->id_user;?> -&f=1[/img][/url] -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1516162299.file.pilori.tpl.php b/onyx2/modules/templates/compile/1516162299.file.pilori.tpl.php deleted file mode 100644 index 5b53708..0000000 --- a/onyx2/modules/templates/compile/1516162299.file.pilori.tpl.php +++ /dev/null @@ -1,505 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:10:"F341692174";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/pilori.tpl";i:1;i:1249071305;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257099573;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 19:21:46 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

Pilori de la galaxie

- - - - - - - - - - - tpl_vars['joueur'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('joueurs')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['joueur']->key => $_smarty_tpl->tpl_vars['joueur']->value){ -?> - - - - - - - - -
UtilisateurRaisonFin du banissementOpérateur
getVariable('joueur')->value['pseudo'];?> -smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('joueur')->value['raisonmv']),true);?> -getVariable('joueur')->value['mv']==3||$_smarty_tpl->getVariable('joueur')->value['last_visite']==2147483647){?>Définitifsmarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->smarty->plugin_handler->executeModifier('date_format',array($_smarty_tpl->getVariable('joueur')->value['last_visite']+259200,"%a %d %B %Y %H:%M"),true)),true); }?>getVariable('joueur')->value['operateurmv']){ echo $_smarty_tpl->smarty->plugin_handler->mailto(array(array('address'=>$_smarty_tpl->getVariable('joueur')->value['mail'],'encode'=>"hex",'text'=>$_smarty_tpl->getVariable('joueur')->value['operateurmv']),$_smarty_tpl->smarty,$_smarty_tpl),'function'); }else{ ?>Inconnu
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1522212413.file.mail_liste.tpl.php b/onyx2/modules/templates/compile/1522212413.file.mail_liste.tpl.php deleted file mode 100644 index 57037cb..0000000 --- a/onyx2/modules/templates/compile/1522212413.file.mail_liste.tpl.php +++ /dev/null @@ -1,515 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F1596222594";a:2:{i:0;s:85:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/mail_liste.tpl";i:1;i:1249071302;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- - - - - - - - - - - - -tpl_vars['ligne'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('mails')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['ligne']->key => $_smarty_tpl->tpl_vars['ligne']->value){ -?> - getVariable('ligne')->value['statut']>=1){?> style="background: #getVariable('ligne')->value['statut']==1){?>770000getVariable('ligne')->value['statut']==2){?>007700getVariable('ligne')->value['statut']==3){?>000077getVariable('ligne')->value['statut']==4){?>770077getVariable('ligne')->value['statut']==5){?>007777getVariable('ligne')->value['statut']==6){?>777700;"> - - - - - - - - -
ActionStatutEmetteurSujetDate
STAT
LIRE
SUPPR
getVariable('ligne')->value['statut'];?> -getVariable('ligne')->value['pseudo'];?> -smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('ligne')->value['titre']),true);?> -
smarty->plugin_handler->executeModifier('truncate',array($_smarty_tpl->smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('ligne')->value['contenu']),true),50),true);?> -
smarty->plugin_handler->executeModifier('date_format',array($_smarty_tpl->getVariable('ligne')->value['time'],"%d/%m/%y %H:%M:%S"),true);?> -
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1618033171.file.4.tpl.php b/onyx2/modules/templates/compile/1618033171.file.4.tpl.php deleted file mode 100644 index ce75bf8..0000000 --- a/onyx2/modules/templates/compile/1618033171.file.4.tpl.php +++ /dev/null @@ -1,498 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:7:{s:11:"F1613153733";a:2:{i:0;s:83:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/options/4.tpl";i:1;i:1249071310;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:10:"F803375734";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/options/common.tpl";i:1;i:1252592406;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:29:43 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/options/common.tpl" */ ?> - -

Recevoir des notifications par mail

-
-
-
-
-

-
-
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1633599927.file.common.tpl.php b/onyx2/modules/templates/compile/1633599927.file.common.tpl.php deleted file mode 100644 index 290f240..0000000 --- a/onyx2/modules/templates/compile/1633599927.file.common.tpl.php +++ /dev/null @@ -1,14 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:1:{s:10:"F803375734";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/options/common.tpl";i:1;i:1252592406;}}}'); ?> - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/169121489.file.version.tpl.php b/onyx2/modules/templates/compile/169121489.file.version.tpl.php deleted file mode 100644 index c42cd18..0000000 --- a/onyx2/modules/templates/compile/169121489.file.version.tpl.php +++ /dev/null @@ -1,491 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F1653099611";a:2:{i:0;s:81:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/version.tpl";i:1;i:1249071304;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

Historique des mises à jour

- -tpl_vars['version'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('versions')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['version']->key => $_smarty_tpl->tpl_vars['version']->value){ -?> - - -
VersionsDétails
getVariable('version')->value['numero'];?> -
getVariable('version')->value['date'];?> -
smarty->plugin_handler->executeModifier('nl2br',array($_smarty_tpl->getVariable('version')->value['description']),true);?> -
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1765206196.file.gestion_wing.tpl.php b/onyx2/modules/templates/compile/1765206196.file.gestion_wing.tpl.php deleted file mode 100644 index e803f99..0000000 --- a/onyx2/modules/templates/compile/1765206196.file.gestion_wing.tpl.php +++ /dev/null @@ -1,541 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:7:{s:11:"F1690012123";a:2:{i:0;s:95:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/alliance/gestion_wing.tpl";i:1;i:1252596269;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F2086263191";a:2:{i:0;s:97:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/alliance/gestion_common.tpl";i:1;i:1252592443;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:30:23 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/alliance/gestion_common.tpl" */ ?> - -

Gestion des wings

-getVariable('wings')->value){?> - - -tpl_vars['wing'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('wings')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['wing']->key => $_smarty_tpl->tpl_vars['wing']->value){ -?> - - - - - - - - - - - - - - - - - - - - -
getVariable('wing')->value['nom_alliance'];?> -getVariable('wing')->value['race'];?> -getVariable('wing')->value['nbMembres'];?> -getVariable('wing')->value['pseudo_fondateur']){ echo $_smarty_tpl->getVariable('wing')->value['pseudo_fondateur']; }else{ ?>Attente de l'acceptationgetVariable('wing')->value['pseudo_fondateur']){?>Messagesupprimer
Nom de la wingRaceNombre de membresFondateurMP fondateurActions
- -
L'alliance ne possède aucune wing.
- -

Créer une wing

-
-
-
-
-
-
- Le membre fondateur ne doit faire actuellement parti d'aucune alliance.
La wing sera créée une fois que le fondateur aura accepté votre demande.

- -
-
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1775586716.file.accueil.tpl.php b/onyx2/modules/templates/compile/1775586716.file.accueil.tpl.php deleted file mode 100644 index 41c2103..0000000 --- a/onyx2/modules/templates/compile/1775586716.file.accueil.tpl.php +++ /dev/null @@ -1,716 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:9:"F21600024";a:2:{i:0;s:81:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/accueil.tpl";i:1;i:1257089060;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257161190;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-02 13:19:56 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

getVariable('planete')->value->nom_planete)||(@SURFACE=="asteroide"&&!$_smarty_tpl->getVariable('planete')->value->nom_asteroide)){?>Sans nomsmarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('planete')->value->nom_planete),true); }else{ echo $_smarty_tpl->smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('planete')->value->nom_asteroide),true); }?> (getVariable('planete')->value->pseudo; }else{ ?>[smarty->plugin_handler->executeModifier('upper',array($_smarty_tpl->getVariable('planete')->value->tag),true);?> -] getVariable('planete')->value->nom_alliance; }?>)

- getVariable('planete')->value->options & 1){?> - planetesasteroides/getVariable('planete')->value->image;?> -.jpg" width="200" height="200" alt="Astéroïde" />
- - Heure du serveur : smarty->plugin_handler->executeModifier('date_format',array(time(),"/%a %d %b %Y/%H%M %S"),true);?> - -

Événements

-getVariable('multi')->value){?>Multicompte : évitez toute interaction avec tpl_vars['cmpt'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('multi')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['cmpt']->key => $_smarty_tpl->tpl_vars['cmpt']->value){ - $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['cmpt']->key; - if ($_smarty_tpl->getVariable('cmpt')->value['id_util']!=$_smarty_tpl->getVariable('planete')->value->id_user){ if ($_smarty_tpl->getVariable('key')->value>0){?>, getVariable('cmpt')->value['pseudo']; } }} ?> durant cette session.
getVariable('planete')->value->mv<0){?>Une demande de suppression de votre compte est en cours. Il sera supprimé sous 48h.
Si vous n'avez pas demandé la suppression de votre compte, contactez un opérateur au plus vite.

tpl_vars['flottes'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('radar')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['flottes']->key => $_smarty_tpl->tpl_vars['flottes']->value){ - $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['flottes']->key; - $_smarty_tpl->tpl_vars['flotte'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('flottes')->value[0]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['flotte']->key => $_smarty_tpl->tpl_vars['flotte']->value){ - $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['flotte']->key; - if ($_smarty_tpl->getVariable('flotte')->value['mission']==1){?>

attaque: Une flotte ennemie en provenance de smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('flotte')->value['nom_planete']),true);?> - [getVariable('flotte')->value['start_galaxie'];?> -:getVariable('flotte')->value['start_ss'];?> -:getVariable('flotte')->value['start_position'];?> -] atteint la planète smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('flottes')->value[1][0]),true);?> - [getVariable('flottes')->value[1][1];?> -:getVariable('flottes')->value[1][2];?> -:getVariable('flottes')->value[1][3];?> -] dans getVariable('flotte')->value['arrive_time'];?> -

-getVariable('flotte')->value['mission']==2){?>

transport: Une flotte en provenance de smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('flotte')->value['nom_planete']),true);?> - [getVariable('flotte')->value['start_galaxie'];?> -:getVariable('flotte')->value['start_ss'];?> -:getVariable('flotte')->value['start_position'];?> -] atteint la planète smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('flottes')->value[1][0]),true);?> - [getVariable('flottes')->value[1][1];?> -:getVariable('flottes')->value[1][2];?> -:getVariable('flottes')->value[1][3];?> -] dans getVariable('flotte')->value['arrive_time'];?> -

-getVariable('flotte')->value['mission']==6||$_smarty_tpl->getVariable('flotte')->value['mission']==7){?>

stationnement/don: Une flotte en provenance de smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('flotte')->value['nom_planete']),true);?> - [getVariable('flotte')->value['start_galaxie'];?> -:getVariable('flotte')->value['start_ss'];?> -:getVariable('flotte')->value['start_position'];?> -] atteint la planète smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('flottes')->value[1][0]),true);?> - [getVariable('flottes')->value[1][1];?> -:getVariable('flottes')->value[1][2];?> -:getVariable('flottes')->value[1][3];?> -] dans getVariable('flotte')->value['arrive_time'];?> -

-getVariable('alertMail')->value[0] + $_smarty_tpl->getVariable('alertMail')->value[1]>=1){?>

messagerie: getVariable('alertMail')->value[0]){?>getVariable('alertMail')->value[0];?> - messagegetVariable('alertMail')->value[0]>1){?>sgetVariable('alertMail')->value[0]!=0&&$_smarty_tpl->getVariable('alertMail')->value[1]!=0){?> et non lugetVariable('alertMail')->value[1]){?>getVariable('alertMail')->value[1];?> - rapportgetVariable('alertMail')->value[1]>1){?>s non lu

-smarty->_smarty_vars['capture']['events']=ob_get_clean(); if ($_smarty_tpl->smarty->_smarty_vars['capture']['events']){?> - smarty->_smarty_vars['capture']['events'];?> - - -

Rien à signaler !

- -

Infos

-

Diamètre: smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('diametre')->value),true);?> - km (getVariable('planete')->value->casesRest;?> - casegetVariable('planete')->value->casesRest>1){?>s disponiblegetVariable('planete')->value->casesRest>1){?>s sur getVariable('planete')->value->cases;?> -)

-

Race : getVariable('planete')->value->race;?> -

-

position: getVariable('planete')->value->galaxie;?> -.getVariable('planete')->value->ss;?> -.getVariable('planete')->value->position;?> -

- -

population: smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('planete')->value->population),true);?> -

-

crédits: smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('planete')->value->credits),true);?> -

-

Classement: getVariable('planete')->value->place_points=='0'){?>non classégetVariable('planete')->value->place_points; if ($_smarty_tpl->getVariable('planete')->value->place_points=='1'){?>erème (smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('planete')->value->points),true);?> - points)

- -

nombre de membres: smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('planete')->value->details['nb_membres']),true);?> -

-

fondateur: getVariable('planete')->value->fondateur->pseudo;?> -

-

crédits: smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('planete')->value->credits_alliance),true);?> -

-

Classement: getVariable('planete')->value->place_points=='0'){?>non classégetVariable('planete')->value->place_points; if ($_smarty_tpl->getVariable('planete')->value->place_points=='1'){?>erème (smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('planete')->value->points_alliance),true);?> - points)

- - getVariable('alliance')->value){?>

Alliance: [smarty->plugin_handler->executeModifier('upper',array($_smarty_tpl->getVariable('alliance')->value['tag']),true);?> -] getVariable('alliance')->value['nom'];?> -

- getVariable('planete')->value->options & 2){ ob_start(); $_smarty_tpl->assign('i',false,null,null); if ($_smarty_tpl->getVariable('fileBat')->value){?> -

-tpl_vars['file'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['keyF'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('fileBat')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['file']->key => $_smarty_tpl->tpl_vars['file']->value){ - $_smarty_tpl->tpl_vars['keyF']->value = $_smarty_tpl->tpl_vars['file']->key; -?> - tpl_vars['element'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['keyE'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('file')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['element']->key => $_smarty_tpl->tpl_vars['element']->value){ - $_smarty_tpl->tpl_vars['keyE']->value = $_smarty_tpl->tpl_vars['element']->key; -?> - getVariable('keyE')->value<3){ if ($_smarty_tpl->getVariable('i')->value==true){?> - assign('i',true,null,null);?>Bâtiments : getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][$_smarty_tpl->getVariable('element')->value[0]]; if ($_smarty_tpl->getVariable('element')->value[1]){?> (démolition)getVariable('keyE')->value==3){?>... - -

-assign('i',false,null,null); if ($_smarty_tpl->getVariable('fileCas')->value){?> -

-tpl_vars['file'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['keyF'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('fileCas')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['file']->key => $_smarty_tpl->tpl_vars['file']->value){ - $_smarty_tpl->tpl_vars['keyF']->value = $_smarty_tpl->tpl_vars['file']->key; -?> - tpl_vars['element'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['keyE'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('file')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['element']->key => $_smarty_tpl->tpl_vars['element']->value){ - $_smarty_tpl->tpl_vars['keyE']->value = $_smarty_tpl->tpl_vars['element']->key; -?> - getVariable('keyE')->value<3){ if ($_smarty_tpl->getVariable('i')->value==true){?> - assign('i',true,null,null);?>smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][9]),true);?> - : getVariable('element')->value[1];?> - getVariable('element')->value[1]>1){ echo $_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['caserne']['noms_pluriel'][$_smarty_tpl->getVariable('element')->value[0]]; }else{ echo $_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['caserne']['noms_sing'][$_smarty_tpl->getVariable('element')->value[0]]; } if ($_smarty_tpl->getVariable('element')->value[2]){?> (démantèlement)getVariable('keyE')->value==3){?>... - -

-assign('i',false,null,null); if ($_smarty_tpl->getVariable('fileVais')->value){?> -

-tpl_vars['file'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['keyF'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('fileVais')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['file']->key => $_smarty_tpl->tpl_vars['file']->value){ - $_smarty_tpl->tpl_vars['keyF']->value = $_smarty_tpl->tpl_vars['file']->key; -?> - tpl_vars['element'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['keyE'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('file')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['element']->key => $_smarty_tpl->tpl_vars['element']->value){ - $_smarty_tpl->tpl_vars['keyE']->value = $_smarty_tpl->tpl_vars['element']->key; -?> - getVariable('keyE')->value<3){ if ($_smarty_tpl->getVariable('i')->value==true){?> - assign('i',true,null,null);?>smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][8]),true);?> - : getVariable('element')->value[1];?> - getVariable('element')->value[1]>1){ echo $_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['vaisseaux']['noms_pluriel'][$_smarty_tpl->getVariable('element')->value[0]]; }else{ echo $_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['vaisseaux']['noms_sing'][$_smarty_tpl->getVariable('element')->value[0]]; } if ($_smarty_tpl->getVariable('element')->value[2]){?> (démantèlement)getVariable('keyE')->value==3){?>... - -

-assign('i',false,null,null); if ($_smarty_tpl->getVariable('fileTer')->value){?> -

-tpl_vars['file'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['keyF'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('fileTer')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['file']->key => $_smarty_tpl->tpl_vars['file']->value){ - $_smarty_tpl->tpl_vars['keyF']->value = $_smarty_tpl->tpl_vars['file']->key; -?> - tpl_vars['element'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['keyE'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('file')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['element']->key => $_smarty_tpl->tpl_vars['element']->value){ - $_smarty_tpl->tpl_vars['keyE']->value = $_smarty_tpl->tpl_vars['element']->key; -?> - getVariable('keyE')->value<3){ if ($_smarty_tpl->getVariable('i')->value==true){?> - assign('i',true,null,null);?>smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][7]),true);?> - : getVariable('element')->value[1];?> - getVariable('element')->value[1]>1){ echo $_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['terrestre']['noms_pluriel'][$_smarty_tpl->getVariable('element')->value[0]]; }else{ echo $_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['terrestre']['noms_sing'][$_smarty_tpl->getVariable('element')->value[0]]; } if ($_smarty_tpl->getVariable('element')->value[2]){?> (démantèlement)getVariable('keyE')->value==3){?>... - -

-assign('i',false,null,null); if ($_smarty_tpl->getVariable('fileTech')->value){?> -

-tpl_vars['file'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['keyF'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('fileTech')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['file']->key => $_smarty_tpl->tpl_vars['file']->value){ - $_smarty_tpl->tpl_vars['keyF']->value = $_smarty_tpl->tpl_vars['file']->key; -?> - tpl_vars['element'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['keyE'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('file')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['element']->key => $_smarty_tpl->tpl_vars['element']->value){ - $_smarty_tpl->tpl_vars['keyE']->value = $_smarty_tpl->tpl_vars['element']->key; -?> - getVariable('keyE')->value<3){ if ($_smarty_tpl->getVariable('i')->value==true){?> - assign('i',true,null,null);?>smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][6]),true);?> - : getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['technologies']['noms_sing'][$_smarty_tpl->getVariable('element')->value[0]][$_smarty_tpl->getVariable('element')->value[1]]; }elseif($_smarty_tpl->getVariable('keyE')->value==3){?>... - -

-smarty->_smarty_vars['capture']['expFile']=ob_get_clean(); ?> -

En cours sur la planète

-smarty->_smarty_vars['capture']['expFile']){?> - smarty->_smarty_vars['capture']['expFile'];?> - - -

Tous les chantiers sont terminés !

- - -

Infos de l'alliance

- getVariable('planete')->value->details['texte_interne'];?> - - smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1821365992.file.oubliemdp.tpl.php b/onyx2/modules/templates/compile/1821365992.file.oubliemdp.tpl.php deleted file mode 100644 index 5e9abe3..0000000 --- a/onyx2/modules/templates/compile/1821365992.file.oubliemdp.tpl.php +++ /dev/null @@ -1,133 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:3:{s:10:"F997196008";a:2:{i:0;s:82:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//cms/oubliemdp.tpl";i:1;i:1251713496;}s:10:"F855357499";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//cms/header.tpl";i:1;i:1250784847;}s:10:"F884437780";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//cms/footer.tpl";i:1;i:1250785005;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:13:37 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//cms/header.tpl" */ ?> - - - - - - - - ::Halo-Battle:: - <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - - - - - - -
-
- - -
-
-
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
-
-
- value=" -" /> -
value=" -" /> -

Génération ... -

-
-
-
-
- getVariable('erreurs')->value){?> -
-
Impossible de changer le mot de passe :
-
-

- getVariable('erreurs')->value;?> - -

-
-
- smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:13:38 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//cms/footer.tpl" */ ?> -
- - -
-
-getVariable('script')->value;?> - - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1865191604.file.chat.tpl.php b/onyx2/modules/templates/compile/1865191604.file.chat.tpl.php deleted file mode 100644 index 1d5293e..0000000 --- a/onyx2/modules/templates/compile/1865191604.file.chat.tpl.php +++ /dev/null @@ -1,527 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:10:"F408221216";a:2:{i:0;s:78:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/chat.tpl";i:1;i:1249071307;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

Chat

-
Le chat est désactivé pour le moment
- -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1890352160.file.ressources_alli.tpl.php b/onyx2/modules/templates/compile/1890352160.file.ressources_alli.tpl.php deleted file mode 100644 index 9e33849..0000000 --- a/onyx2/modules/templates/compile/1890352160.file.ressources_alli.tpl.php +++ /dev/null @@ -1,488 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:10:"F678785979";a:2:{i:0;s:89:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/ressources_alli.tpl";i:1;i:1257029821;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

Donner des crédits à l'alliance

-
-
-
-
-
-
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1903351668.file.ressources.tpl.php b/onyx2/modules/templates/compile/1903351668.file.ressources.tpl.php deleted file mode 100644 index 83fdbb9..0000000 --- a/onyx2/modules/templates/compile/1903351668.file.ressources.tpl.php +++ /dev/null @@ -1,542 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:10:"F516093802";a:2:{i:0;s:84:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/ressources.tpl";i:1;i:1257097144;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

Ressources : Tableau récapitulatif des productions par heure

-
- - - - - getVariable('planete')->value->batiments[1]){?> - getVariable('planete')->value->batiments[2]){?> - - getVariable('planete')->value->batiments[4]){?> - - getVariable('planete')->value->energieConso>=$_smarty_tpl->getVariable('planete')->value->energie){?> class="lack">smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ressources_conso')->value[4]),true);?> - - -
Coefficientsmarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['metal']),true);?> -smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['cristal']),true);?> -smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['hydrogene']),true);?> -smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['energie']),true);?> -
getVariable('planete')->value->batiments[0];?> - smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][0]),true);?> -%smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ressources_prod')->value[0]),true);?> -00-smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ressources_conso')->value[0]),true);?> -
getVariable('planete')->value->batiments[1];?> - smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][1]),true);?> -%0smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ressources_prod')->value[1]),true);?> -0-smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ressources_conso')->value[1]),true);?> -
getVariable('planete')->value->batiments[2];?> - smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][2]),true);?> -%00smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ressources_prod')->value[2]),true);?> --smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ressources_conso')->value[2]),true);?> -
getVariable('planete')->value->batiments[3];?> - smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][3]),true);?> -%000smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ressources_prod')->value[3]),true);?> -
getVariable('planete')->value->batiments[4];?> - smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][4]),true);?> -%000smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ressources_prod')->value[4]),true);?> -
getVariable('planete')->value->batiments[10];?> - smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][10]),true);?> --smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ressources_silo')->value[1]),true);?> -smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ressources_silo')->value[1]),true);?> -smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ressources_silo')->value[1]),true);?> -0
Total-smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ressources_prod')->value[0]),true);?> -smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ressources_prod')->value[1]),true);?> -getVariable('planete')->value->batiments[3]){ echo $_smarty_tpl->smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ressources_toto')->value[0]),true); }else{ ?>0
- -
- -

smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][4]),true);?> - : augmentation de la capacité

- -
-
- - -
-
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1916317831.file.erreur.tpl.php b/onyx2/modules/templates/compile/1916317831.file.erreur.tpl.php deleted file mode 100644 index c21172b..0000000 --- a/onyx2/modules/templates/compile/1916317831.file.erreur.tpl.php +++ /dev/null @@ -1,486 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F1010545522";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/erreur.tpl";i:1;i:1249071306;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257161190;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-02 13:19:56 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -
getVariable('couleur')->value){?> style="color: getVariable('couleur')->value;?> -;">getVariable('message')->value;?> -
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1952275215.file.mini.tpl.php b/onyx2/modules/templates/compile/1952275215.file.mini.tpl.php deleted file mode 100644 index 97b4a9f..0000000 --- a/onyx2/modules/templates/compile/1952275215.file.mini.tpl.php +++ /dev/null @@ -1,135 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:3:{s:10:"F185293070";a:2:{i:0;s:77:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//cms/mini.tpl";i:1;i:1257186363;}s:10:"F855357499";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//cms/header.tpl";i:1;i:1250784847;}s:10:"F884437780";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//cms/footer.tpl";i:1;i:1250785005;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:13:37 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//cms/header.tpl" */ ?> - - - - - - - - ::Halo-Battle:: - <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - - - - - - -
-
- - -
-
-
getVariable('LANG')->value['accueil']['login']['titre'];?> -
-
-
-
- - - - - - - - getVariable('serveur_name')->value;?> - - getVariable('LANG')->value['accueil']['login']['forgotMdp'];?> - - -
-
-
-
- -
smarty->plugin_handler->executeModifier('sprintf',array($_smarty_tpl->getVariable('LANG')->value['accueil']['inscription']['texte'],$_smarty_tpl->getVariable('link')->value['inscription'],$_smarty_tpl->getVariable('link')->value['inscription'],$_smarty_tpl->getVariable('link')->value['inscription']),true);?> -
-
- Halo.fr -
- -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:13:38 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//cms/footer.tpl" */ ?> -
- - -
-
-getVariable('script')->value;?> - - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1957264646.file.operateur.tpl.php b/onyx2/modules/templates/compile/1957264646.file.operateur.tpl.php deleted file mode 100644 index 20669f7..0000000 --- a/onyx2/modules/templates/compile/1957264646.file.operateur.tpl.php +++ /dev/null @@ -1,527 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F1962836692";a:2:{i:0;s:83:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/operateur.tpl";i:1;i:1249071305;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

Opérateurs de cette galaxie

- -

Problèmes connus

- Lisez les questions/réponses ci-dessous. Ne contactez un opérateur que si vous ne pouvez pas résoudre votre problème/demande.
- N'oubliez pas de contacter les opérateurs pour les raisons indiquées dans les règles du jeu. -
-tpl_vars['question'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('questions')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['question']->key => $_smarty_tpl->tpl_vars['question']->value){ -?> -
-
getVariable('question')->value[0];?> -
-
getVariable('question')->value[1]; if ($_smarty_tpl->getVariable('auth_level')->value>4){?>
-
- -
- getVariable('auth_level')->value>=5){?> -

Ajouter un problème connu

-
- - - -
-

Prendre contact avec les opérateurs de la galaxie

-
- - - -
smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/1994408471.file.archives.tpl.php b/onyx2/modules/templates/compile/1994408471.file.archives.tpl.php deleted file mode 100644 index c244a01..0000000 --- a/onyx2/modules/templates/compile/1994408471.file.archives.tpl.php +++ /dev/null @@ -1,571 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:7:{s:10:"F843271053";a:2:{i:0;s:93:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/diplomatie/archives.tpl";i:1;i:1249071310;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1069497286";a:2:{i:0;s:91:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/diplomatie/common.tpl";i:1;i:1252592471;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:30:44 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/diplomatie/common.tpl" */ ?> - -

Déclarations de guerre

-getVariable('guerres')->value){?> - - -

Aucune guerre n'a été déclarée

- -
-

Pactes de non agression

-getVariable('pnas')->value){?> - - -

Aucun pacte de ce type n'a encore été signé

- -
-

Pactes commerciaux

-getVariable('pcs')->value){?> - - -

Aucun pacte de ce type n'a encore été signé

- -
-

Pactes militaires

-getVariable('pms')->value){?> - - -

Aucun pacte de ce type n'a encore été signé

-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/2003849687.file.bandeau.tpl.php b/onyx2/modules/templates/compile/2003849687.file.bandeau.tpl.php deleted file mode 100644 index cd290f9..0000000 --- a/onyx2/modules/templates/compile/2003849687.file.bandeau.tpl.php +++ /dev/null @@ -1,522 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:10:"F546277335";a:2:{i:0;s:82:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/bandeau.tpl";i:1;i:1249071302;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

Informations visibles

- - - - - - - - -tpl_vars['ligne'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('tableau')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['ligne']->key => $_smarty_tpl->tpl_vars['ligne']->value){ - $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['ligne']->key; -?> - - - getVariable('ligne')->value['color']){?> style="color: getVariable('ligne')->value['color'];?> -;">smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('ligne')->value['texte']),true);?> - - - - -
ActionTexte
EDIT | SUPPR
-

getVariable('id')->value=="add"){?>AjouterModifier une informationgetVariable('id')->value!="add"){?> : getVariable('id')->value; }?>

-
-
-

-

- -
-
-

Gestion du cache

- Mettre à jour le cache -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/2006021482.file.gestion_alliance.tpl.php b/onyx2/modules/templates/compile/2006021482.file.gestion_alliance.tpl.php deleted file mode 100644 index e329f34..0000000 --- a/onyx2/modules/templates/compile/2006021482.file.gestion_alliance.tpl.php +++ /dev/null @@ -1,571 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:7:{s:10:"F298733111";a:2:{i:0;s:99:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/alliance/gestion_alliance.tpl";i:1;i:1249071309;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F2086263191";a:2:{i:0;s:97:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/alliance/gestion_common.tpl";i:1;i:1252592443;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:30:23 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/alliance/gestion_common.tpl" */ ?> - -

Designation de l'alliance


- getVariable('planete')->value->nom_alliance;?> -
- getVariable('planete')->value->tag;?> -
- getVariable('planete')->value->race;?> -

- Pour changer le tag ou le nom de votre alliance, veuillez contacter un opérateur.


-
-
-

-

-
-
-

Communication et défense de l'alliance


-
-
-

-
-

-

-
-
-

Paramètres des moyens de communication


-
-
-
-
-
-
-
-
- Laissez l'adresse du serveur IRC vide pour utiliser le chat par défaut du jeu.


-

-
-
-

Réglages des inscriptions


-
-
-

-

-
-

-
-

-
-
- getVariable('planete')->value->fondateur==$_smarty_tpl->getVariable('planete')->value->id_user){?> -

Changer de fondateur


-
-
- Vous êtres actuellement le fondateur de l'alliance.

- -
-

-
-
- smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/2027065474.file.gestion.tpl.php b/onyx2/modules/templates/compile/2027065474.file.gestion.tpl.php deleted file mode 100644 index f29e26d..0000000 --- a/onyx2/modules/templates/compile/2027065474.file.gestion.tpl.php +++ /dev/null @@ -1,595 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:10:"F273566218";a:2:{i:0;s:81:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/gestion.tpl";i:1;i:1257030919;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

Politique

-
-
-

-

-

- -
-
- -

Gestion

-
- - - - -tpl_vars['plan'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('planetes')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['plan']->key => $_smarty_tpl->tpl_vars['plan']->value){ -?> - - - - - -tpl_vars['plan'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('planetes')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['plan']->key => $_smarty_tpl->tpl_vars['plan']->value){ -?> - - - - - - - -tpl_vars['plan'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('planetes')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['plan']->key => $_smarty_tpl->tpl_vars['plan']->value){ - if ($_smarty_tpl->getVariable('plan')->value['id']==$_smarty_tpl->getVariable('planeteEC')->value['id']){ $_smarty_tpl->assign('plan',$_smarty_tpl->getVariable('planeteEC')->value,null,null); }?> - - - - - -tpl_vars['plan'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('planetes')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['plan']->key => $_smarty_tpl->tpl_vars['plan']->value){ - if ($_smarty_tpl->getVariable('plan')->value['id']==$_smarty_tpl->getVariable('planeteEC')->value['id']){ $_smarty_tpl->assign('plan',$_smarty_tpl->getVariable('planeteEC')->value,null,null); }?> - - - - - -tpl_vars['plan'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('planetes')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['plan']->key => $_smarty_tpl->tpl_vars['plan']->value){ - if ($_smarty_tpl->getVariable('plan')->value['id']==$_smarty_tpl->getVariable('planeteEC')->value['id']){ $_smarty_tpl->assign('plan',$_smarty_tpl->getVariable('planeteEC')->value,null,null); }?> - - - - - -tpl_vars['plan'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('planetes')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['plan']->key => $_smarty_tpl->tpl_vars['plan']->value){ - if ($_smarty_tpl->getVariable('plan')->value['id']==$_smarty_tpl->getVariable('planeteEC')->value['id']){ $_smarty_tpl->assign('plan',$_smarty_tpl->getVariable('planeteEC')->value,null,null); }?> - - - - - -tpl_vars['plan'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('planetes')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['plan']->key => $_smarty_tpl->tpl_vars['plan']->value){ - if ($_smarty_tpl->getVariable('plan')->value['id']==$_smarty_tpl->getVariable('planeteEC')->value['id']){ $_smarty_tpl->assign('plan',$_smarty_tpl->getVariable('planeteEC')->value,null,null); }?> - - - - - -tpl_vars['plan'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('planetes')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['plan']->key => $_smarty_tpl->tpl_vars['plan']->value){ -?> - - - - -
<?php echo $_smarty_tpl->getVariable('plan')->value['image'];?>
-
smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('plan')->value['nom_planete']),true);?> -
smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['metal']),true);?> -smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('plan')->value['metal']),true);?> -
smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['cristal']),true);?> -smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('plan')->value['cristal']),true);?> -
smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['hydrogene']),true);?> -smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('plan')->value['hydrogene']),true);?> -
smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['energie']),true);?> -smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('plan')->value['energie']),true);?> -
Populationsmarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('plan')->value['population']),true);?> -
Moralsmarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('plan')->value['moral']*100),true);?> -%
-
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/2045867932.file.carte.tpl.php b/onyx2/modules/templates/compile/2045867932.file.carte.tpl.php deleted file mode 100644 index 2b90e40..0000000 --- a/onyx2/modules/templates/compile/2045867932.file.carte.tpl.php +++ /dev/null @@ -1,549 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F1897637721";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/carte.tpl";i:1;i:1257029821;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

Navigation

-
- -

Système Solaire

- - - - - - - - - - - - - - - - - tpl_vars['plan'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('carte')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['plan']->key => $_smarty_tpl->tpl_vars['plan']->value){ -?> - getVariable('plan')->value[4]){?> class="getVariable('plan')->value[4];?> -"> - - - - - - - - - - -
Système: getVariable('position')->value[0];?> -:getVariable('position')->value[1];?> -
PositionNom planète
Alliance
Joueur
RaceGouvernementDébris getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['metal'];?> - | getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['cristal'];?> -Fonctions
getVariable('plan')->value[0];?> -getVariable('plan')->value[7]){?><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('plan')->value[1]),true);?>
- getVariable('plan')->value[1]){ echo $_smarty_tpl->smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('plan')->value[1]),true);?> -
getVariable('plan')->value[6]){?>[getVariable('plan')->value[6];?> -]
getVariable('plan')->value[5]; }else{ ?> 
getVariable('plan')->value[4]){?><?php echo $_smarty_tpl->getVariable('plan')->value[4];?>
- getVariable('plan')->value[4]){?><?php echo $_smarty_tpl->getVariable('plan')->value[6];?>
- getVariable('plan')->value[2]){ echo $_smarty_tpl->getVariable('plan')->value[2]; }else{ ?>0 | getVariable('plan')->value[3]){ echo $_smarty_tpl->getVariable('plan')->value[3]; }else{ ?>0getVariable('plan')->value[5]){?>Message 
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/2081988183.file.vp.tpl.php b/onyx2/modules/templates/compile/2081988183.file.vp.tpl.php deleted file mode 100644 index 8ed830c..0000000 --- a/onyx2/modules/templates/compile/2081988183.file.vp.tpl.php +++ /dev/null @@ -1,479 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F1075258395";a:2:{i:0;s:76:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/vp.tpl";i:1;i:1249071304;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -
... veuillez patienter ...
- getVariable('contenu')->value){ echo $_smarty_tpl->getVariable('contenu')->value; }else{ ?>smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/2087728674.file.common.tpl.php b/onyx2/modules/templates/compile/2087728674.file.common.tpl.php deleted file mode 100644 index 89b8978..0000000 --- a/onyx2/modules/templates/compile/2087728674.file.common.tpl.php +++ /dev/null @@ -1,14 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:1:{s:11:"F1069497286";a:2:{i:0;s:91:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/diplomatie/common.tpl";i:1;i:1252592471;}}}'); ?> - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/232912709.file.messagerie.tpl.php b/onyx2/modules/templates/compile/232912709.file.messagerie.tpl.php deleted file mode 100644 index 45e58ce..0000000 --- a/onyx2/modules/templates/compile/232912709.file.messagerie.tpl.php +++ /dev/null @@ -1,522 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F1649530715";a:2:{i:0;s:84:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/messagerie.tpl";i:1;i:1252596381;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

getVariable('titreR')->value;?> -

-

- getVariable('avertissement')->value;?> - -
-tpl_vars['message'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('messages')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['message']->key => $_smarty_tpl->tpl_vars['message']->value){ - $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['message']->key; -?> - getVariable('onglet')->value!="send"&&$_smarty_tpl->getVariable('message')->value['vu']){?> class="new"> -
getVariable('onglet')->value!="rapports"){?>getVariable('message')->value['destinataire'];?> -&o=FwdgetVariable('message')->value['expediteur'];?> -&o=Re:%20getVariable('message')->value['sujet'];?> -">getVariable('message')->value['sujet']; if ($_smarty_tpl->getVariable('onglet')->value!="rapports"){?>getVariable('message')->value['expediteur'])){?> getVariable('onglet')->value=="send"){?>vers getVariable('message')->value['destinataire']; }else{ ?>de getVariable('message')->value['expediteur']; } }?> le smarty->plugin_handler->executeModifier('date_format',array($_smarty_tpl->getVariable('message')->value['temps'],"%d/%m/%y à %H:%M"),true);?> -
-
getVariable('onglet')->value=="rapports"){ echo $_smarty_tpl->smarty->plugin_handler->executeModifier('nl2br',array($_smarty_tpl->getVariable('message')->value['contenu']),true); }else{ echo $_smarty_tpl->smarty->plugin_handler->executeModifier('nl2br',array($_smarty_tpl->smarty->plugin_handler->executeModifier('bbcode',array($_smarty_tpl->smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('message')->value['contenu']),true)),true)),true); } if ($_smarty_tpl->getVariable('onglet')->value!="send"&&$_smarty_tpl->getVariable('onglet')->value!="rapports"){?>
- - - getVariable('onglet')->value!="send"&&$_smarty_tpl->getVariable('messages')->value){?>Supprimer le sélection : - getVariable('messages')->value){?>
Aucun getVariable('onglet')->value=="rapports"){?>rapportmessage
-
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/25059425.file.batiments_alli.tpl.php b/onyx2/modules/templates/compile/25059425.file.batiments_alli.tpl.php deleted file mode 100644 index f9390a1..0000000 --- a/onyx2/modules/templates/compile/25059425.file.batiments_alli.tpl.php +++ /dev/null @@ -1,559 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F1338125220";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/batiments_alli.tpl";i:1;i:1257029821;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

File d'attente

- -

Arbre des technologies


-

Bâtiments

-
-tpl_vars['batiment'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('batiments')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['batiment']->key => $_smarty_tpl->tpl_vars['batiment']->value){ -?> -
-
smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['alli_batiments']['noms_sing'][$_smarty_tpl->getVariable('batiment')->value['id']]),true); if ($_smarty_tpl->getVariable('batiment')->value['niveau']>0){?> (Niveau getVariable('batiment')->value['niveau'];?> -)
-
<?php echo $_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['alli_batiments']['noms_sing'][$_smarty_tpl->getVariable('batiment')->value['id']];?>
-

getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['alli_batiments']['descriptions'][$_smarty_tpl->getVariable('batiment')->value['id']];?> -

-
- getVariable('batiment')->value['niveau']>0){?>Niveau actuel : getVariable('batiment')->value['niveau'];?> -

- getVariable('batiment')->value['nec_metal']>0){?>Coût getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['metal'];?> - : getVariable('batiment')->value['nec_metal']>$_smarty_tpl->getVariable('planete')->value->metal){?> class="lack">smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('batiment')->value['nec_metal']),true);?> -
- getVariable('batiment')->value['nec_cristal']>0){?>Coût getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['cristal'];?> - : getVariable('batiment')->value['nec_cristal']>$_smarty_tpl->getVariable('planete')->value->cristal){?> class="lack">smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('batiment')->value['nec_cristal']),true);?> -
- getVariable('batiment')->value['nec_hydrogene']>0){?>Coût getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['hydrogene'];?> - : getVariable('batiment')->value['nec_hydrogene']>$_smarty_tpl->getVariable('planete')->value->hydrogene){?> class="lack">smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('batiment')->value['nec_hydrogene']),true);?> -
- getVariable('batiment')->value['nec_credits']>0){?>Coût getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['credits'];?> - : getVariable('batiment')->value['nec_credits']>$_smarty_tpl->getVariable('planete')->value->credits_alliance){?> class="lack">smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('batiment')->value['nec_credits']),true);?> -
- Temps de construction : getVariable('batiment')->value['temps'];?> -
-
- getVariable('batiment')->value['nec_credits']>$_smarty_tpl->getVariable('planete')->value->credits_alliance||$_smarty_tpl->getVariable('batiment')->value['nec_hydrogene']>$_smarty_tpl->getVariable('planete')->value->hydrogene||$_smarty_tpl->getVariable('batiment')->value['nec_cristal']>$_smarty_tpl->getVariable('planete')->value->cristal||$_smarty_tpl->getVariable('batiment')->value['nec_metal']>$_smarty_tpl->getVariable('planete')->value->metal){?>Ressources insuffisantes - Construire - getVariable('batiment')->value['enfile']!==false){?>Arrêter - getVariable('batiment')->value['niveau']>0&&$_smarty_tpl->getVariable('batiment')->value['id']!=0){?> Démolir un niveau -
-
- -
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/263353394.file.vide.tpl.php b/onyx2/modules/templates/compile/263353394.file.vide.tpl.php deleted file mode 100644 index b2ea239..0000000 --- a/onyx2/modules/templates/compile/263353394.file.vide.tpl.php +++ /dev/null @@ -1,481 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F2026508966";a:2:{i:0;s:78:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/vide.tpl";i:1;i:1249071304;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

getVariable('titreP')->value){ echo $_smarty_tpl->getVariable('titreP')->value; }else{ echo $_smarty_tpl->getVariable('titre')->value; }?>

- getVariable('contenu')->value;?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/281948237.file.2.tpl.php b/onyx2/modules/templates/compile/281948237.file.2.tpl.php deleted file mode 100644 index 3b14509..0000000 --- a/onyx2/modules/templates/compile/281948237.file.2.tpl.php +++ /dev/null @@ -1,517 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:7:{s:10:"F278515611";a:2:{i:0;s:83:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/options/2.tpl";i:1;i:1249071311;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:10:"F803375734";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/options/common.tpl";i:1;i:1252592406;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:29:43 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/options/common.tpl" */ ?> - -

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

-
-
-
-

-

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. Vous retrouverez vos files d'attentes dans l'état dans lequel vous les avez laissées.
-
Activer le mode vacances maintenant -

Supprimer son compte

- getVariable('planete')->value->mv<0){?>Vous avez demandé la suppression de votre compte. Il sera supprimé sous 48h. -
Supprimer mon comptesmarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/297073054.file.sommaire.tpl.php b/onyx2/modules/templates/compile/297073054.file.sommaire.tpl.php deleted file mode 100644 index 65c6b46..0000000 --- a/onyx2/modules/templates/compile/297073054.file.sommaire.tpl.php +++ /dev/null @@ -1,487 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F1219463178";a:2:{i:0;s:90:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/../aide/sommaire.tpl";i:1;i:1249071302;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

Aide de Halo-Battle :: Sommaire

-

Avertissements

-

Configuration nécessaire & démarrage du jeu

-

Introduction

-

Comment jouer ?

-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/309089181.file.flotte1.tpl.php b/onyx2/modules/templates/compile/309089181.file.flotte1.tpl.php deleted file mode 100644 index cb11c93..0000000 --- a/onyx2/modules/templates/compile/309089181.file.flotte1.tpl.php +++ /dev/null @@ -1,608 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F2062584087";a:2:{i:0;s:81:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/flotte1.tpl";i:1;i:1257155429;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257161190;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-02 13:19:56 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

Flottes en action

- - - - - -getVariable('flottesEC')->value){ $_smarty_tpl->tpl_vars['flotteEC'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('flottesEC')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['flotteEC']->key => $_smarty_tpl->tpl_vars['flotteEC']->value){ -?> - - - - - - - getVariable('flotteEC')->value->printTime_ret()){?> - - - - - - - - - -
NomMissionNb.vaisseau(x)DestinationHeure d'arrivéeRetourHeure de retour
smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('flotteEC')->value->nom),true);?> -getVariable('flotteEC')->value->txtMission($_smarty_tpl->getVariable('flotteEC')->value->mission);?> -getVariable('flotteEC')->value->nb_vais;?> -getVariable('flotteEC')->value->end_type=="2"){ echo $_smarty_tpl->getVariable('flotteEC')->value->end_planete->nom_alliance;?> - [getVariable('flotteEC')->value->end_planete->galaxie;?> -:getVariable('flotteEC')->value->end_planete->ss;?> -:A]getVariable('flotteEC')->value->end_type=="1"){?>[getVariable('flotteEC')->value->end_planete;?> -]getVariable('flotteEC')->value->end_type=="3"){?>[getVariable('flotteEC')->value->end_planete;?> -:A]getVariable('flotteEC')->value->end_planete->nom_planete;?> - [getVariable('flotteEC')->value->end_planete->galaxie;?> -:getVariable('flotteEC')->value->end_planete->ss;?> -:getVariable('flotteEC')->value->end_planete->position;?> -]smarty->plugin_handler->executeModifier('date_format',array($_smarty_tpl->getVariable('flotteEC')->value->printTime_end(),"%d/%m %H:%M:%S"),true);?> -getVariable('flotteEC')->value->start_type=="2"){ echo $_smarty_tpl->getVariable('flotteEC')->value->start_planete->nom_alliance;?> - [getVariable('flotteEC')->value->start_planete->galaxie;?> -:getVariable('flotteEC')->value->start_planete->ss;?> -:A]getVariable('flotteEC')->value->start_type=="1"){?>[getVariable('flotteEC')->value->start_planete;?> -]getVariable('flotteEC')->value->start_type=="3"){?>[getVariable('flotteEC')->value->start_planete;?> -:A]getVariable('flotteEC')->value->start_planete->nom_planete;?> - [getVariable('flotteEC')->value->start_planete->galaxie;?> -:getVariable('flotteEC')->value->start_planete->ss;?> -:getVariable('flotteEC')->value->start_planete->position;?> -]smarty->plugin_handler->executeModifier('date_format',array($_smarty_tpl->getVariable('flotteEC')->value->printTime_ret(),"%d/%m %H:%M:%S"),true);?> ---
Aucune flotte en action
-getVariable('flottesEP')->value&&$_smarty_tpl->getVariable('planete')->value->options & 32){?> -

Flottes en préparation

- - - - - -tpl_vars['flotteEP'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('flottesEP')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['flotteEP']->key => $_smarty_tpl->tpl_vars['flotteEP']->value){ - $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['flotteEP']->key; -?> - - - - - - - - - -
StatutNomMissionNb.vaisseau(x)Destination
getVariable('flotteEP')->value['statut'];?> -getVariable('flotteEP')->value['nom']){ echo $_smarty_tpl->smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('flotteEP')->value['nom']),true); }else{ ?>Sans nomgetVariable('flotteEP')->value['mission'];?> -getVariable('flotteEP')->value['nbVaisseaux'];?> -getVariable('flotteEP')->value['end_position']){?>[getVariable('flotteEP')->value['end_galaxie'];?> -:getVariable('flotteEP')->value['end_systeme'];?> -:getVariable('flotteEP')->value['end_position'];?> -]Indéterminé
-

Cette liste sera perdue après votre déconnexion

- -

Vaisseaux disponibles sur cette planète

-
- - - - - - - - - -tpl_vars['vaisseau'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('planete')->value->vaisseaux; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['vaisseau']->key => $_smarty_tpl->tpl_vars['vaisseau']->value){ - $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['vaisseau']->key; -?> - getVariable('vaisseau')->value>0){?> - - - - - - - - -
VaisseauxNombre disponibleMaxA envoyer
Flottes : getVariable('nbflotte')->value;?> -/getVariable('nbflottemax')->value;?> -
getVariable('action')->value;?> -
getVariable('vaisseau')->value>1){ echo $_smarty_tpl->smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['vaisseaux']['noms_pluriel'][$_smarty_tpl->getVariable('key')->value]),true); }else{ echo $_smarty_tpl->smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['vaisseaux']['noms_sing'][$_smarty_tpl->getVariable('key')->value]),true); }?>smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('vaisseau')->value),true);?> -
-
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/347346433.file.arbre.tpl.php b/onyx2/modules/templates/compile/347346433.file.arbre.tpl.php deleted file mode 100644 index d672f05..0000000 --- a/onyx2/modules/templates/compile/347346433.file.arbre.tpl.php +++ /dev/null @@ -1,594 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:10:"F475973318";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/arbre.tpl";i:1;i:1257031378;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

Arbre Technologique getVariable('raceAff')->value;?> -

- Race : Humains - Covenants -
- getVariable('defaut')->value=='batiments'){?> class="hightlight">Bâtiments -
- - -tpl_vars['batiment'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('batiments')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['batiment']->key => $_smarty_tpl->tpl_vars['batiment']->value){ - $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['batiment']->key; -?> - -tpl_vars['batiment'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('batiments')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['batiment']->key => $_smarty_tpl->tpl_vars['batiment']->value){ - $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['batiment']->key; -?> - - -
Batiments (niveau)Technologies nécessaires (niveau actuel)
smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('raceAff')->value]['batiments']['noms_sing'][$_smarty_tpl->getVariable('key')->value]),true);?> - (getVariable('batiment')->value['niveau'];?> -) :getVariable('batiment')->value['etat'];?> -
smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('raceAff')->value]['alli_batiments']['noms_sing'][$_smarty_tpl->getVariable('key')->value]),true);?> - (getVariable('batiment')->value['niveau'];?> -) :getVariable('batiment')->value['etat'];?> -
-
- - - - getVariable('defaut')->value=='caserne'){?> class="hightlight">smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('raceAff')->value]['batiments']['noms_sing'][9]),true);?> - -
- - -tpl_vars['unite'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('caserne')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['unite']->key => $_smarty_tpl->tpl_vars['unite']->value){ - $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['unite']->key; -?> - - -
UnitéTechnologies nécessaires
smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('raceAff')->value]['caserne']['noms_sing'][$_smarty_tpl->getVariable('key')->value]),true);?> - (getVariable('unite')->value['niveau'];?> -) :smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('unite')->value['etat']),true);?> -
-
- - getVariable('defaut')->value=='chantierterrestre'){?> class="hightlight">smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('raceAff')->value]['batiments']['noms_sing'][7]),true);?> - -
- - -tpl_vars['unite'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('unites')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['unite']->key => $_smarty_tpl->tpl_vars['unite']->value){ - $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['unite']->key; -?> - - -
Véhicules/DéfensesTechnologies nécessaires (niveau actuel)
smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('raceAff')->value]['terrestre']['noms_sing'][$_smarty_tpl->getVariable('key')->value]),true);?> - (getVariable('unite')->value['niveau'];?> -) :getVariable('unite')->value['etat'];?> -
-
- - getVariable('defaut')->value=='vaisseaux'){?> class="hightlight">smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('raceAff')->value]['batiments']['noms_sing'][8]),true);?> - -
- - -tpl_vars['vaisseau'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('vaisseaux')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['vaisseau']->key => $_smarty_tpl->tpl_vars['vaisseau']->value){ - $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['vaisseau']->key; -?> - - -
VaisseauxTechnologies nécessaires (niveau actuel)
smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('raceAff')->value]['vaisseaux']['noms_sing'][$_smarty_tpl->getVariable('key')->value]),true);?> - (getVariable('vaisseau')->value['niveau'];?> -) :getVariable('vaisseau')->value['etat'];?> -
- - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - - - - - -
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/391938045.file.menu.tpl.php b/onyx2/modules/templates/compile/391938045.file.menu.tpl.php deleted file mode 100644 index 7b55011..0000000 --- a/onyx2/modules/templates/compile/391938045.file.menu.tpl.php +++ /dev/null @@ -1,52 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:1:{s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}}}'); ?> - - - - - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/413326426.file.laboratoire.tpl.php b/onyx2/modules/templates/compile/413326426.file.laboratoire.tpl.php deleted file mode 100644 index 15bfedc..0000000 --- a/onyx2/modules/templates/compile/413326426.file.laboratoire.tpl.php +++ /dev/null @@ -1,536 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:10:"F490581735";a:2:{i:0;s:85:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/laboratoire.tpl";i:1;i:1257029821;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257161190;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-02 13:19:56 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -
    - getVariable('onglet')->value==0){?> class="hilight">Industrie - getVariable('onglet')->value==1||$_smarty_tpl->getVariable('onglet')->value==2){?> class="hilight">Ingénierie - getVariable('onglet')->value==3){?> class="hilight">Politique - getVariable('onglet')->value==4){?> class="hilight">Armement - getVariable('onglet')->value==5||$_smarty_tpl->getVariable('onglet')->value==6){?> class="hilight">Défense - getVariable('onglet')->value==7){?> class="hilight">Projets expérimentaux -
-

File d'attente

-
-
    - - tpl_vars['file'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['keyF'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('files')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['file']->key => $_smarty_tpl->tpl_vars['file']->value){ - $_smarty_tpl->tpl_vars['keyF']->value = $_smarty_tpl->tpl_vars['file']->key; -?> - tpl_vars['element'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['keyE'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('file')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['element']->key => $_smarty_tpl->tpl_vars['element']->value){ - $_smarty_tpl->tpl_vars['keyE']->value = $_smarty_tpl->tpl_vars['element']->key; -?> -
  • smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['technologies']['noms_sing'][$_smarty_tpl->getVariable('element')->value[0]][$_smarty_tpl->getVariable('element')->value[1]]),true);?> - - getVariable('element')->value[3]){?> class="countdown">smarty->plugin_handler->executeModifier('countdown',array($_smarty_tpl->getVariable('element')->value[2]),true);?> - - Annuler
  • - - smarty->_smarty_vars['capture']['expFile']=ob_get_clean(); if ($_smarty_tpl->getVariable('files')->value&&$_smarty_tpl->smarty->_smarty_vars['capture']['expFile']){?> - smarty->_smarty_vars['capture']['expFile'];?> - - -
  • Aucune recherches dans la file d'attente
  • - -
-
-

smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][6]),true);?> -

-getVariable('arbre')->value){?> - getVariable('arbre')->value;?> - -
Aucune technologie à développer actuellement
smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/418524010.file.header.tpl.php b/onyx2/modules/templates/compile/418524010.file.header.tpl.php deleted file mode 100644 index 8d55cad..0000000 --- a/onyx2/modules/templates/compile/418524010.file.header.tpl.php +++ /dev/null @@ -1,460 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:4:{s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257161190;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}}}'); ?> - - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- \ No newline at end of file diff --git a/onyx2/modules/templates/compile/515825735.file.footer.tpl.php b/onyx2/modules/templates/compile/515825735.file.footer.tpl.php deleted file mode 100644 index 33542c7..0000000 --- a/onyx2/modules/templates/compile/515825735.file.footer.tpl.php +++ /dev/null @@ -1,23 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:1:{s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/611529040.file.gestion_membres.tpl.php b/onyx2/modules/templates/compile/611529040.file.gestion_membres.tpl.php deleted file mode 100644 index 7ce8d43..0000000 --- a/onyx2/modules/templates/compile/611529040.file.gestion_membres.tpl.php +++ /dev/null @@ -1,558 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:7:{s:11:"F1914296237";a:2:{i:0;s:98:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/alliance/gestion_membres.tpl";i:1;i:1250796540;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F2086263191";a:2:{i:0;s:97:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/alliance/gestion_common.tpl";i:1;i:1252592443;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:30:23 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/alliance/gestion_common.tpl" */ ?> -
    - getVariable('planete')->value->permissions_alliance & 32){?>getVariable('onglet')->value=="membres"){?> class="hilight">Membres - getVariable('planete')->value->permissions_alliance & 128){?>getVariable('onglet')->value=="grades"){?> class="hilight">Grades - getVariable('planete')->value->permissions_alliance & 64){?>getVariable('onglet')->value=="wings"||($_smarty_tpl->getVariable('onglet')->value=="alliance"&&$_smarty_tpl->getVariable('planete')->value->wing)){?> class="hilight">Wings - getVariable('planete')->value->permissions_alliance & 128&&!$_smarty_tpl->getVariable('planete')->value->wing){?>getVariable('onglet')->value=="alliance"){?> class="hilight">Alliance -
-

Gestion des membres

- - -tpl_vars['membre'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('membres')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['membre']->key => $_smarty_tpl->tpl_vars['membre']->value){ -?> - - - - - - - - - - - - - - - - - - - - -
getVariable('membre')->value['pseudo'];?> -getVariable('membre')->value['race'];?> -smarty->plugin_handler->executeModifier('date_format',array($_smarty_tpl->getVariable('membre')->value['last_visite'],"%d/%m/%y %H:%M:%S"),true);?> -

MessageExclure
PseudoRaceDernière connexion GradeMPActions
-

Gestion des postulants

-getVariable('postulants')->value){?> -
- tpl_vars['postulant'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('postulants')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['postulant']->key => $_smarty_tpl->tpl_vars['postulant']->value){ -?> -
-
getVariable('postulant')->value['pseudo'];?> - le smarty->plugin_handler->executeModifier('date_format',array($_smarty_tpl->getVariable('postulant')->value['timestamp'],"%d/%m/%y %H:%M:%S"),true);?> -
-
smarty->plugin_handler->executeModifier('nl2br',array($_smarty_tpl->smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('postulant')->value['message']),true)),true);?> -
-
- -
- -
Aucun postulant actuellement
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/678389098.file.menu_joueurs.tpl.php b/onyx2/modules/templates/compile/678389098.file.menu_joueurs.tpl.php deleted file mode 100644 index 349f35f..0000000 --- a/onyx2/modules/templates/compile/678389098.file.menu_joueurs.tpl.php +++ /dev/null @@ -1,123 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:1:{s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}}}'); ?> - - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/714753687.file.accueil.tpl.php b/onyx2/modules/templates/compile/714753687.file.accueil.tpl.php deleted file mode 100644 index 6e8f8d0..0000000 --- a/onyx2/modules/templates/compile/714753687.file.accueil.tpl.php +++ /dev/null @@ -1,501 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F2103808151";a:2:{i:0;s:82:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/accueil.tpl";i:1;i:1249071302;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257099573;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 19:21:46 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

Evénements

- Heure du serveur: smarty->plugin_handler->executeModifier('date_format',array(time(),"/%a %d %b %Y/%H%M %S"),true);?> - -

Version du serveur : getVariable('version')->value;?> -

-tpl_vars['new'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('news')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['new']->key => $_smarty_tpl->tpl_vars['new']->value){ - $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['new']->key; -?> -

getVariable('new')->value['titre'];?> - : smarty->plugin_handler->executeModifier('nl2br',array($_smarty_tpl->smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('new')->value['contenu']),true)),true);?> -

- -

Infos

-

Messagerie : getVariable('nbMail')->value;?> - messagegetVariable('nbMail')->value>1){?>s en attente

-

Pilori : getVariable('nbPilori')->value;?> - joueurgetVariable('nbPilori')->value>1){?>s dans le pilori de la galaxie

-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/719267946.file.general.tpl.php b/onyx2/modules/templates/compile/719267946.file.general.tpl.php deleted file mode 100644 index db21d06..0000000 --- a/onyx2/modules/templates/compile/719267946.file.general.tpl.php +++ /dev/null @@ -1,556 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:7:{s:11:"F1912880890";a:2:{i:0;s:92:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/diplomatie/general.tpl";i:1;i:1249071310;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1069497286";a:2:{i:0;s:91:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/diplomatie/common.tpl";i:1;i:1252592471;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:30:44 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/diplomatie/common.tpl" */ ?> -
    - getVariable('onglet')->value=="actus"){?> class="hilight">Actualités - getVariable('onglet')->value=="encours"){?> class="hilight">En place - getVariable('onglet')->value=="archives"){?> class="hilight">Résiliés/annulés - getVariable('planete')->value->permissions_alliance & 8){?>getVariable('onglet')->value=="new"){?> class="hilight">Nouveau -
-

Demandes de pactes

-getVariable('demandes')->value){?> - tpl_vars['demande'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('demandes')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['demande']->key => $_smarty_tpl->tpl_vars['demande']->value){ -?> -

smarty->plugin_handler->executeModifier('date_format',array($_smarty_tpl->getVariable('demande')->value['time_creation'],"%d/%m/%y %H:%M"),true);?> - :: L'alliance [getVariable('demande')->value['tag'];?> -] getVariable('demande')->value['nom_alliance'];?> - veut getVariable('demande')->value['type']==0){?>engager un cesser le feupasser un pacte getVariable('demande')->value['type']==1){?>de non-agressiongetVariable('demande')->value['type']==2){?>commercialmilitaire.getVariable('planete')->value->permissions_alliance & 8){?> Accepter - Rejeter

- -

Aucune demande en cours

- -
-

Actualités des pactes et des guerres

-getVariable('actus_alli')->value){ $_smarty_tpl->tpl_vars['actu_alli'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('actus_alli')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['actu_alli']->key => $_smarty_tpl->tpl_vars['actu_alli']->value){ -?> - getVariable('actu_alli')->value['time_fin']&&$_smarty_tpl->getVariable('actu_alli')->value['type']!=0){?>

smarty->plugin_handler->executeModifier('date_format',array($_smarty_tpl->getVariable('actu_alli')->value['time_fin'],"%d/%m/%y %H:%M"),true);?> - :: Le pacte getVariable('actu_alli')->value['type']==1){?>de non-agressiongetVariable('actu_alli')->value['type']==2){?>commercialmilitaire avec l'alliance [getVariable('actu_alli')->value['tag'];?> -] getVariable('actu_alli')->value['nom_alliance'];?> - a été abrogé

- getVariable('planete')->value->id==$_smarty_tpl->getVariable('actu_alli')->value['id_alliance1']&&$_smarty_tpl->getVariable('actu_alli')->value['type']!=0)||($_smarty_tpl->getVariable('planete')->value->id==$_smarty_tpl->getVariable('actu_alli')->value['id_alliance2']&&$_smarty_tpl->getVariable('actu_alli')->value['type']==0&&$_smarty_tpl->getVariable('actu_alli')->value['accepter']==1)||($_smarty_tpl->getVariable('planete')->value->id==$_smarty_tpl->getVariable('actu_alli')->value['id_alliance1']&&$_smarty_tpl->getVariable('actu_alli')->value['type']==0&&$_smarty_tpl->getVariable('actu_alli')->value['time_demand']!=$_smarty_tpl->smarty->plugin_handler->executeModifier('date_format',array($_smarty_tpl->getVariable('actu_alli')->value['time_creation'],"%Y-%m-%d %H:%M:%S"),true))){?>

smarty->plugin_handler->executeModifier('date_format',array($_smarty_tpl->getVariable('actu_alli')->value['time_creation'],"%d/%m/%y %H:%M"),true);?> - :: L'alliance [getVariable('actu_alli')->value['tag'];?> -] getVariable('actu_alli')->value['nom_alliance'];?> - getVariable('actu_alli')->value['type']==0&&$_smarty_tpl->getVariable('actu_alli')->value['time_demand']==$_smarty_tpl->smarty->plugin_handler->executeModifier('date_format',array($_smarty_tpl->getVariable('actu_alli')->value['time_creation'],"%Y-%m-%d %H:%M:%S"),true)){?>nous a déclaré la guerregetVariable('actu_alli')->value['accepte']==2){?>a refusé notregetVariable('actu_alli')->value['accepte']==1){?>a accepté notren'a pas encore répondu à notre demande de getVariable('actu_alli')->value['type']==0){?>cesser le feupacte getVariable('actu_alli')->value['type']==1){?>de non-agressiongetVariable('actu_alli')->value['type']==2){?>commercialmilitaire.

-

smarty->plugin_handler->executeModifier('date_format',array($_smarty_tpl->getVariable('actu_alli')->value['time_creation'],"%d/%m/%y %H:%M"),true);?> - :: Nous avons getVariable('actu_alli')->value['type']==0&&$_smarty_tpl->getVariable('actu_alli')->value['time_demand']==$_smarty_tpl->smarty->plugin_handler->executeModifier('date_format',array($_smarty_tpl->getVariable('actu_alli')->value['time_creation'],"%Y-%m-%d %H:%M:%S"),true)){?>déclaré la guerre àgetVariable('actu_alli')->value['accepte']==1){?>acceptérefusé le getVariable('actu_alli')->value['type']==0){?>cesser le feupacte getVariable('actu_alli')->value['type']==1){?>de non-agressiongetVariable('actu_alli')->value['type']==2){?>commercialmilitaire proposé par l'alliance [getVariable('actu_alli')->value['tag'];?> -] getVariable('actu_alli')->value['nom_alliance'];?> -

- -

Aucune actualité disponible

- -
-

Actualités de la galaxie

-getVariable('actus_world')->value){ $_smarty_tpl->tpl_vars['actu_world'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('actus_world')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['actu_world']->key => $_smarty_tpl->tpl_vars['actu_world']->value){ -?> -

smarty->plugin_handler->executeModifier('date_format',array($_smarty_tpl->getVariable('actu_world')->value['time_creation'],"%d/%m/%y %H:%M"),true);?> - :: L'alliance [getVariable('actu_world')->value['tag1'];?> -] getVariable('actu_world')->value['nom_alliance1'];?> - getVariable('actu_world')->value['type']==0){?>a déclaré la guerre àa engagé un pacte getVariable('actu_world')->value['type']==1){?>de non-agressiongetVariable('actu_world')->value['type']==2){?>commercialmilitaire avec l'alliance [getVariable('actu_world')->value['tag2'];?> -] getVariable('actu_world')->value['nom_alliance2'];?> -.

- -

Aucune actualité disponible

-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/725624017.file.vip.tpl.php b/onyx2/modules/templates/compile/725624017.file.vip.tpl.php deleted file mode 100644 index a83579e..0000000 --- a/onyx2/modules/templates/compile/725624017.file.vip.tpl.php +++ /dev/null @@ -1,533 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F1547190853";a:2:{i:0;s:78:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/vip.tpl";i:1;i:1249071300;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

Vérification des IP

- <<< page getVariable('numpage')->value;?> -/getVariable('nbpage')->value;?> - >>> - - - - - - - - - - - -tpl_vars['ip'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('ips')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['ip']->key => $_smarty_tpl->tpl_vars['ip']->value){ -?> - getVariable('ip')->value[6]){?> style="background-color: #getVariable('ip')->value[6];?> -;"> - - - - - - - - -
Adresses IPNom d'utilisateurDate & heureTraçage IPAction
getVariable('ip')->value[0];?> -getVariable('ip')->value[3];?> - (getVariable('ip')->value[2];?> -)smarty->plugin_handler->executeModifier('date_format',array($_smarty_tpl->getVariable('ip')->value[4],"%d/%m/%y %H:%M:%S"),true);?> -getVariable('ip')->value[1];?> -Déclaré
Définitivement
- <<< page getVariable('numpage')->value;?> -/getVariable('nbpage')->value;?> - >>> -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/75737019.file.chantierterrestre.tpl.php b/onyx2/modules/templates/compile/75737019.file.chantierterrestre.tpl.php deleted file mode 100644 index d0ca0bd..0000000 --- a/onyx2/modules/templates/compile/75737019.file.chantierterrestre.tpl.php +++ /dev/null @@ -1,580 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F1196206687";a:2:{i:0;s:91:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/chantierterrestre.tpl";i:1;i:1257037627;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -
    - tpl_vars['i'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['i']->value = 0; - if ($_smarty_tpl->getVariable('i')->value<$_smarty_tpl->getVariable('planete')->value->batiments[7]){ for ($_foo=true;$_smarty_tpl->getVariable('i')->value<$_smarty_tpl->getVariable('planete')->value->batiments[7]; $_smarty_tpl->tpl_vars['i']->value++){ -?> - getVariable('lieu')->value==$_smarty_tpl->getVariable('i')->value){?> class="hilight">Chantier getVariable('i')->value+1;?> - - -
- -
    - getVariable('onglet')->value!="defenses"){?> class="hilight">Unités - getVariable('onglet')->value=="defenses"){?> class="hilight">Défenses -
-

File d'attente

-
    -assign('keyF',$_smarty_tpl->getVariable('lieu')->value,null,null); $_smarty_tpl->tpl_vars['element'] = new Smarty_Variable; - $_smarty_tpl->tpl_vars['keyE'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('files')->value[$_smarty_tpl->getVariable('keyF')->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['element']->key => $_smarty_tpl->tpl_vars['element']->value){ - $_smarty_tpl->tpl_vars['keyE']->value = $_smarty_tpl->tpl_vars['element']->key; -?> - getVariable('element')->value[5]){?>
  • Prochaine getVariable('element')->value[6]){?>unitédéfense : smarty->plugin_handler->executeModifier('countdown',array($_smarty_tpl->getVariable('element')->value[4]),true);?> -
  • -
  • getVariable('element')->value[1];?> - getVariable('element')->value[1]>1){ echo $_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['terrestre']['noms_pluriel'][$_smarty_tpl->getVariable('element')->value[0]]; }else{ echo $_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['terrestre']['noms_sing'][$_smarty_tpl->getVariable('element')->value[0]]; }?> getVariable('element')->value[2]){?> (démolition) - getVariable('element')->value[5]){?> class="countdown">smarty->plugin_handler->executeModifier('countdown',array($_smarty_tpl->getVariable('element')->value[3]),true);?> - - Annuler un - Annuler tous
  • -smarty->_smarty_vars['capture']['expFile']=ob_get_clean(); if ($_smarty_tpl->getVariable('files')->value&&$_smarty_tpl->smarty->_smarty_vars['capture']['expFile']){?> - smarty->_smarty_vars['capture']['expFile'];?> - - -
  • Aucune unité dans la file d'attente
  • - -
- -

Arbre des technologies


-

smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['batiments']['noms_sing'][7]),true);?> -

-getVariable('unites')->value){?> -
-tpl_vars['unite'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('unites')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['unite']->key => $_smarty_tpl->tpl_vars['unite']->value){ -?> -
-
smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['terrestre']['noms_sing'][$_smarty_tpl->getVariable('unite')->value['id']]),true); if ($_smarty_tpl->getVariable('unite')->value['nombre']>0){?> (getVariable('unite')->value['nombre'];?> - unitégetVariable('unite')->value['nombre']>1){?>s)
-
<?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['terrestre']['noms_sing'][$_smarty_tpl->getVariable('unite')->value['id']]),true);?>
-

getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['terrestre']['descriptions'][$_smarty_tpl->getVariable('unite')->value['id']];?> -

-
- getVariable('unite')->value['nombre']>0){?>Nombre actuel : getVariable('unite')->value['nombre'];?> -

- getVariable('unite')->value['nec_metal']>0){?>Coût getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['metal'];?> - : smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('unite')->value['nec_metal']),true);?> -
- getVariable('unite')->value['nec_cristal']>0){?>Coût getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['cristal'];?> - : smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('unite')->value['nec_cristal']),true);?> -
- getVariable('unite')->value['nec_hydrogene']>0){?>Coût getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms']['hydrogene'];?> - : smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('unite')->value['nec_hydrogene']),true);?> -
- Temps de construction : getVariable('unite')->value['temps'];?> -
-
- getVariable('unite')->value['nec_hydrogene']>$_smarty_tpl->getVariable('planete')->value->hydrogene||$_smarty_tpl->getVariable('unite')->value['nec_cristal']>$_smarty_tpl->getVariable('planete')->value->cristal||$_smarty_tpl->getVariable('unite')->value['nec_metal']>$_smarty_tpl->getVariable('planete')->value->metal){?>Ressources insuffisantes -
- - -
-
-
- -
-
Aucune unité ou défense ne peut être entraînée actuellement.
smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/766384637.file.3.tpl.php b/onyx2/modules/templates/compile/766384637.file.3.tpl.php deleted file mode 100644 index 51640ce..0000000 --- a/onyx2/modules/templates/compile/766384637.file.3.tpl.php +++ /dev/null @@ -1,510 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:7:{s:10:"F771352107";a:2:{i:0;s:83:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/options/3.tpl";i:1;i:1257164609;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257161190;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:10:"F803375734";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/options/common.tpl";i:1;i:1252592406;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-02 13:19:56 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:29:43 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/options/common.tpl" */ ?> -
    - getVariable('onglet')->value=="ext"){?> class="hilight">Extérieures - getVariable('onglet')->value=="compte"){?> class="hilight">Compte - getVariable('onglet')->value=="jeu"){?> class="hilight">Jeu - getVariable('onglet')->value=="notif"){?> class="hilight">Notifications -
-

Recevoir des notifications par mail

-
-
- - - - - - - - - - -
-
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/798208062.file.chat_ajax.tpl.php b/onyx2/modules/templates/compile/798208062.file.chat_ajax.tpl.php deleted file mode 100644 index f8e5466..0000000 --- a/onyx2/modules/templates/compile/798208062.file.chat_ajax.tpl.php +++ /dev/null @@ -1,504 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F2001249966";a:2:{i:0;s:92:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/alliance/chat_ajax.tpl";i:1;i:1249071309;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

Chat

- - getVariable('planete')->value->permissions_alliance & 256){?> -
-           -
-
- -
- - - - - - - - - - -
Vous vous connectez au chat
[pseudo] heure - Message -
-
- - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/800227409.file.envoyer.tpl.php b/onyx2/modules/templates/compile/800227409.file.envoyer.tpl.php deleted file mode 100644 index 7115906..0000000 --- a/onyx2/modules/templates/compile/800227409.file.envoyer.tpl.php +++ /dev/null @@ -1,508 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F1194220251";a:2:{i:0;s:81:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/envoyer.tpl";i:1;i:1254575544;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

Messagerie

-
    - getVariable('onglet')->value!="rapports"&&$_smarty_tpl->getVariable('onglet')->value!="send"&&$_smarty_tpl->getVariable('onglet')->value!="envoyer"){?> class="hilight">ReçusgetVariable('alertMail')->value[0]){?> (getVariable('alertMail')->value[0];?> -) - getVariable('onglet')->value=="rapports"){?> class="hilight">RapportsgetVariable('alertMail')->value[1]){?> (getVariable('alertMail')->value[1];?> -) - getVariable('onglet')->value=="send"){?> class="hilight">Envoyés - getVariable('onglet')->value=="envoyer"){?> class="hilight">Ecrire -


-
-
-
-
-
-
- -
-
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/84221652.file.marche.tpl.php b/onyx2/modules/templates/compile/84221652.file.marche.tpl.php deleted file mode 100644 index 9593269..0000000 --- a/onyx2/modules/templates/compile/84221652.file.marche.tpl.php +++ /dev/null @@ -1,516 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:11:"F1258691873";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/marche.tpl";i:1;i:1257029821;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

Bourse des ressources

-

Les prix sont donnés en milliers de crédits

-

Les achats et les ventes se font par paquet de 1000 actions (le prix est recalculé chaque 1000 actions)

-tpl_vars['action'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('bourse')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['action']->key => $_smarty_tpl->tpl_vars['action']->value){ -?> -
-
smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms'][$_smarty_tpl->getVariable('action')->value['id']]),true);?> - <?php echo $_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('race')->value]['ressources']['noms'][$_smarty_tpl->getVariable('action')->value['id']];?>
-
-
-
-
- -
Total : smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('action')->value['dispo']),true);?> -
- -
- - -
-
-
-
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/91140553.file.description.tpl.php b/onyx2/modules/templates/compile/91140553.file.description.tpl.php deleted file mode 100644 index f6d5d94..0000000 --- a/onyx2/modules/templates/compile/91140553.file.description.tpl.php +++ /dev/null @@ -1,554 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:6:{s:9:"F15844214";a:2:{i:0;s:85:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/description.tpl";i:1;i:1257098907;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- -

Détails getVariable('type')->value;?> -

-
-
smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('raceAff')->value][$_smarty_tpl->getVariable('type')->value]['noms_sing'][$_smarty_tpl->getVariable('id')->value]),true);?> -
-
<?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('type')->value),true);?>
-

getVariable('LANG')->value[$_smarty_tpl->getVariable('raceAff')->value][$_smarty_tpl->getVariable('type')->value]['descriptions'][$_smarty_tpl->getVariable('id')->value];?> -

-
Actuellement :
getVariable('type')->value=='caserne'){ echo $_smarty_tpl->getVariable('planete')->value->casernes[$_smarty_tpl->getVariable('id')->value];?> - unité(s)getVariable('type')->value=='terrestre'){ echo $_smarty_tpl->getVariable('planete')->value->terrestres[$_smarty_tpl->getVariable('id')->value];?> - unité(s)getVariable('type')->value=='vaisseaux'){ echo $_smarty_tpl->getVariable('planete')->value->vaisseaux[$_smarty_tpl->getVariable('id')->value];?> - vaisseau(x)niveau getVariable('planete')->value->batiments[$_smarty_tpl->getVariable('id')->value]; }?>
- getVariable('ressourcesNext')->value[0]){?>
Coût smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('raceAff')->value]['ressources']['noms']['metal']),true);?> - :
smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ressourcesNext')->value[0]),true);?> -
- getVariable('ressourcesNext')->value[1]){?>
Coût smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('raceAff')->value]['ressources']['noms']['cristal']),true);?> - :
smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ressourcesNext')->value[1]),true);?> -
- getVariable('ressourcesNext')->value[2]){?>
Coût smarty->plugin_handler->executeModifier('ucfirst',array($_smarty_tpl->getVariable('LANG')->value[$_smarty_tpl->getVariable('raceAff')->value]['ressources']['noms']['hydrogene']),true);?> - :
smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ressourcesNext')->value[2]),true);?> -
-
Temps de construction :
smarty->plugin_handler->executeModifier('temps',array($_smarty_tpl->getVariable('ressourcesNext')->value[3]),true);?> -
-getVariable('caract')->value){?> -
Attaque :
smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('caract')->value[0]),true);?> -
-
Bouclier :
smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('caract')->value[1]),true);?> -
-
Point de vie :
smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('caract')->value[2]),true);?> -
-
Capacité de transpost :
smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('caract')->value[3]),true);?> -
- -
Nécessite :
getVariable('etat')->value;?> -
-getVariable('tableau_prod')->value){?> -

- - - - - - - - - - - - - - tpl_vars['ligne'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('tableau_prod')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['ligne']->key => $_smarty_tpl->tpl_vars['ligne']->value){ -?> - getVariable('ligne')->value[3]==0&&$_smarty_tpl->getVariable('ligne')->value[4]==0){?> - - - - - - - - -
Production et consomation théoriques
NiveauProductionConsomationDifférence prod.Différence conso.
getVariable('ligne')->value[0];?> -smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ligne')->value[1]),true);?> -smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ligne')->value[2]),true);?> -getVariable('ligne')->value[3]>0){?>+smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ligne')->value[3]),true);?> -getVariable('ligne')->value[4]>0){?>+smarty->plugin_handler->executeModifier('separerNombres',array($_smarty_tpl->getVariable('ligne')->value[4]),true);?> -
- -
-
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/94982930.file.gestion_grades.tpl.php b/onyx2/modules/templates/compile/94982930.file.gestion_grades.tpl.php deleted file mode 100644 index 66edef8..0000000 --- a/onyx2/modules/templates/compile/94982930.file.gestion_grades.tpl.php +++ /dev/null @@ -1,554 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:7:{s:10:"F740164606";a:2:{i:0;s:97:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/alliance/gestion_grades.tpl";i:1;i:1249071309;}s:11:"F1458645149";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl";i:1;i:1257030919;}s:10:"F532066104";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//admin/menu.tpl";i:1;i:1250102751;}s:10:"F165684701";a:2:{i:0;s:88:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_asteroide.tpl";i:1;i:1257029821;}s:10:"F952101425";a:2:{i:0;s:86:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/menu_joueurs.tpl";i:1;i:1257029883;}s:11:"F2086263191";a:2:{i:0;s:97:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/alliance/gestion_common.tpl";i:1;i:1252592443;}s:11:"F1354621876";a:2:{i:0;s:80:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl";i:1;i:1249071306;}}}'); ?> - -smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:00 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/header.tpl" */ ?> - - - -<?php if ($_smarty_tpl->getVariable('titre')->value){?>.: <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - Halo-Battle :.<?php }else{ ?>.: Halo-Battle :.<?php }?> - -getVariable('race')->value=="covenant"){?>getVariable('auth_level')->value>=3){?>getVariable('race')->value=="humain"){?>getVariable('auth_level')->value>=3){?> - -getVariable('scripth')->value;?> - - - -
-
- - -
- -
- -getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="vide"&&$_smarty_tpl->getVariable('page')->value!="amis"&&$_smarty_tpl->getVariable('page')->value!="flotten"&&$_smarty_tpl->getVariable('page')->value!="messagerie"&&$_smarty_tpl->getVariable('page')->value!="pilori"&&$_smarty_tpl->getVariable('page')->value!="envoyer"&&$_smarty_tpl->getVariable('page')->value!="bugs"&&$_smarty_tpl->getVariable('page')->value!="carte"&&$_smarty_tpl->getVariable('page')->value!="classement"&&$_smarty_tpl->getVariable('page')->value!="options"&&$_smarty_tpl->getVariable('page')->value!="simulation"&&$_smarty_tpl->getVariable('page')->value!="vp"&&$_smarty_tpl->getVariable('page')->value!="operateur"&&!ereg("alliance/",$_smarty_tpl->getVariable('page')->value)&&!ereg("diplomatie/",$_smarty_tpl->getVariable('page')->value)){?> - - - - getVariable('page')->value!="admin"&&$_smarty_tpl->getVariable('page')->value!="operateur"){?>
getVariable('pub')->value;?> -
- -
- smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:30:23 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/alliance/gestion_common.tpl" */ ?> -
    - getVariable('planete')->value->permissions_alliance & 32){?>getVariable('onglet')->value=="membres"){?> class="hilight">Membres - getVariable('planete')->value->permissions_alliance & 128){?>getVariable('onglet')->value=="grades"){?> class="hilight">Grades - getVariable('planete')->value->permissions_alliance & 64){?>getVariable('onglet')->value=="wings"||($_smarty_tpl->getVariable('onglet')->value=="alliance"&&$_smarty_tpl->getVariable('planete')->value->wing)){?> class="hilight">Wings - getVariable('planete')->value->permissions_alliance & 128&&!$_smarty_tpl->getVariable('planete')->value->wing){?>getVariable('onglet')->value=="alliance"){?> class="hilight">Alliance -
-

Gestion des grades existants

- - -tpl_vars['grade'] = new Smarty_Variable; - $_from = $_smarty_tpl->getVariable('grades')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');} -if (count($_from) > 0){ - foreach ($_from as $_smarty_tpl->tpl_vars['grade']->key => $_smarty_tpl->tpl_vars['grade']->value){ -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
smarty->plugin_handler->executeModifier('escape',array($_smarty_tpl->getVariable('grade')->value['nom']),true);?> -getVariable('grade')->value['auth'] & 1){?>OuiNongetVariable('grade')->value['auth'] & 2){?>OuiNongetVariable('grade')->value['auth'] & 4){?>OuiNongetVariable('grade')->value['auth'] & 8){?>OuiNongetVariable('grade')->value['auth'] & 16){?>OuiNongetVariable('grade')->value['auth'] & 32){?>OuiNongetVariable('grade')->value['auth'] & 64){?>OuiNongetVariable('grade')->value['auth'] & 128){?>OuiNongetVariable('grade')->value['auth'] & 256){?>OuiNongetVariable('grade')->value['auth'] & 512){?>OuiNonSupprimer
NomBâtimentsVaisseauxFlottesDiplomatieCréditsMembresWingsAllianceChatMessagerieActions
-

getVariable('grade_mod')->value){?>ModifierCréer un grade


-
-
-

- getVariable('grade_mod')->value['auth'] & 1){?> checked="checked" />
- getVariable('grade_mod')->value['auth'] & 2){?> checked="checked" />
- getVariable('grade_mod')->value['auth'] & 4){?> checked="checked" />
- getVariable('grade_mod')->value['auth'] & 8){?> checked="checked" />
- getVariable('grade_mod')->value['auth'] & 16){?> checked="checked" />

- getVariable('grade_mod')->value['auth'] & 32){?> checked="checked" />
- getVariable('grade_mod')->value['auth'] & 64){?> checked="checked" />
- getVariable('grade_mod')->value['auth'] & 128){?> checked="checked" />
- getVariable('grade_mod')->value['auth'] & 256){?> checked="checked" />
- getVariable('grade_mod')->value['auth'] & 512){?> checked="checked" />
-
-
-
-smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id);$_template->caching = 0; $_tpl_stack[] = $_smarty_tpl; $_smarty_tpl = $_template; /* Smarty version Smarty-3.0b1, created on 2009-11-01 00:19:14 - compiled from "C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//game/footer.tpl" */ ?> - -
- - -
-
- -getVariable('page')->value!="admin"){ echo $_smarty_tpl->getVariable('analyst')->value; } echo $_smarty_tpl->getVariable('script')->value;?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates/compile/974219518.file.header.tpl.php b/onyx2/modules/templates/compile/974219518.file.header.tpl.php deleted file mode 100644 index 479c4a8..0000000 --- a/onyx2/modules/templates/compile/974219518.file.header.tpl.php +++ /dev/null @@ -1,72 +0,0 @@ - -decodeProperties('a:1:{s:15:"file_dependency";a:1:{s:10:"F855357499";a:2:{i:0;s:79:"C:\Users\Pierre-Olivier\Programmation\PHP\halo-battle\onyx2/tpl//cms/header.tpl";i:1;i:1250784847;}}}'); ?> - - - - - - - - - ::Halo-Battle:: - <?php echo $_smarty_tpl->getVariable('titre')->value;?> - - - - - - - -
-
- - -
\ No newline at end of file diff --git a/onyx2/modules/templates/config/.config b/onyx2/modules/templates/config/.config new file mode 100644 index 0000000..e69de29 diff --git a/onyx2/modules/templates/configs/test.conf b/onyx2/modules/templates/configs/test.conf deleted file mode 100644 index 5eac748..0000000 --- a/onyx2/modules/templates/configs/test.conf +++ /dev/null @@ -1,5 +0,0 @@ -title = Welcome to Smarty! -cutoff_size = 40 - -[setup] -bold = true diff --git a/onyx2/modules/templates/demo/configs/test.conf b/onyx2/modules/templates/demo/configs/test.conf deleted file mode 100644 index 5eac748..0000000 --- a/onyx2/modules/templates/demo/configs/test.conf +++ /dev/null @@ -1,5 +0,0 @@ -title = Welcome to Smarty! -cutoff_size = 40 - -[setup] -bold = true diff --git a/onyx2/modules/templates/demo/index.php b/onyx2/modules/templates/demo/index.php deleted file mode 100644 index b9ec74a..0000000 --- a/onyx2/modules/templates/demo/index.php +++ /dev/null @@ -1,27 +0,0 @@ -force_compile = true; -$smarty->debugging = true; -$smarty->caching = true; -$smarty->cache_lifetime = 120; - -$smarty->assign("Name","Fred Irving Johnathan Bradley Peppergill",true); -$smarty->assign("FirstName",array("John","Mary","James","Henry")); -$smarty->assign("LastName",array("Doe","Smith","Johnson","Case")); -$smarty->assign("Class",array(array("A","B","C","D"), array("E", "F", "G", "H"), - array("I", "J", "K", "L"), array("M", "N", "O", "P"))); - -$smarty->assign("contacts", array(array("phone" => "1", "fax" => "2", "cell" => "3"), - array("phone" => "555-4444", "fax" => "555-3333", "cell" => "760-1234"))); - -$smarty->assign("option_values", array("NY","NE","KS","IA","OK","TX")); -$smarty->assign("option_output", array("New York","Nebraska","Kansas","Iowa","Oklahoma","Texas")); -$smarty->assign("option_selected", "NE"); - -$smarty->display('index.tpl'); -?> diff --git a/onyx2/modules/templates/demo/index_php_template.php b/onyx2/modules/templates/demo/index_php_template.php deleted file mode 100644 index 2f95bf6..0000000 --- a/onyx2/modules/templates/demo/index_php_template.php +++ /dev/null @@ -1,49 +0,0 @@ - -* @package SmartyTestScripts -*/ -require('../libs/Smarty.class.php'); - - class Person -{ - private $m_szName; - private $m_iAge; - - public function setName($szName) - { - $this->m_szName = $szName; - return $this; // We now return $this (the Person) - } - - public function setAge($iAge) - { - $this->m_iAge = $iAge; - return $this; // Again, return our Person - } - - public function introduce() - { - return 'Hello my name is '.$this->m_szName.' and I am '.$this->m_iAge.' years old.'; - } -} - -$smarty = new Smarty(); -$smarty->allow_php_templates= true; -$smarty->force_compile = false; -$smarty->caching = true; -$smarty->cache_lifetime = 100; -//$smarty->debugging = true; - -$smarty->assign('foo',"'bar'"); - -$person = new Person; - -$smarty->assign('person',$person); - -$smarty->assign('array',array('a'=>array('aa'=>'This is a long string'),'b'=>2)); - -$smarty->display('php:index_view.php'); - -?> diff --git a/onyx2/modules/templates/demo/templates/footer.tpl b/onyx2/modules/templates/demo/templates/footer.tpl deleted file mode 100644 index e04310f..0000000 --- a/onyx2/modules/templates/demo/templates/footer.tpl +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/onyx2/modules/templates/demo/templates/header.tpl b/onyx2/modules/templates/demo/templates/header.tpl deleted file mode 100644 index af8f613..0000000 --- a/onyx2/modules/templates/demo/templates/header.tpl +++ /dev/null @@ -1,6 +0,0 @@ - - -{popup_init src="/javascripts/overlib.js"} -{$title} - {$Name} - - diff --git a/onyx2/modules/templates/demo/templates/index.tpl b/onyx2/modules/templates/demo/templates/index.tpl deleted file mode 100644 index 38d2334..0000000 --- a/onyx2/modules/templates/demo/templates/index.tpl +++ /dev/null @@ -1,82 +0,0 @@ -{config_load file="test.conf" section="setup"} -{include file="header.tpl" title=foo} - -
-
-{* bold and title are read from the config file *}
-{if #bold#}{/if}
-{* capitalize the first letters of each word of the title *}
-Title: {#title#|capitalize}
-{if #bold#}{/if}
-
-The current date and time is {$smarty.now|date_format:"%Y-%m-%d %H:%M:%S"}
-
-The value of global assigned variable $SCRIPT_NAME is {$SCRIPT_NAME}
-
-Example of accessing server environment variable SERVER_NAME: {$smarty.server.SERVER_NAME}
-
-The value of {ldelim}$Name{rdelim} is {$Name}
-
-variable modifier example of {ldelim}$Name|upper{rdelim}
-
-{$Name|upper}
-
-
-An example of a section loop:
-
-{section name=outer 
-loop=$FirstName}
-{if $smarty.section.outer.index is odd by 2}
-	{$smarty.section.outer.rownum} . {$FirstName[outer]} {$LastName[outer]}
-{else}
-	{$smarty.section.outer.rownum} * {$FirstName[outer]} {$LastName[outer]}
-{/if}
-{sectionelse}
-	none
-{/section}
-
-An example of section looped key values:
-
-{section name=sec1 loop=$contacts}
-	phone: {$contacts[sec1].phone}
- fax: {$contacts[sec1].fax}
- cell: {$contacts[sec1].cell}
-{/section} -

- -testing strip tags -{strip} - - - - -
- - This is a test - -
-{/strip} - -

- -This is an example of the html_select_date function: - -
-{html_select_date start_year=1998 end_year=2010} -
- -This is an example of the html_select_time function: - -
-{html_select_time use_24_hours=false} -
- -This is an example of the html_options function: - -
- -
- -{include file="footer.tpl"} diff --git a/onyx2/modules/templates/demo/templates/index_view.php b/onyx2/modules/templates/demo/templates/index_view.php deleted file mode 100644 index 833fe96..0000000 --- a/onyx2/modules/templates/demo/templates/index_view.php +++ /dev/null @@ -1,13 +0,0 @@ -PHP file test -$foo is -
Test functions - -
Test objects -setName('Paul')->setAge(39)->introduce()?> -
Test Arrays - -
function time - -
nocache function time -';?> -
DONE diff --git a/onyx2/modules/templates/main.php b/onyx2/modules/templates/main.php index a400cff..6ffc46a 100644 --- a/onyx2/modules/templates/main.php +++ b/onyx2/modules/templates/main.php @@ -13,17 +13,15 @@ define('_TEMPLATE_CACHE',ONYX.$OPT['cache']); class Template extends Smarty { - //var $compile_check = false; - //var $force_compile = true; + var $template_dir = _TEMPLATE_DIR; + var $compile_dir = _TEMPLATE_COMPILE; + var $config_dir = _TEMPLATE_CONFIG; + var $cache_dir = _TEMPLATE_CACHE; - public function __construct() - { - parent::__construct(); - $this->setTemplateDir(_TEMPLATE_DIR); - $this->setCompileDir(_TEMPLATE_COMPILE); - $this->setCacheDir(_TEMPLATE_CACHE); - //SetCONFIGDIR ! - } + var $compile_check = false; + var $force_compile = true; + + function set_template($i = null) {} } -?> \ No newline at end of file +?> diff --git a/onyx2/modules/templates_anc/smarty/Config_File.class.php b/onyx2/modules/templates/smarty/Config_File.class.php similarity index 98% rename from onyx2/modules/templates_anc/smarty/Config_File.class.php rename to onyx2/modules/templates/smarty/Config_File.class.php index 31b8907..6d8c298 100644 --- a/onyx2/modules/templates_anc/smarty/Config_File.class.php +++ b/onyx2/modules/templates/smarty/Config_File.class.php @@ -22,14 +22,14 @@ * smarty-discussion-subscribe@googlegroups.com * * @link http://www.smarty.net/ - * @version 2.6.22 + * @version 2.6.25-dev * @copyright Copyright: 2001-2005 New Digital Group, Inc. * @author Andrei Zmievski * @access public * @package Smarty */ -/* $Id: Config_File.class.php 2786 2008-09-18 21:04:38Z Uwe.Tews $ */ +/* $Id$ */ /** * Config file reading class @@ -73,7 +73,7 @@ class Config_File { * * @param string $config_path (optional) path to the config files */ - function Config_File($config_path = NULL) + public function __construct($config_path = NULL) { if (isset($config_path)) $this->set_path($config_path); diff --git a/onyx2/modules/templates/smarty/Security.class.php b/onyx2/modules/templates/smarty/Security.class.php deleted file mode 100644 index 29e3d76..0000000 --- a/onyx2/modules/templates/smarty/Security.class.php +++ /dev/null @@ -1,84 +0,0 @@ -" tags in templates. - * possible values: - *
    - *
  • SMARTY_PHP_PASSTHRU -> echo PHP tags as they are
  • - *
  • SMARTY_PHP_QUOTE -> escape tags as entities
  • - *
  • SMARTY_PHP_REMOVE -> remove php tags
  • - *
  • SMARTY_PHP_ALLOW -> execute php tags
  • - *
- * - * @var integer - */ - public $php_handling = SMARTY_PHP_PASSTHRU; - - /** - * This is the list of template directories that are considered secure. - * One directory per array element. - * $template_dir is in this list implicitly. - * - * @var array - */ - public $secure_dir = array(); - - - /** - * This is an array of directories where trusted php scripts reside. - * {@link $security} is disabled during their inclusion/execution. - * - * @var array - */ - public $trusted_dir = array(); - - - /** - * This is an array of trusted PHP functions. - * - * If empty all functions are allowed. - * If set to 'none' none is allowed. - * @var array - */ - public $php_functions = array('isset', 'empty', - 'count', 'sizeof','in_array', 'is_array','time','nl2br'); - - /** - * This is an array of trusted modifers. - * - * If empty all modifiers are allowed. - * If set to 'none' none is allowed. - * @var array - */ - public $modifiers = array('escape','count'); - - /** - * This is an array of trusted streams. - * - * If empty all streams are allowed. - * If set to 'none' none is allowed. - * @var array - */ - public $streams = array('file'); - /** - + flag if constants can be accessed from template - */ - public $allow_constants = true; - /** - + flag if {php} tag can be executed - */ - public $allow_php_tag = false; -} - -?> diff --git a/onyx2/modules/templates/smarty/Smarty.class.php b/onyx2/modules/templates/smarty/Smarty.class.php index 476752c..3c97b5f 100644 --- a/onyx2/modules/templates/smarty/Smarty.class.php +++ b/onyx2/modules/templates/smarty/Smarty.class.php @@ -1,548 +1,1968 @@ -* @author Uwe Tews -* @package Smarty -* @version 3-SVN$Rev: 3286 $ -*/ + * Project: Smarty: the PHP compiling template engine + * File: Smarty.class.php + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * For questions, help, comments, discussion, etc., please join the + * Smarty mailing list. Send a blank e-mail to + * smarty-discussion-subscribe@googlegroups.com + * + * @link http://www.smarty.net/ + * @copyright 2001-2005 New Digital Group, Inc. + * @author Monte Ohrt + * @author Andrei Zmievski + * @package Smarty + * @version 2.6.31-dev + */ + +/* $Id$ */ /** -* define shorthand directory separator constant -*/ -if (!defined('DS')) { - define('DS', DIRECTORY_SEPARATOR); -} + * DIR_SEP isn't used anymore, but third party apps might + */ +if(!defined('DIR_SEP')) { + define('DIR_SEP', DIRECTORY_SEPARATOR); +} /** -* set SMARTY_DIR to absolute path to Smarty library files. -* Sets SMARTY_DIR only if user application has not already defined it. -*/ + * set SMARTY_DIR to absolute path to Smarty library files. + * if not defined, include_path will be used. Sets SMARTY_DIR only if user + * application has not already defined it. + */ + if (!defined('SMARTY_DIR')) { - define('SMARTY_DIR', dirname(__FILE__) . DS); -} + define('SMARTY_DIR', dirname(__FILE__) . DIRECTORY_SEPARATOR); +} + +if (!defined('SMARTY_CORE_DIR')) { + define('SMARTY_CORE_DIR', SMARTY_DIR . 'internals' . DIRECTORY_SEPARATOR); +} + +define('SMARTY_PHP_PASSTHRU', 0); +define('SMARTY_PHP_QUOTE', 1); +define('SMARTY_PHP_REMOVE', 2); +define('SMARTY_PHP_ALLOW', 3); /** -* set SMARTY_SYSPLUGINS_DIR to absolute path to Smarty internal plugins. -* Sets SMARTY_SYSPLUGINS_DIR only if user application has not already defined it. -*/ -if (!defined('SMARTY_SYSPLUGINS_DIR')) { - define('SMARTY_SYSPLUGINS_DIR', SMARTY_DIR . 'sysplugins' . DS); -} -if (!defined('SMARTY_PLUGINS_DIR')) { - define('SMARTY_PLUGINS_DIR', SMARTY_DIR . 'plugins' . DS); -} -if (!defined('SMARTY_RESOURCE_CHAR_SET')) { - define('SMARTY_RESOURCE_CHAR_SET', 'UTF-8'); -} - -/** -* define variable scopes -*/ -define('SMARTY_LOCAL_SCOPE', 0); -define('SMARTY_PARENT_SCOPE', 1); -define('SMARTY_ROOT_SCOPE', 2); -define('SMARTY_GLOBAL_SCOPE', 3); - -/** -* define caching modes -*/ -define('SMARTY_CACHING_OFF', 0); -define('SMARTY_CACHING_LIFETIME_CURRENT', 1); -define('SMARTY_CACHING_LIFETIME_SAVED', 2); - -/** -* This determines how Smarty handles "" tags in templates. -* possible values: -*/ -define('SMARTY_PHP_PASSTHRU', 0); //-> print tags as plain text -define('SMARTY_PHP_QUOTE', 1); //-> escape tags as entities -define('SMARTY_PHP_REMOVE', 2); //-> escape tags as entities -define('SMARTY_PHP_ALLOW', 3); //-> escape tags as entities - -/** -* register the class autoloader -*/ -if (set_include_path(SMARTY_SYSPLUGINS_DIR . PATH_SEPARATOR . get_include_path()) !== false) { - spl_autoload_extensions('.php,.inc'); - $registeredAutoLoadFunctions = spl_autoload_functions(); - if (!isset($registeredAutoLoadFunctions['spl_autoload'])) { - spl_autoload_register(); - } -} else { - spl_autoload_register('smartyAutoload'); -} -/** -* This is the main Smarty class -*/ -class Smarty extends Smarty_Internal_TemplateBase { - // smarty version - public static $_version = 'Smarty-3.0b1'; - // auto literal on delimiters with whitspace - public $auto_literal = true; - // display error on not assigned variables - public $error_unassigned = false; - // template directory - public $template_dir = null; - // default template handler - public $default_template_handler_func = null; - // compile directory - public $compile_dir = null; - // plugins directory - public $plugins_dir = null; - // cache directory - public $cache_dir = null; - // config directory - public $config_dir = null; - // force template compiling? - public $force_compile = false; - // check template for modifications? - public $compile_check = true; - // use sub dirs for compiled/cached files? - public $use_sub_dirs = false; - // php file extention - public $php_ext = '.php'; - // compile_error? - public $compile_error = false; - // caching enabled - public $caching = false; - // merge compiled includea - public $merge_compiled_includes = true; - // cache lifetime - public $cache_lifetime = 0; - // force cache file creation - public $force_cache = false; - // cache_id - public $cache_id = null; - // compile_id - public $compile_id = null; - // template delimiters - public $left_delimiter = "{"; - public $right_delimiter = "}"; - // security - public $php_handling = SMARTY_PHP_PASSTHRU; - public $allow_php_tag = false; - public $allow_php_templates = false; - public $security = false; - public $security_policy = null; - public $security_handler = null; - public $direct_access_security = true; - // debug mode - public $debugging = false; - public $debugging_ctrl = 'URL'; - public $smarty_debug_id = 'SMARTY_DEBUG'; - public $debug_tpl = null; - // When set, smarty does uses this value as error_reporting-level. - public $error_reporting = null; - // config var settings - public $config_overwrite = true; //Controls whether variables with the same name overwrite each other. - public $config_booleanize = true; //Controls whether config values of on/true/yes and off/false/no get converted to boolean - public $config_read_hidden = true; //Controls whether hidden config sections/vars are read from the file. - // config vars - public $config_vars = array(); - // assigned tpl vars - public $tpl_vars = array(); - // assigned global tpl vars - public $global_tpl_vars = array(); - // dummy parent object - public $parent = null; - // global template functions - public $template_functions = null; - // resource type used if none given - public $default_resource_type = 'file'; - // caching type - public $default_caching_type = 'file'; - // internal cache resource types - public $cache_resorce_types = array('file'); - // config type - public $default_config_type = 'file'; - // class used for cacher - public $cacher_class = 'Smarty_Internal_Cacher_InlineCode'; - // exception handler: array('ExceptionClass','ExceptionMethod'); - public $exception_handler = null; - // cached template objects - public $template_objects = null; - // check If-Modified-Since headers - public $cache_modified_check = false; - // cached objects - public $resource_objects = array(); - // registered plugins - public $registered_plugins = array(); - // plugin search order - public $plugin_search_order = array('function', 'block', 'compiler', 'class'); - // plugin handler object - public $plugin_handler = null; - // default plugin handler - public $default_plugin_handler_func = null; - // registered objects - public $registered_objects = array(); - // registered filters - public $registered_filters = array(); - // filter handler - public $filter_handler = null; - // autoload filter - public $autoload_filters = array(); - // status of filter on variable output - public $variable_filter = true; - // global internal smarty vars - public $_smarty_vars = array(); - // start time for execution time calculation - public $start_time = 0; - // default file permissions - public $_file_perms = 0644; - // default dir permissions - public $_dir_perms = 0771; + * @package Smarty + */ +class Smarty +{ + /**#@+ + * Smarty Configuration Section + */ /** - * Class constructor, initializes basic smarty properties - */ - public function __construct() - { - // self reference needed by other classes methodes - $this->smarty = $this; + * The name of the directory where templates are located. + * + * @var string + */ + var $template_dir = 'templates'; - if (is_callable('mb_internal_encoding')) { - mb_internal_encoding(SMARTY_RESOURCE_CHAR_SET); - } - $this->start_time = $this->_get_time(); - // set exception handler - if (!empty($this->exception_handler)) - set_exception_handler($this->exception_handler); - // set default dirs - $this->template_dir = array('.' . DS . 'templates' . DS); - $this->compile_dir = '.' . DS . 'templates_c' . DS; - $this->plugins_dir = array(SMARTY_PLUGINS_DIR); - $this->cache_dir = '.' . DS . 'cache' . DS; - $this->config_dir = '.' . DS . 'configs' . DS; - $this->debug_tpl = SMARTY_DIR . 'debug.tpl'; - $this->plugin_handler = new Smarty_Internal_Plugin_Handler($this); - $this->filter_handler = new Smarty_Internal_Run_Filter($this); - if (!$this->debugging && $this->debugging_ctrl == 'URL') { - if (isset($_SERVER['QUERY_STRING'])) { - $_query_string = $_SERVER['QUERY_STRING']; + /** + * The directory where compiled templates are located. + * + * @var string + */ + var $compile_dir = 'templates_c'; + + /** + * The directory where config files are located. + * + * @var string + */ + var $config_dir = 'configs'; + + /** + * An array of directories searched for plugins. + * + * @var array + */ + var $plugins_dir = array('plugins'); + + /** + * If debugging is enabled, a debug console window will display + * when the page loads (make sure your browser allows unrequested + * popup windows) + * + * @var boolean + */ + var $debugging = false; + + /** + * When set, smarty does uses this value as error_reporting-level. + * + * @var integer + */ + var $error_reporting = null; + + /** + * This is the path to the debug console template. If not set, + * the default one will be used. + * + * @var string + */ + var $debug_tpl = ''; + + /** + * This determines if debugging is enable-able from the browser. + *
    + *
  • NONE => no debugging control allowed
  • + *
  • URL => enable debugging when SMARTY_DEBUG is found in the URL.
  • + *
+ * @link http://www.foo.dom/index.php?SMARTY_DEBUG + * @var string + */ + var $debugging_ctrl = 'NONE'; + + /** + * This tells Smarty whether to check for recompiling or not. Recompiling + * does not need to happen unless a template or config file is changed. + * Typically you enable this during development, and disable for + * production. + * + * @var boolean + */ + var $compile_check = true; + + /** + * This forces templates to compile every time. Useful for development + * or debugging. + * + * @var boolean + */ + var $force_compile = false; + + /** + * This enables template caching. + *
    + *
  • 0 = no caching
  • + *
  • 1 = use class cache_lifetime value
  • + *
  • 2 = use cache_lifetime in cache file
  • + *
+ * @var integer + */ + var $caching = 0; + + /** + * The name of the directory for cache files. + * + * @var string + */ + var $cache_dir = 'cache'; + + /** + * This is the number of seconds cached content will persist. + *
    + *
  • 0 = always regenerate cache
  • + *
  • -1 = never expires
  • + *
+ * + * @var integer + */ + var $cache_lifetime = 3600; + + /** + * Only used when $caching is enabled. If true, then If-Modified-Since headers + * are respected with cached content, and appropriate HTTP headers are sent. + * This way repeated hits to a cached page do not send the entire page to the + * client every time. + * + * @var boolean + */ + var $cache_modified_check = false; + + /** + * This determines how Smarty handles "" tags in templates. + * possible values: + *
    + *
  • SMARTY_PHP_PASSTHRU -> print tags as plain text
  • + *
  • SMARTY_PHP_QUOTE -> escape tags as entities
  • + *
  • SMARTY_PHP_REMOVE -> remove php tags
  • + *
  • SMARTY_PHP_ALLOW -> execute php tags
  • + *
+ * + * @var integer + */ + var $php_handling = SMARTY_PHP_PASSTHRU; + + /** + * This enables template security. When enabled, many things are restricted + * in the templates that normally would go unchecked. This is useful when + * untrusted parties are editing templates and you want a reasonable level + * of security. (no direct execution of PHP in templates for example) + * + * @var boolean + */ + var $security = false; + + /** + * This is the list of template directories that are considered secure. This + * is used only if {@link $security} is enabled. One directory per array + * element. {@link $template_dir} is in this list implicitly. + * + * @var array + */ + var $secure_dir = array(); + + /** + * These are the security settings for Smarty. They are used only when + * {@link $security} is enabled. + * + * @var array + */ + var $security_settings = array( + 'PHP_HANDLING' => false, + 'IF_FUNCS' => array('array', 'list', + 'isset', 'empty', + 'count', 'sizeof', + 'in_array', 'is_array', + 'true', 'false', 'null'), + 'INCLUDE_ANY' => false, + 'PHP_TAGS' => false, + 'MODIFIER_FUNCS' => array('count'), + 'ALLOW_CONSTANTS' => false, + 'ALLOW_SUPER_GLOBALS' => true + ); + + /** + * This is an array of directories where trusted php scripts reside. + * {@link $security} is disabled during their inclusion/execution. + * + * @var array + */ + var $trusted_dir = array(); + + /** + * The left delimiter used for the template tags. + * + * @var string + */ + var $left_delimiter = '{'; + + /** + * The right delimiter used for the template tags. + * + * @var string + */ + var $right_delimiter = '}'; + + /** + * The order in which request variables are registered, similar to + * variables_order in php.ini E = Environment, G = GET, P = POST, + * C = Cookies, S = Server + * + * @var string + */ + var $request_vars_order = 'EGPCS'; + + /** + * Indicates wether $HTTP_*_VARS[] (request_use_auto_globals=false) + * are uses as request-vars or $_*[]-vars. note: if + * request_use_auto_globals is true, then $request_vars_order has + * no effect, but the php-ini-value "gpc_order" + * + * @var boolean + */ + var $request_use_auto_globals = true; + + /** + * Set this if you want different sets of compiled files for the same + * templates. This is useful for things like different languages. + * Instead of creating separate sets of templates per language, you + * set different compile_ids like 'en' and 'de'. + * + * @var string + */ + var $compile_id = null; + + /** + * This tells Smarty whether or not to use sub dirs in the cache/ and + * templates_c/ directories. sub directories better organized, but + * may not work well with PHP safe mode enabled. + * + * @var boolean + * + */ + var $use_sub_dirs = false; + + /** + * This is a list of the modifiers to apply to all template variables. + * Put each modifier in a separate array element in the order you want + * them applied. example: array('escape:"htmlall"'); + * + * @var array + */ + var $default_modifiers = array(); + + /** + * This is the resource type to be used when not specified + * at the beginning of the resource path. examples: + * $smarty->display('file:index.tpl'); + * $smarty->display('db:index.tpl'); + * $smarty->display('index.tpl'); // will use default resource type + * {include file="file:index.tpl"} + * {include file="db:index.tpl"} + * {include file="index.tpl"} {* will use default resource type *} + * + * @var array + */ + var $default_resource_type = 'file'; + + /** + * The function used for cache file handling. If not set, built-in caching is used. + * + * @var null|string function name + */ + var $cache_handler_func = null; + + /** + * This indicates which filters are automatically loaded into Smarty. + * + * @var array array of filter names + */ + var $autoload_filters = array(); + + /**#@+ + * @var boolean + */ + /** + * This tells if config file vars of the same name overwrite each other or not. + * if disabled, same name variables are accumulated in an array. + */ + var $config_overwrite = true; + + /** + * This tells whether or not to automatically booleanize config file variables. + * If enabled, then the strings "on", "true", and "yes" are treated as boolean + * true, and "off", "false" and "no" are treated as boolean false. + */ + var $config_booleanize = true; + + /** + * This tells whether hidden sections [.foobar] are readable from the + * tempalates or not. Normally you would never allow this since that is + * the point behind hidden sections: the application can access them, but + * the templates cannot. + */ + var $config_read_hidden = false; + + /** + * This tells whether or not automatically fix newlines in config files. + * It basically converts \r (mac) or \r\n (dos) to \n + */ + var $config_fix_newlines = true; + /**#@-*/ + + /** + * If a template cannot be found, this PHP function will be executed. + * Useful for creating templates on-the-fly or other special action. + * + * @var string function name + */ + var $default_template_handler_func = ''; + + /** + * The file that contains the compiler class. This can a full + * pathname, or relative to the php_include path. + * + * @var string + */ + var $compiler_file = 'Smarty_Compiler.class.php'; + + /** + * The class used for compiling templates. + * + * @var string + */ + var $compiler_class = 'Smarty_Compiler'; + + /** + * The class used to load config vars. + * + * @var string + */ + var $config_class = 'Config_File'; + +/**#@+ + * END Smarty Configuration Section + * There should be no need to touch anything below this line. + * @access private + */ + /** + * where assigned template vars are kept + * + * @var array + */ + var $_tpl_vars = array(); + + /** + * stores run-time $smarty.* vars + * + * @var null|array + */ + var $_smarty_vars = null; + + /** + * keeps track of sections + * + * @var array + */ + var $_sections = array(); + + /** + * keeps track of foreach blocks + * + * @var array + */ + var $_foreach = array(); + + /** + * keeps track of tag hierarchy + * + * @var array + */ + var $_tag_stack = array(); + + /** + * configuration object + * + * @var Config_file + */ + var $_conf_obj = null; + + /** + * loaded configuration settings + * + * @var array + */ + var $_config = array(array('vars' => array(), 'files' => array())); + + /** + * md5 checksum of the string 'Smarty' + * + * @var string + */ + var $_smarty_md5 = 'f8d698aea36fcbead2b9d5359ffca76f'; + + /** + * Smarty version number + * + * @var string + */ + var $_version = '2.6.31'; + + /** + * current template inclusion depth + * + * @var integer + */ + var $_inclusion_depth = 0; + + /** + * for different compiled templates + * + * @var string + */ + var $_compile_id = null; + + /** + * text in URL to enable debug mode + * + * @var string + */ + var $_smarty_debug_id = 'SMARTY_DEBUG'; + + /** + * debugging information for debug console + * + * @var array + */ + var $_smarty_debug_info = array(); + + /** + * info that makes up a cache file + * + * @var array + */ + var $_cache_info = array(); + + /** + * default file permissions + * + * @var integer + */ + var $_file_perms = 0644; + + /** + * default dir permissions + * + * @var integer + */ + var $_dir_perms = 0771; + + /** + * registered objects + * + * @var array + */ + var $_reg_objects = array(); + + /** + * table keeping track of plugins + * + * @var array + */ + var $_plugins = array( + 'modifier' => array(), + 'function' => array(), + 'block' => array(), + 'compiler' => array(), + 'prefilter' => array(), + 'postfilter' => array(), + 'outputfilter' => array(), + 'resource' => array(), + 'insert' => array()); + + + /** + * cache serials + * + * @var array + */ + var $_cache_serials = array(); + + /** + * name of optional cache include file + * + * @var string + */ + var $_cache_include = null; + + /** + * indicate if the current code is used in a compiled + * include + * + * @var string + */ + var $_cache_including = false; + + /** + * plugin filepath cache + * + * @var array + */ + var $_filepaths_cache = array(); + /**#@-*/ + /** + * The class constructor. + */ + public function __construct() + { + $this->assign('SCRIPT_NAME', isset($_SERVER['SCRIPT_NAME']) ? $_SERVER['SCRIPT_NAME'] + : @$GLOBALS['HTTP_SERVER_VARS']['SCRIPT_NAME']); + } + + /** + * assigns values to template variables + * + * @param array|string $tpl_var the template variable name(s) + * @param mixed $value the value to assign + */ + function assign($tpl_var, $value = null) + { + if (is_array($tpl_var)){ + foreach ($tpl_var as $key => $val) { + if ($key != '') { + $this->_tpl_vars[$key] = $val; + } + } + } else { + if ($tpl_var != '') + $this->_tpl_vars[$tpl_var] = $value; + } + } + + /** + * assigns values to template variables by reference + * + * @param string $tpl_var the template variable name + * @param mixed $value the referenced value to assign + */ + function assign_by_ref($tpl_var, &$value) + { + if ($tpl_var != '') + $this->_tpl_vars[$tpl_var] = &$value; + } + + /** + * appends values to template variables + * + * @param array|string $tpl_var the template variable name(s) + * @param mixed $value the value to append + */ + function append($tpl_var, $value=null, $merge=false) + { + if (is_array($tpl_var)) { + // $tpl_var is an array, ignore $value + foreach ($tpl_var as $_key => $_val) { + if ($_key != '') { + if(!@is_array($this->_tpl_vars[$_key])) { + settype($this->_tpl_vars[$_key],'array'); + } + if($merge && is_array($_val)) { + foreach($_val as $_mkey => $_mval) { + $this->_tpl_vars[$_key][$_mkey] = $_mval; + } + } else { + $this->_tpl_vars[$_key][] = $_val; + } + } + } + } else { + if ($tpl_var != '' && isset($value)) { + if(!@is_array($this->_tpl_vars[$tpl_var])) { + settype($this->_tpl_vars[$tpl_var],'array'); + } + if($merge && is_array($value)) { + foreach($value as $_mkey => $_mval) { + $this->_tpl_vars[$tpl_var][$_mkey] = $_mval; + } + } else { + $this->_tpl_vars[$tpl_var][] = $value; + } + } + } + } + + /** + * appends values to template variables by reference + * + * @param string $tpl_var the template variable name + * @param mixed $value the referenced value to append + */ + function append_by_ref($tpl_var, &$value, $merge=false) + { + if ($tpl_var != '' && isset($value)) { + if(!@is_array($this->_tpl_vars[$tpl_var])) { + settype($this->_tpl_vars[$tpl_var],'array'); + } + if ($merge && is_array($value)) { + foreach($value as $_key => $_val) { + $this->_tpl_vars[$tpl_var][$_key] = &$value[$_key]; + } } else { - $_query_string = ''; - } - if (false !== strpos($_query_string, $this->smarty_debug_id)) { - if (false !== strpos($_query_string, $this->smarty_debug_id . '=on')) { + $this->_tpl_vars[$tpl_var][] = &$value; + } + } + } + + + /** + * clear the given assigned template variable. + * + * @param string $tpl_var the template variable to clear + */ + function clear_assign($tpl_var) + { + if (is_array($tpl_var)) + foreach ($tpl_var as $curr_var) + unset($this->_tpl_vars[$curr_var]); + else + unset($this->_tpl_vars[$tpl_var]); + } + + + /** + * Registers custom function to be used in templates + * + * @param string $function the name of the template function + * @param string $function_impl the name of the PHP function to register + */ + function register_function($function, $function_impl, $cacheable=true, $cache_attrs=null) + { + $this->_plugins['function'][$function] = + array($function_impl, null, null, false, $cacheable, $cache_attrs); + + } + + /** + * Unregisters custom function + * + * @param string $function name of template function + */ + function unregister_function($function) + { + unset($this->_plugins['function'][$function]); + } + + /** + * Registers object to be used in templates + * + * @param string $object name of template object + * @param object &$object_impl the referenced PHP object to register + * @param null|array $allowed list of allowed methods (empty = all) + * @param boolean $smarty_args smarty argument format, else traditional + * @param null|array $block_functs list of methods that are block format + */ + function register_object($object, &$object_impl, $allowed = array(), $smarty_args = true, $block_methods = array()) + { + settype($allowed, 'array'); + settype($smarty_args, 'boolean'); + $this->_reg_objects[$object] = + array(&$object_impl, $allowed, $smarty_args, $block_methods); + } + + /** + * Unregisters object + * + * @param string $object name of template object + */ + function unregister_object($object) + { + unset($this->_reg_objects[$object]); + } + + + /** + * Registers block function to be used in templates + * + * @param string $block name of template block + * @param string $block_impl PHP function to register + */ + function register_block($block, $block_impl, $cacheable=true, $cache_attrs=null) + { + $this->_plugins['block'][$block] = + array($block_impl, null, null, false, $cacheable, $cache_attrs); + } + + /** + * Unregisters block function + * + * @param string $block name of template function + */ + function unregister_block($block) + { + unset($this->_plugins['block'][$block]); + } + + /** + * Registers compiler function + * + * @param string $function name of template function + * @param string $function_impl name of PHP function to register + */ + function register_compiler_function($function, $function_impl, $cacheable=true) + { + $this->_plugins['compiler'][$function] = + array($function_impl, null, null, false, $cacheable); + } + + /** + * Unregisters compiler function + * + * @param string $function name of template function + */ + function unregister_compiler_function($function) + { + unset($this->_plugins['compiler'][$function]); + } + + /** + * Registers modifier to be used in templates + * + * @param string $modifier name of template modifier + * @param string $modifier_impl name of PHP function to register + */ + function register_modifier($modifier, $modifier_impl) + { + $this->_plugins['modifier'][$modifier] = + array($modifier_impl, null, null, false); + } + + /** + * Unregisters modifier + * + * @param string $modifier name of template modifier + */ + function unregister_modifier($modifier) + { + unset($this->_plugins['modifier'][$modifier]); + } + + /** + * Registers a resource to fetch a template + * + * @param string $type name of resource + * @param array $functions array of functions to handle resource + */ + function register_resource($type, $functions) + { + if (count($functions)==4) { + $this->_plugins['resource'][$type] = + array($functions, false); + + } elseif (count($functions)==5) { + $this->_plugins['resource'][$type] = + array(array(array(&$functions[0], $functions[1]) + ,array(&$functions[0], $functions[2]) + ,array(&$functions[0], $functions[3]) + ,array(&$functions[0], $functions[4])) + ,false); + + } else { + $this->trigger_error("malformed function-list for '$type' in register_resource"); + + } + } + + /** + * Unregisters a resource + * + * @param string $type name of resource + */ + function unregister_resource($type) + { + unset($this->_plugins['resource'][$type]); + } + + /** + * Registers a prefilter function to apply + * to a template before compiling + * + * @param callback $function + */ + function register_prefilter($function) + { + $this->_plugins['prefilter'][$this->_get_filter_name($function)] + = array($function, null, null, false); + } + + /** + * Unregisters a prefilter function + * + * @param callback $function + */ + function unregister_prefilter($function) + { + unset($this->_plugins['prefilter'][$this->_get_filter_name($function)]); + } + + /** + * Registers a postfilter function to apply + * to a compiled template after compilation + * + * @param callback $function + */ + function register_postfilter($function) + { + $this->_plugins['postfilter'][$this->_get_filter_name($function)] + = array($function, null, null, false); + } + + /** + * Unregisters a postfilter function + * + * @param callback $function + */ + function unregister_postfilter($function) + { + unset($this->_plugins['postfilter'][$this->_get_filter_name($function)]); + } + + /** + * Registers an output filter function to apply + * to a template output + * + * @param callback $function + */ + function register_outputfilter($function) + { + $this->_plugins['outputfilter'][$this->_get_filter_name($function)] + = array($function, null, null, false); + } + + /** + * Unregisters an outputfilter function + * + * @param callback $function + */ + function unregister_outputfilter($function) + { + unset($this->_plugins['outputfilter'][$this->_get_filter_name($function)]); + } + + /** + * load a filter of specified type and name + * + * @param string $type filter type + * @param string $name filter name + */ + function load_filter($type, $name) + { + switch ($type) { + case 'output': + $_params = array('plugins' => array(array($type . 'filter', $name, null, null, false))); + require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); + smarty_core_load_plugins($_params, $this); + break; + + case 'pre': + case 'post': + if (!isset($this->_plugins[$type . 'filter'][$name])) + $this->_plugins[$type . 'filter'][$name] = false; + break; + } + } + + /** + * clear cached content for the given template and cache id + * + * @param string $tpl_file name of template file + * @param string $cache_id name of cache_id + * @param string $compile_id name of compile_id + * @param string $exp_time expiration time + * @return boolean + */ + function clear_cache($tpl_file = null, $cache_id = null, $compile_id = null, $exp_time = null) + { + + if (!isset($compile_id)) + $compile_id = $this->compile_id; + + if (!isset($tpl_file)) + $compile_id = null; + + $_auto_id = $this->_get_auto_id($cache_id, $compile_id); + + if (!empty($this->cache_handler_func)) { + return call_user_func_array($this->cache_handler_func, + array('clear', &$this, &$dummy, $tpl_file, $cache_id, $compile_id, $exp_time)); + } else { + $_params = array('auto_base' => $this->cache_dir, + 'auto_source' => $tpl_file, + 'auto_id' => $_auto_id, + 'exp_time' => $exp_time); + require_once(SMARTY_CORE_DIR . 'core.rm_auto.php'); + return smarty_core_rm_auto($_params, $this); + } + + } + + + /** + * clear the entire contents of cache (all templates) + * + * @param string $exp_time expire time + * @return boolean results of {@link smarty_core_rm_auto()} + */ + function clear_all_cache($exp_time = null) + { + return $this->clear_cache(null, null, null, $exp_time); + } + + + /** + * test to see if valid cache exists for this template + * + * @param string $tpl_file name of template file + * @param string $cache_id + * @param string $compile_id + * @return string|false results of {@link _read_cache_file()} + */ + function is_cached($tpl_file, $cache_id = null, $compile_id = null) + { + if (!$this->caching) + return false; + + if (!isset($compile_id)) + $compile_id = $this->compile_id; + + $_params = array( + 'tpl_file' => $tpl_file, + 'cache_id' => $cache_id, + 'compile_id' => $compile_id + ); + require_once(SMARTY_CORE_DIR . 'core.read_cache_file.php'); + return smarty_core_read_cache_file($_params, $this); + } + + + /** + * clear all the assigned template variables. + * + */ + function clear_all_assign() + { + $this->_tpl_vars = array(); + } + + /** + * clears compiled version of specified template resource, + * or all compiled template files if one is not specified. + * This function is for advanced use only, not normally needed. + * + * @param string $tpl_file + * @param string $compile_id + * @param string $exp_time + * @return boolean results of {@link smarty_core_rm_auto()} + */ + function clear_compiled_tpl($tpl_file = null, $compile_id = null, $exp_time = null) + { + if (!isset($compile_id)) { + $compile_id = $this->compile_id; + } + $_params = array('auto_base' => $this->compile_dir, + 'auto_source' => $tpl_file, + 'auto_id' => $compile_id, + 'exp_time' => $exp_time, + 'extensions' => array('.inc', '.php')); + require_once(SMARTY_CORE_DIR . 'core.rm_auto.php'); + return smarty_core_rm_auto($_params, $this); + } + + /** + * Checks whether requested template exists. + * + * @param string $tpl_file + * @return boolean + */ + function template_exists($tpl_file) + { + $_params = array('resource_name' => $tpl_file, 'quiet'=>true, 'get_source'=>false); + return $this->_fetch_resource_info($_params); + } + + /** + * Returns an array containing template variables + * + * @param string $name + * @param string $type + * @return array + */ + function &get_template_vars($name=null) + { + if(!isset($name)) { + return $this->_tpl_vars; + } elseif(isset($this->_tpl_vars[$name])) { + return $this->_tpl_vars[$name]; + } else { + // var non-existant, return valid reference + $_tmp = null; + return $_tmp; + } + } + + /** + * Returns an array containing config variables + * + * @param string $name + * @param string $type + * @return array + */ + function &get_config_vars($name=null) + { + if(!isset($name) && is_array($this->_config[0])) { + return $this->_config[0]['vars']; + } else if(isset($this->_config[0]['vars'][$name])) { + return $this->_config[0]['vars'][$name]; + } else { + // var non-existant, return valid reference + $_tmp = null; + return $_tmp; + } + } + + /** + * trigger Smarty error + * + * @param string $error_msg + * @param integer $error_type + */ + function trigger_error($error_msg, $error_type = E_USER_WARNING) + { + $msg = htmlentities($error_msg); + trigger_error("Smarty error: $msg", $error_type); + } + + + /** + * executes & displays the template results + * + * @param string $resource_name + * @param string $cache_id + * @param string $compile_id + */ + function display($resource_name, $cache_id = null, $compile_id = null) + { + $this->fetch($resource_name, $cache_id, $compile_id, true); + } + + /** + * executes & returns or displays the template results + * + * @param string $resource_name + * @param string $cache_id + * @param string $compile_id + * @param boolean $display + */ + function fetch($resource_name, $cache_id = null, $compile_id = null, $display = false) + { + static $_cache_info = array(); + + $_smarty_old_error_level = $this->debugging ? error_reporting() : error_reporting(isset($this->error_reporting) + ? $this->error_reporting : error_reporting() & ~E_NOTICE); + + if (!$this->debugging && $this->debugging_ctrl == 'URL') { + $_query_string = $this->request_use_auto_globals ? $_SERVER['QUERY_STRING'] : $GLOBALS['HTTP_SERVER_VARS']['QUERY_STRING']; + if (@strstr($_query_string, $this->_smarty_debug_id)) { + if (@strstr($_query_string, $this->_smarty_debug_id . '=on')) { // enable debugging for this browser session - setcookie('SMARTY_DEBUG', true); + @setcookie('SMARTY_DEBUG', true); $this->debugging = true; - } elseif (false !== strpos($_query_string, $this->smarty_debug_id . '=off')) { + } elseif (@strstr($_query_string, $this->_smarty_debug_id . '=off')) { // disable debugging for this browser session - setcookie('SMARTY_DEBUG', false); + @setcookie('SMARTY_DEBUG', false); $this->debugging = false; } else { // enable debugging for this page $this->debugging = true; - } + } } else { - if (isset($_COOKIE['SMARTY_DEBUG'])) { - $this->debugging = true; - } - } - } - $this->assign_global('SCRIPT_NAME', $_SERVER['SCRIPT_NAME']); - } + $this->debugging = (bool)($this->request_use_auto_globals ? @$_COOKIE['SMARTY_DEBUG'] : @$GLOBALS['HTTP_COOKIE_VARS']['SMARTY_DEBUG']); + } + } - /** - * Class destructor - */ - public function __destruct() - { - // restore to previous exception handler, if any - if (!empty($this->exception_handler)) - restore_exception_handler(); - } + if ($this->debugging) { + // capture time for debugging info + $_params = array(); + require_once(SMARTY_CORE_DIR . 'core.get_microtime.php'); + $_debug_start_time = smarty_core_get_microtime($_params, $this); + $this->_smarty_debug_info[] = array('type' => 'template', + 'filename' => $resource_name, + 'depth' => 0); + $_included_tpls_idx = count($this->_smarty_debug_info) - 1; + } - /** - * fetches a rendered Smarty template - * - * @param string $template the resource handle of the template file or template object - * @param mixed $cache_id cache id to be used with this template - * @param mixed $compile_id compile id to be used with this template - * @param object $ |null $parent next higher level of Smarty variables - * @return string rendered template output - */ - public function fetch($template, $cache_id = null, $compile_id = null, $parent = null) - { - if (is_object($cache_id)) { - $parent = $cache_id; - $cache_id = null; - } - if ($parent === null) { - // get default Smarty data object - $parent = $this; - } - // create template object if necessary - ($template instanceof $this->template_class)? $_template = $template : - $_template = $this->createTemplate ($template, $cache_id, $compile_id, $parent); - $_smarty_old_error_level = $this->debugging ? error_reporting() : error_reporting(isset($this->error_reporting) - ? $this->error_reporting : error_reporting() &~E_NOTICE); - // return redered template - $_output = $_template->getRenderedTemplate(); - $_template->rendered_content = null; - error_reporting($_smarty_old_error_level); - return $_output; - } + if (!isset($compile_id)) { + $compile_id = $this->compile_id; + } - /** - * displays a Smarty template - * - * @param string $ |object $template the resource handle of the template file or template object - * @param mixed $cache_id cache id to be used with this template - * @param mixed $compile_id compile id to be used with this template - * @param object $parent next higher level of Smarty variables - */ - public function display($template, $cache_id = null, $compile_id = null, $parent = null) - { - if (is_object($cache_id)) { - $parent = $cache_id; - $cache_id = null; - } - // display template - echo $this->fetch ($template, $cache_id, $compile_id, $parent); - // debug output - $this->displayDebugInfo(); - return true; - } + $this->_compile_id = $compile_id; + $this->_inclusion_depth = 0; - /** - * test if cache i valid - * - * @param string $ |object $template the resource handle of the template file or template object - * @param mixed $cache_id cache id to be used with this template - * @param mixed $compile_id compile id to be used with this template - * @return boolean cache status - */ - public function is_cached($template, $cache_id = null, $compile_id = null) - { - if (!($template instanceof $this->template_class)) { - $template = $this->createTemplate ($template, $cache_id, $compile_id, $this); - } - // return cache status of template - return $template->isCached(); - } + if ($this->caching) { + // save old cache_info, initialize cache_info + array_push($_cache_info, $this->_cache_info); + $this->_cache_info = array(); + $_params = array( + 'tpl_file' => $resource_name, + 'cache_id' => $cache_id, + 'compile_id' => $compile_id, + 'results' => null + ); + require_once(SMARTY_CORE_DIR . 'core.read_cache_file.php'); + if (smarty_core_read_cache_file($_params, $this)) { + $_smarty_results = $_params['results']; + if (!empty($this->_cache_info['insert_tags'])) { + $_params = array('plugins' => $this->_cache_info['insert_tags']); + require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); + smarty_core_load_plugins($_params, $this); + $_params = array('results' => $_smarty_results); + require_once(SMARTY_CORE_DIR . 'core.process_cached_inserts.php'); + $_smarty_results = smarty_core_process_cached_inserts($_params, $this); + } + if (!empty($this->_cache_info['cache_serials'])) { + $_params = array('results' => $_smarty_results); + require_once(SMARTY_CORE_DIR . 'core.process_compiled_include.php'); + $_smarty_results = smarty_core_process_compiled_include($_params, $this); + } - /** - * Load the plugin with security definition and enables security - * - * @param string $security_policy plugin to load - */ - public function enableSecurity($security_policy_file = null) - { - if (!isset($security_policy_file)) { - $security_policy_file = SMARTY_DIR . 'Security.class.php'; - } - if (file_exists($security_policy_file)) { - require_once($security_policy_file); - if (!class_exists('Smarty_Security_Policy')) { - throw new Exception("Security policy must define class 'Smarty_Security_Policy'"); - } - $this->security_policy = new Smarty_Security_Policy; - $this->security_handler = new Smarty_Internal_Security_Handler($this); - $this->security = true; + + if ($display) { + if ($this->debugging) + { + // capture time for debugging info + $_params = array(); + require_once(SMARTY_CORE_DIR . 'core.get_microtime.php'); + $this->_smarty_debug_info[$_included_tpls_idx]['exec_time'] = smarty_core_get_microtime($_params, $this) - $_debug_start_time; + require_once(SMARTY_CORE_DIR . 'core.display_debug_console.php'); + $_smarty_results .= smarty_core_display_debug_console($_params, $this); + } + if ($this->cache_modified_check) { + $_server_vars = ($this->request_use_auto_globals) ? $_SERVER : $GLOBALS['HTTP_SERVER_VARS']; + $_last_modified_date = @substr($_server_vars['HTTP_IF_MODIFIED_SINCE'], 0, strpos($_server_vars['HTTP_IF_MODIFIED_SINCE'], 'GMT') + 3); + $_gmt_mtime = gmdate('D, d M Y H:i:s', $this->_cache_info['timestamp']).' GMT'; + if (@count($this->_cache_info['insert_tags']) == 0 + && !$this->_cache_serials + && $_gmt_mtime == $_last_modified_date) { + if (php_sapi_name()=='cgi') + header('Status: 304 Not Modified'); + else + header('HTTP/1.1 304 Not Modified'); + + } else { + header('Last-Modified: '.$_gmt_mtime); + echo $_smarty_results; + } + } else { + echo $_smarty_results; + } + error_reporting($_smarty_old_error_level); + // restore initial cache_info + $this->_cache_info = array_pop($_cache_info); + return true; + } else { + error_reporting($_smarty_old_error_level); + // restore initial cache_info + $this->_cache_info = array_pop($_cache_info); + return $_smarty_results; + } + } else { + $this->_cache_info['template'][$resource_name] = true; + if ($this->cache_modified_check && $display) { + header('Last-Modified: '.gmdate('D, d M Y H:i:s', time()).' GMT'); + } + } + } + + // load filters that are marked as autoload + if (count($this->autoload_filters)) { + foreach ($this->autoload_filters as $_filter_type => $_filters) { + foreach ($_filters as $_filter) { + $this->load_filter($_filter_type, $_filter); + } + } + } + + $_smarty_compile_path = $this->_get_compile_path($resource_name); + + // if we just need to display the results, don't perform output + // buffering - for speed + $_cache_including = $this->_cache_including; + $this->_cache_including = false; + if ($display && !$this->caching && count($this->_plugins['outputfilter']) == 0) { + if ($this->_is_compiled($resource_name, $_smarty_compile_path) + || $this->_compile_resource($resource_name, $_smarty_compile_path)) + { + include($_smarty_compile_path); + } } else { - throw new Exception("Security policy {$security_policy_file} not found"); - } - } + ob_start(); + if ($this->_is_compiled($resource_name, $_smarty_compile_path) + || $this->_compile_resource($resource_name, $_smarty_compile_path)) + { + include($_smarty_compile_path); + } + $_smarty_results = ob_get_contents(); + ob_end_clean(); + + foreach ((array)$this->_plugins['outputfilter'] as $_output_filter) { + $_smarty_results = call_user_func_array($_output_filter[0], array($_smarty_results, &$this)); + } + } + + if ($this->caching) { + $_params = array('tpl_file' => $resource_name, + 'cache_id' => $cache_id, + 'compile_id' => $compile_id, + 'results' => $_smarty_results); + require_once(SMARTY_CORE_DIR . 'core.write_cache_file.php'); + smarty_core_write_cache_file($_params, $this); + require_once(SMARTY_CORE_DIR . 'core.process_cached_inserts.php'); + $_smarty_results = smarty_core_process_cached_inserts($_params, $this); + + if ($this->_cache_serials) { + // strip nocache-tags from output + $_smarty_results = preg_replace('!(\{/?nocache\:[0-9a-f]{32}#\d+\})!s' + ,'' + ,$_smarty_results); + } + // restore initial cache_info + $this->_cache_info = array_pop($_cache_info); + } + $this->_cache_including = $_cache_including; + + if ($display) { + if (isset($_smarty_results)) { echo $_smarty_results; } + if ($this->debugging) { + // capture time for debugging info + $_params = array(); + require_once(SMARTY_CORE_DIR . 'core.get_microtime.php'); + $this->_smarty_debug_info[$_included_tpls_idx]['exec_time'] = (smarty_core_get_microtime($_params, $this) - $_debug_start_time); + require_once(SMARTY_CORE_DIR . 'core.display_debug_console.php'); + echo smarty_core_display_debug_console($_params, $this); + } + error_reporting($_smarty_old_error_level); + return; + } else { + error_reporting($_smarty_old_error_level); + if (isset($_smarty_results)) { return $_smarty_results; } + } + } /** - * Set template directory - * - * @param string $ |array $template_dir folder(s) of template sorces - */ - public function setTemplateDir($template_dir) + * load configuration values + * + * @param string $file + * @param string $section + * @param string $scope + */ + function config_load($file, $section = null, $scope = 'global') { - $this->template_dir = (array)$template_dir; - return; - } + require_once($this->_get_plugin_filepath('function', 'config_load')); + smarty_function_config_load(array('file' => $file, 'section' => $section, 'scope' => $scope), $this); + } + /** - * Adds template directory(s) to existing ones - * - * @param string $ |array $template_dir folder(s) of template sources - */ - public function addTemplateDir($template_dir) + * return a reference to a registered object + * + * @param string $name + * @return object + */ + function &get_registered_object($name) { + if (!isset($this->_reg_objects[$name])) + $this->_trigger_fatal_error("'$name' is not a registered object"); + + if (!is_object($this->_reg_objects[$name][0])) + $this->_trigger_fatal_error("registered '$name' is not an object"); + + return $this->_reg_objects[$name][0]; + } + + /** + * clear configuration values + * + * @param string $var + */ + function clear_config($var = null) { - $this->template_dir = array_merge((array)$this->template_dir, (array)$template_dir); - $this->template_dir = array_unique($this->template_dir); - return; - } + if(!isset($var)) { + // clear all values + $this->_config = array(array('vars' => array(), + 'files' => array())); + } else { + unset($this->_config[0]['vars'][$var]); + } + } + /** - * Set compile directory - * - * @param string $compile_dir folder of compiled template sources - */ - public function setCompileDir($compile_dir) + * get filepath of requested plugin + * + * @param string $type + * @param string $name + * @return string|false + */ + function _get_plugin_filepath($type, $name) { - $this->compile_dir = $compile_dir; - return; - } - /** - * Set cache directory - * - * @param string $cache_dir folder of cache files - */ - public function setCacheDir($cache_dir) + $_params = array('type' => $type, 'name' => $name); + require_once(SMARTY_CORE_DIR . 'core.assemble_plugin_filepath.php'); + return smarty_core_assemble_plugin_filepath($_params, $this); + } + + /** + * test if resource needs compiling + * + * @param string $resource_name + * @param string $compile_path + * @return boolean + */ + function _is_compiled($resource_name, $compile_path) { - $this->cache_dir = $cache_dir; - return; - } - /** - * Enable Caching - */ - public function enableCaching() - { - $this->caching = true; - return; - } - /** - * Set caching life time - * - * @param integer $lifetime lifetime of cached file in seconds - */ - public function setCacheLifetime($lifetime) - { - $this->cache_lifetime = $lifetime; - return; - } - /** - * Takes unknown classes and loads plugin files for them - * class name format: Smarty_PluginType_PluginName - * plugin filename format: plugintype.pluginname.php - * - * @param string $plugin_name class plugin name to load - * @return boolean - */ - public function loadPlugin($plugin_name) - { - // if class exists, exit silently (already loaded) - if (class_exists($plugin_name, false)) - return true; - // if callable as function, exit silently (already loaded) - if (is_callable($plugin_name)) - return true; - // Plugin name is expected to be: Smarty_[Type]_[Name] - $_plugin_name = strtolower($plugin_name); - $_name_parts = explode('_', $_plugin_name, 3); - // class name must have three parts to be valid plugin - if (count($_name_parts) < 3 || $_name_parts[0] !== 'smarty') { - throw new Exception("plugin {$plugin_name} is not a valid name format"); - return false; - } - // if type is "internal", get plugin from sysplugins - if ($_name_parts[1] == 'internal') { - if (file_exists(SMARTY_SYSPLUGINS_DIR . $_plugin_name . $this->php_ext)) { - require_once(SMARTY_SYSPLUGINS_DIR . $_plugin_name . $this->php_ext); + if (!$this->force_compile && file_exists($compile_path)) { + if (!$this->compile_check) { + // no need to check compiled file return true; } else { - return false; - } - } - // plugin filename is expected to be: [type].[name].php - $_plugin_filename = "{$_name_parts[1]}.{$_name_parts[2]}{$this->php_ext}"; - // loop through plugin dirs and find the plugin - foreach((array)$this->plugins_dir as $_plugin_dir) { - if (strpos('/\\', substr($_plugin_dir, -1)) === false) { - $_plugin_dir .= DS; - } + // get file source and timestamp + $_params = array('resource_name' => $resource_name, 'get_source'=>false); + if (!$this->_fetch_resource_info($_params)) { + return false; + } + if ($_params['resource_timestamp'] <= filemtime($compile_path)) { + // template not expired, no recompile + return true; + } else { + // compile template + return false; + } + } + } else { + // compiled template does not exist, or forced compile + return false; + } + } - if (file_exists($_plugin_dir . $_plugin_filename)) { - require_once($_plugin_dir . $_plugin_filename); - return true; - } - } - // no plugin loaded - return false; - } - - /** - * Sets the exception handler for Smarty. - * - * @param mixed $handler function name or array with object/method names - * @return string previous exception handler - */ - public function setExceptionHandler($handler) + /** + * compile the template + * + * @param string $resource_name + * @param string $compile_path + * @return boolean + */ + function _compile_resource($resource_name, $compile_path) { - $this->exception_handler = $handler; - return set_exception_handler($handler); - } + + $_params = array('resource_name' => $resource_name); + if (!$this->_fetch_resource_info($_params)) { + return false; + } + + $_source_content = $_params['source_content']; + $_cache_include = substr($compile_path, 0, -4).'.inc'; + + if ($this->_compile_source($resource_name, $_source_content, $_compiled_content, $_cache_include)) { + // if a _cache_serial was set, we also have to write an include-file: + if ($this->_cache_include_info) { + require_once(SMARTY_CORE_DIR . 'core.write_compiled_include.php'); + smarty_core_write_compiled_include(array_merge($this->_cache_include_info, array('compiled_content'=>$_compiled_content, 'resource_name'=>$resource_name)), $this); + } + + $_params = array('compile_path'=>$compile_path, 'compiled_content' => $_compiled_content); + require_once(SMARTY_CORE_DIR . 'core.write_compiled_resource.php'); + smarty_core_write_compiled_resource($_params, $this); + + return true; + } else { + return false; + } + + } + + /** + * compile the given source + * + * @param string $resource_name + * @param string $source_content + * @param string $compiled_content + * @return boolean + */ + function _compile_source($resource_name, &$source_content, &$compiled_content, $cache_include_path=null) + { + if (file_exists(SMARTY_DIR . $this->compiler_file)) { + require_once(SMARTY_DIR . $this->compiler_file); + } else { + // use include_path + require_once($this->compiler_file); + } + + + $smarty_compiler = new $this->compiler_class; + + $smarty_compiler->template_dir = $this->template_dir; + $smarty_compiler->compile_dir = $this->compile_dir; + $smarty_compiler->plugins_dir = $this->plugins_dir; + $smarty_compiler->config_dir = $this->config_dir; + $smarty_compiler->force_compile = $this->force_compile; + $smarty_compiler->caching = $this->caching; + $smarty_compiler->php_handling = $this->php_handling; + $smarty_compiler->left_delimiter = $this->left_delimiter; + $smarty_compiler->right_delimiter = $this->right_delimiter; + $smarty_compiler->_version = $this->_version; + $smarty_compiler->security = $this->security; + $smarty_compiler->secure_dir = $this->secure_dir; + $smarty_compiler->security_settings = $this->security_settings; + $smarty_compiler->trusted_dir = $this->trusted_dir; + $smarty_compiler->use_sub_dirs = $this->use_sub_dirs; + $smarty_compiler->_reg_objects = &$this->_reg_objects; + $smarty_compiler->_plugins = &$this->_plugins; + $smarty_compiler->_tpl_vars = &$this->_tpl_vars; + $smarty_compiler->default_modifiers = $this->default_modifiers; + $smarty_compiler->compile_id = $this->_compile_id; + $smarty_compiler->_config = $this->_config; + $smarty_compiler->request_use_auto_globals = $this->request_use_auto_globals; + + if (isset($cache_include_path) && isset($this->_cache_serials[$cache_include_path])) { + $smarty_compiler->_cache_serial = $this->_cache_serials[$cache_include_path]; + } + $smarty_compiler->_cache_include = $cache_include_path; + + + $_results = $smarty_compiler->_compile_file($resource_name, $source_content, $compiled_content); + + if ($smarty_compiler->_cache_serial) { + $this->_cache_include_info = array( + 'cache_serial'=>$smarty_compiler->_cache_serial + ,'plugins_code'=>$smarty_compiler->_plugins_code + ,'include_file_path' => $cache_include_path); + + } else { + $this->_cache_include_info = null; + + } + + return $_results; + } /** - * Display debug info - */ - public function displayDebugInfo() + * Get the compile path for this resource + * + * @param string $resource_name + * @return string results of {@link _get_auto_filename()} + */ + function _get_compile_path($resource_name) + { + return $this->_get_auto_filename($this->compile_dir, $resource_name, + $this->_compile_id) . '.php'; + } + + /** + * fetch the template info. Gets timestamp, and source + * if get_source is true + * + * sets $source_content to the source of the template, and + * $resource_timestamp to its time stamp + * @param string $resource_name + * @param string $source_content + * @param integer $resource_timestamp + * @param boolean $get_source + * @param boolean $quiet + * @return boolean + */ + + function _fetch_resource_info(&$params) + { + if(!isset($params['get_source'])) { $params['get_source'] = true; } + if(!isset($params['quiet'])) { $params['quiet'] = false; } + + $_return = false; + $_params = array('resource_name' => $params['resource_name']) ; + if (isset($params['resource_base_path'])) + $_params['resource_base_path'] = $params['resource_base_path']; + else + $_params['resource_base_path'] = $this->template_dir; + + if ($this->_parse_resource_name($_params)) { + $_resource_type = $_params['resource_type']; + $_resource_name = $_params['resource_name']; + switch ($_resource_type) { + case 'file': + if ($params['get_source']) { + $params['source_content'] = $this->_read_file($_resource_name); + } + $params['resource_timestamp'] = filemtime($_resource_name); + $_return = is_file($_resource_name) && is_readable($_resource_name); + break; + + default: + // call resource functions to fetch the template source and timestamp + if ($params['get_source']) { + $_source_return = isset($this->_plugins['resource'][$_resource_type]) && + call_user_func_array($this->_plugins['resource'][$_resource_type][0][0], + array($_resource_name, &$params['source_content'], &$this)); + } else { + $_source_return = true; + } + + $_timestamp_return = isset($this->_plugins['resource'][$_resource_type]) && + call_user_func_array($this->_plugins['resource'][$_resource_type][0][1], + array($_resource_name, &$params['resource_timestamp'], &$this)); + + $_return = $_source_return && $_timestamp_return; + break; + } + } + + if (!$_return) { + // see if we can get a template with the default template handler + if (!empty($this->default_template_handler_func)) { + if (!is_callable($this->default_template_handler_func)) { + $this->trigger_error("default template handler function \"$this->default_template_handler_func\" doesn't exist."); + } else { + $_return = call_user_func_array( + $this->default_template_handler_func, + array($_params['resource_type'], $_params['resource_name'], &$params['source_content'], &$params['resource_timestamp'], &$this)); + } + } + } + + if (!$_return) { + if (!$params['quiet']) { + $this->trigger_error('unable to read resource: "' . $params['resource_name'] . '"'); + } + } else if ($_return && $this->security) { + require_once(SMARTY_CORE_DIR . 'core.is_secure.php'); + if (!smarty_core_is_secure($_params, $this)) { + if (!$params['quiet']) + $this->trigger_error('(secure mode) accessing "' . $params['resource_name'] . '" is not allowed'); + $params['source_content'] = null; + $params['resource_timestamp'] = null; + return false; + } + } + return $_return; + } + + + /** + * parse out the type and name from the resource + * + * @param string $resource_base_path + * @param string $resource_name + * @param string $resource_type + * @param string $resource_name + * @return boolean + */ + + function _parse_resource_name(&$params) + { + + // split tpl_path by the first colon + $_resource_name_parts = explode(':', $params['resource_name'], 2); + + if (count($_resource_name_parts) == 1) { + // no resource type given + $params['resource_type'] = $this->default_resource_type; + $params['resource_name'] = $_resource_name_parts[0]; + } else { + if(strlen($_resource_name_parts[0]) == 1) { + // 1 char is not resource type, but part of filepath + $params['resource_type'] = $this->default_resource_type; + $params['resource_name'] = $params['resource_name']; + } else { + $params['resource_type'] = $_resource_name_parts[0]; + $params['resource_name'] = $_resource_name_parts[1]; + } + } + + if ($params['resource_type'] == 'file') { + if (!preg_match('/^([\/\\\\]|[a-zA-Z]:[\/\\\\])/', $params['resource_name'])) { + // relative pathname to $params['resource_base_path'] + // use the first directory where the file is found + foreach ((array)$params['resource_base_path'] as $_curr_path) { + $_fullpath = $_curr_path . DIRECTORY_SEPARATOR . $params['resource_name']; + if (file_exists($_fullpath) && is_file($_fullpath)) { + $params['resource_name'] = $_fullpath; + return true; + } + // didn't find the file, try include_path + $_params = array('file_path' => $_fullpath); + require_once(SMARTY_CORE_DIR . 'core.get_include_path.php'); + if(smarty_core_get_include_path($_params, $this)) { + $params['resource_name'] = $_params['new_file_path']; + return true; + } + } + return false; + } else { + /* absolute path */ + return file_exists($params['resource_name']); + } + } elseif (empty($this->_plugins['resource'][$params['resource_type']])) { + $_params = array('type' => $params['resource_type']); + require_once(SMARTY_CORE_DIR . 'core.load_resource_plugin.php'); + smarty_core_load_resource_plugin($_params, $this); + } + + return true; + } + + + /** + * Handle modifiers + * + * @param string|null $modifier_name + * @param array|null $map_array + * @return string result of modifiers + */ + function _run_mod_handler() + { + $_args = func_get_args(); + list($_modifier_name, $_map_array) = array_splice($_args, 0, 2); + list($_func_name, $_tpl_file, $_tpl_line) = + $this->_plugins['modifier'][$_modifier_name]; + + $_var = $_args[0]; + foreach ($_var as $_key => $_val) { + $_args[0] = $_val; + $_var[$_key] = call_user_func_array($_func_name, $_args); + } + return $_var; + } + + /** + * Remove starting and ending quotes from the string + * + * @param string $string + * @return string + */ + function _dequote($string) + { + if ((substr($string, 0, 1) == "'" || substr($string, 0, 1) == '"') && + substr($string, -1) == substr($string, 0, 1)) + return substr($string, 1, -1); + else + return $string; + } + + + /** + * read in a file + * + * @param string $filename + * @return string + */ + function _read_file($filename) + { + if ( file_exists($filename) && is_readable($filename) && ($fd = @fopen($filename, 'rb')) ) { + $contents = ''; + while (!feof($fd)) { + $contents .= fread($fd, 8192); + } + fclose($fd); + return $contents; + } else { + return false; + } + } + + /** + * get a concrete filename for automagically created content + * + * @param string $auto_base + * @param string $auto_source + * @param string $auto_id + * @return string + * @staticvar string|null + * @staticvar string|null + */ + function _get_auto_filename($auto_base, $auto_source = null, $auto_id = null) + { + $_compile_dir_sep = $this->use_sub_dirs ? DIRECTORY_SEPARATOR : '^'; + $_return = $auto_base . DIRECTORY_SEPARATOR; + + if(isset($auto_id)) { + // make auto_id safe for directory names + $auto_id = str_replace('%7C',$_compile_dir_sep,(urlencode($auto_id))); + // split into separate directories + $_return .= $auto_id . $_compile_dir_sep; + } + + if(isset($auto_source)) { + // make source name safe for filename + $_filename = urlencode(basename($auto_source)); + $_crc32 = sprintf('%08X', crc32($auto_source)); + // prepend %% to avoid name conflicts with + // with $params['auto_id'] names + $_crc32 = substr($_crc32, 0, 2) . $_compile_dir_sep . + substr($_crc32, 0, 3) . $_compile_dir_sep . $_crc32; + $_return .= '%%' . $_crc32 . '%%' . $_filename; + } + + return $_return; + } + + /** + * unlink a file, possibly using expiration time + * + * @param string $resource + * @param integer $exp_time + */ + function _unlink($resource, $exp_time = null) + { + if(isset($exp_time)) { + if(time() - @filemtime($resource) >= $exp_time) { + return @unlink($resource); + } + } else { + return @unlink($resource); + } + } + + /** + * returns an auto_id for auto-file-functions + * + * @param string $cache_id + * @param string $compile_id + * @return string|null + */ + function _get_auto_id($cache_id=null, $compile_id=null) { + if (isset($cache_id)) + return (isset($compile_id)) ? $cache_id . '|' . $compile_id : $cache_id; + elseif(isset($compile_id)) + return $compile_id; + else + return null; + } + + /** + * trigger Smarty plugin error + * + * @param string $error_msg + * @param string $tpl_file + * @param integer $tpl_line + * @param string $file + * @param integer $line + * @param integer $error_type + */ + function _trigger_fatal_error($error_msg, $tpl_file = null, $tpl_line = null, + $file = null, $line = null, $error_type = E_USER_ERROR) + { + if(isset($file) && isset($line)) { + $info = ' ('.basename($file).", line $line)"; + } else { + $info = ''; + } + if (isset($tpl_line) && isset($tpl_file)) { + $this->trigger_error('[in ' . $tpl_file . ' line ' . $tpl_line . "]: $error_msg$info", $error_type); + } else { + $this->trigger_error($error_msg . $info, $error_type); + } + } + + + /** + * callback function for preg_replace, to call a non-cacheable block + * @return string + */ + function _process_compiled_include_callback($match) { + $_func = '_smarty_tplfunc_'.$match[2].'_'.$match[3]; + ob_start(); + $_func($this); + $_ret = ob_get_contents(); + ob_end_clean(); + return $_ret; + } + + + /** + * called for included templates + * + * @param string $_smarty_include_tpl_file + * @param string $_smarty_include_vars + */ + + // $_smarty_include_tpl_file, $_smarty_include_vars + + function _smarty_include($params) { if ($this->debugging) { - Smarty_Internal_Debug::display_debug($this); - } - } + $_params = array(); + require_once(SMARTY_CORE_DIR . 'core.get_microtime.php'); + $debug_start_time = smarty_core_get_microtime($_params, $this); + $this->_smarty_debug_info[] = array('type' => 'template', + 'filename' => $params['smarty_include_tpl_file'], + 'depth' => ++$this->_inclusion_depth); + $included_tpls_idx = count($this->_smarty_debug_info) - 1; + } + + $this->_tpl_vars = array_merge($this->_tpl_vars, $params['smarty_include_vars']); + + // config vars are treated as local, so push a copy of the + // current ones onto the front of the stack + array_unshift($this->_config, $this->_config[0]); + + $_smarty_compile_path = $this->_get_compile_path($params['smarty_include_tpl_file']); + + + if ($this->_is_compiled($params['smarty_include_tpl_file'], $_smarty_compile_path) + || $this->_compile_resource($params['smarty_include_tpl_file'], $_smarty_compile_path)) + { + include($_smarty_compile_path); + } + + // pop the local vars off the front of the stack + array_shift($this->_config); + + $this->_inclusion_depth--; + + if ($this->debugging) { + // capture time for debugging info + $_params = array(); + require_once(SMARTY_CORE_DIR . 'core.get_microtime.php'); + $this->_smarty_debug_info[$included_tpls_idx]['exec_time'] = smarty_core_get_microtime($_params, $this) - $debug_start_time; + } + + if ($this->caching) { + $this->_cache_info['template'][$params['smarty_include_tpl_file']] = true; + } + } + /** - * trigger Smarty error - * - * @param string $error_msg - * @param integer $error_type - */ - public function trigger_error($error_msg, $error_type = E_USER_WARNING) - { - throw new Exception("Smarty error: $error_msg"); - } + * get or set an array of cached attributes for function that is + * not cacheable + * @return array + */ + function &_smarty_cache_attrs($cache_serial, $count) { + $_cache_attrs =& $this->_cache_info['cache_attrs'][$cache_serial][$count]; + + if ($this->_cache_including) { + /* return next set of cache_attrs */ + $_return = current($_cache_attrs); + next($_cache_attrs); + return $_return; + + } else { + /* add a reference to a new set of cache_attrs */ + $_cache_attrs[] = array(); + return $_cache_attrs[count($_cache_attrs)-1]; + + } + + } + /** - * Takes unknown class methods and lazy loads sysplugin files for them - * class name format: Smarty_Method_MethodName - * plugin filename format: method.methodname.php - * - * @param string $name unknown methode name - * @param array $args aurgument array - */ - public function __call($name, $args) + * wrapper for include() retaining $this + * @return mixed + */ + function _include($filename, $once=false, $params=null) { - if (!is_callable($name)) { - $_plugin_filename = strtolower('smarty_method_' . $name . $this->php_ext); - if (!file_exists(SMARTY_SYSPLUGINS_DIR . $_plugin_filename)) { - throw new Exception("Sysplugin file " . $_plugin_filename . " does not exist"); - } - require_once(SMARTY_SYSPLUGINS_DIR . $_plugin_filename); - if (!is_callable($name)) { - throw new Exception ("Sysplugin file " . $_plugin_filename . " does not define function " . $name); - } - } - return call_user_func_array($name, array_merge(array($this), $args)); - } -} + if ($once) { + return include_once($filename); + } else { + return include($filename); + } + } -function smartyAutoload($class) -{ - $_class = strtolower($class); - if (substr($_class, 0, 16) === 'smarty_internal_') { - include SMARTY_SYSPLUGINS_DIR . $_class . '.php'; - } -} + + /** + * wrapper for eval() retaining $this + * @return mixed + */ + function _eval($code, $params=null) + { + return eval($code); + } + + /** + * Extracts the filter name from the given callback + * + * @param callback $function + * @return string + */ + function _get_filter_name($function) + { + if (is_array($function)) { + $_class_name = (is_object($function[0]) ? + get_class($function[0]) : $function[0]); + return $_class_name . '_' . $function[1]; + } + else { + return $function; + } + } + + /**#@-*/ + +} + +/* vim: set expandtab: */ ?> diff --git a/onyx2/modules/templates_anc/smarty/Smarty_Compiler.class.php b/onyx2/modules/templates/smarty/Smarty_Compiler.class.php similarity index 95% rename from onyx2/modules/templates_anc/smarty/Smarty_Compiler.class.php rename to onyx2/modules/templates/smarty/Smarty_Compiler.class.php index 374ba3d..904601d 100644 --- a/onyx2/modules/templates_anc/smarty/Smarty_Compiler.class.php +++ b/onyx2/modules/templates/smarty/Smarty_Compiler.class.php @@ -18,15 +18,15 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * @link http://www.smarty.net/ + * @link http://smarty.php.net/ * @author Monte Ohrt * @author Andrei Zmievski - * @version 2.6.22 + * @version 2.6.25-dev * @copyright 2001-2005 New Digital Group, Inc. * @package Smarty */ -/* $Id: Smarty_Compiler.class.php 2966 2008-12-08 15:10:03Z monte.ohrt $ */ +/* $Id$ */ /** * Template compiling class @@ -73,18 +73,13 @@ class Smarty_Compiler extends Smarty { var $_strip_depth = 0; var $_additional_newline = "\n"; - - var $_phpversion = 0; - /**#@-*/ /** * The class constructor. */ - function Smarty_Compiler() + public function __construct() { - $this->_phpversion = substr(phpversion(),0,1); - // matches double quoted strings: // "foobar" // "foo\"bar" @@ -157,20 +152,16 @@ class Smarty_Compiler extends Smarty { // $foo->bar($foo->bar) // $foo->bar($foo->bar()) // $foo->bar($foo->bar($blah,$foo,44,"foo",$foo[0].bar)) - // $foo->getBar()->getFoo() - // $foo->getBar()->foo $this->_obj_ext_regexp = '\->(?:\$?' . $this->_dvar_guts_regexp . ')'; $this->_obj_restricted_param_regexp = '(?:' - . '(?:' . $this->_var_regexp . '|' . $this->_num_const_regexp . ')(?:' . $this->_obj_ext_regexp . '(?:\((?:(?:' . $this->_var_regexp . '|' . $this->_num_const_regexp . ')' - . '(?:\s*,\s*(?:' . $this->_var_regexp . '|' . $this->_num_const_regexp . '))*)?\))?)*)'; - - $this->_obj_single_param_regexp = '(?:\w+|' . $this->_obj_restricted_param_regexp . '(?:\s*,\s*(?:(?:\w+|' + . '(?:' . $this->_var_regexp . '|' . $this->_num_const_regexp . ')(?:' . $this->_obj_ext_regexp . '(?:\((?:(?:' . $this->_var_regexp . '|' . $this->_num_const_regexp . ')' + . '(?:\s*,\s*(?:' . $this->_var_regexp . '|' . $this->_num_const_regexp . '))*)?\))?)*)'; + $this->_obj_single_param_regexp = '(?:\w+|' . $this->_obj_restricted_param_regexp . '(?:\s*,\s*(?:(?:\w+|' . $this->_var_regexp . $this->_obj_restricted_param_regexp . ')))*)'; - - $this->_obj_params_regexp = '\((?:' . $this->_obj_single_param_regexp + $this->_obj_params_regexp = '\((?:' . $this->_obj_single_param_regexp . '(?:\s*,\s*' . $this->_obj_single_param_regexp . ')*)?\)'; - $this->_obj_start_regexp = '(?:' . $this->_dvar_regexp . '(?:' . $this->_obj_ext_regexp . ')+)'; - $this->_obj_call_regexp = '(?:' . $this->_obj_start_regexp . '(?:' . $this->_obj_params_regexp . ')?(?:' . $this->_dvar_math_regexp . '(?:' . $this->_num_const_regexp . '|' . $this->_dvar_math_var_regexp . ')*)?)'; + $this->_obj_start_regexp = '(?:' . $this->_dvar_regexp . '(?:' . $this->_obj_ext_regexp . ')+)'; + $this->_obj_call_regexp = '(?:' . $this->_obj_start_regexp . '(?:' . $this->_obj_params_regexp . ')?(?:' . $this->_dvar_math_regexp . '(?:' . $this->_num_const_regexp . '|' . $this->_dvar_math_var_regexp . ')*)?)'; // matches valid modifier syntax: // |foo @@ -268,14 +259,9 @@ class Smarty_Compiler extends Smarty { preg_match_all($search, $source_content, $match, PREG_SET_ORDER); $this->_folded_blocks = $match; - reset($this->_folded_blocks); /* replace special blocks by "{php}" */ - $source_content = preg_replace($search.'e', "'" - . $this->_quote_replace($this->left_delimiter) . 'php' - . "' . str_repeat(\"\n\", substr_count('\\0', \"\n\")) .'" - . $this->_quote_replace($this->right_delimiter) - . "'" + $source_content = preg_replace_callback($search, array($this,'_preg_callback') , $source_content); /* Gather all template tags. */ @@ -565,7 +551,7 @@ class Smarty_Compiler extends Smarty { case 'php': /* handle folded tags replaced by {php} */ - list(, $block) = each($this->_folded_blocks); + $block = array_shift($this->_folded_blocks); $this->_current_line_no += substr_count($block[0], "\n"); /* the number of matched elements in the regexp in _compile_file() determins the type of folded tag that was found */ @@ -763,7 +749,12 @@ class Smarty_Compiler extends Smarty { return true; } - + function _preg_callback ($matches) { + return $this->_quote_replace($this->left_delimiter) + . 'php' + . str_repeat("\n", substr_count($matches[1], "\n")) + . $this->_quote_replace($this->right_delimiter); + } /** * compile custom function tag * @@ -1705,8 +1696,6 @@ class Smarty_Compiler extends Smarty { } // replace double quoted literal string with single quotes $_return = preg_replace('~^"([\s\w]+)"$~',"'\\1'",$_return); - // escape dollar sign if not printing a var - $_return = preg_replace('~\$(\W)~',"\\\\\$\\1",$_return); return $_return; } @@ -1720,7 +1709,6 @@ class Smarty_Compiler extends Smarty { function _parse_var($var_expr) { $_has_math = false; - $_has_php4_method_chaining = false; $_math_vars = preg_split('~('.$this->_dvar_math_regexp.'|'.$this->_qstr_regexp.')~', $var_expr, -1, PREG_SPLIT_DELIM_CAPTURE); if(count($_math_vars) > 1) { @@ -1833,10 +1821,6 @@ class Smarty_Compiler extends Smarty { $_output .= '->{(($_var=$this->_tpl_vars[\''.substr($_index,3).'\']) && substr($_var,0,2)!=\'__\') ? $_var : $this->trigger_error("cannot access property \\"$_var\\"")}'; } } else { - if ($this->_phpversion < 5) { - $_has_php4_method_chaining = true; - $_output .= "; \$_foo = \$_foo"; - } $_output .= $_index; } } elseif (substr($_index, 0, 1) == '(') { @@ -1848,12 +1832,7 @@ class Smarty_Compiler extends Smarty { } } - if ($_has_php4_method_chaining) { - $_tmp = str_replace("'","\'",'$_foo = '.$_output.'; return $_foo;'); - return "eval('".$_tmp."')"; - } else { - return $_output; - } + return $_output; } /** @@ -2068,27 +2047,57 @@ class Smarty_Compiler extends Smarty { break; case 'get': - $compiled_ref = ($this->request_use_auto_globals) ? '$_GET' : "\$GLOBALS['HTTP_GET_VARS']"; + if ($this->security && !$this->security_settings['ALLOW_SUPER_GLOBALS']) { + $this->_syntax_error("(secure mode) super global access not permitted", + E_USER_WARNING, __FILE__, __LINE__); + return; + } + $compiled_ref = "\$_GET"; break; case 'post': - $compiled_ref = ($this->request_use_auto_globals) ? '$_POST' : "\$GLOBALS['HTTP_POST_VARS']"; + if ($this->security && !$this->security_settings['ALLOW_SUPER_GLOBALS']) { + $this->_syntax_error("(secure mode) super global access not permitted", + E_USER_WARNING, __FILE__, __LINE__); + return; + } + $compiled_ref = "\$_POST"; break; case 'cookies': - $compiled_ref = ($this->request_use_auto_globals) ? '$_COOKIE' : "\$GLOBALS['HTTP_COOKIE_VARS']"; + if ($this->security && !$this->security_settings['ALLOW_SUPER_GLOBALS']) { + $this->_syntax_error("(secure mode) super global access not permitted", + E_USER_WARNING, __FILE__, __LINE__); + return; + } + $compiled_ref = "\$_COOKIE"; break; case 'env': - $compiled_ref = ($this->request_use_auto_globals) ? '$_ENV' : "\$GLOBALS['HTTP_ENV_VARS']"; + if ($this->security && !$this->security_settings['ALLOW_SUPER_GLOBALS']) { + $this->_syntax_error("(secure mode) super global access not permitted", + E_USER_WARNING, __FILE__, __LINE__); + return; + } + $compiled_ref = "\$_ENV"; break; case 'server': - $compiled_ref = ($this->request_use_auto_globals) ? '$_SERVER' : "\$GLOBALS['HTTP_SERVER_VARS']"; + if ($this->security && !$this->security_settings['ALLOW_SUPER_GLOBALS']) { + $this->_syntax_error("(secure mode) super global access not permitted", + E_USER_WARNING, __FILE__, __LINE__); + return; + } + $compiled_ref = "\$_SERVER"; break; case 'session': - $compiled_ref = ($this->request_use_auto_globals) ? '$_SESSION' : "\$GLOBALS['HTTP_SESSION_VARS']"; + if ($this->security && !$this->security_settings['ALLOW_SUPER_GLOBALS']) { + $this->_syntax_error("(secure mode) super global access not permitted", + E_USER_WARNING, __FILE__, __LINE__); + return; + } + $compiled_ref = "\$_SESSION"; break; /* @@ -2096,8 +2105,13 @@ class Smarty_Compiler extends Smarty { * compiler. */ case 'request': + if ($this->security && !$this->security_settings['ALLOW_SUPER_GLOBALS']) { + $this->_syntax_error("(secure mode) super global access not permitted", + E_USER_WARNING, __FILE__, __LINE__); + return; + } if ($this->request_use_auto_globals) { - $compiled_ref = '$_REQUEST'; + $compiled_ref = "\$_REQUEST"; break; } else { $this->_init_smarty_vars = true; @@ -2108,7 +2122,7 @@ class Smarty_Compiler extends Smarty { return null; case 'template': - $compiled_ref = "'$this->_current_file'"; + $compiled_ref = "'" . addslashes($this->_current_file) . "'"; $_max_index = 1; break; diff --git a/onyx2/modules/templates/smarty/debug.tpl b/onyx2/modules/templates/smarty/debug.tpl index 9fd46b1..c05ef5d 100644 --- a/onyx2/modules/templates/smarty/debug.tpl +++ b/onyx2/modules/templates/smarty/debug.tpl @@ -1,10 +1,14 @@ +{* Smarty *} +{* debug.tpl, last updated version 2.1.0 *} +{assign_debug_info} {capture assign=debug_output} Smarty Debug Console - +{/literal} -

Smarty Debug Console - Total Time {$execution_time|string_format:"%.5f"}

+

Smarty Debug Console

included templates & config files (load time in seconds)

-{foreach $template_data as $template} - {$template.name} - - (compile {$template['compile_time']|string_format:"%.5f"}) (render {$template['render_time']|string_format:"%.5f"}) (cache {$template['cache_time']|string_format:"%.5f"}) - -
-{/foreach} +{section name=templates loop=$_debug_tpls} + {section name=indent loop=$_debug_tpls[templates].depth}   {/section} + + {$_debug_tpls[templates].filename|escape:html} + {if isset($_debug_tpls[templates].exec_time)} + + ({$_debug_tpls[templates].exec_time|string_format:"%.5f"}) + {if %templates.index% eq 0}(total){/if} + + {/if} +
+{sectionelse} +

no templates included

+{/section}

assigned template variables

- {foreach $assigned_vars as $vars} - - - - {/foreach} + {section name=vars loop=$_debug_keys} + + + + {sectionelse} + + {/section}
${$vars@key|escape:'html'}{$vars|debug_print_var}
{ldelim}${$_debug_keys[vars]|escape:'html'}{rdelim}{$_debug_vals[vars]|@debug_print_var}

no template variables assigned

assigned config file variables (outer template scope)

- {foreach $config_vars as $vars} - - - - {/foreach} - + {section name=config_vars loop=$_debug_config_keys} + + + + {sectionelse} + + {/section}
{$vars@key|escape:'html'}{$vars|debug_print_var}
{ldelim}#{$_debug_config_keys[config_vars]|escape:'html'}#{rdelim}{$_debug_config_vals[config_vars]|@debug_print_var}

no config vars assigned

{/capture} +{if isset($_smarty_debug_output) and $_smarty_debug_output eq "html"} + {$debug_output} +{else} +{/if} \ No newline at end of file diff --git a/onyx2/modules/templates_anc/smarty/internals/core.assemble_plugin_filepath.php b/onyx2/modules/templates/smarty/internals/core.assemble_plugin_filepath.php similarity index 89% rename from onyx2/modules/templates_anc/smarty/internals/core.assemble_plugin_filepath.php rename to onyx2/modules/templates/smarty/internals/core.assemble_plugin_filepath.php index 690d3dd..22c0248 100644 --- a/onyx2/modules/templates_anc/smarty/internals/core.assemble_plugin_filepath.php +++ b/onyx2/modules/templates/smarty/internals/core.assemble_plugin_filepath.php @@ -14,11 +14,9 @@ */ function smarty_core_assemble_plugin_filepath($params, &$smarty) { - static $_filepaths_cache = array(); - $_plugin_filename = $params['type'] . '.' . $params['name'] . '.php'; - if (isset($_filepaths_cache[$_plugin_filename])) { - return $_filepaths_cache[$_plugin_filename]; + if (isset($smarty->_filepaths_cache[$_plugin_filename])) { + return $smarty->_filepaths_cache[$_plugin_filename]; } $_return = false; @@ -58,7 +56,7 @@ function smarty_core_assemble_plugin_filepath($params, &$smarty) } } } - $_filepaths_cache[$_plugin_filename] = $_return; + $smarty->_filepaths_cache[$_plugin_filename] = $_return; return $_return; } diff --git a/onyx2/modules/templates_anc/smarty/internals/core.assign_smarty_interface.php b/onyx2/modules/templates/smarty/internals/core.assign_smarty_interface.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.assign_smarty_interface.php rename to onyx2/modules/templates/smarty/internals/core.assign_smarty_interface.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.create_dir_structure.php b/onyx2/modules/templates/smarty/internals/core.create_dir_structure.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.create_dir_structure.php rename to onyx2/modules/templates/smarty/internals/core.create_dir_structure.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.display_debug_console.php b/onyx2/modules/templates/smarty/internals/core.display_debug_console.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.display_debug_console.php rename to onyx2/modules/templates/smarty/internals/core.display_debug_console.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.get_include_path.php b/onyx2/modules/templates/smarty/internals/core.get_include_path.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.get_include_path.php rename to onyx2/modules/templates/smarty/internals/core.get_include_path.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.get_microtime.php b/onyx2/modules/templates/smarty/internals/core.get_microtime.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.get_microtime.php rename to onyx2/modules/templates/smarty/internals/core.get_microtime.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.get_php_resource.php b/onyx2/modules/templates/smarty/internals/core.get_php_resource.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.get_php_resource.php rename to onyx2/modules/templates/smarty/internals/core.get_php_resource.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.is_secure.php b/onyx2/modules/templates/smarty/internals/core.is_secure.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.is_secure.php rename to onyx2/modules/templates/smarty/internals/core.is_secure.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.is_trusted.php b/onyx2/modules/templates/smarty/internals/core.is_trusted.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.is_trusted.php rename to onyx2/modules/templates/smarty/internals/core.is_trusted.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.load_plugins.php b/onyx2/modules/templates/smarty/internals/core.load_plugins.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.load_plugins.php rename to onyx2/modules/templates/smarty/internals/core.load_plugins.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.load_resource_plugin.php b/onyx2/modules/templates/smarty/internals/core.load_resource_plugin.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.load_resource_plugin.php rename to onyx2/modules/templates/smarty/internals/core.load_resource_plugin.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.process_cached_inserts.php b/onyx2/modules/templates/smarty/internals/core.process_cached_inserts.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.process_cached_inserts.php rename to onyx2/modules/templates/smarty/internals/core.process_cached_inserts.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.process_compiled_include.php b/onyx2/modules/templates/smarty/internals/core.process_compiled_include.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.process_compiled_include.php rename to onyx2/modules/templates/smarty/internals/core.process_compiled_include.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.read_cache_file.php b/onyx2/modules/templates/smarty/internals/core.read_cache_file.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.read_cache_file.php rename to onyx2/modules/templates/smarty/internals/core.read_cache_file.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.rm_auto.php b/onyx2/modules/templates/smarty/internals/core.rm_auto.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.rm_auto.php rename to onyx2/modules/templates/smarty/internals/core.rm_auto.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.rmdir.php b/onyx2/modules/templates/smarty/internals/core.rmdir.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.rmdir.php rename to onyx2/modules/templates/smarty/internals/core.rmdir.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.run_insert_handler.php b/onyx2/modules/templates/smarty/internals/core.run_insert_handler.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.run_insert_handler.php rename to onyx2/modules/templates/smarty/internals/core.run_insert_handler.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.smarty_include_php.php b/onyx2/modules/templates/smarty/internals/core.smarty_include_php.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.smarty_include_php.php rename to onyx2/modules/templates/smarty/internals/core.smarty_include_php.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.write_cache_file.php b/onyx2/modules/templates/smarty/internals/core.write_cache_file.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.write_cache_file.php rename to onyx2/modules/templates/smarty/internals/core.write_cache_file.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.write_compiled_include.php b/onyx2/modules/templates/smarty/internals/core.write_compiled_include.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.write_compiled_include.php rename to onyx2/modules/templates/smarty/internals/core.write_compiled_include.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.write_compiled_resource.php b/onyx2/modules/templates/smarty/internals/core.write_compiled_resource.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.write_compiled_resource.php rename to onyx2/modules/templates/smarty/internals/core.write_compiled_resource.php diff --git a/onyx2/modules/templates_anc/smarty/internals/core.write_file.php b/onyx2/modules/templates/smarty/internals/core.write_file.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/internals/core.write_file.php rename to onyx2/modules/templates/smarty/internals/core.write_file.php diff --git a/onyx2/modules/templates/smarty/plugins/block.php.php b/onyx2/modules/templates/smarty/plugins/block.php.php deleted file mode 100644 index 362ec9c..0000000 --- a/onyx2/modules/templates/smarty/plugins/block.php.php +++ /dev/null @@ -1,39 +0,0 @@ -security && isset($smarty->security_handler)) { - $sec_obj = $smarty->security_policy; - } else { - $sec_obj = $smarty; - } - if (is_null($content)) { - if (!$smarty->allow_php_tag) { - trigger_error("{php} is deprecated, set allow_php_tag = true to enable", E_USER_WARNING); - } - return; - } - - eval($content); - - return ''; -} - -?> diff --git a/onyx2/modules/templates/smarty/plugins/block.textformat.php b/onyx2/modules/templates/smarty/plugins/block.textformat.php index f578bfb..8cd010a 100644 --- a/onyx2/modules/templates/smarty/plugins/block.textformat.php +++ b/onyx2/modules/templates/smarty/plugins/block.textformat.php @@ -1,42 +1,38 @@ -* Name: textformat
-* Purpose: format text a certain way with preset styles -* or custom wrap/indent settings
-* -* @link http://smarty.php.net/manual/en/language.function.textformat.php {textformat} - (Smarty online manual) -* @param array $params parameters -*
-* Params:   style: string (email)
-*            indent: integer (0)
-*            wrap: integer (80)
-*            wrap_char string ("\n")
-*            indent_char: string (" ")
-*            wrap_boundary: boolean (true)
-* 
-* @author Monte Ohrt -* @param string $content contents of the block -* @param object $smarty Smarty object -* @param boolean &$repeat repeat flag -* @param object $template template object -* @return string content re-formatted -*/ -function smarty_block_textformat($params, $content, $smarty, &$repeat, $template) + * Smarty {textformat}{/textformat} block plugin + * + * Type: block function
+ * Name: textformat
+ * Purpose: format text a certain way with preset styles + * or custom wrap/indent settings
+ * @link http://smarty.php.net/manual/en/language.function.textformat.php {textformat} + * (Smarty online manual) + * @param array + *
+ * Params:   style: string (email)
+ *           indent: integer (0)
+ *           wrap: integer (80)
+ *           wrap_char string ("\n")
+ *           indent_char: string (" ")
+ *           wrap_boundary: boolean (true)
+ * 
+ * @author Monte Ohrt + * @param string contents of the block + * @param Smarty clever simulation of a method + * @return string string $content re-formatted + */ +function smarty_block_textformat($params, $content, &$smarty) { if (is_null($content)) { return; - } + } $style = null; $indent = 0; @@ -46,7 +42,7 @@ function smarty_block_textformat($params, $content, $smarty, &$repeat, $template $wrap_char = "\n"; $wrap_cut = false; $assign = null; - + foreach ($params as $_key => $_val) { switch ($_key) { case 'style': @@ -68,36 +64,40 @@ function smarty_block_textformat($params, $content, $smarty, &$repeat, $template default: $smarty->trigger_error("textformat: unknown attribute '$_key'"); - } - } + } + } if ($style == 'email') { $wrap = 72; - } + } + // split into paragraphs - $_paragraphs = preg_split('![\r\n][\r\n]!', $content); + $_paragraphs = preg_split('![\r\n][\r\n]!',$content); $_output = ''; for($_x = 0, $_y = count($_paragraphs); $_x < $_y; $_x++) { if ($_paragraphs[$_x] == '') { continue; - } + } // convert mult. spaces & special chars to single space - $_paragraphs[$_x] = preg_replace(array('!\s+!', '!(^\s+)|(\s+$)!'), array(' ', ''), $_paragraphs[$_x]); + $_paragraphs[$_x] = preg_replace(array('!\s+!','!(^\s+)|(\s+$)!'), array(' ',''), $_paragraphs[$_x]); // indent first line - if ($indent_first > 0) { + if($indent_first > 0) { $_paragraphs[$_x] = str_repeat($indent_char, $indent_first) . $_paragraphs[$_x]; - } + } // wordwrap sentences - $_paragraphs[$_x] = wordwrap($_paragraphs[$_x], $wrap - $indent, $wrap_char, $wrap_cut); + $_paragraphs[$_x] = wordwrap($_paragraphs[$_x], $wrap - $indent, $wrap_char, $wrap_cut); // indent lines - if ($indent > 0) { + if($indent > 0) { $_paragraphs[$_x] = preg_replace('!^!m', str_repeat($indent_char, $indent), $_paragraphs[$_x]); - } - } + } + } $_output = implode($wrap_char . $wrap_char, $_paragraphs); - - return $assign ? $template->assign($assign, $_output) : $_output; -} + + return $assign ? $smarty->assign($assign, $_output) : $_output; + +} + +/* vim: set expandtab: */ ?> diff --git a/onyx2/modules/templates_anc/smarty/plugins/compiler.assign.php b/onyx2/modules/templates/smarty/plugins/compiler.assign.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/plugins/compiler.assign.php rename to onyx2/modules/templates/smarty/plugins/compiler.assign.php diff --git a/onyx2/modules/templates_anc/smarty/plugins/function.assign_debug_info.php b/onyx2/modules/templates/smarty/plugins/function.assign_debug_info.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/plugins/function.assign_debug_info.php rename to onyx2/modules/templates/smarty/plugins/function.assign_debug_info.php diff --git a/onyx2/modules/templates_anc/smarty/plugins/function.config_load.php b/onyx2/modules/templates/smarty/plugins/function.config_load.php similarity index 100% rename from onyx2/modules/templates_anc/smarty/plugins/function.config_load.php rename to onyx2/modules/templates/smarty/plugins/function.config_load.php diff --git a/onyx2/modules/templates/smarty/plugins/function.counter.php b/onyx2/modules/templates/smarty/plugins/function.counter.php index 88e49d8..1f26db5 100644 --- a/onyx2/modules/templates/smarty/plugins/function.counter.php +++ b/onyx2/modules/templates/smarty/plugins/function.counter.php @@ -2,7 +2,7 @@ /** * Smarty plugin * @package Smarty - * @subpackage PluginsFunction + * @subpackage plugins */ @@ -15,24 +15,24 @@ * @author Monte Ohrt * @link http://smarty.php.net/manual/en/language.function.counter.php {counter} * (Smarty online manual) - * @param array $params parameters - * @param object $smarty Smarty object - * @param object $template template object + * @param array parameters + * @param Smarty * @return string|null */ -function smarty_function_counter($params, $smarty, $template) +function smarty_function_counter($params, &$smarty) { + static $counters = array(); $name = (isset($params['name'])) ? $params['name'] : 'default'; - if (!isset($template->plugin_data['counter'][$name])) { - $template->plugin_data['counter'][$name] = array( + if (!isset($counters[$name])) { + $counters[$name] = array( 'start'=>1, 'skip'=>1, 'direction'=>'up', 'count'=>1 ); } - $counter = &$template->plugin_data['counter'][$name]; + $counter =& $counters[$name]; if (isset($params['start'])) { $counter['start'] = $counter['count'] = (int)$params['start']; @@ -43,7 +43,7 @@ function smarty_function_counter($params, $smarty, $template) } if (isset($counter['assign'])) { - $template->assign($counter['assign'], $counter['count']); + $smarty->assign($counter['assign'], $counter['count']); } if (isset($params['print'])) { @@ -75,4 +75,6 @@ function smarty_function_counter($params, $smarty, $template) } +/* vim: set expandtab: */ + ?> diff --git a/onyx2/modules/templates/smarty/plugins/function.cycle.php b/onyx2/modules/templates/smarty/plugins/function.cycle.php index dedd657..80378b7 100644 --- a/onyx2/modules/templates/smarty/plugins/function.cycle.php +++ b/onyx2/modules/templates/smarty/plugins/function.cycle.php @@ -2,7 +2,7 @@ /** * Smarty plugin * @package Smarty - * @subpackage PluginsFunction + * @subpackage plugins */ /** @@ -12,6 +12,17 @@ * Name: cycle
* Date: May 3, 2002
* Purpose: cycle through given values
+ * Input: + * - name = name of cycle (optional) + * - values = comma separated list of values to cycle, + * or an array of values to cycle + * (this can be left out for subsequent calls) + * - reset = boolean - resets given var to true + * - print = boolean - print var or not. default is true + * - advance = boolean - whether or not to advance the cycle + * - delimiter = the value delimiter, default is "," + * - assign = boolean, assigns to template var instead of + * printed. * * Examples:
*
@@ -25,73 +36,71 @@
  * @author credit to Mark Priatel 
  * @author credit to Gerard 
  * @author credit to Jason Sweat 
- * @param array $params parameters
- * Input:
- *         - name = name of cycle (optional)
- *         - values = comma separated list of values to cycle,
- *                    or an array of values to cycle
- *                    (this can be left out for subsequent calls)
- *         - reset = boolean - resets given var to true
- *         - print = boolean - print var or not. default is true
- *         - advance = boolean - whether or not to advance the cycle
- *         - delimiter = the value delimiter, default is ","
- *         - assign = boolean, assigns to template var instead of
- *                    printed.
- * @param object $smarty Smarty object
- * @param object $template template object
+ * @version  1.3
+ * @param array
+ * @param Smarty
  * @return string|null
  */
-function smarty_function_cycle($params, $smarty, $template)
+function smarty_function_cycle($params, &$smarty)
 {
+    static $cycle_vars;
+    
     $name = (empty($params['name'])) ? 'default' : $params['name'];
     $print = (isset($params['print'])) ? (bool)$params['print'] : true;
     $advance = (isset($params['advance'])) ? (bool)$params['advance'] : true;
     $reset = (isset($params['reset'])) ? (bool)$params['reset'] : false;
             
     if (!in_array('values', array_keys($params))) {
-        if(!isset($template->plugin_data['cycle'][$name]['values'])) {
-            throw new Exception ("cycle: missing 'values' parameter");
+        if(!isset($cycle_vars[$name]['values'])) {
+            $smarty->trigger_error("cycle: missing 'values' parameter");
             return;
         }
     } else {
-        if(isset($template->plugin_data['cycle'][$name]['values'])
-            && $template->plugin_data['cycle'][$name]['values'] != $params['values'] ) {
-            $template->plugin_data['cycle'][$name]['index'] = 0;
+        if(isset($cycle_vars[$name]['values'])
+            && $cycle_vars[$name]['values'] != $params['values'] ) {
+            $cycle_vars[$name]['index'] = 0;
         }
-        $template->plugin_data['cycle'][$name]['values'] = $params['values'];
+        $cycle_vars[$name]['values'] = $params['values'];
     }
 
-    $template->plugin_data['cycle'][$name]['delimiter'] = (isset($params['delimiter'])) ? $params['delimiter'] : ',';
-    
-    if(is_array($template->plugin_data['cycle'][$name]['values'])) {
-        $cycle_array = $template->plugin_data['cycle'][$name]['values'];
-    } else {
-        $cycle_array = explode($template->plugin_data['cycle'][$name]['delimiter'],$template->plugin_data['cycle'][$name]['values']);
+    if (isset($params['delimiter'])) {
+        $cycle_vars[$name]['delimiter'] = $params['delimiter'];
+    } elseif (!isset($cycle_vars[$name]['delimiter'])) {
+        $cycle_vars[$name]['delimiter'] = ',';       
     }
     
-    if(!isset($template->plugin_data['cycle'][$name]['index']) || $reset ) {
-        $template->plugin_data['cycle'][$name]['index'] = 0;
+    if(is_array($cycle_vars[$name]['values'])) {
+        $cycle_array = $cycle_vars[$name]['values'];
+    } else {
+        $cycle_array = explode($cycle_vars[$name]['delimiter'],$cycle_vars[$name]['values']);
+    }
+    
+    if(!isset($cycle_vars[$name]['index']) || $reset ) {
+        $cycle_vars[$name]['index'] = 0;
     }
     
     if (isset($params['assign'])) {
         $print = false;
-        $template->assign($params['assign'], $cycle_array[$template->plugin_data['cycle'][$name]['index']]);
+        $smarty->assign($params['assign'], $cycle_array[$cycle_vars[$name]['index']]);
     }
         
     if($print) {
-        $retval = $cycle_array[$template->plugin_data['cycle'][$name]['index']];
+        $retval = $cycle_array[$cycle_vars[$name]['index']];
     } else {
         $retval = null;
     }
 
     if($advance) {
-        if ( $template->plugin_data['cycle'][$name]['index'] >= count($cycle_array) -1 ) {
-            $template->plugin_data['cycle'][$name]['index'] = 0;
+        if ( $cycle_vars[$name]['index'] >= count($cycle_array) -1 ) {
+            $cycle_vars[$name]['index'] = 0;
         } else {
-            $template->plugin_data['cycle'][$name]['index']++;
+            $cycle_vars[$name]['index']++;
         }
     }
     
     return $retval;
 }
+
+/* vim: set expandtab: */
+
 ?>
diff --git a/onyx2/modules/templates_anc/smarty/plugins/function.debug.php b/onyx2/modules/templates/smarty/plugins/function.debug.php
similarity index 100%
rename from onyx2/modules/templates_anc/smarty/plugins/function.debug.php
rename to onyx2/modules/templates/smarty/plugins/function.debug.php
diff --git a/onyx2/modules/templates_anc/smarty/plugins/function.eval.php b/onyx2/modules/templates/smarty/plugins/function.eval.php
similarity index 100%
rename from onyx2/modules/templates_anc/smarty/plugins/function.eval.php
rename to onyx2/modules/templates/smarty/plugins/function.eval.php
diff --git a/onyx2/modules/templates/smarty/plugins/function.fetch.php b/onyx2/modules/templates/smarty/plugins/function.fetch.php
index 958d2ef..d72c7b1 100644
--- a/onyx2/modules/templates/smarty/plugins/function.fetch.php
+++ b/onyx2/modules/templates/smarty/plugins/function.fetch.php
@@ -2,7 +2,7 @@
 /**
  * Smarty plugin
  * @package Smarty
- * @subpackage PluginsFunction
+ * @subpackage plugins
  */
 
 
@@ -15,22 +15,24 @@
  * @link http://smarty.php.net/manual/en/language.function.fetch.php {fetch}
  *       (Smarty online manual)
  * @author Monte Ohrt 
- * @param array $params parameters
- * @param object $smarty Smarty object
- * @param object $template template object
+ * @param array
+ * @param Smarty
  * @return string|null if the assign parameter is passed, Smarty assigns the
  *                     result to a template variable
  */
-function smarty_function_fetch($params, $smarty, $template)
+function smarty_function_fetch($params, &$smarty)
 {
     if (empty($params['file'])) {
-        throw new Exception ("[plugin] fetch parameter 'file' cannot be empty");
+        $smarty->_trigger_fatal_error("[plugin] parameter 'file' cannot be empty");
         return;
     }
 
     $content = '';
-    if ($template->security && !preg_match('!^(http|ftp)://!i', $params['file'])) {
-        if(!$smarty->security_handler->isTrustedResourceDir($params['file'])) {
+    if ($smarty->security && !preg_match('!^(http|ftp)://!i', $params['file'])) {
+        $_params = array('resource_type' => 'file', 'resource_name' => $params['file']);
+        require_once(SMARTY_CORE_DIR . 'core.is_secure.php');
+        if(!smarty_core_is_secure($_params, $smarty)) {
+            $smarty->_trigger_fatal_error('[plugin] (secure mode) fetch \'' . $params['file'] . '\' is not allowed');
             return;
         }
         
@@ -41,7 +43,7 @@ function smarty_function_fetch($params, $smarty, $template)
             }
             fclose($fp);
         } else {
-            throw new Exception ('[plugin] fetch cannot read file \'' . $params['file'] . '\'');
+            $smarty->_trigger_fatal_error('[plugin] fetch cannot read file \'' . $params['file'] . '\'');
             return;
         }
     } else {
@@ -94,7 +96,7 @@ function smarty_function_fetch($params, $smarty, $template)
                         case "header":
                             if(!empty($param_value)) {
                                 if(!preg_match('![\w\d-]+: .+!',$param_value)) {
-                                    throw new Exception ("[plugin] invalid header format '".$param_value."'");
+                                    $smarty->_trigger_fatal_error("[plugin] invalid header format '".$param_value."'");
                                     return;
                                 } else {
                                     $extra_headers[] = $param_value;
@@ -110,7 +112,7 @@ function smarty_function_fetch($params, $smarty, $template)
                             if(!preg_match('!\D!', $param_value)) {
                                 $proxy_port = (int) $param_value;
                             } else {
-                                throw new Exception ("[plugin] invalid value for attribute '".$param_key."'");
+                                $smarty->_trigger_fatal_error("[plugin] invalid value for attribute '".$param_key."'");
                                 return;
                             }
                             break;
@@ -128,12 +130,12 @@ function smarty_function_fetch($params, $smarty, $template)
                             if(!preg_match('!\D!', $param_value)) {
                                 $timeout = (int) $param_value;
                             } else {
-                                throw new Exception ("[plugin] invalid value for attribute '".$param_key."'");
+                                $smarty->_trigger_fatal_error("[plugin] invalid value for attribute '".$param_key."'");
                                 return;
                             }
                             break;
                         default:
-                            throw new Exception ("[plugin] unrecognized attribute '".$param_key."'");
+                            $smarty->_trigger_fatal_error("[plugin] unrecognized attribute '".$param_key."'");
                             return;
                     }
                 }
@@ -145,7 +147,7 @@ function smarty_function_fetch($params, $smarty, $template)
                 }
 
                 if(!$fp) {
-                    throw new Exception ("[plugin] unable to fetch: $errstr ($errno)");
+                    $smarty->_trigger_fatal_error("[plugin] unable to fetch: $errstr ($errno)");
                     return;
                 } else {
                     if($_is_proxy) {
@@ -184,11 +186,11 @@ function smarty_function_fetch($params, $smarty, $template)
                     $content = $csplit[1];
 
                     if(!empty($params['assign_headers'])) {
-                        $template->assign($params['assign_headers'],preg_split("!\r\n!",$csplit[0]));
+                        $smarty->assign($params['assign_headers'],preg_split("!\r\n!",$csplit[0]));
                     }
                 }
             } else {
-                throw new Exception ("[plugin] unable to parse URL, check syntax");
+                $smarty->_trigger_fatal_error("[plugin] unable to parse URL, check syntax");
                 return;
             }
         } else {
@@ -199,7 +201,7 @@ function smarty_function_fetch($params, $smarty, $template)
                 }
                 fclose($fp);
             } else {
-                throw new Exception ('[plugin] fetch cannot read file \'' . $params['file'] .'\'');
+                $smarty->_trigger_fatal_error('[plugin] fetch cannot read file \'' . $params['file'] .'\'');
                 return;
             }
         }
@@ -208,10 +210,12 @@ function smarty_function_fetch($params, $smarty, $template)
 
 
     if (!empty($params['assign'])) {
-        $template->assign($params['assign'],$content);
+        $smarty->assign($params['assign'],$content);
     } else {
         return $content;
     }
 }
 
+/* vim: set expandtab: */
+
 ?>
diff --git a/onyx2/modules/templates/smarty/plugins/function.html_checkboxes.php b/onyx2/modules/templates/smarty/plugins/function.html_checkboxes.php
index 0e04f6e..ed8ad7f 100644
--- a/onyx2/modules/templates/smarty/plugins/function.html_checkboxes.php
+++ b/onyx2/modules/templates/smarty/plugins/function.html_checkboxes.php
@@ -2,7 +2,7 @@
 /**
  * Smarty plugin
  * @package Smarty
- * @subpackage PluginsFunction
+ * @subpackage plugins
  */
 
 
@@ -14,6 +14,14 @@
  * Name:       html_checkboxes
* Date: 24.Feb.2003
* Purpose: Prints out a list of checkbox input types
+ * Input:
+ * - name (optional) - string default "checkbox" + * - values (required) - array + * - options (optional) - associative array + * - checked (optional) - array default not set + * - separator (optional) - ie
or   + * - output (optional) - the output next to each checkbox + * - assign (optional) - assign the output as an array to this variable * Examples: *
  * {html_checkboxes values=$ids output=$names}
@@ -25,24 +33,14 @@
  * @author     Christopher Kvarme 
  * @author credits to Monte Ohrt 
  * @version    1.0
- * @param array $params parameters
- * Input:
- * - name (optional) - string default "checkbox" - * - values (required) - array - * - options (optional) - associative array - * - checked (optional) - array default not set - * - separator (optional) - ie
or   - * - output (optional) - the output next to each checkbox - * - assign (optional) - assign the output as an array to this variable - * @param object $smarty Smarty object - * @param object $template template object + * @param array + * @param Smarty * @return string * @uses smarty_function_escape_special_chars() */ -function smarty_function_html_checkboxes($params, $smarty, $template) +function smarty_function_html_checkboxes($params, &$smarty) { - require_once(SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php'); - //$smarty->loadPlugin('Smarty_shared_escape_special_chars'); + require_once $smarty->_get_plugin_filepath('shared','escape_special_chars'); $name = 'checkbox'; $values = null; @@ -80,7 +78,7 @@ function smarty_function_html_checkboxes($params, $smarty, $template) break; case 'checkboxes': - throw new Exception ('html_checkboxes: the use of the "checkboxes" attribute is deprecated, use "options" instead', E_USER_WARNING); + $smarty->trigger_error('html_checkboxes: the use of the "checkboxes" attribute is deprecated, use "options" instead', E_USER_WARNING); $options = (array)$_val; break; @@ -91,7 +89,7 @@ function smarty_function_html_checkboxes($params, $smarty, $template) if(!is_array($_val)) { $extra .= ' '.$_key.'="'.smarty_function_escape_special_chars($_val).'"'; } else { - throw new Exception ("html_checkboxes: extra attribute '$_key' cannot be an array", E_USER_NOTICE); + $smarty->trigger_error("html_checkboxes: extra attribute '$_key' cannot be an array", E_USER_NOTICE); } break; } @@ -118,7 +116,7 @@ function smarty_function_html_checkboxes($params, $smarty, $template) } if(!empty($params['assign'])) { - $template->assign($params['assign'], $_html_result); + $smarty->assign($params['assign'], $_html_result); } else { return implode("\n",$_html_result); } diff --git a/onyx2/modules/templates/smarty/plugins/function.html_image.php b/onyx2/modules/templates/smarty/plugins/function.html_image.php index 6d612df..9abae72 100644 --- a/onyx2/modules/templates/smarty/plugins/function.html_image.php +++ b/onyx2/modules/templates/smarty/plugins/function.html_image.php @@ -1,44 +1,43 @@ -* Name: html_image
-* Date: Feb 24, 2003
-* Purpose: format HTML tags for the image
-* Examples: {html_image file="/images/masthead.gif"} -* Output: -* -* @link http://smarty.php.net/manual/en/language.function.html.image.php {html_image} - (Smarty online manual) -* @author Monte Ohrt -* @author credits to Duda -* @version 1.0 -* @param array $params parameters -* Input:
-* - file = file (and path) of image (required) -* - height = image height (optional, default actual height) -* - width = image width (optional, default actual width) -* - basedir = base directory for absolute paths, default -* is environment variable DOCUMENT_ROOT -* - path_prefix = prefix for path output (optional, default empty) -* @param object $smarty Smarty object -* @param object $template template object -* @return string -* @uses smarty_function_escape_special_chars() -*/ -function smarty_function_html_image($params, $smarty, $template) + * Smarty {html_image} function plugin + * + * Type: function
+ * Name: html_image
+ * Date: Feb 24, 2003
+ * Purpose: format HTML tags for the image
+ * Input:
+ * - file = file (and path) of image (required) + * - height = image height (optional, default actual height) + * - width = image width (optional, default actual width) + * - basedir = base directory for absolute paths, default + * is environment variable DOCUMENT_ROOT + * - path_prefix = prefix for path output (optional, default empty) + * + * Examples: {html_image file="/images/masthead.gif"} + * Output: + * @link http://smarty.php.net/manual/en/language.function.html.image.php {html_image} + * (Smarty online manual) + * @author Monte Ohrt + * @author credits to Duda - wrote first image function + * in repository, helped with lots of functionality + * @version 1.0 + * @param array + * @param Smarty + * @return string + * @uses smarty_function_escape_special_chars() + */ +function smarty_function_html_image($params, &$smarty) { - require_once(SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php'); - //$smarty->loadPlugin('Smarty_shared_escape_special_chars'); - + require_once $smarty->_get_plugin_filepath('shared','escape_special_chars'); + $alt = ''; $file = ''; $height = ''; @@ -50,7 +49,7 @@ function smarty_function_html_image($params, $smarty, $template) $server_vars = ($smarty->request_use_auto_globals) ? $_SERVER : $GLOBALS['HTTP_SERVER_VARS']; $basedir = isset($server_vars['DOCUMENT_ROOT']) ? $server_vars['DOCUMENT_ROOT'] : ''; foreach($params as $_key => $_val) { - switch ($_key) { + switch($_key) { case 'file': case 'height': case 'width': @@ -61,11 +60,11 @@ function smarty_function_html_image($params, $smarty, $template) break; case 'alt': - if (!is_array($_val)) { + if(!is_array($_val)) { $$_key = smarty_function_escape_special_chars($_val); } else { - throw new Exception ("html_image: extra attribute '$_key' cannot be an array", E_USER_NOTICE); - } + $smarty->trigger_error("html_image: extra attribute '$_key' cannot be an array", E_USER_NOTICE); + } break; case 'link': @@ -75,65 +74,69 @@ function smarty_function_html_image($params, $smarty, $template) break; default: - if (!is_array($_val)) { - $extra .= ' ' . $_key . '="' . smarty_function_escape_special_chars($_val) . '"'; + if(!is_array($_val)) { + $extra .= ' '.$_key.'="'.smarty_function_escape_special_chars($_val).'"'; } else { - throw new Exception ("html_image: extra attribute '$_key' cannot be an array", E_USER_NOTICE); - } + $smarty->trigger_error("html_image: extra attribute '$_key' cannot be an array", E_USER_NOTICE); + } break; - } - } + } + } if (empty($file)) { - throw new Exception ("html_image: missing 'file' parameter", E_USER_NOTICE); + $smarty->trigger_error("html_image: missing 'file' parameter", E_USER_NOTICE); return; - } + } - if (substr($file, 0, 1) == '/') { + if (substr($file,0,1) == '/') { $_image_path = $basedir . $file; } else { $_image_path = $file; - } - - if (!isset($params['width']) || !isset($params['height'])) { - if (!$_image_data = @getimagesize($_image_path)) { - if (!file_exists($_image_path)) { - throw new Exception ("html_image: unable to find '$_image_path'", E_USER_NOTICE); + } + + if(!isset($params['width']) || !isset($params['height'])) { + if(!$_image_data = @getimagesize($_image_path)) { + if(!file_exists($_image_path)) { + $smarty->trigger_error("html_image: unable to find '$_image_path'", E_USER_NOTICE); return; - } else if (!is_readable($_image_path)) { - throw new Exception ("html_image: unable to read '$_image_path'", E_USER_NOTICE); + } else if(!is_readable($_image_path)) { + $smarty->trigger_error("html_image: unable to read '$_image_path'", E_USER_NOTICE); return; } else { - throw new Exception ("html_image: '$_image_path' is not a valid image file", E_USER_NOTICE); + $smarty->trigger_error("html_image: '$_image_path' is not a valid image file", E_USER_NOTICE); return; - } - } - if ($template->security) { - if (!$smarty->security_handler->isTrustedResourceDir($_image_path)) { - return; - } - } - - if (!isset($params['width'])) { + } + } + if ($smarty->security && + ($_params = array('resource_type' => 'file', 'resource_name' => $_image_path)) && + (require_once(SMARTY_CORE_DIR . 'core.is_secure.php')) && + (!smarty_core_is_secure($_params, $smarty)) ) { + $smarty->trigger_error("html_image: (secure) '$_image_path' not in secure directory", E_USER_NOTICE); + } + + if(!isset($params['width'])) { $width = $_image_data[0]; - } - if (!isset($params['height'])) { + } + if(!isset($params['height'])) { $height = $_image_data[1]; - } - } + } - if (isset($params['dpi'])) { - if (strstr($server_vars['HTTP_USER_AGENT'], 'Mac')) { + } + + if(isset($params['dpi'])) { + if(strstr($server_vars['HTTP_USER_AGENT'], 'Mac')) { $dpi_default = 72; } else { $dpi_default = 96; - } - $_resize = $dpi_default / $params['dpi']; + } + $_resize = $dpi_default/$params['dpi']; $width = round($width * $_resize); $height = round($height * $_resize); - } + } - return $prefix . '' . $alt . '' . $suffix; -} + return $prefix . ''.$alt.'' . $suffix; +} + +/* vim: set expandtab: */ ?> diff --git a/onyx2/modules/templates/smarty/plugins/function.html_options.php b/onyx2/modules/templates/smarty/plugins/function.html_options.php index 66d8b76..cebadde 100644 --- a/onyx2/modules/templates/smarty/plugins/function.html_options.php +++ b/onyx2/modules/templates/smarty/plugins/function.html_options.php @@ -1,58 +1,54 @@ -* Name: html_options
-* Purpose: Prints the list of
\n"; - - return true; -} - -?> diff --git a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_block.php b/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_block.php deleted file mode 100644 index 9e747bd..0000000 --- a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_block.php +++ /dev/null @@ -1,29 +0,0 @@ -registered_plugins[$block_tag]) && $smarty->registered_plugins[$block_tag][0] == 'block') { - unset($smarty->registered_plugins[$block_tag]); - } -} - -?> diff --git a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_compiler_function.php b/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_compiler_function.php deleted file mode 100644 index 516a4d5..0000000 --- a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_compiler_function.php +++ /dev/null @@ -1,29 +0,0 @@ -registered_plugins[$compiler_tag]) && $smarty->registered_plugins[$compiler_tag][0] == 'compiler') { - unset($smarty->registered_plugins[$compiler_tag]); - } -} - -?> diff --git a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_function.php b/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_function.php deleted file mode 100644 index 6fe411b..0000000 --- a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_function.php +++ /dev/null @@ -1,29 +0,0 @@ -registered_plugins[$function_tag]) && $smarty->registered_plugins[$function_tag][0] == 'function') { - unset($smarty->registered_plugins[$function_tag]); - } -} - -?> diff --git a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_modifier.php b/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_modifier.php deleted file mode 100644 index c86e797..0000000 --- a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_modifier.php +++ /dev/null @@ -1,29 +0,0 @@ -registered_plugins[$modifier]) && $smarty->registered_plugins[$modifier][0] == 'modifier') { - unset($smarty->registered_plugins[$modifier]); - } -} - -?> diff --git a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_object.php b/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_object.php deleted file mode 100644 index 83f1e01..0000000 --- a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_object.php +++ /dev/null @@ -1,28 +0,0 @@ -registered_objects[$object]); - } - -?> diff --git a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_outputfilter.php b/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_outputfilter.php deleted file mode 100644 index c43a2d5..0000000 --- a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_outputfilter.php +++ /dev/null @@ -1,28 +0,0 @@ -registered_filters['output'][$smarty->_get_filter_name($function)]); -} - -?> diff --git a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_postfilter.php b/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_postfilter.php deleted file mode 100644 index 91677d9..0000000 --- a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_postfilter.php +++ /dev/null @@ -1,27 +0,0 @@ -registered_filters['post'][$smarty->_get_filter_name($function)]); -} - -?> diff --git a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_prefilter.php b/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_prefilter.php deleted file mode 100644 index cc54121..0000000 --- a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_prefilter.php +++ /dev/null @@ -1,27 +0,0 @@ -registered_filters['pre'][$smarty->_get_filter_name($function)]); -} - -?> diff --git a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_resource.php b/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_resource.php deleted file mode 100644 index 14c2e18..0000000 --- a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_resource.php +++ /dev/null @@ -1,27 +0,0 @@ -plugins['resource'][$type]); -} - -?> diff --git a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_variablefilter.php b/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_variablefilter.php deleted file mode 100644 index 0a3ecc5..0000000 --- a/onyx2/modules/templates/smarty/sysplugins/smarty_method_unregister_variablefilter.php +++ /dev/null @@ -1,27 +0,0 @@ -registered_filters['variable'][$smarty->_get_filter_name($function)]); -} - -?> diff --git a/onyx2/modules/templates_anc/compile/%%01^017^017E6061%%batiments_alli.tpl.php b/onyx2/modules/templates_anc/compile/%%01^017^017E6061%%batiments_alli.tpl.php deleted file mode 100644 index a167aca..0000000 --- a/onyx2/modules/templates_anc/compile/%%01^017^017E6061%%batiments_alli.tpl.php +++ /dev/null @@ -1,89 +0,0 @@ - - array(array('modifier', 'ucfirst', 'game/batiments_alli.tpl', 7, false),array('modifier', 'countdown', 'game/batiments_alli.tpl', 7, false),array('modifier', 'separerNombres', 'game/batiments_alli.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); - ?> -

File d'attente

-
    - - _tpl_vars['files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyF'] => $this->_tpl_vars['file']): -?> - _tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyE'] => $this->_tpl_vars['element']): -?> -
  • _tpl_vars['LANG'][$this->_tpl_vars['race']]['alli_batiments']['noms_sing'][$this->_tpl_vars['element']['0']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -_tpl_vars['element']['1']): ?> (démolition) - _tpl_vars['element']['3']): ?> class="countdown">_tpl_vars['element']['2'])) ? $this->_run_mod_handler('countdown', true, $_tmp) : smarty_modifier_countdown($_tmp)); ?> - - Annuler
  • - - -_smarty_vars['capture']['expFile'] = ob_get_contents(); ob_end_clean(); ?> -_tpl_vars['files'] && $this->_smarty_vars['capture']['expFile']): ?> - _smarty_vars['capture']['expFile']; ?> - - -
  • Aucun bâtiment dans la file d'attente
  • - -
-

Arbre des technologies


-

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']): -?> -
-
_tpl_vars['LANG'][$this->_tpl_vars['race']]['alli_batiments']['noms_sing'][$this->_tpl_vars['batiment']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -_tpl_vars['batiment']['niveau'] > 0): ?> (Niveau _tpl_vars['batiment']['niveau']; ?> -)
-
<?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['alli_batiments']['noms_sing'][$this->_tpl_vars['batiment']['id']]; ?>
-

_tpl_vars['LANG'][$this->_tpl_vars['race']]['alli_batiments']['descriptions'][$this->_tpl_vars['batiment']['id']]; ?> -

-
- _tpl_vars['batiment']['niveau'] > 0): ?>Niveau actuel : _tpl_vars['batiment']['niveau']; ?> -

- _tpl_vars['batiment']['nec_metal'] > 0): ?>Coût _tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?> - : _tpl_vars['batiment']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?> class="lack">_tpl_vars['batiment']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- _tpl_vars['batiment']['nec_cristal'] > 0): ?>Coût _tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?> - : _tpl_vars['batiment']['nec_cristal'] > $this->_tpl_vars['planete']->cristal): ?> class="lack">_tpl_vars['batiment']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- _tpl_vars['batiment']['nec_hydrogene'] > 0): ?>Coût _tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?> - : _tpl_vars['batiment']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene): ?> class="lack">_tpl_vars['batiment']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- _tpl_vars['batiment']['nec_credits'] > 0): ?>Coût _tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['credits']; ?> - : _tpl_vars['batiment']['nec_credits'] > $this->_tpl_vars['planete']->credits_alliance): ?> class="lack">_tpl_vars['batiment']['nec_credits'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- Temps de construction : _tpl_vars['batiment']['temps']; ?> -
-
- _tpl_vars['batiment']['nec_credits'] > $this->_tpl_vars['planete']->credits_alliance || $this->_tpl_vars['batiment']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene || $this->_tpl_vars['batiment']['nec_cristal'] > $this->_tpl_vars['planete']->cristal || $this->_tpl_vars['batiment']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?>Ressources insuffisantes - Construire - _tpl_vars['batiment']['enfile'] !== false): ?>Arrêter - _tpl_vars['batiment']['niveau'] > 0 && $this->_tpl_vars['batiment']['id'] != 0): ?> Démolir un niveau -
-
- -
-_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/onyx2/modules/templates_anc/compile/%%04^048^0483A7BB%%chantierterrestre.tpl.php b/onyx2/modules/templates_anc/compile/%%04^048^0483A7BB%%chantierterrestre.tpl.php deleted file mode 100644 index 137fb78..0000000 --- a/onyx2/modules/templates_anc/compile/%%04^048^0483A7BB%%chantierterrestre.tpl.php +++ /dev/null @@ -1,106 +0,0 @@ - - array(array('modifier', 'countdown', 'game/chantierterrestre.tpl', 11, false),array('modifier', 'ucfirst', 'game/chantierterrestre.tpl', 24, false),array('modifier', 'separerNombres', 'game/chantierterrestre.tpl', 33, 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['onglet'] != 'defenses'): ?> class="hilight">Unités - _tpl_vars['onglet'] == 'defenses'): ?> class="hilight">Défenses -


-

File d'attente

-
    - - _tpl_vars['files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyF'] => $this->_tpl_vars['file']): -?> - _tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyE'] => $this->_tpl_vars['element']): -?> - _tpl_vars['element']['5']): ?>
  • Prochaine _tpl_vars['element']['6']): ?>unitédéfense : _tpl_vars['element']['4'])) ? $this->_run_mod_handler('countdown', true, $_tmp) : smarty_modifier_countdown($_tmp)); ?> -
  • -
  • _tpl_vars['element']['1']; ?> - _tpl_vars['element']['1'] > 1): ?>_tpl_vars['LANG'][$this->_tpl_vars['race']]['terrestre']['noms_pluriel'][$this->_tpl_vars['element']['0']]; ?> -_tpl_vars['LANG'][$this->_tpl_vars['race']]['terrestre']['noms_sing'][$this->_tpl_vars['element']['0']]; ?> - _tpl_vars['element']['2']): ?> (démolition) - _tpl_vars['element']['5']): ?> class="countdown">_tpl_vars['element']['3'])) ? $this->_run_mod_handler('countdown', true, $_tmp) : smarty_modifier_countdown($_tmp)); ?> - - Annuler un - Annuler tous
  • - - -_smarty_vars['capture']['expFile'] = ob_get_contents(); ob_end_clean(); ?> -_tpl_vars['files'] && $this->_smarty_vars['capture']['expFile']): ?> - _smarty_vars['capture']['expFile']; ?> - - -
  • Aucune unité dans la file d'attente
  • - -
- -

Arbre des technologies


-

_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['7'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -

-_tpl_vars['unites']): ?> -
-_tpl_vars['unites']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['unite']): -?> -
-
_tpl_vars['LANG'][$this->_tpl_vars['race']]['terrestre']['noms_sing'][$this->_tpl_vars['unite']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -_tpl_vars['unite']['nombre'] > 0): ?> (_tpl_vars['unite']['nombre']; ?> - unité_tpl_vars['unite']['nombre'] > 1): ?>s)
-
<?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['terrestre']['noms_sing'][$this->_tpl_vars['unite']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
-

_tpl_vars['LANG'][$this->_tpl_vars['race']]['terrestre']['descriptions'][$this->_tpl_vars['unite']['id']]; ?> -

-
- _tpl_vars['unite']['nombre'] > 0): ?>Nombre actuel : _tpl_vars['unite']['nombre']; ?> -

- _tpl_vars['unite']['nec_metal'] > 0): ?>Coût _tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?> - : _tpl_vars['unite']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- _tpl_vars['unite']['nec_cristal'] > 0): ?>Coût _tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?> - : _tpl_vars['unite']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- _tpl_vars['unite']['nec_hydrogene'] > 0): ?>Coût _tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?> - : _tpl_vars['unite']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- Temps de construction : _tpl_vars['unite']['temps']; ?> -
-
- _tpl_vars['unite']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene || $this->_tpl_vars['unite']['nec_cristal'] > $this->_tpl_vars['planete']->cristal || $this->_tpl_vars['unite']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?>Ressources insuffisantes -
- - -
-
-
- -
-
Aucune unité ou défense ne peut être entraînée actuellement.
-_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/onyx2/modules/templates_anc/compile/%%05^050^05051ED4%%marche.tpl.php b/onyx2/modules/templates_anc/compile/%%05^050^05051ED4%%marche.tpl.php deleted file mode 100644 index 13e6ac1..0000000 --- a/onyx2/modules/templates_anc/compile/%%05^050^05051ED4%%marche.tpl.php +++ /dev/null @@ -1,51 +0,0 @@ - - array(array('modifier', 'ucfirst', 'game/marche.tpl', 7, false),array('modifier', 'separerNombres', 'game/marche.tpl', 12, 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); - ?> -

Bourse des ressources

-

Les prix sont donnés en milliers de crédits

-

Les achats et les ventes se font par paquet de 1000 actions (le prix est recalculé chaque 1000 actions)

-_tpl_vars['bourse']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['action']): -?> -
-
_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms'][$this->_tpl_vars['action']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> - <?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms'][$this->_tpl_vars['action']['id']]; ?>
-
-
-
-
- -
Total : _tpl_vars['action']['dispo'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_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/onyx2/modules/templates_anc/compile/%%05^056^056EB1C9%%description.tpl.php b/onyx2/modules/templates_anc/compile/%%05^056^056EB1C9%%description.tpl.php deleted file mode 100644 index 93b746d..0000000 --- a/onyx2/modules/templates_anc/compile/%%05^056^056EB1C9%%description.tpl.php +++ /dev/null @@ -1,89 +0,0 @@ - - array(array('modifier', 'ucfirst', 'game/description.tpl', 4, false),array('modifier', 'separerNombres', 'game/description.tpl', 7, false),array('modifier', 'temps', 'game/description.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); - ?> -

Détails _tpl_vars['type']; ?> -

-
-
_tpl_vars['LANG'][$this->_tpl_vars['raceAff']][$this->_tpl_vars['type']]['noms_sing'][$this->_tpl_vars['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -
-
<?php echo ((is_array($_tmp=$this->_tpl_vars['type'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
-

_tpl_vars['LANG'][$this->_tpl_vars['raceAff']][$this->_tpl_vars['type']]['descriptions'][$this->_tpl_vars['id']]; ?> -

-
Actuellement :
_tpl_vars['type'] == 'caserne'): ?>_tpl_vars['planete']->casernes[$this->_tpl_vars['id']]; ?> - unité(s)_tpl_vars['type'] == 'terrestre'): ?>_tpl_vars['planete']->terrestres[$this->_tpl_vars['id']]; ?> - unité(s)_tpl_vars['type'] == 'vaisseaux'): ?>_tpl_vars['planete']->{(($_var=$this->_tpl_vars['type']) && substr($_var,0,2)!='__') ? $_var : $this->trigger_error("cannot access property \"$_var\"")}[$this->_tpl_vars['id']]; ?> - vaisseau(x)niveau _tpl_vars['planete']->{(($_var=$this->_tpl_vars['type']) && substr($_var,0,2)!='__') ? $_var : $this->trigger_error("cannot access property \"$_var\"")}[$this->_tpl_vars['id']]; ?> -
- _tpl_vars['ressourcesNext']['0']): ?>
Coût _tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['ressources']['noms']['metal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> - :
_tpl_vars['ressourcesNext']['0'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- _tpl_vars['ressourcesNext']['1']): ?>
Coût _tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['ressources']['noms']['cristal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> - :
_tpl_vars['ressourcesNext']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- _tpl_vars['ressourcesNext']['2']): ?>
Coût _tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['ressources']['noms']['hydrogene'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> - :
_tpl_vars['ressourcesNext']['2'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
-
Temps de construction :
_tpl_vars['ressourcesNext']['3'])) ? $this->_run_mod_handler('temps', true, $_tmp) : smarty_modifier_temps($_tmp)); ?> -
-_tpl_vars['caract']): ?> -
Attaque :
_tpl_vars['caract']['0'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
-
Bouclier :
_tpl_vars['caract']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
-
Point de vie :
_tpl_vars['caract']['2'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
-
Capacité de transpost :
_tpl_vars['caract']['3'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- -
Nécessite :
_tpl_vars['etat']; ?> -
-_tpl_vars['tableau_prod']): ?> -

- - - - - - - - - - - - - - _tpl_vars['tableau_prod']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['ligne']): -?> - _tpl_vars['ligne']['0'] == $this->_tpl_vars['planete']->{(($_var=$this->_tpl_vars['type']) && substr($_var,0,2)!='__') ? $_var : $this->trigger_error("cannot access property \"$_var\"")}[$this->_tpl_vars['id']]): ?> - - - - - - - - -
Production et consomation théoriques
NiveauProductionConsomationDifférence prod.Différence conso.
_tpl_vars['ligne']['0']; ?> -_tpl_vars['ligne']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -_tpl_vars['ligne']['2'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -_tpl_vars['ligne']['3'] > 0): ?>+_tpl_vars['ligne']['3'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -_tpl_vars['ligne']['4'] > 0): ?>+_tpl_vars['ligne']['4'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_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/onyx2/modules/templates_anc/compile/%%14^14B^14B41601%%arbre.tpl.php b/onyx2/modules/templates_anc/compile/%%14^14B^14B41601%%arbre.tpl.php deleted file mode 100644 index cb2811a..0000000 --- a/onyx2/modules/templates_anc/compile/%%14^14B^14B41601%%arbre.tpl.php +++ /dev/null @@ -1,113 +0,0 @@ - - array(array('modifier', 'ucfirst', 'game/arbre.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); - ?> -

Arbre Technologique _tpl_vars['raceAff']; ?> -

- Race : Humains - Covenants -
- _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['key'] => $this->_tpl_vars['batiment']): -?> - - - -_tpl_vars['batiments']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['batiment']): -?> - - - -
Batiments (niveau)Technologies nécessaires (niveau actuel)
_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['batiments']['noms_sing'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> - (_tpl_vars['batiment']['niveau']; ?> -) :_tpl_vars['batiment']['etat']; ?> -
_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['alli_batiments']['noms_sing'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> - (_tpl_vars['batiment']['niveau']; ?> -) :_tpl_vars['batiment']['etat']; ?> -
-
- - - _tpl_vars['defaut'] == 'caserne'): ?> class="hightlight">_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['batiments']['noms_sing']['9'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> - -
- - -_tpl_vars['caserne']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['unite']): -?> - - -
UnitéTechnologies nécessaires
_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['caserne']['noms_sing'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> - (_tpl_vars['unite']['niveau']; ?> -) :_tpl_vars['unite']['etat'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -
-
- - _tpl_vars['defaut'] == 'chantierterrestre'): ?> class="hightlight">_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['batiments']['noms_sing']['7'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> - -
- - -_tpl_vars['unites']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['unite']): -?> - - -
Véhicules/DéfensesTechnologies nécessaires (niveau actuel)
_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['terrestre']['noms_sing'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> - (_tpl_vars['unite']['niveau']; ?> -) :_tpl_vars['unite']['etat']; ?> -
-
- - _tpl_vars['defaut'] == 'vaisseaux'): ?> class="hightlight">_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['batiments']['noms_sing']['8'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> - -
- - -_tpl_vars['vaisseaux']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['vaisseau']): -?> - - -
VaisseauxTechnologies nécessaires (niveau actuel)
_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['vaisseaux']['noms_sing'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> - (_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/onyx2/modules/templates_anc/compile/%%18^18A^18A2DC5A%%laboratoire.tpl.php b/onyx2/modules/templates_anc/compile/%%18^18A^18A2DC5A%%laboratoire.tpl.php deleted file mode 100644 index 6a97013..0000000 --- a/onyx2/modules/templates_anc/compile/%%18^18A^18A2DC5A%%laboratoire.tpl.php +++ /dev/null @@ -1,62 +0,0 @@ - - array(array('modifier', 'ucfirst', 'game/laboratoire.tpl', 16, false),array('modifier', 'countdown', 'game/laboratoire.tpl', 16, 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['files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyF'] => $this->_tpl_vars['file']): -?> - _tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyE'] => $this->_tpl_vars['element']): -?> -
  • _tpl_vars['LANG'][$this->_tpl_vars['race']]['technologies']['noms_sing'][$this->_tpl_vars['element']['0']][$this->_tpl_vars['element']['1']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> - - _tpl_vars['element']['3']): ?> class="countdown">_tpl_vars['element']['2'])) ? $this->_run_mod_handler('countdown', true, $_tmp) : smarty_modifier_countdown($_tmp)); ?> - - Annuler
  • - - -_smarty_vars['capture']['expFile'] = ob_get_contents(); ob_end_clean(); ?> -_tpl_vars['files'] && $this->_smarty_vars['capture']['expFile']): ?> - _smarty_vars['capture']['expFile']; ?> - - -
  • Aucune recherches dans la file d'attente
  • - -
-
-

_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['6'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -

-_tpl_vars['arbre']): ?> - _tpl_vars['arbre']; ?> - -
Aucune technologie à développer actuellement
-_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/onyx2/modules/templates_anc/compile/%%1E^1EB^1EBEE047%%footer.tpl.php b/onyx2/modules/templates_anc/compile/%%1E^1EB^1EBEE047%%footer.tpl.php deleted file mode 100644 index 6395765..0000000 --- a/onyx2/modules/templates_anc/compile/%%1E^1EB^1EBEE047%%footer.tpl.php +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -
- -_tpl_vars['page'] != 'admin'): ?>_tpl_vars['analyst']; ?> - -_tpl_vars['script']; ?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates_anc/compile/%%20^20A^20AB9AF7%%nm_fonder.tpl.php b/onyx2/modules/templates_anc/compile/%%20^20A^20AB9AF7%%nm_fonder.tpl.php deleted file mode 100644 index fc8a2c2..0000000 --- a/onyx2/modules/templates_anc/compile/%%20^20A^20AB9AF7%%nm_fonder.tpl.php +++ /dev/null @@ -1,22 +0,0 @@ - -_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

-
-
-

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 lien à quatre personnes qui sont sans alliance afin qu'elles ratifient l'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/onyx2/modules/templates_anc/compile/%%23^235^2350E4CA%%sanctionU_choix.tpl.php b/onyx2/modules/templates_anc/compile/%%23^235^2350E4CA%%sanctionU_choix.tpl.php deleted file mode 100644 index e9478b1..0000000 --- a/onyx2/modules/templates_anc/compile/%%23^235^2350E4CA%%sanctionU_choix.tpl.php +++ /dev/null @@ -1,38 +0,0 @@ - -_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['titre']; ?> -

-
- - - - - - - - - - -
- jours
("d" pour définitif, -3 pour réactiver le compte tout de suite)

- -
- - -
- - - -
-
-_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/onyx2/modules/templates_anc/compile/%%24^247^24733150%%gestion_membres.tpl.php b/onyx2/modules/templates_anc/compile/%%24^247^24733150%%gestion_membres.tpl.php deleted file mode 100644 index 5549224..0000000 --- a/onyx2/modules/templates_anc/compile/%%24^247^24733150%%gestion_membres.tpl.php +++ /dev/null @@ -1,83 +0,0 @@ - - array(array('modifier', 'date_format', 'game/alliance/gestion_membres.tpl', 10, false),array('modifier', 'escape', 'game/alliance/gestion_membres.tpl', 34, false),array('modifier', 'nl2br', 'game/alliance/gestion_membres.tpl', 34, 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; -$this->_smarty_include(array('smarty_include_tpl_file' => 'game/alliance/gestion_common.tpl', 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?> -

Gestion 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']): -?> - - - - - - - - - - - - - - - - - - - - -
_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")); ?> -

MessageExclure
PseudoRaceDernière connexion GradeMPActions
-

Gestion des postulants

-_tpl_vars['postulants']): ?> -
- _tpl_vars['postulants']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['postulant']): -?> -
-
_tpl_vars['postulant']['pseudo']; ?> - le _tpl_vars['postulant']['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['postulant']['message'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> -
-
- -
- -
Aucun postulant actuellement
- -_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/onyx2/modules/templates_anc/compile/%%29^290^2909EDB4%%nm_signer.tpl.php b/onyx2/modules/templates_anc/compile/%%29^290^2909EDB4%%nm_signer.tpl.php deleted file mode 100644 index e3320d9..0000000 --- a/onyx2/modules/templates_anc/compile/%%29^290^2909EDB4%%nm_signer.tpl.php +++ /dev/null @@ -1,29 +0,0 @@ - - array(array('modifier', 'capitalize', 'game/alliance/nm_signer.tpl', 2, false),array('modifier', 'escape', 'game/alliance/nm_signer.tpl', 2, false),array('modifier', 'upper', 'game/alliance/nm_signer.tpl', 4, 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); - ?> -

Ratifier l'alliance : _tpl_vars['alliance']['nom_alliance'])) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -

-
-
Vous êtes sur le point de ratifier l'alliance [_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -] _tpl_vars['alliance']['nom_alliance'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -.
Actuellement, _tpl_vars['alliance']['nbsignatures']; ?> - personnes(s) ont ratifier cette alliance.
_tpl_vars['ratifier']): ?>
En ratifiant cette alliance, vous annulez votre signature pour l'alliance [_tpl_vars['ratifier']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -] _tpl_vars['ratifier']['nom_alliance'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -

Voulez-vous signer ?
-
- - -
-
-_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/onyx2/modules/templates_anc/compile/%%2A^2A9^2A9A4697%%accueil.tpl.php b/onyx2/modules/templates_anc/compile/%%2A^2A9^2A9A4697%%accueil.tpl.php deleted file mode 100644 index b1db0a9..0000000 --- a/onyx2/modules/templates_anc/compile/%%2A^2A9^2A9A4697%%accueil.tpl.php +++ /dev/null @@ -1,33 +0,0 @@ - - array(array('modifier', 'date_format', 'admin/accueil.tpl', 3, false),array('modifier', 'escape', 'admin/accueil.tpl', 6, false),array('modifier', 'nl2br', 'admin/accueil.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); - ?> -

Evénements

- Heure du serveur: _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")); ?> - -

Version du serveur : _tpl_vars['version']; ?> -

-_tpl_vars['news']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['new']): -?> -

_tpl_vars['new']['titre']; ?> - : _tpl_vars['new']['contenu'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> -

- -

Infos

-

Messagerie : _tpl_vars['nbMail']; ?> - message_tpl_vars['nbMail'] > 1): ?>s en attente

-

Pilori : _tpl_vars['nbPilori']; ?> - joueur_tpl_vars['nbPilori'] > 1): ?>s dans le pilori de la galaxie

-_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/onyx2/modules/templates_anc/compile/%%2A^2AD^2ADF286A%%general.tpl.php b/onyx2/modules/templates_anc/compile/%%2A^2AD^2ADF286A%%general.tpl.php deleted file mode 100644 index 063d1b1..0000000 --- a/onyx2/modules/templates_anc/compile/%%2A^2AD^2ADF286A%%general.tpl.php +++ /dev/null @@ -1,87 +0,0 @@ - - array(array('modifier', 'date_format', 'game/diplomatie/general.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); - ?> -_tpl_vars; -$this->_smarty_include(array('smarty_include_tpl_file' => 'game/diplomatie/common.tpl', 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?> -

Demandes de pactes

-_tpl_vars['demandes']): ?> - _tpl_vars['demandes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['demande']): -?> -

_tpl_vars['demande']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M")); ?> - :: L'alliance [_tpl_vars['demande']['tag']; ?> -] _tpl_vars['demande']['nom_alliance']; ?> - veut _tpl_vars['demande']['type'] == 0): ?>engager un cesser le feupasser un pacte _tpl_vars['demande']['type'] == 1): ?>de non-agression_tpl_vars['demande']['type'] == 2): ?>commercialmilitaire._tpl_vars['planete']->permissions_alliance & 8): ?> Accepter - Rejeter

- - -

Aucune demande en cours

- -
-

Actualités des pactes et des guerres

-_tpl_vars['actus_alli']): ?> -_tpl_vars['actus_alli']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['actu_alli']): -?> - _tpl_vars['actu_alli']['time_fin'] && $this->_tpl_vars['actu_alli']['type'] != 0): ?>

_tpl_vars['actu_alli']['time_fin'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M")); ?> - :: Le pacte _tpl_vars['actu_alli']['type'] == 1): ?>de non-agression_tpl_vars['actu_alli']['type'] == 2): ?>commercialmilitaire avec l'alliance [_tpl_vars['actu_alli']['tag']; ?> -] _tpl_vars['actu_alli']['nom_alliance']; ?> - a été abrogé

- _tpl_vars['planete']->id == $this->_tpl_vars['actu_alli']['id_alliance1'] && $this->_tpl_vars['actu_alli']['type'] != 0 ) || ( $this->_tpl_vars['planete']->id == $this->_tpl_vars['actu_alli']['id_alliance2'] && $this->_tpl_vars['actu_alli']['type'] == 0 && $this->_tpl_vars['actu_alli']['accepter'] == 1 ) || ( $this->_tpl_vars['planete']->id == $this->_tpl_vars['actu_alli']['id_alliance1'] && $this->_tpl_vars['actu_alli']['type'] == 0 && $this->_tpl_vars['actu_alli']['time_demand'] != ((is_array($_tmp=$this->_tpl_vars['actu_alli']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d %H:%M:%S") : smarty_modifier_date_format($_tmp, "%Y-%m-%d %H:%M:%S")) )): ?>

_tpl_vars['actu_alli']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M")); ?> - :: L'alliance [_tpl_vars['actu_alli']['tag']; ?> -] _tpl_vars['actu_alli']['nom_alliance']; ?> - _tpl_vars['actu_alli']['type'] == 0 && $this->_tpl_vars['actu_alli']['time_demand'] == ((is_array($_tmp=$this->_tpl_vars['actu_alli']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d %H:%M:%S") : smarty_modifier_date_format($_tmp, "%Y-%m-%d %H:%M:%S"))): ?>nous a déclaré la guerre_tpl_vars['actu_alli']['accepte'] == 2): ?>a refusé notre_tpl_vars['actu_alli']['accepte'] == 1): ?>a accepté notren'a pas encore répondu à notre demande de _tpl_vars['actu_alli']['type'] == 0): ?>cesser le feupacte _tpl_vars['actu_alli']['type'] == 1): ?>de non-agression_tpl_vars['actu_alli']['type'] == 2): ?>commercialmilitaire.

-

_tpl_vars['actu_alli']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M")); ?> - :: Nous avons _tpl_vars['actu_alli']['type'] == 0 && $this->_tpl_vars['actu_alli']['time_demand'] == ((is_array($_tmp=$this->_tpl_vars['actu_alli']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d %H:%M:%S") : smarty_modifier_date_format($_tmp, "%Y-%m-%d %H:%M:%S"))): ?>déclaré la guerre à_tpl_vars['actu_alli']['accepte'] == 1): ?>acceptérefusé le _tpl_vars['actu_alli']['type'] == 0): ?>cesser le feupacte _tpl_vars['actu_alli']['type'] == 1): ?>de non-agression_tpl_vars['actu_alli']['type'] == 2): ?>commercialmilitaire proposé par l'alliance [_tpl_vars['actu_alli']['tag']; ?> -] _tpl_vars['actu_alli']['nom_alliance']; ?> -

- - - -

Aucune actualité disponible

- -
-

Actualités de la galaxie

-_tpl_vars['actus_world']): ?> -_tpl_vars['actus_world']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['actu_world']): -?> -

_tpl_vars['actu_world']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M")); ?> - :: L'alliance [_tpl_vars['actu_world']['tag1']; ?> -] _tpl_vars['actu_world']['nom_alliance1']; ?> - _tpl_vars['actu_world']['type'] == 0): ?>a déclaré la guerre àa engagé un pacte _tpl_vars['actu_world']['type'] == 1): ?>de non-agression_tpl_vars['actu_world']['type'] == 2): ?>commercialmilitaire avec l'alliance [_tpl_vars['actu_world']['tag2']; ?> -] _tpl_vars['actu_world']['nom_alliance2']; ?> -.

- - -

Aucune actualité disponible

- -_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/onyx2/modules/templates_anc/compile/%%2F^2FB^2FB28051%%envoyer.tpl.php b/onyx2/modules/templates_anc/compile/%%2F^2FB^2FB28051%%envoyer.tpl.php deleted file mode 100644 index 67bafaf..0000000 --- a/onyx2/modules/templates_anc/compile/%%2F^2FB^2FB28051%%envoyer.tpl.php +++ /dev/null @@ -1,45 +0,0 @@ - - array(array('function', 'html_options', 'game/envoyer.tpl', 14, false),array('modifier', 'escape', 'game/envoyer.tpl', 17, 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); - ?> -

Messagerie

-

-
-
-
-
-
-
- -
-
-_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/onyx2/modules/templates_anc/compile/%%3A^3A1^3A1168FE%%header.tpl.php b/onyx2/modules/templates_anc/compile/%%3A^3A1^3A1168FE%%header.tpl.php deleted file mode 100644 index e50101c..0000000 --- a/onyx2/modules/templates_anc/compile/%%3A^3A1^3A1168FE%%header.tpl.php +++ /dev/null @@ -1,70 +0,0 @@ - - array(array('modifier', 'date_format', 'cms/header.tpl', 18, false),array('modifier', 'sprintf', 'cms/header.tpl', 27, false),)), $this); ?> - - - - - - - - ::Halo-Battle:: - <?php echo $this->_tpl_vars['titre']; ?> - - - - - - - -
-
- - -
\ No newline at end of file diff --git a/onyx2/modules/templates_anc/compile/%%45^45D^45DA3548%%chantierspatial.tpl.php b/onyx2/modules/templates_anc/compile/%%45^45D^45DA3548%%chantierspatial.tpl.php deleted file mode 100644 index bb6911b..0000000 --- a/onyx2/modules/templates_anc/compile/%%45^45D^45DA3548%%chantierspatial.tpl.php +++ /dev/null @@ -1,98 +0,0 @@ - - array(array('modifier', 'countdown', 'game/chantierspatial.tpl', 7, false),array('modifier', 'ucfirst', 'game/chantierspatial.tpl', 19, false),array('modifier', 'separerNombres', 'game/chantierspatial.tpl', 28, 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['files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyF'] => $this->_tpl_vars['file']): -?> - _tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyE'] => $this->_tpl_vars['element']): -?> - _tpl_vars['element']['5']): ?>
  • Prochain vaisseau : _tpl_vars['element']['4'])) ? $this->_run_mod_handler('countdown', true, $_tmp) : smarty_modifier_countdown($_tmp)); ?> -
  • -
  • _tpl_vars['element']['1']; ?> - _tpl_vars['element']['1'] > 1): ?>_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['noms_pluriel'][$this->_tpl_vars['element']['0']]; ?> -_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['noms_sing'][$this->_tpl_vars['element']['0']]; ?> - _tpl_vars['element']['2']): ?> (démolition) - _tpl_vars['element']['5']): ?> class="countdown">_tpl_vars['element']['3'])) ? $this->_run_mod_handler('countdown', true, $_tmp) : smarty_modifier_countdown($_tmp)); ?> - - Annuler un - Annuler tous
  • - - -_smarty_vars['capture']['expFile'] = ob_get_contents(); ob_end_clean(); ?> -_tpl_vars['files'] && $this->_smarty_vars['capture']['expFile']): ?> - _smarty_vars['capture']['expFile']; ?> - - -
  • Aucun vaisseau dans la file d'attente
  • - -
-

Arbre des technologies


-

_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['8'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -

-_tpl_vars['vaisseaux']): ?> -
-_tpl_vars['vaisseaux']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['vaisseau']): -?> -
-
_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['noms_sing'][$this->_tpl_vars['vaisseau']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -_tpl_vars['vaisseau']['nombre'] > 0): ?> (_tpl_vars['vaisseau']['nombre']; ?> - unité_tpl_vars['vaisseau']['nombre'] > 1): ?>s)
-
<?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['noms_sing'][$this->_tpl_vars['vaisseau']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
-

_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['descriptions'][$this->_tpl_vars['vaisseau']['id']]; ?> -

-
- _tpl_vars['vaisseau']['nombre'] > 0): ?>Nombre actuel : _tpl_vars['vaisseau']['nombre']; ?> -

- _tpl_vars['vaisseau']['nec_metal'] > 0): ?>Coût _tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?> - : _tpl_vars['vaisseau']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- _tpl_vars['vaisseau']['nec_cristal'] > 0): ?>Coût _tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?> - : _tpl_vars['vaisseau']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- _tpl_vars['vaisseau']['nec_hydrogene'] > 0): ?>Coût _tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?> - : _tpl_vars['vaisseau']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- Temps de construction : _tpl_vars['vaisseau']['temps']; ?> -
-
- _tpl_vars['vaisseau']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene || $this->_tpl_vars['vaisseau']['nec_cristal'] > $this->_tpl_vars['planete']->cristal || $this->_tpl_vars['vaisseau']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?>Ressources insuffisantes -
- - -
-
-
- -
-
Aucun vaisseau à construire actuellement.
-_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/onyx2/modules/templates_anc/compile/%%48^488^4889DF2B%%encours.tpl.php b/onyx2/modules/templates_anc/compile/%%48^488^4889DF2B%%encours.tpl.php deleted file mode 100644 index 11ab1c6..0000000 --- a/onyx2/modules/templates_anc/compile/%%48^488^4889DF2B%%encours.tpl.php +++ /dev/null @@ -1,102 +0,0 @@ - - array(array('modifier', 'date_format', 'game/diplomatie/encours.tpl', 7, 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; -$this->_smarty_include(array('smarty_include_tpl_file' => 'game/diplomatie/common.tpl', 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?> -

Déclarations de guerre

-_tpl_vars['guerres']): ?> -
    - _tpl_vars['guerres']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['pacte']): -?> -
  • [_tpl_vars['pacte']['tag']; ?> -] _tpl_vars['pacte']['nom_alliance']; ?> - depuis le _tpl_vars['pacte']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?> -_tpl_vars['planete']->id == $this->_tpl_vars['pacte']['id_alliance1'] && $this->_tpl_vars['pacte']['accepte'] != 2 ) || ( $this->_tpl_vars['planete']->id == $this->_tpl_vars['pacte']['id_alliance2'] && $this->_tpl_vars['pacte']['accepte'] == 2 )): ?>_tpl_vars['pacte']['accepte'] == 0): ?> - Une demande de cesser le feu est en cours_tpl_vars['planete']->permissions_alliance & 8): ?> - Demander un cesser le feu - Nous pouvons demander le cesser le feu_tpl_vars['pacte']['accepte'] == 0): ?>_tpl_vars['planete']->permissions_alliance & 8): ?> - Accepter le cesser le feu - Refuser le cesser le feu - Nos adversaires nous propose un cesser le feu - Nous ne pouvons pas demander de cesser le feu.
  • - -
- -

Aucune guerre n'est actuellement déclarée

- -
-

Pactes de non agression

-_tpl_vars['pnas']): ?> -
    - _tpl_vars['pnas']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['pacte']): -?> -
  • [_tpl_vars['pacte']['tag']; ?> -] _tpl_vars['pacte']['nom_alliance']; ?> - depuis le _tpl_vars['pacte']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?> -_tpl_vars['planete']->permissions_alliance & 8): ?> - Abroger le pacte
  • - -
- -

Aucun pacte de ce type n'est actuellement en vigueur

- -
-

Pactes commerciaux

-_tpl_vars['pcs']): ?> -
    - _tpl_vars['pcs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['pacte']): -?> -
  • [_tpl_vars['pacte']['tag']; ?> -] _tpl_vars['pacte']['nom_alliance']; ?> - depuis le _tpl_vars['pacte']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?> -_tpl_vars['planete']->permissions_alliance & 8): ?> - Abroger le pacte
  • - -
- -

Aucun pacte de ce type n'est actuellement en vigueur

- -
-

Pactes militaires

-_tpl_vars['pms']): ?> -
    - _tpl_vars['pms']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['pacte']): -?> -
  • [_tpl_vars['pacte']['tag']; ?> -] _tpl_vars['pacte']['nom_alliance']; ?> - depuis le _tpl_vars['pacte']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?> -_tpl_vars['planete']->permissions_alliance & 8): ?> - Abroger le pacte
  • - -
- -

Aucun pacte de ce type n'est actuellement en vigueur

- -_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/onyx2/modules/templates_anc/compile/%%49^49E^49EF4E4D%%batiments.tpl.php b/onyx2/modules/templates_anc/compile/%%49^49E^49EF4E4D%%batiments.tpl.php deleted file mode 100644 index 962b2cf..0000000 --- a/onyx2/modules/templates_anc/compile/%%49^49E^49EF4E4D%%batiments.tpl.php +++ /dev/null @@ -1,97 +0,0 @@ - - array(array('modifier', 'ucfirst', 'game/batiments.tpl', 14, false),array('modifier', 'countdown', 'game/batiments.tpl', 14, false),array('modifier', 'separerNombres', 'game/batiments.tpl', 33, 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['onglet'] == 0): ?> class="hilight">Tous - _tpl_vars['onglet'] & 1): ?> class="hilight">Mines/centrales - _tpl_vars['onglet'] & 2): ?> class="hilight">Civils - _tpl_vars['onglet'] & 4): ?> class="hilight">Militaires -
- -

File d'attente

-
    - - _tpl_vars['files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyF'] => $this->_tpl_vars['file']): -?> - _tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyE'] => $this->_tpl_vars['element']): -?> -
  • _tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing'][$this->_tpl_vars['element']['0']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -_tpl_vars['element']['1']): ?> (démolition) - _tpl_vars['element']['3']): ?> class="countdown">_tpl_vars['element']['2'])) ? $this->_run_mod_handler('countdown', true, $_tmp) : smarty_modifier_countdown($_tmp)); ?> - - Annuler
  • - - -_smarty_vars['capture']['expFile'] = ob_get_contents(); ob_end_clean(); ?> -_tpl_vars['files'] && $this->_smarty_vars['capture']['expFile']): ?> - _smarty_vars['capture']['expFile']; ?> - - -
  • Aucun bâtiment dans la file d'attente
  • - -
-

Arbre des technologies


-

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']): -?> -
-
_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing'][$this->_tpl_vars['batiment']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -_tpl_vars['batiment']['niveau'] > 0): ?> (Niveau _tpl_vars['batiment']['niveau']; ?> -)
-
<?php echo $this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing'][$this->_tpl_vars['batiment']['id']]; ?>
-

_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['descriptions'][$this->_tpl_vars['batiment']['id']]; ?> -

-
- _tpl_vars['batiment']['niveau'] > 0): ?>Niveau actuel : _tpl_vars['batiment']['niveau']; ?> -

- _tpl_vars['batiment']['nec_metal'] > 0): ?>Coût _tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?> - : _tpl_vars['batiment']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?> class="lack">_tpl_vars['batiment']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- _tpl_vars['batiment']['nec_cristal'] > 0): ?>Coût _tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?> - : _tpl_vars['batiment']['nec_cristal'] > $this->_tpl_vars['planete']->cristal): ?> class="lack">_tpl_vars['batiment']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- _tpl_vars['batiment']['nec_hydrogene'] > 0): ?>Coût _tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?> - : _tpl_vars['batiment']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene): ?> class="lack">_tpl_vars['batiment']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- Temps de construction : _tpl_vars['batiment']['temps']; ?> -
-
- _tpl_vars['batiment']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene || $this->_tpl_vars['batiment']['nec_cristal'] > $this->_tpl_vars['planete']->cristal || $this->_tpl_vars['batiment']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?>Ressources insuffisantes - _tpl_vars['planete']->casesRest >= 1): ?>Construire - _tpl_vars['batiment']['enfile'] !== false): ?>Arrêter - _tpl_vars['batiment']['niveau'] > 0): ?> Démolir un niveau -
-
- -
-_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/onyx2/modules/templates_anc/compile/%%50^50D^50DBF311%%erreur.tpl.php b/onyx2/modules/templates_anc/compile/%%50^50D^50DBF311%%erreur.tpl.php deleted file mode 100644 index 3416a0c..0000000 --- a/onyx2/modules/templates_anc/compile/%%50^50D^50DBF311%%erreur.tpl.php +++ /dev/null @@ -1,15 +0,0 @@ - -_tpl_vars; -$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/header.tpl', 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?> -
_tpl_vars['couleur']): ?> style="color: _tpl_vars['couleur']; ?> -;">_tpl_vars['message']; ?> -
-_tpl_vars; -$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/footer.tpl', 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?> \ No newline at end of file diff --git a/onyx2/modules/templates_anc/compile/%%55^559^55983BF1%%nouveau.tpl.php b/onyx2/modules/templates_anc/compile/%%55^559^55983BF1%%nouveau.tpl.php deleted file mode 100644 index dc46b4a..0000000 --- a/onyx2/modules/templates_anc/compile/%%55^559^55983BF1%%nouveau.tpl.php +++ /dev/null @@ -1,36 +0,0 @@ - -_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; -$this->_smarty_include(array('smarty_include_tpl_file' => 'game/diplomatie/common.tpl', 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?> -

Nouvelle déclaration de guerre

-
-
- Déclaration de guerre

-

- -
-
-

-

Nouveau pacte

-
-
-

-

- -
-
-_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/onyx2/modules/templates_anc/compile/%%55^55E^55EE897B%%gestion_common.tpl.php b/onyx2/modules/templates_anc/compile/%%55^55E^55EE897B%%gestion_common.tpl.php deleted file mode 100644 index 97267b6..0000000 --- a/onyx2/modules/templates_anc/compile/%%55^55E^55EE897B%%gestion_common.tpl.php +++ /dev/null @@ -1,12 +0,0 @@ - -
    - _tpl_vars['planete']->permissions_alliance & 32): ?>_tpl_vars['onglet'] == 'membres'): ?> class="hilight">Membres - _tpl_vars['planete']->permissions_alliance & 128): ?>_tpl_vars['onglet'] == 'grades'): ?> class="hilight">Grades - _tpl_vars['planete']->permissions_alliance & 64): ?>_tpl_vars['onglet'] == 'wings' || ( $this->_tpl_vars['onglet'] == 'alliance' && $this->_tpl_vars['planete']->wing )): ?> class="hilight">Wings - _tpl_vars['planete']->permissions_alliance & 128 && ! $this->_tpl_vars['planete']->wing): ?>_tpl_vars['onglet'] == 'alliance'): ?> class="hilight">Alliance -
\ No newline at end of file diff --git a/onyx2/modules/templates_anc/compile/%%57^575^575BA7B3%%caserne.tpl.php b/onyx2/modules/templates_anc/compile/%%57^575^575BA7B3%%caserne.tpl.php deleted file mode 100644 index 574a635..0000000 --- a/onyx2/modules/templates_anc/compile/%%57^575^575BA7B3%%caserne.tpl.php +++ /dev/null @@ -1,98 +0,0 @@ - - array(array('modifier', 'countdown', 'game/caserne.tpl', 7, false),array('modifier', 'ucfirst', 'game/caserne.tpl', 19, false),array('modifier', 'separerNombres', 'game/caserne.tpl', 28, 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['files']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyF'] => $this->_tpl_vars['file']): -?> - _tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyE'] => $this->_tpl_vars['element']): -?> - _tpl_vars['element']['5']): ?>
  • Prochaine unité : _tpl_vars['element']['4'])) ? $this->_run_mod_handler('countdown', true, $_tmp) : smarty_modifier_countdown($_tmp)); ?> -
  • -
  • _tpl_vars['element']['1']; ?> - _tpl_vars['element']['1'] > 1): ?>_tpl_vars['LANG'][$this->_tpl_vars['race']]['caserne']['noms_pluriel'][$this->_tpl_vars['element']['0']]; ?> -_tpl_vars['LANG'][$this->_tpl_vars['race']]['caserne']['noms_sing'][$this->_tpl_vars['element']['0']]; ?> - _tpl_vars['element']['2']): ?> (démolition) - _tpl_vars['element']['5']): ?> class="countdown">_tpl_vars['element']['3'])) ? $this->_run_mod_handler('countdown', true, $_tmp) : smarty_modifier_countdown($_tmp)); ?> - - Annuler un - Annuler tous
  • - - -_smarty_vars['capture']['expFile'] = ob_get_contents(); ob_end_clean(); ?> -_tpl_vars['files'] && $this->_smarty_vars['capture']['expFile']): ?> - _smarty_vars['capture']['expFile']; ?> - - -
  • Aucune unité dans la file d'attente
  • - -
-

Arbre des technologies


-

_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['9'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -

-_tpl_vars['unites']): ?> -
-_tpl_vars['unites']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['unite']): -?> -
-
_tpl_vars['LANG'][$this->_tpl_vars['race']]['caserne']['noms_sing'][$this->_tpl_vars['unite']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -_tpl_vars['unite']['nombre'] > 0): ?> (_tpl_vars['unite']['nombre']; ?> - unité_tpl_vars['unite']['nombre'] > 1): ?>s)
-
<?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['caserne']['noms_sing'][$this->_tpl_vars['unite']['id']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
-

_tpl_vars['LANG'][$this->_tpl_vars['race']]['caserne']['descriptions'][$this->_tpl_vars['unite']['id']]; ?> -

-
- _tpl_vars['unite']['nombre'] > 0): ?>Nombre actuel : _tpl_vars['unite']['nombre']; ?> -

- _tpl_vars['unite']['nec_metal'] > 0): ?>Coût _tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?> - : _tpl_vars['unite']['nec_metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- _tpl_vars['unite']['nec_cristal'] > 0): ?>Coût _tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?> - : _tpl_vars['unite']['nec_cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- _tpl_vars['unite']['nec_hydrogene'] > 0): ?>Coût _tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene']; ?> - : _tpl_vars['unite']['nec_hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
- Temps de construction : _tpl_vars['unite']['temps']; ?> -
-
- _tpl_vars['unite']['nec_hydrogene'] > $this->_tpl_vars['planete']->hydrogene || $this->_tpl_vars['unite']['nec_cristal'] > $this->_tpl_vars['planete']->cristal || $this->_tpl_vars['unite']['nec_metal'] > $this->_tpl_vars['planete']->metal): ?>Ressources insuffisantes -
- - -
-
-
- -
-
Aucune unité à entraîner actuellement.
-_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/onyx2/modules/templates_anc/compile/%%5A^5AB^5ABB1E3D%%mail_liste.tpl.php b/onyx2/modules/templates_anc/compile/%%5A^5AB^5ABB1E3D%%mail_liste.tpl.php deleted file mode 100644 index d7697d5..0000000 --- a/onyx2/modules/templates_anc/compile/%%5A^5AB^5ABB1E3D%%mail_liste.tpl.php +++ /dev/null @@ -1,49 +0,0 @@ - - array(array('modifier', 'escape', 'admin/mail_liste.tpl', 18, false),array('modifier', 'truncate', 'admin/mail_liste.tpl', 18, false),array('modifier', 'date_format', 'admin/mail_liste.tpl', 19, false),)), $this); ?> -_tpl_vars; -$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?> - - - - - - - - - - - -_tpl_vars['mails']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['ligne']): -?> - _tpl_vars['ligne']['statut'] >= 1): ?> style="background: #_tpl_vars['ligne']['statut'] == 1): ?>770000_tpl_vars['ligne']['statut'] == 2): ?>007700_tpl_vars['ligne']['statut'] == 3): ?>000077_tpl_vars['ligne']['statut'] == 4): ?>770077_tpl_vars['ligne']['statut'] == 5): ?>007777_tpl_vars['ligne']['statut'] == 6): ?>777700;"> - - - - - - - - -
ActionStatutEmetteurSujetDate
STAT
LIRE
SUPPR
_tpl_vars['ligne']['statut']; ?> -_tpl_vars['ligne']['pseudo']; ?> -_tpl_vars['ligne']['titre'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -
_tpl_vars['ligne']['contenu'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('truncate', true, $_tmp, 50) : smarty_modifier_truncate($_tmp, 50)); ?> -
_tpl_vars['ligne']['time'])) ? $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; -$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/onyx2/modules/templates_anc/compile/%%60^607^60713A13%%4.tpl.php b/onyx2/modules/templates_anc/compile/%%60^607^60713A13%%4.tpl.php deleted file mode 100644 index 6bd9725..0000000 --- a/onyx2/modules/templates_anc/compile/%%60^607^60713A13%%4.tpl.php +++ /dev/null @@ -1,26 +0,0 @@ - -_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; -$this->_smarty_include(array('smarty_include_tpl_file' => 'game/options/common.tpl', 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?> -

Recevoir des notifications par mail

-
-
-
-
-

-
-
-_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/onyx2/modules/templates_anc/compile/%%61^615^615EC1B7%%common.tpl.php b/onyx2/modules/templates_anc/compile/%%61^615^615EC1B7%%common.tpl.php deleted file mode 100644 index 0aeff9e..0000000 --- a/onyx2/modules/templates_anc/compile/%%61^615^615EC1B7%%common.tpl.php +++ /dev/null @@ -1,12 +0,0 @@ - -
    - _tpl_vars['onglet'] == 'ext'): ?> class="hilight">Extérieures - _tpl_vars['onglet'] == 'compte'): ?> class="hilight">Compte - _tpl_vars['onglet'] == 'jeu'): ?> class="hilight">Jeu - _tpl_vars['onglet'] == 'notif'): ?> class="hilight">Notifications -
\ No newline at end of file diff --git a/onyx2/modules/templates_anc/compile/%%62^620^620A3143%%rename.tpl.php b/onyx2/modules/templates_anc/compile/%%62^620^620A3143%%rename.tpl.php deleted file mode 100644 index f9021ed..0000000 --- a/onyx2/modules/templates_anc/compile/%%62^620^620A3143%%rename.tpl.php +++ /dev/null @@ -1,36 +0,0 @@ - - array(array('modifier', 'escape', 'game/rename.tpl', 7, 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); - ?> -

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.

-

Renommer la planète

-
-
<?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->nom_planete)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_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/onyx2/modules/templates_anc/compile/%%64^641^6412382A%%nm_postuler.tpl.php b/onyx2/modules/templates_anc/compile/%%64^641^6412382A%%nm_postuler.tpl.php deleted file mode 100644 index 6c6cf15..0000000 --- a/onyx2/modules/templates_anc/compile/%%64^641^6412382A%%nm_postuler.tpl.php +++ /dev/null @@ -1,26 +0,0 @@ - - array(array('modifier', 'capitalize', 'game/alliance/nm_postuler.tpl', 2, false),array('modifier', 'escape', 'game/alliance/nm_postuler.tpl', 2, false),array('modifier', 'bbcode', 'game/alliance/nm_postuler.tpl', 5, false),array('modifier', 'nl2br', 'game/alliance/nm_postuler.tpl', 5, 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); - ?> -

Postuler pour l'alliance : _tpl_vars['alliance']['nom_alliance'])) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -

-
-
-

_tpl_vars['alliance']['message_inscription'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('bbcode', true, $_tmp) : smarty_modifier_bbcode($_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/onyx2/modules/templates_anc/compile/%%65^653^653FF215%%envoyer_alli.tpl.php b/onyx2/modules/templates_anc/compile/%%65^653^653FF215%%envoyer_alli.tpl.php deleted file mode 100644 index 96da21d..0000000 --- a/onyx2/modules/templates_anc/compile/%%65^653^653FF215%%envoyer_alli.tpl.php +++ /dev/null @@ -1,38 +0,0 @@ - - array(array('modifier', 'escape', 'game/envoyer_alli.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); - ?> -

Messagerie

-
    - _tpl_vars['onglet'] != 'rapports' && $this->_tpl_vars['onglet'] != 'send' && $this->_tpl_vars['onglet'] != 'envoyer'): ?> class="hilight">Reçus_tpl_vars['alertMail']['0']): ?> (_tpl_vars['alertMail']['0']; ?> -) - _tpl_vars['onglet'] == 'rapports'): ?> class="hilight">Rapports_tpl_vars['alertMail']['1']): ?> (_tpl_vars['alertMail']['1']; ?> -) - _tpl_vars['onglet'] == 'send'): ?> class="hilight">Envoyés - _tpl_vars['onglet'] == 'envoyer'): ?> class="hilight">Ecrire -


-
-
-
-
-
- -
-
-_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/onyx2/modules/templates_anc/compile/%%69^69D^69D54D9C%%accueil.tpl.php b/onyx2/modules/templates_anc/compile/%%69^69D^69D54D9C%%accueil.tpl.php deleted file mode 100644 index cf94fe9..0000000 --- a/onyx2/modules/templates_anc/compile/%%69^69D^69D54D9C%%accueil.tpl.php +++ /dev/null @@ -1,233 +0,0 @@ - - array(array('modifier', 'escape', 'game/accueil.tpl', 2, false),array('modifier', 'upper', 'game/accueil.tpl', 2, false),array('modifier', 'date_format', 'game/accueil.tpl', 3, false),array('modifier', 'separerNombres', 'game/accueil.tpl', 25, false),array('modifier', 'ucfirst', 'game/accueil.tpl', 56, 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['planete']->nom_planete ) || ( @SURFACE == 'asteroide' && ! $this->_tpl_vars['planete']->nom_asteroide )): ?>Sans nom_tpl_vars['planete']->nom_planete)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -_tpl_vars['planete']->nom_asteroide)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> - (_tpl_vars['planete']->pseudo; ?> -[_tpl_vars['planete']->tag)) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)); ?> -] _tpl_vars['planete']->nom_alliance; ?> -)

- Heure du serveur : _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")); ?> - -

Événements

- -_tpl_vars['multi']): ?>Multicompte : évitez toute interaction avec _tpl_vars['multi']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['cmpt']): -?>_tpl_vars['cmpt']['id_util'] != $this->_tpl_vars['planete']->id_user): ?>_tpl_vars['key'] > 0): ?>, _tpl_vars['cmpt']['pseudo']; ?> - durant cette session.
-_tpl_vars['planete']->mv < 0): ?>Une demande de suppression de votre compte est en cours. Il sera supprimé sous 48h.
Si vous n'avez pas demandé la suppression de votre compte, contactez un opérateur au plus vite.

-_tpl_vars['radar']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['flottes']): -?> -_tpl_vars['flottes']['0']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['flotte']): -?> -_tpl_vars['flotte']['mission'] == 1): ?>

attaque: Une flotte ennemie en provenance de _tpl_vars['flotte']['nom_planete'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> - [_tpl_vars['flotte']['start_galaxie']; ?> -:_tpl_vars['flotte']['start_ss']; ?> -:_tpl_vars['flotte']['start_position']; ?> -] atteint la planète _tpl_vars['flottes']['1']['0'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> - [_tpl_vars['flottes']['1']['1']; ?> -:_tpl_vars['flottes']['1']['2']; ?> -:_tpl_vars['flottes']['1']['3']; ?> -] dans _tpl_vars['flotte']['arrive_time']; ?> -

-_tpl_vars['flotte']['mission'] == 2): ?>

transport: Une flotte en provenance de _tpl_vars['flotte']['nom_planete'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> - [_tpl_vars['flotte']['start_galaxie']; ?> -:_tpl_vars['flotte']['start_ss']; ?> -:_tpl_vars['flotte']['start_position']; ?> -] atteint la planète _tpl_vars['flottes']['1']['0'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> - [_tpl_vars['flottes']['1']['1']; ?> -:_tpl_vars['flottes']['1']['2']; ?> -:_tpl_vars['flottes']['1']['3']; ?> -] dans _tpl_vars['flotte']['arrive_time']; ?> -

-_tpl_vars['flotte']['mission'] == 6 || $this->_tpl_vars['flotte']['mission'] == 7): ?>

stationnement/don: Une flotte en provenance de _tpl_vars['flotte']['nom_planete'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> - [_tpl_vars['flotte']['start_galaxie']; ?> -:_tpl_vars['flotte']['start_ss']; ?> -:_tpl_vars['flotte']['start_position']; ?> -] atteint la planète _tpl_vars['flottes']['1']['0'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> - [_tpl_vars['flottes']['1']['1']; ?> -:_tpl_vars['flottes']['1']['2']; ?> -:_tpl_vars['flottes']['1']['3']; ?> -] dans _tpl_vars['flotte']['arrive_time']; ?> -

- - - -_tpl_vars['alertMail']['0'] + $this->_tpl_vars['alertMail']['1'] >= 1): ?>

messagerie: _tpl_vars['alertMail']['0']): ?>_tpl_vars['alertMail']['0']; ?> - message_tpl_vars['alertMail']['0'] > 1): ?>s_tpl_vars['alertMail']['0'] != 0 && $this->_tpl_vars['alertMail']['1'] != 0): ?> et non lu_tpl_vars['alertMail']['1']): ?>_tpl_vars['alertMail']['1']; ?> - rapport_tpl_vars['alertMail']['1'] > 1): ?>s non lu

- -_smarty_vars['capture']['events'] = ob_get_contents(); ob_end_clean(); ?> -_smarty_vars['capture']['events']): ?> - _smarty_vars['capture']['events']; ?> - - -

Rien à signaler !

- -

Infos

-

Diamètre: _tpl_vars['diametre'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> - km (_tpl_vars['planete']->casesRest; ?> - case_tpl_vars['planete']->casesRest > 1): ?>s disponible_tpl_vars['planete']->casesRest > 1): ?>s sur _tpl_vars['planete']->cases; ?> -)

-

Race : _tpl_vars['planete']->race; ?> -

-

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

- -

population: _tpl_vars['planete']->population)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -

-

crédits: _tpl_vars['planete']->credits)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -

-

Classement: _tpl_vars['planete']->place_points == '0'): ?>non classé_tpl_vars['planete']->place_points; ?> -_tpl_vars['planete']->place_points == '1'): ?>erème (_tpl_vars['planete']->points)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> - points)

- -

nombre de membres: _tpl_vars['planete']->details['nb_membres'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -

-

fondateur: _tpl_vars['planete']->fondateur->pseudo; ?> -

-

crédits: _tpl_vars['planete']->credits_alliance)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -

-

Classement: _tpl_vars['planete']->place_points == '0'): ?>non classé_tpl_vars['planete']->place_points; ?> -_tpl_vars['planete']->place_points == '1'): ?>erème (_tpl_vars['planete']->points_alliance)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> - points)

- - _tpl_vars['alliance']): ?>

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

- - -assign('i', false); ?> -_tpl_vars['fileBat']): ?> -

-_tpl_vars['fileBat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyF'] => $this->_tpl_vars['file']): -?> - _tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyE'] => $this->_tpl_vars['element']): -?> - _tpl_vars['keyE'] < 3): ?>_tpl_vars['i'] == true): ?> - assign('i', true); ?>Bâtiments : _tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing'][$this->_tpl_vars['element']['0']]; ?> -_tpl_vars['element']['1']): ?> (démolition)_tpl_vars['keyE'] == 3): ?>... - - -

- -assign('i', false); ?> -_tpl_vars['fileCas']): ?> -

-_tpl_vars['fileCas']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyF'] => $this->_tpl_vars['file']): -?> - _tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyE'] => $this->_tpl_vars['element']): -?> - _tpl_vars['keyE'] < 3): ?>_tpl_vars['i'] == true): ?> - assign('i', true); ?>_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['9'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> - : _tpl_vars['element']['1']; ?> - _tpl_vars['element']['1'] > 1): ?>_tpl_vars['LANG'][$this->_tpl_vars['race']]['caserne']['noms_pluriel'][$this->_tpl_vars['element']['0']]; ?> -_tpl_vars['LANG'][$this->_tpl_vars['race']]['caserne']['noms_sing'][$this->_tpl_vars['element']['0']]; ?> -_tpl_vars['element']['2']): ?> (démantèlement)_tpl_vars['keyE'] == 3): ?>... - - -

- -assign('i', false); ?> -_tpl_vars['fileVais']): ?> -

-_tpl_vars['fileVais']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyF'] => $this->_tpl_vars['file']): -?> - _tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyE'] => $this->_tpl_vars['element']): -?> - _tpl_vars['keyE'] < 3): ?>_tpl_vars['i'] == true): ?> - assign('i', true); ?>_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['8'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> - : _tpl_vars['element']['1']; ?> - _tpl_vars['element']['1'] > 1): ?>_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['noms_pluriel'][$this->_tpl_vars['element']['0']]; ?> -_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['noms_sing'][$this->_tpl_vars['element']['0']]; ?> -_tpl_vars['element']['2']): ?> (démantèlement)_tpl_vars['keyE'] == 3): ?>... - - -

- -assign('i', false); ?> -_tpl_vars['fileTer']): ?> -

-_tpl_vars['fileTer']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyF'] => $this->_tpl_vars['file']): -?> - _tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyE'] => $this->_tpl_vars['element']): -?> - _tpl_vars['keyE'] < 3): ?>_tpl_vars['i'] == true): ?> - assign('i', true); ?>_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['7'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> - : _tpl_vars['element']['1']; ?> - _tpl_vars['element']['1'] > 1): ?>_tpl_vars['LANG'][$this->_tpl_vars['race']]['terrestre']['noms_pluriel'][$this->_tpl_vars['element']['0']]; ?> -_tpl_vars['LANG'][$this->_tpl_vars['race']]['terrestre']['noms_sing'][$this->_tpl_vars['element']['0']]; ?> -_tpl_vars['element']['2']): ?> (démantèlement)_tpl_vars['keyE'] == 3): ?>... - - -

- -assign('i', false); ?> -_tpl_vars['fileTech']): ?> -

-_tpl_vars['fileTech']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyF'] => $this->_tpl_vars['file']): -?> - _tpl_vars['file']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['keyE'] => $this->_tpl_vars['element']): -?> - _tpl_vars['keyE'] < 3): ?>_tpl_vars['i'] == true): ?> - assign('i', true); ?>_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['6'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> - : _tpl_vars['LANG'][$this->_tpl_vars['race']]['technologies']['noms_sing'][$this->_tpl_vars['element']['0']][$this->_tpl_vars['element']['1']]; ?> -_tpl_vars['keyE'] == 3): ?>... - - -

- -_smarty_vars['capture']['expFile'] = ob_get_contents(); ob_end_clean(); ?> -

En cours sur la planète

-_smarty_vars['capture']['expFile']): ?> - _smarty_vars['capture']['expFile']; ?> - - -

Tous les chantiers sont terminés !

- - -

Infos de l'alliance

- _tpl_vars['planete']->details['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/onyx2/modules/templates_anc/compile/%%6E^6ED^6ED0416E%%bdd.tpl.php b/onyx2/modules/templates_anc/compile/%%6E^6ED^6ED0416E%%bdd.tpl.php deleted file mode 100644 index e4782ed..0000000 --- a/onyx2/modules/templates_anc/compile/%%6E^6ED^6ED0416E%%bdd.tpl.php +++ /dev/null @@ -1,64 +0,0 @@ - - array(array('modifier', 'escape', 'admin/bdd.tpl', 4, 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); - ?> - -

Réponse de la base de données - Aller à la requête

-

Requête : _run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -

- _tpl_vars['affected']): ?> -

Enregistrement(s) affecté(s) : _tpl_vars['affected']; ?> -

- - _tpl_vars['erreur']): ?> -

Erreur : _tpl_vars['erreur']; ?> -

- - _tpl_vars['reponses']): ?> -
- - - _tpl_vars['reponses']['0']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['reponse']): -?> - - - - _tpl_vars['reponses']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['reponse']): -?> - - _tpl_vars['reponse']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['ligne']): -?> - - - - -
_tpl_vars['key']; ?> -
_tpl_vars['lien']): ?>_tpl_vars['ligne']; ?> -
-
- - -

Administration de la base de donné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/onyx2/modules/templates_anc/compile/%%71^717^7172D774%%ressources.tpl.php b/onyx2/modules/templates_anc/compile/%%71^717^7172D774%%ressources.tpl.php deleted file mode 100644 index 907e47d..0000000 --- a/onyx2/modules/templates_anc/compile/%%71^717^7172D774%%ressources.tpl.php +++ /dev/null @@ -1,68 +0,0 @@ - - array(array('modifier', 'ucfirst', 'game/ressources.tpl', 5, false),array('modifier', 'separerNombres', 'game/ressources.tpl', 7, 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 : Tableau récapitulatif des productions par heure

-
- - - - - _tpl_vars['planete']->batiments['1']): ?> - _tpl_vars['planete']->batiments['2']): ?> - - _tpl_vars['planete']->batiments['4']): ?> - - _tpl_vars['planete']->energieConso >= $this->_tpl_vars['planete']->energie): ?> class="lack">_tpl_vars['ressources_conso']['4'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> - - -
Coefficient_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['energie'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -
_tpl_vars['planete']->batiments['0']; ?> - _tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['0'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -%_tpl_vars['ressources_prod']['0'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -00-_tpl_vars['ressources_conso']['0'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
_tpl_vars['planete']->batiments['1']; ?> - _tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['1'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -%0_tpl_vars['ressources_prod']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -0-_tpl_vars['ressources_conso']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
_tpl_vars['planete']->batiments['2']; ?> - _tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['2'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -%00_tpl_vars['ressources_prod']['2'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> --_tpl_vars['ressources_conso']['2'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
_tpl_vars['planete']->batiments['3']; ?> - _tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['3'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -%000_tpl_vars['ressources_prod']['3'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
_tpl_vars['planete']->batiments['4']; ?> - _tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['4'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -%00-_tpl_vars['ressources_conso']['3'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -_tpl_vars['ressources_prod']['4'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
_tpl_vars['planete']->batiments['10']; ?> - _tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['10'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> --_tpl_vars['ressources_silo']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -_tpl_vars['ressources_silo']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -_tpl_vars['ressources_silo']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -0
Total-_tpl_vars['ressources_prod']['0'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -_tpl_vars['ressources_prod']['1'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -_tpl_vars['planete']->batiments['3']): ?>_tpl_vars['ressources_toto']['0'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -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/onyx2/modules/templates_anc/compile/%%74^745^745D5B0F%%mini.tpl.php b/onyx2/modules/templates_anc/compile/%%74^745^745D5B0F%%mini.tpl.php deleted file mode 100644 index e21f9bb..0000000 --- a/onyx2/modules/templates_anc/compile/%%74^745^745D5B0F%%mini.tpl.php +++ /dev/null @@ -1,45 +0,0 @@ - - array(array('modifier', 'sprintf', 'cms/mini.tpl', 21, false),)), $this); ?> -_tpl_vars; -$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/header.tpl', 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?> -
-
_tpl_vars['LANG']['accueil']['login']['titre']; ?> -
-
-
-
- - - - - - - _tpl_vars['serveur_name']; ?> - - _tpl_vars['LANG']['accueil']['login']['forgotMdp']; ?> - - -
-
-
-
- -
_tpl_vars['LANG']['accueil']['inscription']['texte'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, $this->_tpl_vars['link']['inscription'], $this->_tpl_vars['link']['inscription'], $this->_tpl_vars['link']['inscription']) : smarty_modifier_sprintf($_tmp, $this->_tpl_vars['link']['inscription'], $this->_tpl_vars['link']['inscription'], $this->_tpl_vars['link']['inscription'])); ?> -
-
- Halo.fr -
- -_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/onyx2/modules/templates_anc/compile/%%76^76E^76E04217%%archives.tpl.php b/onyx2/modules/templates_anc/compile/%%76^76E^76E04217%%archives.tpl.php deleted file mode 100644 index cf5bb1d..0000000 --- a/onyx2/modules/templates_anc/compile/%%76^76E^76E04217%%archives.tpl.php +++ /dev/null @@ -1,94 +0,0 @@ - - array(array('modifier', 'date_format', 'game/diplomatie/archives.tpl', 7, 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; -$this->_smarty_include(array('smarty_include_tpl_file' => 'game/diplomatie/common.tpl', 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?> -

Déclarations de guerre

-_tpl_vars['guerres']): ?> -
    - _tpl_vars['guerres']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['pacte']): -?> -
  • [_tpl_vars['pacte']['tag']; ?> -] _tpl_vars['pacte']['nom_alliance']; ?> - déclarée le _tpl_vars['pacte']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?> - et terminiée le _tpl_vars['pacte']['time_fin'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?> -
  • - -
- -

Aucune guerre n'a été déclarée

- -
-

Pactes de non agression

-_tpl_vars['pnas']): ?> -
    - _tpl_vars['pnas']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['pacte']): -?> -
  • [_tpl_vars['pacte']['tag']; ?> -] _tpl_vars['pacte']['nom_alliance']; ?> - créé le _tpl_vars['pacte']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?> - et abrogé le _tpl_vars['pacte']['time_fin'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?> -
  • - -
- -

Aucun pacte de ce type n'a encore été signé

- -
-

Pactes commerciaux

-_tpl_vars['pcs']): ?> -
    - _tpl_vars['pcs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['pacte']): -?> -
  • [_tpl_vars['pacte']['tag']; ?> -] _tpl_vars['pacte']['nom_alliance']; ?> - créé le _tpl_vars['pacte']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?> - et abrogé le _tpl_vars['pacte']['time_fin'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?> -
  • - -
- -

Aucun pacte de ce type n'a encore été signé

- -
-

Pactes militaires

-_tpl_vars['pms']): ?> -
    - _tpl_vars['pms']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['pacte']): -?> -
  • [_tpl_vars['pacte']['tag']; ?> -] _tpl_vars['pacte']['nom_alliance']; ?> - créé le _tpl_vars['pacte']['time_creation'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?> - et abrogé le _tpl_vars['pacte']['time_fin'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?> -
  • - -
- -

Aucun pacte de ce type n'a encore été signé

- -_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/onyx2/modules/templates_anc/compile/%%77^777^777051D7%%bandeau.tpl.php b/onyx2/modules/templates_anc/compile/%%77^777^777051D7%%bandeau.tpl.php deleted file mode 100644 index 69cda00..0000000 --- a/onyx2/modules/templates_anc/compile/%%77^777^777051D7%%bandeau.tpl.php +++ /dev/null @@ -1,55 +0,0 @@ - - array(array('modifier', 'escape', 'admin/bandeau.tpl', 14, 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); - ?> -

Informations visibles

- - - - - - - - -_tpl_vars['tableau']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['ligne']): -?> - - - _tpl_vars['ligne']['color']): ?> style="color: _tpl_vars['ligne']['color']; ?> -;">_tpl_vars['ligne']['texte'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> - - - - -
ActionTexte
EDIT | SUPPR
-

_tpl_vars['id'] == 'add'): ?>AjouterModifier une information_tpl_vars['id'] != 'add'): ?> : _tpl_vars['id']; ?> -

-
-
-

-

- -
-
-

Gestion du cache

- Mettre à jour le cache -_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/onyx2/modules/templates_anc/compile/%%77^779^7791756A%%gestion_alliance.tpl.php b/onyx2/modules/templates_anc/compile/%%77^779^7791756A%%gestion_alliance.tpl.php deleted file mode 100644 index 5e4b528..0000000 --- a/onyx2/modules/templates_anc/compile/%%77^779^7791756A%%gestion_alliance.tpl.php +++ /dev/null @@ -1,100 +0,0 @@ - - array(array('modifier', 'escape', 'game/alliance/gestion_alliance.tpl', 17, 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; -$this->_smarty_include(array('smarty_include_tpl_file' => 'game/alliance/gestion_common.tpl', 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?> -

Designation de l'alliance


- _tpl_vars['planete']->nom_alliance; ?> -
- _tpl_vars['planete']->tag; ?> -
- _tpl_vars['planete']->race; ?> -

- Pour changer le tag ou le nom de votre alliance, veuillez contacter un opérateur.


-
-
-

-

-
-
-

Communication et défense de l'alliance


-
-
-

-
-

-

-
-
-

Paramètres des moyens de communication


-
-
-
-
-
-
-
-
- Laissez l'adresse du serveur IRC vide pour utiliser le chat par défaut du jeu.


-

-
-
-

Réglages des inscriptions


-
-
-

-

-
-

-
-

-
-
- _tpl_vars['planete']->fondateur == $this->_tpl_vars['planete']->id_user): ?> -

Changer de fondateur


-
-
- Vous êtres actuellement le fondateur de l'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/onyx2/modules/templates_anc/compile/%%78^785^78576B26%%print_choixU.tpl.php b/onyx2/modules/templates_anc/compile/%%78^785^78576B26%%print_choixU.tpl.php deleted file mode 100644 index 145a3d8..0000000 --- a/onyx2/modules/templates_anc/compile/%%78^785^78576B26%%print_choixU.tpl.php +++ /dev/null @@ -1,40 +0,0 @@ - -_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['titre']; ?> -

- - - - - - - -
-
-
-
-
- -
-
-
-
-
-
-
- -
-
-
-_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/onyx2/modules/templates_anc/compile/%%78^78B^78BD8F6D%%pilori.tpl.php b/onyx2/modules/templates_anc/compile/%%78^78B^78BD8F6D%%pilori.tpl.php deleted file mode 100644 index 95309d9..0000000 --- a/onyx2/modules/templates_anc/compile/%%78^78B^78BD8F6D%%pilori.tpl.php +++ /dev/null @@ -1,40 +0,0 @@ - - array(array('modifier', 'escape', 'cms/pilori.tpl', 15, false),array('modifier', 'date_format', 'cms/pilori.tpl', 16, false),array('function', 'mailto', 'cms/pilori.tpl', 17, false),)), $this); ?> -_tpl_vars; -$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/header.tpl', 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?> - - - - - - - - - - -_tpl_vars['joueurs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['joueur']): -?> - - - - - - - - -
UtilisateurRaisonFin du banissementOpérateur
_tpl_vars['joueur']['pseudo']; ?> -_tpl_vars['joueur']['raisonmv'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -_tpl_vars['joueur']['mv'] == 3 || $this->_tpl_vars['joueur']['last_visite'] == 2147483647): ?>Définitif_tpl_vars['joueur']['last_visite']+259200)) ? $this->_run_mod_handler('date_format', true, $_tmp, "%a %d %B %Y %H:%M") : smarty_modifier_date_format($_tmp, "%a %d %B %Y %H:%M")))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -_tpl_vars['joueur']['operateurmv']): ?> $this->_tpl_vars['joueur']['mail'],'encode' => 'hex','text' => $this->_tpl_vars['joueur']['operateurmv']), $this);?> -Inconnu
-_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/onyx2/modules/templates_anc/compile/%%79^79F^79F1779C%%carte.tpl.php b/onyx2/modules/templates_anc/compile/%%79^79F^79F1779C%%carte.tpl.php deleted file mode 100644 index 4ad33e0..0000000 --- a/onyx2/modules/templates_anc/compile/%%79^79F^79F1779C%%carte.tpl.php +++ /dev/null @@ -1,86 +0,0 @@ - - array(array('modifier', 'escape', 'game/carte.tpl', 32, 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); - ?> -

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']): -?> - _tpl_vars['plan']['4']): ?> class="_tpl_vars['plan']['4']; ?> -"> - - - - - - - - - - -
Système: _tpl_vars['position']['0']; ?> -:_tpl_vars['position']['1']; ?> -
PositionNom planète
Alliance
Joueur
RaceGouvernementDébris _tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal']; ?> - | _tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal']; ?> -Fonctions
_tpl_vars['plan']['0']; ?> -_tpl_vars['plan']['7']): ?><?php echo ((is_array($_tmp=$this->_tpl_vars['plan']['1'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
- _tpl_vars['plan']['1']): ?>_tpl_vars['plan']['1'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -
_tpl_vars['plan']['6']): ?>[_tpl_vars['plan']['6']; ?> -]
_tpl_vars['plan']['5']; ?> - 
_tpl_vars['plan']['4']): ?><?php echo $this->_tpl_vars['plan']['4']; ?>
- _tpl_vars['plan']['4']): ?><?php echo $this->_tpl_vars['plan']['6']; ?>
- _tpl_vars['plan']['2']): ?>_tpl_vars['plan']['2']; ?> -0 | _tpl_vars['plan']['3']): ?>_tpl_vars['plan']['3']; ?> -0_tpl_vars['plan']['5']): ?>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/onyx2/modules/templates_anc/compile/%%7C^7C1^7C189E57%%vp.tpl.php b/onyx2/modules/templates_anc/compile/%%7C^7C1^7C189E57%%vp.tpl.php deleted file mode 100644 index e361484..0000000 --- a/onyx2/modules/templates_anc/compile/%%7C^7C1^7C189E57%%vp.tpl.php +++ /dev/null @@ -1,15 +0,0 @@ - -_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['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/onyx2/modules/templates_anc/compile/%%83^838^838FC9DE%%common.tpl.php b/onyx2/modules/templates_anc/compile/%%83^838^838FC9DE%%common.tpl.php deleted file mode 100644 index 1d4af2e..0000000 --- a/onyx2/modules/templates_anc/compile/%%83^838^838FC9DE%%common.tpl.php +++ /dev/null @@ -1,12 +0,0 @@ - -
    - _tpl_vars['onglet'] == 'actus'): ?> class="hilight">Actualités - _tpl_vars['onglet'] == 'encours'): ?> class="hilight">En place - _tpl_vars['onglet'] == 'archives'): ?> class="hilight">Résiliés/annulés - _tpl_vars['planete']->permissions_alliance & 8): ?>_tpl_vars['onglet'] == 'new'): ?> class="hilight">Nouveau -
\ No newline at end of file diff --git a/onyx2/modules/templates_anc/compile/%%87^872^872D6F7E%%gestion.tpl.php b/onyx2/modules/templates_anc/compile/%%87^872^872D6F7E%%gestion.tpl.php deleted file mode 100644 index b240b2e..0000000 --- a/onyx2/modules/templates_anc/compile/%%87^872^872D6F7E%%gestion.tpl.php +++ /dev/null @@ -1,122 +0,0 @@ - - array(array('function', 'html_options', 'game/gestion.tpl', 6, false),array('modifier', 'date_format', 'game/gestion.tpl', 7, false),array('modifier', 'escape', 'game/gestion.tpl', 26, false),array('modifier', 'ucfirst', 'game/gestion.tpl', 32, false),array('modifier', 'separerNombres', 'game/gestion.tpl', 35, 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); - ?> - -

Politique

-
-
-

-

-

- -
-
- -

Gestion

-
- - - - -_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['plan']): -?> - - - - - -_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['plan']): -?> - - - - - - - -_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['plan']): -?> -_tpl_vars['plan']['id'] == $this->_tpl_vars['planeteEC']['id']): ?>assign('plan', $this->_tpl_vars['planeteEC']); ?> - - - - - -_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['plan']): -?> -_tpl_vars['plan']['id'] == $this->_tpl_vars['planeteEC']['id']): ?>assign('plan', $this->_tpl_vars['planeteEC']); ?> - - - - - -_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['plan']): -?> -_tpl_vars['plan']['id'] == $this->_tpl_vars['planeteEC']['id']): ?>assign('plan', $this->_tpl_vars['planeteEC']); ?> - - - - - -_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['plan']): -?> -_tpl_vars['plan']['id'] == $this->_tpl_vars['planeteEC']['id']): ?>assign('plan', $this->_tpl_vars['planeteEC']); ?> - - - - - -_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['plan']): -?> -_tpl_vars['plan']['id'] == $this->_tpl_vars['planeteEC']['id']): ?>assign('plan', $this->_tpl_vars['planeteEC']); ?> - - - - - -_tpl_vars['planetes']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['plan']): -?> - - - - -
<?php echo $this->_tpl_vars['plan']['image']; ?>
-
_tpl_vars['plan']['nom_planete'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -
_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['metal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -_tpl_vars['plan']['metal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['cristal'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -_tpl_vars['plan']['cristal'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['hydrogene'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -_tpl_vars['plan']['hydrogene'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
_tpl_vars['LANG'][$this->_tpl_vars['race']]['ressources']['noms']['energie'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -_tpl_vars['plan']['energie'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
Population_tpl_vars['plan']['population'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_tmp)); ?> -
Moral_tpl_vars['plan']['moral']*100)) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_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/onyx2/modules/templates_anc/compile/%%8B^8B5^8B5682FA%%operateur.tpl.php b/onyx2/modules/templates_anc/compile/%%8B^8B5^8B5682FA%%operateur.tpl.php deleted file mode 100644 index a924490..0000000 --- a/onyx2/modules/templates_anc/compile/%%8B^8B5^8B5682FA%%operateur.tpl.php +++ /dev/null @@ -1,59 +0,0 @@ - -_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); - ?> -

Opérateurs de cette galaxie

-
    -_tpl_vars['operateurs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['operateur']): -?> -
  • _tpl_vars['operateur']['pseudo']; ?> - (_tpl_vars['operateur']['auth_level'] == 2): ?>Modérateur_tpl_vars['operateur']['auth_level'] == 3): ?>Maître de la bourse_tpl_vars['operateur']['auth_level'] == 4): ?>Opérateur en formation_tpl_vars['operateur']['auth_level'] == 5): ?>Opérateur_tpl_vars['operateur']['auth_level'] == 6): ?>Super-opérateur_tpl_vars['operateur']['auth_level'] == 7): ?>Administrateur_tpl_vars['operateur']['auth_level'] == 8): ?>Codeur)
  • - -
-

Problèmes connus

- Lisez les questions/réponses ci-dessous. Ne contactez un opérateur que si vous ne pouvez pas résoudre votre problème/demande.
- N'oubliez pas de contacter les opérateurs pour les raisons indiquées dans les règles du jeu. -
-_tpl_vars['questions']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['question']): -?> -
-
_tpl_vars['question']['0']; ?> -
-
_tpl_vars['question']['1']; ?> -_tpl_vars['auth_level'] > 4): ?>
-
- -
- _tpl_vars['auth_level'] >= 5): ?> -

Ajouter un problème connu

-
- - - -
-

Prendre contact avec les opérateurs de la galaxie

-
- - - -
-_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/onyx2/modules/templates_anc/compile/%%8D^8DC^8DC74F79%%erreur.tpl.php b/onyx2/modules/templates_anc/compile/%%8D^8DC^8DC74F79%%erreur.tpl.php deleted file mode 100644 index 816841b..0000000 --- a/onyx2/modules/templates_anc/compile/%%8D^8DC^8DC74F79%%erreur.tpl.php +++ /dev/null @@ -1,15 +0,0 @@ - -_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/onyx2/modules/templates_anc/compile/%%8F^8F5^8F5383E0%%ressources_alli.tpl.php b/onyx2/modules/templates_anc/compile/%%8F^8F5^8F5383E0%%ressources_alli.tpl.php deleted file mode 100644 index 5e673bf..0000000 --- a/onyx2/modules/templates_anc/compile/%%8F^8F5^8F5383E0%%ressources_alli.tpl.php +++ /dev/null @@ -1,24 +0,0 @@ - - array(array('modifier', 'ucfirst', 'game/ressources_alli.tpl', 5, false),array('modifier', 'separerNombres', 'game/ressources_alli.tpl', 5, 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); - ?> -

Donner des crédits à l'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/onyx2/modules/templates_anc/compile/%%93^937^93702918%%oubliemdp.tpl.php b/onyx2/modules/templates_anc/compile/%%93^937^93702918%%oubliemdp.tpl.php deleted file mode 100644 index 6099187..0000000 --- a/onyx2/modules/templates_anc/compile/%%93^937^93702918%%oubliemdp.tpl.php +++ /dev/null @@ -1,43 +0,0 @@ - -_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
-
-
- value=" -" /> -
value=" -" /> -

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/onyx2/modules/templates_anc/compile/%%96^96C^96C9174C%%gestion_wing.tpl.php b/onyx2/modules/templates_anc/compile/%%96^96C^96C9174C%%gestion_wing.tpl.php deleted file mode 100644 index a5e85bf..0000000 --- a/onyx2/modules/templates_anc/compile/%%96^96C^96C9174C%%gestion_wing.tpl.php +++ /dev/null @@ -1,68 +0,0 @@ - -_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; -$this->_smarty_include(array('smarty_include_tpl_file' => 'game/alliance/gestion_common.tpl', 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?> -

Gestion des wings

-_tpl_vars['wings']): ?> - - -_tpl_vars['wings']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['wing']): -?> - - - - - - - - - - - - - - - - - - - - -
_tpl_vars['wing']['nom_alliance']; ?> -_tpl_vars['wing']['race']; ?> -_tpl_vars['wing']['nbMembres']; ?> -_tpl_vars['wing']['pseudo_fondateur']): ?>_tpl_vars['wing']['pseudo_fondateur']; ?> -Attente de l'acceptation_tpl_vars['wing']['pseudo_fondateur']): ?>Messagesupprimer
Nom de la wingRaceNombre de membresFondateurMP fondateurActions
- -
L'alliance ne possède aucune wing.
- -

Créer une wing

-
-
-
-
-
-
- Le membre fondateur ne doit faire actuellement parti d'aucune alliance.
La wing sera créée une fois que le fondateur aura accepté votre demande.

- -
-
-_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/onyx2/modules/templates_anc/compile/%%A1^A19^A19D294C%%mail_mass.tpl.php b/onyx2/modules/templates_anc/compile/%%A1^A19^A19D294C%%mail_mass.tpl.php deleted file mode 100644 index 9ed28d9..0000000 --- a/onyx2/modules/templates_anc/compile/%%A1^A19^A19D294C%%mail_mass.tpl.php +++ /dev/null @@ -1,20 +0,0 @@ - -_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 courriel en masse à tous les joueurs de la galaxie

-
-
-

-

- -
-
-_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/onyx2/modules/templates_anc/compile/%%A8^A89^A891B563%%1.tpl.php b/onyx2/modules/templates_anc/compile/%%A8^A89^A891B563%%1.tpl.php deleted file mode 100644 index 349b1b1..0000000 --- a/onyx2/modules/templates_anc/compile/%%A8^A89^A891B563%%1.tpl.php +++ /dev/null @@ -1,39 +0,0 @@ - -_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; -$this->_smarty_include(array('smarty_include_tpl_file' => 'game/options/common.tpl', 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?> -

Signature pour forums

- Signature
http://_tpl_vars['url_serveur']; ?> -/sign.php?i=_tpl_vars['planete']->id_user; ?> -

- [url=http://www.halo-battle.fr][img]http://_tpl_vars['url_serveur']; ?> -/sign.php?i=_tpl_vars['planete']->id_user; ?> -[/img][/url] -


- Signature
http://_tpl_vars['url_serveur']; ?> -/sign.php?i=_tpl_vars['planete']->id_user; ?> -&f=1

- [url=http://www.halo-battle.fr][img]http://_tpl_vars['url_serveur']; ?> -/sign.php?i=_tpl_vars['planete']->id_user; ?> -&f=1[/img][/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/onyx2/modules/templates_anc/compile/%%AA^AA3^AA33D6B3%%flotte2.tpl.php b/onyx2/modules/templates_anc/compile/%%AA^AA3^AA33D6B3%%flotte2.tpl.php deleted file mode 100644 index f9393f4..0000000 --- a/onyx2/modules/templates_anc/compile/%%AA^AA3^AA33D6B3%%flotte2.tpl.php +++ /dev/null @@ -1,59 +0,0 @@ - - array(array('function', 'html_options', 'game/flotte2.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); - ?> -
-

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/onyx2/modules/templates_anc/compile/%%AB^AB2^AB252E11%%erreur.tpl.php b/onyx2/modules/templates_anc/compile/%%AB^AB2^AB252E11%%erreur.tpl.php deleted file mode 100644 index c4e5f8b..0000000 --- a/onyx2/modules/templates_anc/compile/%%AB^AB2^AB252E11%%erreur.tpl.php +++ /dev/null @@ -1,7 +0,0 @@ - -_tpl_vars; -$this->_smarty_include(array('smarty_include_tpl_file' => 'game/erreur.tpl', 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?> \ No newline at end of file diff --git a/onyx2/modules/templates_anc/compile/%%B0^B0B^B0B7E456%%print_choixP.tpl.php b/onyx2/modules/templates_anc/compile/%%B0^B0B^B0B7E456%%print_choixP.tpl.php deleted file mode 100644 index 8e67edd..0000000 --- a/onyx2/modules/templates_anc/compile/%%B0^B0B^B0B7E456%%print_choixP.tpl.php +++ /dev/null @@ -1,54 +0,0 @@ - -_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['titre']; ?> -

- - - - - - - - - - -
-
-
-
-
- -
-
-
-
-
-

-

-

-
- -
-
-
-
-
-
-
- -
-
-
-_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/onyx2/modules/templates_anc/compile/%%B6^B6A^B6A46224%%version.tpl.php b/onyx2/modules/templates_anc/compile/%%B6^B6A^B6A46224%%version.tpl.php deleted file mode 100644 index 65b8e93..0000000 --- a/onyx2/modules/templates_anc/compile/%%B6^B6A^B6A46224%%version.tpl.php +++ /dev/null @@ -1,63 +0,0 @@ - - array(array('modifier', 'nl2br', 'admin/version.tpl', 28, false),array('modifier', 'date_format', 'admin/version.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); - ?> -

Gestion du cache

- Mettre à jour le cache -

_tpl_vars['id'] == 'add'): ?>AjouterModifier une version_tpl_vars['id'] != 'add'): ?> : _tpl_vars['id']; ?> -

-
-
-
-

- -
-
-

Liste des versions

- - - - - - - - - - - -_tpl_vars['tableau']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['ligne']): -?> - - - - - - - - - -
ActionVersionInfosDatePar
EDIT | SUPPR_tpl_vars['ligne']['version']; ?> -_tpl_vars['ligne']['contenu'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> -_tpl_vars['ligne']['temps'])) ? $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['ligne']['pseudo']; ?> -
-_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/onyx2/modules/templates_anc/compile/%%B8^B8A^B8A391E0%%menu_asteroide.tpl.php b/onyx2/modules/templates_anc/compile/%%B8^B8A^B8A391E0%%menu_asteroide.tpl.php deleted file mode 100644 index 2242ff8..0000000 --- a/onyx2/modules/templates_anc/compile/%%B8^B8A^B8A391E0%%menu_asteroide.tpl.php +++ /dev/null @@ -1,122 +0,0 @@ - - array(array('modifier', 'ucfirst', 'game/menu_asteroide.tpl', 18, false),)), $this); ?> - -_tpl_vars['planete']->permissions_alliance & 1 || $this->_tpl_vars['planete']->permissions_alliance & 2): ?> - - - - \ No newline at end of file diff --git a/onyx2/modules/templates_anc/compile/%%BF^BFC^BFCDAC2B%%print.tpl.php b/onyx2/modules/templates_anc/compile/%%BF^BFC^BFCDAC2B%%print.tpl.php deleted file mode 100644 index 7ab9c7e..0000000 --- a/onyx2/modules/templates_anc/compile/%%BF^BFC^BFCDAC2B%%print.tpl.php +++ /dev/null @@ -1,33 +0,0 @@ - - array(array('modifier', 'date_format', 'admin/print.tpl', 7, false),array('modifier', 'truncate', 'admin/print.tpl', 7, 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['linkpage'] == 'vplanetes'): ?>Recalculer le hash (après déplacement d'une planète) - -_tpl_vars['tableau']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['ligne']): -?> - - - - - -
_tpl_vars['key']; ?> -_tpl_vars['ligne'] > 0 && ( ereg ( "^time" , $this->_tpl_vars['key'] ) || $this->_tpl_vars['key'] == 'last_visite' || $this->_tpl_vars['key'] == 'politique_lastchange' )): ?>_tpl_vars['ligne'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "timestamp : %d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "timestamp : %d/%m/%y %H:%M:%S")); ?> -_tpl_vars['ligne'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 82) : smarty_modifier_truncate($_tmp, 82)); ?> -
-_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/onyx2/modules/templates_anc/compile/%%C1^C1E^C1EB8435%%demarrage.tpl.php b/onyx2/modules/templates_anc/compile/%%C1^C1E^C1EB8435%%demarrage.tpl.php deleted file mode 100644 index e2c982f..0000000 --- a/onyx2/modules/templates_anc/compile/%%C1^C1E^C1EB8435%%demarrage.tpl.php +++ /dev/null @@ -1,59 +0,0 @@ - - array(array('modifier', 'escape', 'admin/demarrage.tpl', 16, false),array('modifier', 'date_format', 'admin/demarrage.tpl', 17, 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); - ?> -

Pages de démarrage

-

La première news est celle qui sera affichée à la connexion des joueurs

- - - - - - - - - -_tpl_vars['tableau']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['ligne']): -?> - - - - - - - -
ActionTitreDate de visibilité
EDIT | SUPPR_tpl_vars['ligne']['titre'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -_tpl_vars['ligne']['time'])) ? $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")); ?> -
-

Gestion du cache

- Mettre à jour le cache -

_tpl_vars['id'] == 'add'): ?>AjouterModifier une page de démarrage_tpl_vars['id'] != 'add'): ?> : _tpl_vars['id']; ?> -

-
-
-
-

- _tpl_vars['mod']['titre']): ?> Les utilisateurs ayant déjà vu la page la revéront de nouveau.


- -
-
-_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/onyx2/modules/templates_anc/compile/%%C3^C3A^C3A25C2F%%footer.tpl.php b/onyx2/modules/templates_anc/compile/%%C3^C3A^C3A25C2F%%footer.tpl.php deleted file mode 100644 index 3002fb5..0000000 --- a/onyx2/modules/templates_anc/compile/%%C3^C3A^C3A25C2F%%footer.tpl.php +++ /dev/null @@ -1,29 +0,0 @@ - -
- - -
-
-_tpl_vars['script']; ?> - - - - \ No newline at end of file diff --git a/onyx2/modules/templates_anc/compile/%%C9^C94^C94ACE02%%nm_accueil.tpl.php b/onyx2/modules/templates_anc/compile/%%C9^C94^C94ACE02%%nm_accueil.tpl.php deleted file mode 100644 index 1d29560..0000000 --- a/onyx2/modules/templates_anc/compile/%%C9^C94^C94ACE02%%nm_accueil.tpl.php +++ /dev/null @@ -1,25 +0,0 @@ - -_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

-
-
-
-
- -
-
-
-

Créer une alliance

-

_tpl_vars['fondation']): ?>Consulter le statut de votre allianceFonder une 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/onyx2/modules/templates_anc/compile/%%D0^D06^D06C4FC2%%chat_ajax.tpl.php b/onyx2/modules/templates_anc/compile/%%D0^D06^D06C4FC2%%chat_ajax.tpl.php deleted file mode 100644 index d0e3652..0000000 --- a/onyx2/modules/templates_anc/compile/%%D0^D06^D06C4FC2%%chat_ajax.tpl.php +++ /dev/null @@ -1,38 +0,0 @@ - -_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

- - _tpl_vars['planete']->permissions_alliance & 256): ?> -
-           -
-
- -
- - - - - - - - - - -
Vous vous connectez au chat
[pseudo] heure - 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/onyx2/modules/templates_anc/compile/%%D1^D1C^D1C6EECE%%print_key.tpl.php b/onyx2/modules/templates_anc/compile/%%D1^D1C^D1C6EECE%%print_key.tpl.php deleted file mode 100644 index 6946d1d..0000000 --- a/onyx2/modules/templates_anc/compile/%%D1^D1C^D1C6EECE%%print_key.tpl.php +++ /dev/null @@ -1,35 +0,0 @@ - -_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['key']; ?> -
-
- _tpl_vars['type']['0'] == 'text' || $this->_tpl_vars['type']['0'] == 'longtext'): ?>
- - - -
-
-_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/onyx2/modules/templates_anc/compile/%%D2^D25^D251E603%%3.tpl.php b/onyx2/modules/templates_anc/compile/%%D2^D25^D251E603%%3.tpl.php deleted file mode 100644 index cdf1c0b..0000000 --- a/onyx2/modules/templates_anc/compile/%%D2^D25^D251E603%%3.tpl.php +++ /dev/null @@ -1,31 +0,0 @@ - -_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; -$this->_smarty_include(array('smarty_include_tpl_file' => 'game/options/common.tpl', 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?> -

Recevoir des notifications par mail

-

Attention : page non fonctionnelle pour le moment !

-
-
- - - - - - - -
-
-_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/onyx2/modules/templates_anc/compile/%%D4^D4B^D4BFDB2F%%vip.tpl.php b/onyx2/modules/templates_anc/compile/%%D4^D4B^D4BFDB2F%%vip.tpl.php deleted file mode 100644 index 822eaa4..0000000 --- a/onyx2/modules/templates_anc/compile/%%D4^D4B^D4BFDB2F%%vip.tpl.php +++ /dev/null @@ -1,67 +0,0 @@ - - array(array('modifier', 'date_format', 'admin/vip.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 IP

- <<< page _tpl_vars['numpage']; ?> -/_tpl_vars['nbpage']; ?> - >>> - - - - - - - - - - - -_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 IPAction
_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']; ?> -Déclaré
Définitivement
- <<< page _tpl_vars['numpage']; ?> -/_tpl_vars['nbpage']; ?> - >>> -_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/onyx2/modules/templates_anc/compile/%%D7^D79^D7909A96%%menu_joueurs.tpl.php b/onyx2/modules/templates_anc/compile/%%D7^D79^D7909A96%%menu_joueurs.tpl.php deleted file mode 100644 index 3b13540..0000000 --- a/onyx2/modules/templates_anc/compile/%%D7^D79^D7909A96%%menu_joueurs.tpl.php +++ /dev/null @@ -1,123 +0,0 @@ - - array(array('modifier', 'ucfirst', 'game/menu_joueurs.tpl', 12, false),)), $this); ?> - - - \ No newline at end of file diff --git a/onyx2/modules/templates_anc/compile/%%E7^E70^E70DD496%%header.tpl.php b/onyx2/modules/templates_anc/compile/%%E7^E70^E70DD496%%header.tpl.php deleted file mode 100644 index 496e7e2..0000000 --- a/onyx2/modules/templates_anc/compile/%%E7^E70^E70DD496%%header.tpl.php +++ /dev/null @@ -1,179 +0,0 @@ - - array(array('modifier', 'date_format', 'game/header.tpl', 15, false),array('modifier', 'sprintf', 'game/header.tpl', 44, false),array('modifier', 'escape', 'game/header.tpl', 62, false),array('modifier', 'ucfirst', 'game/header.tpl', 77, false),array('modifier', 'separerNombres', 'game/header.tpl', 77, false),)), $this); ?> - - - -<?php if ($this->_tpl_vars['titre']): ?>.: <?php echo $this->_tpl_vars['titre']; ?> - - Halo-Battle :.<?php else: ?>.: Halo-Battle :.<?php endif; ?> - -_tpl_vars['race'] == 'covenant'): ?>_tpl_vars['auth_level'] >= 3): ?> -_tpl_vars['race'] == 'humain'): ?>_tpl_vars['auth_level'] >= 3): ?> - -_tpl_vars['scripth']; ?> - - - -
-
- - -
- -
- -_tpl_vars['page'] != 'admin' && $this->_tpl_vars['page'] != 'vide' && $this->_tpl_vars['page'] != 'amis' && $this->_tpl_vars['page'] != 'flotten' && $this->_tpl_vars['page'] != 'messagerie' && $this->_tpl_vars['page'] != 'pilori' && $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' && $this->_tpl_vars['page'] != 'operateur' && ! ereg ( "alliance/" , $this->_tpl_vars['page'] ) && ! ereg ( "diplomatie/" , $this->_tpl_vars['page'] )): ?> - - - - _tpl_vars['page'] != 'admin' && $this->_tpl_vars['page'] != 'operateur'): ?>
_tpl_vars['pub']; ?> -
- -
- \ No newline at end of file diff --git a/onyx2/modules/templates_anc/compile/%%E8^E8A^E8A38003%%menu.tpl.php b/onyx2/modules/templates_anc/compile/%%E8^E8A^E8A38003%%menu.tpl.php deleted file mode 100644 index f75c245..0000000 --- a/onyx2/modules/templates_anc/compile/%%E8^E8A^E8A38003%%menu.tpl.php +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/onyx2/modules/templates_anc/compile/%%ED^ED9^ED93AC63%%flotte1.tpl.php b/onyx2/modules/templates_anc/compile/%%ED^ED9^ED93AC63%%flotte1.tpl.php deleted file mode 100644 index a1b3c48..0000000 --- a/onyx2/modules/templates_anc/compile/%%ED^ED9^ED93AC63%%flotte1.tpl.php +++ /dev/null @@ -1,135 +0,0 @@ - - array(array('modifier', 'escape', 'game/flotte1.tpl', 11, false),array('modifier', 'date_format', 'game/flotte1.tpl', 15, false),array('modifier', 'ucfirst', 'game/flotte1.tpl', 62, false),array('modifier', 'separerNombres', 'game/flotte1.tpl', 63, 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']): ?> -_tpl_vars['flottesEC']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['flotteEC']): -?> - - - - - - - _tpl_vars['flotteEC']->printTime_ret()): ?> - - - - - - - - - - -
NomMissionNb.vaisseau(x)DestinationHeure d'arrivéeRetourHeure de retour
_tpl_vars['flotteEC']->nom)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -_tpl_vars['flotteEC']->txtMission($this->_tpl_vars['flotteEC']->mission); ?> -_tpl_vars['flotteEC']->nb_vais; ?> -_tpl_vars['flotteEC']->end_type == '2'): ?>_tpl_vars['flotteEC']->end_planete->nom_alliance; ?> - [_tpl_vars['flotteEC']->end_planete->galaxie; ?> -:_tpl_vars['flotteEC']->end_planete->ss; ?> -:A]_tpl_vars['flotteEC']->end_type == '1'): ?>[_tpl_vars['flotteEC']->end_planete; ?> -]_tpl_vars['flotteEC']->end_type == '3'): ?>[_tpl_vars['flotteEC']->end_planete; ?> -:A]_tpl_vars['flotteEC']->end_planete->nom_planete; ?> - [_tpl_vars['flotteEC']->end_planete->galaxie; ?> -:_tpl_vars['flotteEC']->end_planete->ss; ?> -:_tpl_vars['flotteEC']->end_planete->position; ?> -]_tpl_vars['flotteEC']->printTime_end())) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m %H:%M:%S")); ?> -_tpl_vars['flotteEC']->start_type == '2'): ?>_tpl_vars['flotteEC']->start_planete->nom_alliance; ?> - [_tpl_vars['flotteEC']->start_planete->galaxie; ?> -:_tpl_vars['flotteEC']->start_planete->ss; ?> -:A]_tpl_vars['flotteEC']->start_type == '1'): ?>[_tpl_vars['flotteEC']->start_planete; ?> -]_tpl_vars['flotteEC']->start_type == '3'): ?>[_tpl_vars['flotteEC']->start_planete; ?> -:A]_tpl_vars['flotteEC']->start_planete->nom_planete; ?> - [_tpl_vars['flotteEC']->start_planete->galaxie; ?> -:_tpl_vars['flotteEC']->start_planete->ss; ?> -:_tpl_vars['flotteEC']->start_planete->position; ?> -]_tpl_vars['flotteEC']->printTime_ret())) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m %H:%M:%S")); ?> ---
Aucune flotte en action
-_tpl_vars['flottesEP']): ?> -

Flottes en préparation

- - - - - -_tpl_vars['flottesEP']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['flotteEP']): -?> - - - - - - - - - -
StatutNomMissionNb.vaisseau(x)Destination
_tpl_vars['flotteEP']['statut']; ?> -_tpl_vars['flotteEP']['nom']): ?>_tpl_vars['flotteEP']['nom'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -Sans nom_tpl_vars['flotteEP']['mission']; ?> -_tpl_vars['flotteEP']['nbVaisseaux']; ?> -_tpl_vars['flotteEP']['end_position']): ?>[_tpl_vars['flotteEP']['end_galaxie']; ?> -:_tpl_vars['flotteEP']['end_systeme']; ?> -:_tpl_vars['flotteEP']['end_position']; ?> -]Indéterminé
-

Cette liste sera perdue après votre déconnexion

- -

Vaisseaux disponibles sur cette planète

-
- - - - - - - - - -_tpl_vars['planete']->vaisseaux; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['vaisseau']): -?> - _tpl_vars['vaisseau'] > 0): ?> - - - - - - - - - -
VaisseauxNombre disponibleMaxA envoyer
Flottes : _tpl_vars['nbflotte']; ?> -/_tpl_vars['nbflottemax']; ?> -
_tpl_vars['action']; ?> -
_tpl_vars['vaisseau'] > 1): ?>_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['noms_pluriel'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -_tpl_vars['LANG'][$this->_tpl_vars['race']]['vaisseaux']['noms_sing'][$this->_tpl_vars['key']])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?> -_tpl_vars['vaisseau'])) ? $this->_run_mod_handler('separerNombres', true, $_tmp) : smarty_modifier_separerNombres($_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/onyx2/modules/templates_anc/compile/%%ED^EDB^EDB593CD%%maj.tpl.php b/onyx2/modules/templates_anc/compile/%%ED^EDB^EDB593CD%%maj.tpl.php deleted file mode 100644 index 8a23064..0000000 --- a/onyx2/modules/templates_anc/compile/%%ED^EDB^EDB593CD%%maj.tpl.php +++ /dev/null @@ -1,28 +0,0 @@ - - array(array('modifier', 'sprintf', 'cms/maj.tpl', 11, false),)), $this); ?> -_tpl_vars; -$this->_smarty_include(array('smarty_include_tpl_file' => 'cms/header.tpl', 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?> -
-
_tpl_vars['titre']; ?> -
-
- _tpl_vars['texte']; ?> - -

- _tpl_vars['LANG']['modules']['fermerServeur']['thanks']; ?> - -
-
- -
_tpl_vars['LANG']['accueil']['inscription']['texte'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, $this->_tpl_vars['link']['inscription'], $this->_tpl_vars['link']['inscription'], $this->_tpl_vars['link']['inscription']) : smarty_modifier_sprintf($_tmp, $this->_tpl_vars['link']['inscription'], $this->_tpl_vars['link']['inscription'], $this->_tpl_vars['link']['inscription'])); ?> -
-_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/onyx2/modules/templates_anc/compile/%%EF^EF3^EF31CFB3%%2.tpl.php b/onyx2/modules/templates_anc/compile/%%EF^EF3^EF31CFB3%%2.tpl.php deleted file mode 100644 index c30e102..0000000 --- a/onyx2/modules/templates_anc/compile/%%EF^EF3^EF31CFB3%%2.tpl.php +++ /dev/null @@ -1,46 +0,0 @@ - -_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; -$this->_smarty_include(array('smarty_include_tpl_file' => 'game/options/common.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

-
-
-
-

-

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. Vous retrouverez vos files d'attentes dans l'état dans lequel vous les avez laissées.
-
Activer le mode vacances maintenant -

Supprimer son compte

- _tpl_vars['planete']->mv < 0): ?>Vous avez demandé la suppression de votre compte. Il sera supprimé sous 48h. -
Supprimer mon 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/onyx2/modules/templates_anc/compile/%%F0^F04^F04D8BCE%%vide.tpl.php b/onyx2/modules/templates_anc/compile/%%F0^F04^F04D8BCE%%vide.tpl.php deleted file mode 100644 index f7b8024..0000000 --- a/onyx2/modules/templates_anc/compile/%%F0^F04^F04D8BCE%%vide.tpl.php +++ /dev/null @@ -1,17 +0,0 @@ - -_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['titreP']): ?>_tpl_vars['titreP']; ?> -_tpl_vars['titre']; ?> -

- _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/onyx2/modules/templates_anc/compile/%%F2^F21^F21E08BB%%messagerie.tpl.php b/onyx2/modules/templates_anc/compile/%%F2^F21^F21E08BB%%messagerie.tpl.php deleted file mode 100644 index 3be125f..0000000 --- a/onyx2/modules/templates_anc/compile/%%F2^F21^F21E08BB%%messagerie.tpl.php +++ /dev/null @@ -1,59 +0,0 @@ - - array(array('modifier', 'date_format', 'game/messagerie.tpl', 13, false),array('modifier', 'nl2br', 'game/messagerie.tpl', 14, false),array('modifier', 'escape', 'game/messagerie.tpl', 14, false),array('modifier', 'bbcode', 'game/messagerie.tpl', 14, 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['titreR']; ?> -

-

- _tpl_vars['avertissement']; ?> - -
-_tpl_vars['messages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['message']): -?> - _tpl_vars['onglet'] != 'send' && $this->_tpl_vars['message']['vu']): ?> class="new"> -
_tpl_vars['onglet'] != 'rapports'): ?>_tpl_vars['message']['sujet']; ?> -_tpl_vars['onglet'] != 'rapports'): ?>_tpl_vars['message']['expediteur'] )): ?> _tpl_vars['onglet'] == 'send'): ?>vers _tpl_vars['message']['destinataire']; ?> -de _tpl_vars['message']['expediteur']; ?> - le _tpl_vars['message']['temps'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y à %H:%M") : smarty_modifier_date_format($_tmp, "%d/%m/%y à %H:%M")); ?> -
-
_tpl_vars['onglet'] == 'rapports'): ?>_tpl_vars['message']['contenu'])) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> -_tpl_vars['message']['contenu'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('bbcode', true, $_tmp) : smarty_modifier_bbcode($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> -_tpl_vars['onglet'] != 'send' && $this->_tpl_vars['onglet'] != 'rapports'): ?>
- - - _tpl_vars['onglet'] != 'send' && $this->_tpl_vars['messages']): ?>Supprimer le sélection : - _tpl_vars['messages']): ?>
Aucun _tpl_vars['onglet'] == 'rapports'): ?>rapportmessage
-
-_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/onyx2/modules/templates_anc/compile/%%F5^F53^F538D328%%inscription.tpl.php b/onyx2/modules/templates_anc/compile/%%F5^F53^F538D328%%inscription.tpl.php deleted file mode 100644 index 3350e02..0000000 --- a/onyx2/modules/templates_anc/compile/%%F5^F53^F538D328%%inscription.tpl.php +++ /dev/null @@ -1,46 +0,0 @@ - -_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); - ?> -
-
-

-
Laisser vide pour en générer un mot de passe aléatoire -
-
-

Race :
-

- - - - - -
- - - -
-

-
-
-

-

-
-
-_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/onyx2/modules/templates_anc/compile/%%F5^F59^F59AC7B0%%view.tpl.php b/onyx2/modules/templates_anc/compile/%%F5^F59^F59AC7B0%%view.tpl.php deleted file mode 100644 index 9f5d762..0000000 --- a/onyx2/modules/templates_anc/compile/%%F5^F59^F59AC7B0%%view.tpl.php +++ /dev/null @@ -1,53 +0,0 @@ - - array(array('modifier', 'upper', 'game/alliance/view.tpl', 2, false),array('modifier', 'escape', 'game/alliance/view.tpl', 2, false),array('modifier', 'capitalize', 'game/alliance/view.tpl', 2, false),array('modifier', 'nl2br', 'game/alliance/view.tpl', 28, 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)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -] _tpl_vars['alliance']['nom_alliance'])) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -

- - - - - - - - - - - - - - - - - - - - - - - -
Nom : _tpl_vars['alliance']['nom'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> - (_tpl_vars['alliance']['tag'])) ? $this->_run_mod_handler('upper', true, $_tmp) : smarty_modifier_upper($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -)
Membres : _tpl_vars['nbmembres']; ?> - (Liste des membres)
Votre grade :_tpl_vars['grade']; ?> -
Status des inscriptions :_tpl_vars['alliance']['etat_inscription']): ?>Ouvertes_tpl_vars['planete']->id_alliance): ?> - PostulerFermée
-

Présentation

- _tpl_vars['alliance']['presentation'])) ? $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/onyx2/modules/templates_anc/compile/%%F5^F5E^F5EB692F%%version.tpl.php b/onyx2/modules/templates_anc/compile/%%F5^F5E^F5EB692F%%version.tpl.php deleted file mode 100644 index 045095e..0000000 --- a/onyx2/modules/templates_anc/compile/%%F5^F5E^F5EB692F%%version.tpl.php +++ /dev/null @@ -1,25 +0,0 @@ - - array(array('modifier', 'nl2br', 'game/version.tpl', 5, 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); - ?> -

Historique des 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'])) ? $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/onyx2/modules/templates_anc/compile/%%FA^FA5^FA56ACEE%%gestion_grades.tpl.php b/onyx2/modules/templates_anc/compile/%%FA^FA5^FA56ACEE%%gestion_grades.tpl.php deleted file mode 100644 index d365591..0000000 --- a/onyx2/modules/templates_anc/compile/%%FA^FA5^FA56ACEE%%gestion_grades.tpl.php +++ /dev/null @@ -1,83 +0,0 @@ - - array(array('modifier', 'escape', 'game/alliance/gestion_grades.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); - ?> -_tpl_vars; -$this->_smarty_include(array('smarty_include_tpl_file' => 'game/alliance/gestion_common.tpl', 'smarty_include_vars' => array())); -$this->_tpl_vars = $_smarty_tpl_vars; -unset($_smarty_tpl_vars); - ?> -

Gestion des grades existants

- - -_tpl_vars['grades']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['grade']): -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_tpl_vars['grade']['nom'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> -_tpl_vars['grade']['auth'] & 1): ?>OuiNon_tpl_vars['grade']['auth'] & 2): ?>OuiNon_tpl_vars['grade']['auth'] & 4): ?>OuiNon_tpl_vars['grade']['auth'] & 8): ?>OuiNon_tpl_vars['grade']['auth'] & 16): ?>OuiNon_tpl_vars['grade']['auth'] & 32): ?>OuiNon_tpl_vars['grade']['auth'] & 64): ?>OuiNon_tpl_vars['grade']['auth'] & 128): ?>OuiNon_tpl_vars['grade']['auth'] & 256): ?>OuiNon_tpl_vars['grade']['auth'] & 512): ?>OuiNonSupprimer
NomBâtimentsVaisseauxFlottesDiplomatieCréditsMembresWingsAllianceChatMessagerieActions
-

_tpl_vars['grade_mod']): ?>ModifierCréer un grade


-
-
-

- _tpl_vars['grade_mod']['auth'] & 1): ?> checked="checked" />
- _tpl_vars['grade_mod']['auth'] & 2): ?> checked="checked" />
- _tpl_vars['grade_mod']['auth'] & 4): ?> checked="checked" />
- _tpl_vars['grade_mod']['auth'] & 8): ?> checked="checked" />
- _tpl_vars['grade_mod']['auth'] & 16): ?> checked="checked" />

- _tpl_vars['grade_mod']['auth'] & 32): ?> checked="checked" />
- _tpl_vars['grade_mod']['auth'] & 64): ?> checked="checked" />
- _tpl_vars['grade_mod']['auth'] & 128): ?> checked="checked" />
- _tpl_vars['grade_mod']['auth'] & 256): ?> checked="checked" />
- _tpl_vars['grade_mod']['auth'] & 512): ?> checked="checked" />
-
-
-
-_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/onyx2/modules/templates_anc/compile/%%FD^FDD^FDD175AE%%nm_statut.tpl.php b/onyx2/modules/templates_anc/compile/%%FD^FDD^FDD175AE%%nm_statut.tpl.php deleted file mode 100644 index 8ad9db2..0000000 --- a/onyx2/modules/templates_anc/compile/%%FD^FDD^FDD175AE%%nm_statut.tpl.php +++ /dev/null @@ -1,37 +0,0 @@ - - array(array('modifier', 'upper', 'game/alliance/nm_statut.tpl', 4, 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); - ?> -

Alliance en fondation

-

Nom : _tpl_vars['alliance']['nom_alliance']; ?> -

-

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


-

Signatures

-

Actuellement : _tpl_vars['nbSignatures']; ?> -

-

Nécessaire : -

-

Signataires : _tpl_vars['pseudos']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): - foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['pseudo']): -?>_tpl_vars['k'] != 0): ?>, _tpl_vars['pseudo']['pseudo']; ?> -


-

Autre

-

Quitter l'alliance

-

Lien de signature : http://_tpl_vars['url_serveur']; ?> -/_tpl_vars['first_page']; ?> -?p=alliances&signer=_tpl_vars['alliance']['lien']; ?> -

-_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/onyx2/modules/templates_anc/main.php b/onyx2/modules/templates_anc/main.php deleted file mode 100644 index 8cd2b22..0000000 --- a/onyx2/modules/templates_anc/main.php +++ /dev/null @@ -1,25 +0,0 @@ - diff --git a/onyx2/modules/templates_anc/smarty/Smarty.class.php b/onyx2/modules/templates_anc/smarty/Smarty.class.php deleted file mode 100644 index 95ec67b..0000000 --- a/onyx2/modules/templates_anc/smarty/Smarty.class.php +++ /dev/null @@ -1,1960 +0,0 @@ - - * @author Andrei Zmievski - * @package Smarty - * @version 2.6.22 - */ - -/* $Id: Smarty.class.php 2785 2008-09-18 21:04:12Z Uwe.Tews $ */ - -/** - * DIR_SEP isn't used anymore, but third party apps might - */ -if(!defined('DIR_SEP')) { - define('DIR_SEP', DIRECTORY_SEPARATOR); -} - -/** - * set SMARTY_DIR to absolute path to Smarty library files. - * if not defined, include_path will be used. Sets SMARTY_DIR only if user - * application has not already defined it. - */ - -if (!defined('SMARTY_DIR')) { - define('SMARTY_DIR', dirname(__FILE__) . DIRECTORY_SEPARATOR); -} - -if (!defined('SMARTY_CORE_DIR')) { - define('SMARTY_CORE_DIR', SMARTY_DIR . 'internals' . DIRECTORY_SEPARATOR); -} - -define('SMARTY_PHP_PASSTHRU', 0); -define('SMARTY_PHP_QUOTE', 1); -define('SMARTY_PHP_REMOVE', 2); -define('SMARTY_PHP_ALLOW', 3); - -/** - * @package Smarty - */ -class Smarty -{ - /**#@+ - * Smarty Configuration Section - */ - - /** - * The name of the directory where templates are located. - * - * @var string - */ - var $template_dir = 'templates'; - - /** - * The directory where compiled templates are located. - * - * @var string - */ - var $compile_dir = 'templates_c'; - - /** - * The directory where config files are located. - * - * @var string - */ - var $config_dir = 'configs'; - - /** - * An array of directories searched for plugins. - * - * @var array - */ - var $plugins_dir = array('plugins'); - - /** - * If debugging is enabled, a debug console window will display - * when the page loads (make sure your browser allows unrequested - * popup windows) - * - * @var boolean - */ - var $debugging = false; - - /** - * When set, smarty does uses this value as error_reporting-level. - * - * @var boolean - */ - var $error_reporting = null; - - /** - * This is the path to the debug console template. If not set, - * the default one will be used. - * - * @var string - */ - var $debug_tpl = ''; - - /** - * This determines if debugging is enable-able from the browser. - *
    - *
  • NONE => no debugging control allowed
  • - *
  • URL => enable debugging when SMARTY_DEBUG is found in the URL.
  • - *
- * @link http://www.foo.dom/index.php?SMARTY_DEBUG - * @var string - */ - var $debugging_ctrl = 'NONE'; - - /** - * This tells Smarty whether to check for recompiling or not. Recompiling - * does not need to happen unless a template or config file is changed. - * Typically you enable this during development, and disable for - * production. - * - * @var boolean - */ - var $compile_check = true; - - /** - * This forces templates to compile every time. Useful for development - * or debugging. - * - * @var boolean - */ - var $force_compile = false; - - /** - * This enables template caching. - *
    - *
  • 0 = no caching
  • - *
  • 1 = use class cache_lifetime value
  • - *
  • 2 = use cache_lifetime in cache file
  • - *
- * @var integer - */ - var $caching = 0; - - /** - * The name of the directory for cache files. - * - * @var string - */ - var $cache_dir = 'cache'; - - /** - * This is the number of seconds cached content will persist. - *
    - *
  • 0 = always regenerate cache
  • - *
  • -1 = never expires
  • - *
- * - * @var integer - */ - var $cache_lifetime = 3600; - - /** - * Only used when $caching is enabled. If true, then If-Modified-Since headers - * are respected with cached content, and appropriate HTTP headers are sent. - * This way repeated hits to a cached page do not send the entire page to the - * client every time. - * - * @var boolean - */ - var $cache_modified_check = false; - - /** - * This determines how Smarty handles "" tags in templates. - * possible values: - *
    - *
  • SMARTY_PHP_PASSTHRU -> print tags as plain text
  • - *
  • SMARTY_PHP_QUOTE -> escape tags as entities
  • - *
  • SMARTY_PHP_REMOVE -> remove php tags
  • - *
  • SMARTY_PHP_ALLOW -> execute php tags
  • - *
- * - * @var integer - */ - var $php_handling = SMARTY_PHP_PASSTHRU; - - /** - * This enables template security. When enabled, many things are restricted - * in the templates that normally would go unchecked. This is useful when - * untrusted parties are editing templates and you want a reasonable level - * of security. (no direct execution of PHP in templates for example) - * - * @var boolean - */ - var $security = false; - - /** - * This is the list of template directories that are considered secure. This - * is used only if {@link $security} is enabled. One directory per array - * element. {@link $template_dir} is in this list implicitly. - * - * @var array - */ - var $secure_dir = array(); - - /** - * These are the security settings for Smarty. They are used only when - * {@link $security} is enabled. - * - * @var array - */ - var $security_settings = array( - 'PHP_HANDLING' => false, - 'IF_FUNCS' => array('array', 'list', - 'isset', 'empty', - 'count', 'sizeof', - 'in_array', 'is_array', - 'true', 'false', 'null'), - 'INCLUDE_ANY' => false, - 'PHP_TAGS' => false, - 'MODIFIER_FUNCS' => array('count'), - 'ALLOW_CONSTANTS' => false - ); - - /** - * This is an array of directories where trusted php scripts reside. - * {@link $security} is disabled during their inclusion/execution. - * - * @var array - */ - var $trusted_dir = array(); - - /** - * The left delimiter used for the template tags. - * - * @var string - */ - var $left_delimiter = '{'; - - /** - * The right delimiter used for the template tags. - * - * @var string - */ - var $right_delimiter = '}'; - - /** - * The order in which request variables are registered, similar to - * variables_order in php.ini E = Environment, G = GET, P = POST, - * C = Cookies, S = Server - * - * @var string - */ - var $request_vars_order = 'EGPCS'; - - /** - * Indicates wether $HTTP_*_VARS[] (request_use_auto_globals=false) - * are uses as request-vars or $_*[]-vars. note: if - * request_use_auto_globals is true, then $request_vars_order has - * no effect, but the php-ini-value "gpc_order" - * - * @var boolean - */ - var $request_use_auto_globals = true; - - /** - * Set this if you want different sets of compiled files for the same - * templates. This is useful for things like different languages. - * Instead of creating separate sets of templates per language, you - * set different compile_ids like 'en' and 'de'. - * - * @var string - */ - var $compile_id = null; - - /** - * This tells Smarty whether or not to use sub dirs in the cache/ and - * templates_c/ directories. sub directories better organized, but - * may not work well with PHP safe mode enabled. - * - * @var boolean - * - */ - var $use_sub_dirs = false; - - /** - * This is a list of the modifiers to apply to all template variables. - * Put each modifier in a separate array element in the order you want - * them applied. example: array('escape:"htmlall"'); - * - * @var array - */ - var $default_modifiers = array(); - - /** - * This is the resource type to be used when not specified - * at the beginning of the resource path. examples: - * $smarty->display('file:index.tpl'); - * $smarty->display('db:index.tpl'); - * $smarty->display('index.tpl'); // will use default resource type - * {include file="file:index.tpl"} - * {include file="db:index.tpl"} - * {include file="index.tpl"} {* will use default resource type *} - * - * @var array - */ - var $default_resource_type = 'file'; - - /** - * The function used for cache file handling. If not set, built-in caching is used. - * - * @var null|string function name - */ - var $cache_handler_func = null; - - /** - * This indicates which filters are automatically loaded into Smarty. - * - * @var array array of filter names - */ - var $autoload_filters = array(); - - /**#@+ - * @var boolean - */ - /** - * This tells if config file vars of the same name overwrite each other or not. - * if disabled, same name variables are accumulated in an array. - */ - var $config_overwrite = true; - - /** - * This tells whether or not to automatically booleanize config file variables. - * If enabled, then the strings "on", "true", and "yes" are treated as boolean - * true, and "off", "false" and "no" are treated as boolean false. - */ - var $config_booleanize = true; - - /** - * This tells whether hidden sections [.foobar] are readable from the - * tempalates or not. Normally you would never allow this since that is - * the point behind hidden sections: the application can access them, but - * the templates cannot. - */ - var $config_read_hidden = false; - - /** - * This tells whether or not automatically fix newlines in config files. - * It basically converts \r (mac) or \r\n (dos) to \n - */ - var $config_fix_newlines = true; - /**#@-*/ - - /** - * If a template cannot be found, this PHP function will be executed. - * Useful for creating templates on-the-fly or other special action. - * - * @var string function name - */ - var $default_template_handler_func = ''; - - /** - * The file that contains the compiler class. This can a full - * pathname, or relative to the php_include path. - * - * @var string - */ - var $compiler_file = 'Smarty_Compiler.class.php'; - - /** - * The class used for compiling templates. - * - * @var string - */ - var $compiler_class = 'Smarty_Compiler'; - - /** - * The class used to load config vars. - * - * @var string - */ - var $config_class = 'Config_File'; - -/**#@+ - * END Smarty Configuration Section - * There should be no need to touch anything below this line. - * @access private - */ - /** - * where assigned template vars are kept - * - * @var array - */ - var $_tpl_vars = array(); - - /** - * stores run-time $smarty.* vars - * - * @var null|array - */ - var $_smarty_vars = null; - - /** - * keeps track of sections - * - * @var array - */ - var $_sections = array(); - - /** - * keeps track of foreach blocks - * - * @var array - */ - var $_foreach = array(); - - /** - * keeps track of tag hierarchy - * - * @var array - */ - var $_tag_stack = array(); - - /** - * configuration object - * - * @var Config_file - */ - var $_conf_obj = null; - - /** - * loaded configuration settings - * - * @var array - */ - var $_config = array(array('vars' => array(), 'files' => array())); - - /** - * md5 checksum of the string 'Smarty' - * - * @var string - */ - var $_smarty_md5 = 'f8d698aea36fcbead2b9d5359ffca76f'; - - /** - * Smarty version number - * - * @var string - */ - var $_version = '2.6.22'; - - /** - * current template inclusion depth - * - * @var integer - */ - var $_inclusion_depth = 0; - - /** - * for different compiled templates - * - * @var string - */ - var $_compile_id = null; - - /** - * text in URL to enable debug mode - * - * @var string - */ - var $_smarty_debug_id = 'SMARTY_DEBUG'; - - /** - * debugging information for debug console - * - * @var array - */ - var $_smarty_debug_info = array(); - - /** - * info that makes up a cache file - * - * @var array - */ - var $_cache_info = array(); - - /** - * default file permissions - * - * @var integer - */ - var $_file_perms = 0644; - - /** - * default dir permissions - * - * @var integer - */ - var $_dir_perms = 0771; - - /** - * registered objects - * - * @var array - */ - var $_reg_objects = array(); - - /** - * table keeping track of plugins - * - * @var array - */ - var $_plugins = array( - 'modifier' => array(), - 'function' => array(), - 'block' => array(), - 'compiler' => array(), - 'prefilter' => array(), - 'postfilter' => array(), - 'outputfilter' => array(), - 'resource' => array(), - 'insert' => array()); - - - /** - * cache serials - * - * @var array - */ - var $_cache_serials = array(); - - /** - * name of optional cache include file - * - * @var string - */ - var $_cache_include = null; - - /** - * indicate if the current code is used in a compiled - * include - * - * @var string - */ - var $_cache_including = false; - - /**#@-*/ - /** - * The class constructor. - */ - function Smarty() - { - $this->assign('SCRIPT_NAME', isset($_SERVER['SCRIPT_NAME']) ? $_SERVER['SCRIPT_NAME'] - : @$GLOBALS['HTTP_SERVER_VARS']['SCRIPT_NAME']); - } - - /** - * assigns values to template variables - * - * @param array|string $tpl_var the template variable name(s) - * @param mixed $value the value to assign - */ - function assign($tpl_var, $value = null) - { - if (is_array($tpl_var)){ - foreach ($tpl_var as $key => $val) { - if ($key != '') { - $this->_tpl_vars[$key] = $val; - } - } - } else { - if ($tpl_var != '') - $this->_tpl_vars[$tpl_var] = $value; - } - } - - /** - * assigns values to template variables by reference - * - * @param string $tpl_var the template variable name - * @param mixed $value the referenced value to assign - */ - function assign_by_ref($tpl_var, &$value) - { - if ($tpl_var != '') - $this->_tpl_vars[$tpl_var] = &$value; - } - - /** - * appends values to template variables - * - * @param array|string $tpl_var the template variable name(s) - * @param mixed $value the value to append - */ - function append($tpl_var, $value=null, $merge=false) - { - if (is_array($tpl_var)) { - // $tpl_var is an array, ignore $value - foreach ($tpl_var as $_key => $_val) { - if ($_key != '') { - if(!@is_array($this->_tpl_vars[$_key])) { - settype($this->_tpl_vars[$_key],'array'); - } - if($merge && is_array($_val)) { - foreach($_val as $_mkey => $_mval) { - $this->_tpl_vars[$_key][$_mkey] = $_mval; - } - } else { - $this->_tpl_vars[$_key][] = $_val; - } - } - } - } else { - if ($tpl_var != '' && isset($value)) { - if(!@is_array($this->_tpl_vars[$tpl_var])) { - settype($this->_tpl_vars[$tpl_var],'array'); - } - if($merge && is_array($value)) { - foreach($value as $_mkey => $_mval) { - $this->_tpl_vars[$tpl_var][$_mkey] = $_mval; - } - } else { - $this->_tpl_vars[$tpl_var][] = $value; - } - } - } - } - - /** - * appends values to template variables by reference - * - * @param string $tpl_var the template variable name - * @param mixed $value the referenced value to append - */ - function append_by_ref($tpl_var, &$value, $merge=false) - { - if ($tpl_var != '' && isset($value)) { - if(!@is_array($this->_tpl_vars[$tpl_var])) { - settype($this->_tpl_vars[$tpl_var],'array'); - } - if ($merge && is_array($value)) { - foreach($value as $_key => $_val) { - $this->_tpl_vars[$tpl_var][$_key] = &$value[$_key]; - } - } else { - $this->_tpl_vars[$tpl_var][] = &$value; - } - } - } - - - /** - * clear the given assigned template variable. - * - * @param string $tpl_var the template variable to clear - */ - function clear_assign($tpl_var) - { - if (is_array($tpl_var)) - foreach ($tpl_var as $curr_var) - unset($this->_tpl_vars[$curr_var]); - else - unset($this->_tpl_vars[$tpl_var]); - } - - - /** - * Registers custom function to be used in templates - * - * @param string $function the name of the template function - * @param string $function_impl the name of the PHP function to register - */ - function register_function($function, $function_impl, $cacheable=true, $cache_attrs=null) - { - $this->_plugins['function'][$function] = - array($function_impl, null, null, false, $cacheable, $cache_attrs); - - } - - /** - * Unregisters custom function - * - * @param string $function name of template function - */ - function unregister_function($function) - { - unset($this->_plugins['function'][$function]); - } - - /** - * Registers object to be used in templates - * - * @param string $object name of template object - * @param object &$object_impl the referenced PHP object to register - * @param null|array $allowed list of allowed methods (empty = all) - * @param boolean $smarty_args smarty argument format, else traditional - * @param null|array $block_functs list of methods that are block format - */ - function register_object($object, &$object_impl, $allowed = array(), $smarty_args = true, $block_methods = array()) - { - settype($allowed, 'array'); - settype($smarty_args, 'boolean'); - $this->_reg_objects[$object] = - array(&$object_impl, $allowed, $smarty_args, $block_methods); - } - - /** - * Unregisters object - * - * @param string $object name of template object - */ - function unregister_object($object) - { - unset($this->_reg_objects[$object]); - } - - - /** - * Registers block function to be used in templates - * - * @param string $block name of template block - * @param string $block_impl PHP function to register - */ - function register_block($block, $block_impl, $cacheable=true, $cache_attrs=null) - { - $this->_plugins['block'][$block] = - array($block_impl, null, null, false, $cacheable, $cache_attrs); - } - - /** - * Unregisters block function - * - * @param string $block name of template function - */ - function unregister_block($block) - { - unset($this->_plugins['block'][$block]); - } - - /** - * Registers compiler function - * - * @param string $function name of template function - * @param string $function_impl name of PHP function to register - */ - function register_compiler_function($function, $function_impl, $cacheable=true) - { - $this->_plugins['compiler'][$function] = - array($function_impl, null, null, false, $cacheable); - } - - /** - * Unregisters compiler function - * - * @param string $function name of template function - */ - function unregister_compiler_function($function) - { - unset($this->_plugins['compiler'][$function]); - } - - /** - * Registers modifier to be used in templates - * - * @param string $modifier name of template modifier - * @param string $modifier_impl name of PHP function to register - */ - function register_modifier($modifier, $modifier_impl) - { - $this->_plugins['modifier'][$modifier] = - array($modifier_impl, null, null, false); - } - - /** - * Unregisters modifier - * - * @param string $modifier name of template modifier - */ - function unregister_modifier($modifier) - { - unset($this->_plugins['modifier'][$modifier]); - } - - /** - * Registers a resource to fetch a template - * - * @param string $type name of resource - * @param array $functions array of functions to handle resource - */ - function register_resource($type, $functions) - { - if (count($functions)==4) { - $this->_plugins['resource'][$type] = - array($functions, false); - - } elseif (count($functions)==5) { - $this->_plugins['resource'][$type] = - array(array(array(&$functions[0], $functions[1]) - ,array(&$functions[0], $functions[2]) - ,array(&$functions[0], $functions[3]) - ,array(&$functions[0], $functions[4])) - ,false); - - } else { - $this->trigger_error("malformed function-list for '$type' in register_resource"); - - } - } - - /** - * Unregisters a resource - * - * @param string $type name of resource - */ - function unregister_resource($type) - { - unset($this->_plugins['resource'][$type]); - } - - /** - * Registers a prefilter function to apply - * to a template before compiling - * - * @param callback $function - */ - function register_prefilter($function) - { - $this->_plugins['prefilter'][$this->_get_filter_name($function)] - = array($function, null, null, false); - } - - /** - * Unregisters a prefilter function - * - * @param callback $function - */ - function unregister_prefilter($function) - { - unset($this->_plugins['prefilter'][$this->_get_filter_name($function)]); - } - - /** - * Registers a postfilter function to apply - * to a compiled template after compilation - * - * @param callback $function - */ - function register_postfilter($function) - { - $this->_plugins['postfilter'][$this->_get_filter_name($function)] - = array($function, null, null, false); - } - - /** - * Unregisters a postfilter function - * - * @param callback $function - */ - function unregister_postfilter($function) - { - unset($this->_plugins['postfilter'][$this->_get_filter_name($function)]); - } - - /** - * Registers an output filter function to apply - * to a template output - * - * @param callback $function - */ - function register_outputfilter($function) - { - $this->_plugins['outputfilter'][$this->_get_filter_name($function)] - = array($function, null, null, false); - } - - /** - * Unregisters an outputfilter function - * - * @param callback $function - */ - function unregister_outputfilter($function) - { - unset($this->_plugins['outputfilter'][$this->_get_filter_name($function)]); - } - - /** - * load a filter of specified type and name - * - * @param string $type filter type - * @param string $name filter name - */ - function load_filter($type, $name) - { - switch ($type) { - case 'output': - $_params = array('plugins' => array(array($type . 'filter', $name, null, null, false))); - require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); - smarty_core_load_plugins($_params, $this); - break; - - case 'pre': - case 'post': - if (!isset($this->_plugins[$type . 'filter'][$name])) - $this->_plugins[$type . 'filter'][$name] = false; - break; - } - } - - /** - * clear cached content for the given template and cache id - * - * @param string $tpl_file name of template file - * @param string $cache_id name of cache_id - * @param string $compile_id name of compile_id - * @param string $exp_time expiration time - * @return boolean - */ - function clear_cache($tpl_file = null, $cache_id = null, $compile_id = null, $exp_time = null) - { - - if (!isset($compile_id)) - $compile_id = $this->compile_id; - - if (!isset($tpl_file)) - $compile_id = null; - - $_auto_id = $this->_get_auto_id($cache_id, $compile_id); - - if (!empty($this->cache_handler_func)) { - return call_user_func_array($this->cache_handler_func, - array('clear', &$this, &$dummy, $tpl_file, $cache_id, $compile_id, $exp_time)); - } else { - $_params = array('auto_base' => $this->cache_dir, - 'auto_source' => $tpl_file, - 'auto_id' => $_auto_id, - 'exp_time' => $exp_time); - require_once(SMARTY_CORE_DIR . 'core.rm_auto.php'); - return smarty_core_rm_auto($_params, $this); - } - - } - - - /** - * clear the entire contents of cache (all templates) - * - * @param string $exp_time expire time - * @return boolean results of {@link smarty_core_rm_auto()} - */ - function clear_all_cache($exp_time = null) - { - return $this->clear_cache(null, null, null, $exp_time); - } - - - /** - * test to see if valid cache exists for this template - * - * @param string $tpl_file name of template file - * @param string $cache_id - * @param string $compile_id - * @return string|false results of {@link _read_cache_file()} - */ - function is_cached($tpl_file, $cache_id = null, $compile_id = null) - { - if (!$this->caching) - return false; - - if (!isset($compile_id)) - $compile_id = $this->compile_id; - - $_params = array( - 'tpl_file' => $tpl_file, - 'cache_id' => $cache_id, - 'compile_id' => $compile_id - ); - require_once(SMARTY_CORE_DIR . 'core.read_cache_file.php'); - return smarty_core_read_cache_file($_params, $this); - } - - - /** - * clear all the assigned template variables. - * - */ - function clear_all_assign() - { - $this->_tpl_vars = array(); - } - - /** - * clears compiled version of specified template resource, - * or all compiled template files if one is not specified. - * This function is for advanced use only, not normally needed. - * - * @param string $tpl_file - * @param string $compile_id - * @param string $exp_time - * @return boolean results of {@link smarty_core_rm_auto()} - */ - function clear_compiled_tpl($tpl_file = null, $compile_id = null, $exp_time = null) - { - if (!isset($compile_id)) { - $compile_id = $this->compile_id; - } - $_params = array('auto_base' => $this->compile_dir, - 'auto_source' => $tpl_file, - 'auto_id' => $compile_id, - 'exp_time' => $exp_time, - 'extensions' => array('.inc', '.php')); - require_once(SMARTY_CORE_DIR . 'core.rm_auto.php'); - return smarty_core_rm_auto($_params, $this); - } - - /** - * Checks whether requested template exists. - * - * @param string $tpl_file - * @return boolean - */ - function template_exists($tpl_file) - { - $_params = array('resource_name' => $tpl_file, 'quiet'=>true, 'get_source'=>false); - return $this->_fetch_resource_info($_params); - } - - /** - * Returns an array containing template variables - * - * @param string $name - * @param string $type - * @return array - */ - function &get_template_vars($name=null) - { - if(!isset($name)) { - return $this->_tpl_vars; - } elseif(isset($this->_tpl_vars[$name])) { - return $this->_tpl_vars[$name]; - } else { - // var non-existant, return valid reference - $_tmp = null; - return $_tmp; - } - } - - /** - * Returns an array containing config variables - * - * @param string $name - * @param string $type - * @return array - */ - function &get_config_vars($name=null) - { - if(!isset($name) && is_array($this->_config[0])) { - return $this->_config[0]['vars']; - } else if(isset($this->_config[0]['vars'][$name])) { - return $this->_config[0]['vars'][$name]; - } else { - // var non-existant, return valid reference - $_tmp = null; - return $_tmp; - } - } - - /** - * trigger Smarty error - * - * @param string $error_msg - * @param integer $error_type - */ - function trigger_error($error_msg, $error_type = E_USER_WARNING) - { - trigger_error("Smarty error: $error_msg", $error_type); - } - - - /** - * executes & displays the template results - * - * @param string $resource_name - * @param string $cache_id - * @param string $compile_id - */ - function display($resource_name, $cache_id = null, $compile_id = null) - { - $this->fetch($resource_name, $cache_id, $compile_id, true); - } - - /** - * executes & returns or displays the template results - * - * @param string $resource_name - * @param string $cache_id - * @param string $compile_id - * @param boolean $display - */ - function fetch($resource_name, $cache_id = null, $compile_id = null, $display = false) - { - static $_cache_info = array(); - - $_smarty_old_error_level = $this->debugging ? error_reporting() : error_reporting(isset($this->error_reporting) - ? $this->error_reporting : error_reporting() & ~E_NOTICE); - - if (!$this->debugging && $this->debugging_ctrl == 'URL') { - $_query_string = $this->request_use_auto_globals ? $_SERVER['QUERY_STRING'] : $GLOBALS['HTTP_SERVER_VARS']['QUERY_STRING']; - if (@strstr($_query_string, $this->_smarty_debug_id)) { - if (@strstr($_query_string, $this->_smarty_debug_id . '=on')) { - // enable debugging for this browser session - @setcookie('SMARTY_DEBUG', true); - $this->debugging = true; - } elseif (@strstr($_query_string, $this->_smarty_debug_id . '=off')) { - // disable debugging for this browser session - @setcookie('SMARTY_DEBUG', false); - $this->debugging = false; - } else { - // enable debugging for this page - $this->debugging = true; - } - } else { - $this->debugging = (bool)($this->request_use_auto_globals ? @$_COOKIE['SMARTY_DEBUG'] : @$GLOBALS['HTTP_COOKIE_VARS']['SMARTY_DEBUG']); - } - } - - if ($this->debugging) { - // capture time for debugging info - $_params = array(); - require_once(SMARTY_CORE_DIR . 'core.get_microtime.php'); - $_debug_start_time = smarty_core_get_microtime($_params, $this); - $this->_smarty_debug_info[] = array('type' => 'template', - 'filename' => $resource_name, - 'depth' => 0); - $_included_tpls_idx = count($this->_smarty_debug_info) - 1; - } - - if (!isset($compile_id)) { - $compile_id = $this->compile_id; - } - - $this->_compile_id = $compile_id; - $this->_inclusion_depth = 0; - - if ($this->caching) { - // save old cache_info, initialize cache_info - array_push($_cache_info, $this->_cache_info); - $this->_cache_info = array(); - $_params = array( - 'tpl_file' => $resource_name, - 'cache_id' => $cache_id, - 'compile_id' => $compile_id, - 'results' => null - ); - require_once(SMARTY_CORE_DIR . 'core.read_cache_file.php'); - if (smarty_core_read_cache_file($_params, $this)) { - $_smarty_results = $_params['results']; - if (!empty($this->_cache_info['insert_tags'])) { - $_params = array('plugins' => $this->_cache_info['insert_tags']); - require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); - smarty_core_load_plugins($_params, $this); - $_params = array('results' => $_smarty_results); - require_once(SMARTY_CORE_DIR . 'core.process_cached_inserts.php'); - $_smarty_results = smarty_core_process_cached_inserts($_params, $this); - } - if (!empty($this->_cache_info['cache_serials'])) { - $_params = array('results' => $_smarty_results); - require_once(SMARTY_CORE_DIR . 'core.process_compiled_include.php'); - $_smarty_results = smarty_core_process_compiled_include($_params, $this); - } - - - if ($display) { - if ($this->debugging) - { - // capture time for debugging info - $_params = array(); - require_once(SMARTY_CORE_DIR . 'core.get_microtime.php'); - $this->_smarty_debug_info[$_included_tpls_idx]['exec_time'] = smarty_core_get_microtime($_params, $this) - $_debug_start_time; - require_once(SMARTY_CORE_DIR . 'core.display_debug_console.php'); - $_smarty_results .= smarty_core_display_debug_console($_params, $this); - } - if ($this->cache_modified_check) { - $_server_vars = ($this->request_use_auto_globals) ? $_SERVER : $GLOBALS['HTTP_SERVER_VARS']; - $_last_modified_date = @substr($_server_vars['HTTP_IF_MODIFIED_SINCE'], 0, strpos($_server_vars['HTTP_IF_MODIFIED_SINCE'], 'GMT') + 3); - $_gmt_mtime = gmdate('D, d M Y H:i:s', $this->_cache_info['timestamp']).' GMT'; - if (@count($this->_cache_info['insert_tags']) == 0 - && !$this->_cache_serials - && $_gmt_mtime == $_last_modified_date) { - if (php_sapi_name()=='cgi') - header('Status: 304 Not Modified'); - else - header('HTTP/1.1 304 Not Modified'); - - } else { - header('Last-Modified: '.$_gmt_mtime); - echo $_smarty_results; - } - } else { - echo $_smarty_results; - } - error_reporting($_smarty_old_error_level); - // restore initial cache_info - $this->_cache_info = array_pop($_cache_info); - return true; - } else { - error_reporting($_smarty_old_error_level); - // restore initial cache_info - $this->_cache_info = array_pop($_cache_info); - return $_smarty_results; - } - } else { - $this->_cache_info['template'][$resource_name] = true; - if ($this->cache_modified_check && $display) { - header('Last-Modified: '.gmdate('D, d M Y H:i:s', time()).' GMT'); - } - } - } - - // load filters that are marked as autoload - if (count($this->autoload_filters)) { - foreach ($this->autoload_filters as $_filter_type => $_filters) { - foreach ($_filters as $_filter) { - $this->load_filter($_filter_type, $_filter); - } - } - } - - $_smarty_compile_path = $this->_get_compile_path($resource_name); - - // if we just need to display the results, don't perform output - // buffering - for speed - $_cache_including = $this->_cache_including; - $this->_cache_including = false; - if ($display && !$this->caching && count($this->_plugins['outputfilter']) == 0) { - if ($this->_is_compiled($resource_name, $_smarty_compile_path) - || $this->_compile_resource($resource_name, $_smarty_compile_path)) - { - include($_smarty_compile_path); - } - } else { - ob_start(); - if ($this->_is_compiled($resource_name, $_smarty_compile_path) - || $this->_compile_resource($resource_name, $_smarty_compile_path)) - { - include($_smarty_compile_path); - } - $_smarty_results = ob_get_contents(); - ob_end_clean(); - - foreach ((array)$this->_plugins['outputfilter'] as $_output_filter) { - $_smarty_results = call_user_func_array($_output_filter[0], array($_smarty_results, &$this)); - } - } - - if ($this->caching) { - $_params = array('tpl_file' => $resource_name, - 'cache_id' => $cache_id, - 'compile_id' => $compile_id, - 'results' => $_smarty_results); - require_once(SMARTY_CORE_DIR . 'core.write_cache_file.php'); - smarty_core_write_cache_file($_params, $this); - require_once(SMARTY_CORE_DIR . 'core.process_cached_inserts.php'); - $_smarty_results = smarty_core_process_cached_inserts($_params, $this); - - if ($this->_cache_serials) { - // strip nocache-tags from output - $_smarty_results = preg_replace('!(\{/?nocache\:[0-9a-f]{32}#\d+\})!s' - ,'' - ,$_smarty_results); - } - // restore initial cache_info - $this->_cache_info = array_pop($_cache_info); - } - $this->_cache_including = $_cache_including; - - if ($display) { - if (isset($_smarty_results)) { echo $_smarty_results; } - if ($this->debugging) { - // capture time for debugging info - $_params = array(); - require_once(SMARTY_CORE_DIR . 'core.get_microtime.php'); - $this->_smarty_debug_info[$_included_tpls_idx]['exec_time'] = (smarty_core_get_microtime($_params, $this) - $_debug_start_time); - require_once(SMARTY_CORE_DIR . 'core.display_debug_console.php'); - echo smarty_core_display_debug_console($_params, $this); - } - error_reporting($_smarty_old_error_level); - return; - } else { - error_reporting($_smarty_old_error_level); - if (isset($_smarty_results)) { return $_smarty_results; } - } - } - - /** - * load configuration values - * - * @param string $file - * @param string $section - * @param string $scope - */ - function config_load($file, $section = null, $scope = 'global') - { - require_once($this->_get_plugin_filepath('function', 'config_load')); - smarty_function_config_load(array('file' => $file, 'section' => $section, 'scope' => $scope), $this); - } - - /** - * return a reference to a registered object - * - * @param string $name - * @return object - */ - function &get_registered_object($name) { - if (!isset($this->_reg_objects[$name])) - $this->_trigger_fatal_error("'$name' is not a registered object"); - - if (!is_object($this->_reg_objects[$name][0])) - $this->_trigger_fatal_error("registered '$name' is not an object"); - - return $this->_reg_objects[$name][0]; - } - - /** - * clear configuration values - * - * @param string $var - */ - function clear_config($var = null) - { - if(!isset($var)) { - // clear all values - $this->_config = array(array('vars' => array(), - 'files' => array())); - } else { - unset($this->_config[0]['vars'][$var]); - } - } - - /** - * get filepath of requested plugin - * - * @param string $type - * @param string $name - * @return string|false - */ - function _get_plugin_filepath($type, $name) - { - $_params = array('type' => $type, 'name' => $name); - require_once(SMARTY_CORE_DIR . 'core.assemble_plugin_filepath.php'); - return smarty_core_assemble_plugin_filepath($_params, $this); - } - - /** - * test if resource needs compiling - * - * @param string $resource_name - * @param string $compile_path - * @return boolean - */ - function _is_compiled($resource_name, $compile_path) - { - if (!$this->force_compile && file_exists($compile_path)) { - if (!$this->compile_check) { - // no need to check compiled file - return true; - } else { - // get file source and timestamp - $_params = array('resource_name' => $resource_name, 'get_source'=>false); - if (!$this->_fetch_resource_info($_params)) { - return false; - } - if ($_params['resource_timestamp'] <= filemtime($compile_path)) { - // template not expired, no recompile - return true; - } else { - // compile template - return false; - } - } - } else { - // compiled template does not exist, or forced compile - return false; - } - } - - /** - * compile the template - * - * @param string $resource_name - * @param string $compile_path - * @return boolean - */ - function _compile_resource($resource_name, $compile_path) - { - - $_params = array('resource_name' => $resource_name); - if (!$this->_fetch_resource_info($_params)) { - return false; - } - - $_source_content = $_params['source_content']; - $_cache_include = substr($compile_path, 0, -4).'.inc'; - - if ($this->_compile_source($resource_name, $_source_content, $_compiled_content, $_cache_include)) { - // if a _cache_serial was set, we also have to write an include-file: - if ($this->_cache_include_info) { - require_once(SMARTY_CORE_DIR . 'core.write_compiled_include.php'); - smarty_core_write_compiled_include(array_merge($this->_cache_include_info, array('compiled_content'=>$_compiled_content, 'resource_name'=>$resource_name)), $this); - } - - $_params = array('compile_path'=>$compile_path, 'compiled_content' => $_compiled_content); - require_once(SMARTY_CORE_DIR . 'core.write_compiled_resource.php'); - smarty_core_write_compiled_resource($_params, $this); - - return true; - } else { - return false; - } - - } - - /** - * compile the given source - * - * @param string $resource_name - * @param string $source_content - * @param string $compiled_content - * @return boolean - */ - function _compile_source($resource_name, &$source_content, &$compiled_content, $cache_include_path=null) - { - if (file_exists(SMARTY_DIR . $this->compiler_file)) { - require_once(SMARTY_DIR . $this->compiler_file); - } else { - // use include_path - require_once($this->compiler_file); - } - - - $smarty_compiler = new $this->compiler_class; - - $smarty_compiler->template_dir = $this->template_dir; - $smarty_compiler->compile_dir = $this->compile_dir; - $smarty_compiler->plugins_dir = $this->plugins_dir; - $smarty_compiler->config_dir = $this->config_dir; - $smarty_compiler->force_compile = $this->force_compile; - $smarty_compiler->caching = $this->caching; - $smarty_compiler->php_handling = $this->php_handling; - $smarty_compiler->left_delimiter = $this->left_delimiter; - $smarty_compiler->right_delimiter = $this->right_delimiter; - $smarty_compiler->_version = $this->_version; - $smarty_compiler->security = $this->security; - $smarty_compiler->secure_dir = $this->secure_dir; - $smarty_compiler->security_settings = $this->security_settings; - $smarty_compiler->trusted_dir = $this->trusted_dir; - $smarty_compiler->use_sub_dirs = $this->use_sub_dirs; - $smarty_compiler->_reg_objects = &$this->_reg_objects; - $smarty_compiler->_plugins = &$this->_plugins; - $smarty_compiler->_tpl_vars = &$this->_tpl_vars; - $smarty_compiler->default_modifiers = $this->default_modifiers; - $smarty_compiler->compile_id = $this->_compile_id; - $smarty_compiler->_config = $this->_config; - $smarty_compiler->request_use_auto_globals = $this->request_use_auto_globals; - - if (isset($cache_include_path) && isset($this->_cache_serials[$cache_include_path])) { - $smarty_compiler->_cache_serial = $this->_cache_serials[$cache_include_path]; - } - $smarty_compiler->_cache_include = $cache_include_path; - - - $_results = $smarty_compiler->_compile_file($resource_name, $source_content, $compiled_content); - - if ($smarty_compiler->_cache_serial) { - $this->_cache_include_info = array( - 'cache_serial'=>$smarty_compiler->_cache_serial - ,'plugins_code'=>$smarty_compiler->_plugins_code - ,'include_file_path' => $cache_include_path); - - } else { - $this->_cache_include_info = null; - - } - - return $_results; - } - - /** - * Get the compile path for this resource - * - * @param string $resource_name - * @return string results of {@link _get_auto_filename()} - */ - function _get_compile_path($resource_name) - { - return $this->_get_auto_filename($this->compile_dir, $resource_name, - $this->_compile_id) . '.php'; - } - - /** - * fetch the template info. Gets timestamp, and source - * if get_source is true - * - * sets $source_content to the source of the template, and - * $resource_timestamp to its time stamp - * @param string $resource_name - * @param string $source_content - * @param integer $resource_timestamp - * @param boolean $get_source - * @param boolean $quiet - * @return boolean - */ - - function _fetch_resource_info(&$params) - { - if(!isset($params['get_source'])) { $params['get_source'] = true; } - if(!isset($params['quiet'])) { $params['quiet'] = false; } - - $_return = false; - $_params = array('resource_name' => $params['resource_name']) ; - if (isset($params['resource_base_path'])) - $_params['resource_base_path'] = $params['resource_base_path']; - else - $_params['resource_base_path'] = $this->template_dir; - - if ($this->_parse_resource_name($_params)) { - $_resource_type = $_params['resource_type']; - $_resource_name = $_params['resource_name']; - switch ($_resource_type) { - case 'file': - if ($params['get_source']) { - $params['source_content'] = $this->_read_file($_resource_name); - } - $params['resource_timestamp'] = filemtime($_resource_name); - $_return = is_file($_resource_name); - break; - - default: - // call resource functions to fetch the template source and timestamp - if ($params['get_source']) { - $_source_return = isset($this->_plugins['resource'][$_resource_type]) && - call_user_func_array($this->_plugins['resource'][$_resource_type][0][0], - array($_resource_name, &$params['source_content'], &$this)); - } else { - $_source_return = true; - } - - $_timestamp_return = isset($this->_plugins['resource'][$_resource_type]) && - call_user_func_array($this->_plugins['resource'][$_resource_type][0][1], - array($_resource_name, &$params['resource_timestamp'], &$this)); - - $_return = $_source_return && $_timestamp_return; - break; - } - } - - if (!$_return) { - // see if we can get a template with the default template handler - if (!empty($this->default_template_handler_func)) { - if (!is_callable($this->default_template_handler_func)) { - $this->trigger_error("default template handler function \"$this->default_template_handler_func\" doesn't exist."); - } else { - $_return = call_user_func_array( - $this->default_template_handler_func, - array($_params['resource_type'], $_params['resource_name'], &$params['source_content'], &$params['resource_timestamp'], &$this)); - } - } - } - - if (!$_return) { - if (!$params['quiet']) { - $this->trigger_error('unable to read resource: "' . $params['resource_name'] . '"'); - } - } else if ($_return && $this->security) { - require_once(SMARTY_CORE_DIR . 'core.is_secure.php'); - if (!smarty_core_is_secure($_params, $this)) { - if (!$params['quiet']) - $this->trigger_error('(secure mode) accessing "' . $params['resource_name'] . '" is not allowed'); - $params['source_content'] = null; - $params['resource_timestamp'] = null; - return false; - } - } - return $_return; - } - - - /** - * parse out the type and name from the resource - * - * @param string $resource_base_path - * @param string $resource_name - * @param string $resource_type - * @param string $resource_name - * @return boolean - */ - - function _parse_resource_name(&$params) - { - - // split tpl_path by the first colon - $_resource_name_parts = explode(':', $params['resource_name'], 2); - - if (count($_resource_name_parts) == 1) { - // no resource type given - $params['resource_type'] = $this->default_resource_type; - $params['resource_name'] = $_resource_name_parts[0]; - } else { - if(strlen($_resource_name_parts[0]) == 1) { - // 1 char is not resource type, but part of filepath - $params['resource_type'] = $this->default_resource_type; - $params['resource_name'] = $params['resource_name']; - } else { - $params['resource_type'] = $_resource_name_parts[0]; - $params['resource_name'] = $_resource_name_parts[1]; - } - } - - if ($params['resource_type'] == 'file') { - if (!preg_match('/^([\/\\\\]|[a-zA-Z]:[\/\\\\])/', $params['resource_name'])) { - // relative pathname to $params['resource_base_path'] - // use the first directory where the file is found - foreach ((array)$params['resource_base_path'] as $_curr_path) { - $_fullpath = $_curr_path . DIRECTORY_SEPARATOR . $params['resource_name']; - if (file_exists($_fullpath) && is_file($_fullpath)) { - $params['resource_name'] = $_fullpath; - return true; - } - // didn't find the file, try include_path - $_params = array('file_path' => $_fullpath); - require_once(SMARTY_CORE_DIR . 'core.get_include_path.php'); - if(smarty_core_get_include_path($_params, $this)) { - $params['resource_name'] = $_params['new_file_path']; - return true; - } - } - return false; - } else { - /* absolute path */ - return file_exists($params['resource_name']); - } - } elseif (empty($this->_plugins['resource'][$params['resource_type']])) { - $_params = array('type' => $params['resource_type']); - require_once(SMARTY_CORE_DIR . 'core.load_resource_plugin.php'); - smarty_core_load_resource_plugin($_params, $this); - } - - return true; - } - - - /** - * Handle modifiers - * - * @param string|null $modifier_name - * @param array|null $map_array - * @return string result of modifiers - */ - function _run_mod_handler() - { - $_args = func_get_args(); - list($_modifier_name, $_map_array) = array_splice($_args, 0, 2); - list($_func_name, $_tpl_file, $_tpl_line) = - $this->_plugins['modifier'][$_modifier_name]; - - $_var = $_args[0]; - foreach ($_var as $_key => $_val) { - $_args[0] = $_val; - $_var[$_key] = call_user_func_array($_func_name, $_args); - } - return $_var; - } - - /** - * Remove starting and ending quotes from the string - * - * @param string $string - * @return string - */ - function _dequote($string) - { - if ((substr($string, 0, 1) == "'" || substr($string, 0, 1) == '"') && - substr($string, -1) == substr($string, 0, 1)) - return substr($string, 1, -1); - else - return $string; - } - - - /** - * read in a file - * - * @param string $filename - * @return string - */ - function _read_file($filename) - { - if ( file_exists($filename) && ($fd = @fopen($filename, 'rb')) ) { - $contents = ''; - while (!feof($fd)) { - $contents .= fread($fd, 8192); - } - fclose($fd); - return $contents; - } else { - return false; - } - } - - /** - * get a concrete filename for automagically created content - * - * @param string $auto_base - * @param string $auto_source - * @param string $auto_id - * @return string - * @staticvar string|null - * @staticvar string|null - */ - function _get_auto_filename($auto_base, $auto_source = null, $auto_id = null) - { - $_compile_dir_sep = $this->use_sub_dirs ? DIRECTORY_SEPARATOR : '^'; - $_return = $auto_base . DIRECTORY_SEPARATOR; - - if(isset($auto_id)) { - // make auto_id safe for directory names - $auto_id = str_replace('%7C',$_compile_dir_sep,(urlencode($auto_id))); - // split into separate directories - $_return .= $auto_id . $_compile_dir_sep; - } - - if(isset($auto_source)) { - // make source name safe for filename - $_filename = urlencode(basename($auto_source)); - $_crc32 = sprintf('%08X', crc32($auto_source)); - // prepend %% to avoid name conflicts with - // with $params['auto_id'] names - $_crc32 = substr($_crc32, 0, 2) . $_compile_dir_sep . - substr($_crc32, 0, 3) . $_compile_dir_sep . $_crc32; - $_return .= '%%' . $_crc32 . '%%' . $_filename; - } - - return $_return; - } - - /** - * unlink a file, possibly using expiration time - * - * @param string $resource - * @param integer $exp_time - */ - function _unlink($resource, $exp_time = null) - { - if(isset($exp_time)) { - if(time() - @filemtime($resource) >= $exp_time) { - return @unlink($resource); - } - } else { - return @unlink($resource); - } - } - - /** - * returns an auto_id for auto-file-functions - * - * @param string $cache_id - * @param string $compile_id - * @return string|null - */ - function _get_auto_id($cache_id=null, $compile_id=null) { - if (isset($cache_id)) - return (isset($compile_id)) ? $cache_id . '|' . $compile_id : $cache_id; - elseif(isset($compile_id)) - return $compile_id; - else - return null; - } - - /** - * trigger Smarty plugin error - * - * @param string $error_msg - * @param string $tpl_file - * @param integer $tpl_line - * @param string $file - * @param integer $line - * @param integer $error_type - */ - function _trigger_fatal_error($error_msg, $tpl_file = null, $tpl_line = null, - $file = null, $line = null, $error_type = E_USER_ERROR) - { - if(isset($file) && isset($line)) { - $info = ' ('.basename($file).", line $line)"; - } else { - $info = ''; - } - if (isset($tpl_line) && isset($tpl_file)) { - $this->trigger_error('[in ' . $tpl_file . ' line ' . $tpl_line . "]: $error_msg$info", $error_type); - } else { - $this->trigger_error($error_msg . $info, $error_type); - } - } - - - /** - * callback function for preg_replace, to call a non-cacheable block - * @return string - */ - function _process_compiled_include_callback($match) { - $_func = '_smarty_tplfunc_'.$match[2].'_'.$match[3]; - ob_start(); - $_func($this); - $_ret = ob_get_contents(); - ob_end_clean(); - return $_ret; - } - - - /** - * called for included templates - * - * @param string $_smarty_include_tpl_file - * @param string $_smarty_include_vars - */ - - // $_smarty_include_tpl_file, $_smarty_include_vars - - function _smarty_include($params) - { - if ($this->debugging) { - $_params = array(); - require_once(SMARTY_CORE_DIR . 'core.get_microtime.php'); - $debug_start_time = smarty_core_get_microtime($_params, $this); - $this->_smarty_debug_info[] = array('type' => 'template', - 'filename' => $params['smarty_include_tpl_file'], - 'depth' => ++$this->_inclusion_depth); - $included_tpls_idx = count($this->_smarty_debug_info) - 1; - } - - $this->_tpl_vars = array_merge($this->_tpl_vars, $params['smarty_include_vars']); - - // config vars are treated as local, so push a copy of the - // current ones onto the front of the stack - array_unshift($this->_config, $this->_config[0]); - - $_smarty_compile_path = $this->_get_compile_path($params['smarty_include_tpl_file']); - - - if ($this->_is_compiled($params['smarty_include_tpl_file'], $_smarty_compile_path) - || $this->_compile_resource($params['smarty_include_tpl_file'], $_smarty_compile_path)) - { - include($_smarty_compile_path); - } - - // pop the local vars off the front of the stack - array_shift($this->_config); - - $this->_inclusion_depth--; - - if ($this->debugging) { - // capture time for debugging info - $_params = array(); - require_once(SMARTY_CORE_DIR . 'core.get_microtime.php'); - $this->_smarty_debug_info[$included_tpls_idx]['exec_time'] = smarty_core_get_microtime($_params, $this) - $debug_start_time; - } - - if ($this->caching) { - $this->_cache_info['template'][$params['smarty_include_tpl_file']] = true; - } - } - - - /** - * get or set an array of cached attributes for function that is - * not cacheable - * @return array - */ - function &_smarty_cache_attrs($cache_serial, $count) { - $_cache_attrs =& $this->_cache_info['cache_attrs'][$cache_serial][$count]; - - if ($this->_cache_including) { - /* return next set of cache_attrs */ - $_return = current($_cache_attrs); - next($_cache_attrs); - return $_return; - - } else { - /* add a reference to a new set of cache_attrs */ - $_cache_attrs[] = array(); - return $_cache_attrs[count($_cache_attrs)-1]; - - } - - } - - - /** - * wrapper for include() retaining $this - * @return mixed - */ - function _include($filename, $once=false, $params=null) - { - if ($once) { - return include_once($filename); - } else { - return include($filename); - } - } - - - /** - * wrapper for eval() retaining $this - * @return mixed - */ - function _eval($code, $params=null) - { - return eval($code); - } - - /** - * Extracts the filter name from the given callback - * - * @param callback $function - * @return string - */ - function _get_filter_name($function) - { - if (is_array($function)) { - $_class_name = (is_object($function[0]) ? - get_class($function[0]) : $function[0]); - return $_class_name . '_' . $function[1]; - } - else { - return $function; - } - } - - /**#@-*/ - -} - -/* vim: set expandtab: */ - -?> diff --git a/onyx2/modules/templates_anc/smarty/debug.tpl b/onyx2/modules/templates_anc/smarty/debug.tpl deleted file mode 100644 index c05ef5d..0000000 --- a/onyx2/modules/templates_anc/smarty/debug.tpl +++ /dev/null @@ -1,157 +0,0 @@ -{* Smarty *} -{* debug.tpl, last updated version 2.1.0 *} -{assign_debug_info} -{capture assign=debug_output} - - - - Smarty Debug Console -{literal} - -{/literal} - - - -

Smarty Debug Console

- -

included templates & config files (load time in seconds)

- -
-{section name=templates loop=$_debug_tpls} - {section name=indent loop=$_debug_tpls[templates].depth}   {/section} - - {$_debug_tpls[templates].filename|escape:html} - {if isset($_debug_tpls[templates].exec_time)} - - ({$_debug_tpls[templates].exec_time|string_format:"%.5f"}) - {if %templates.index% eq 0}(total){/if} - - {/if} -
-{sectionelse} -

no templates included

-{/section} -
- -

assigned template variables

- - - {section name=vars loop=$_debug_keys} - - - - {sectionelse} - - {/section} -
{ldelim}${$_debug_keys[vars]|escape:'html'}{rdelim}{$_debug_vals[vars]|@debug_print_var}

no template variables assigned

- -

assigned config file variables (outer template scope)

- - - {section name=config_vars loop=$_debug_config_keys} - - - - {sectionelse} - - {/section} -
{ldelim}#{$_debug_config_keys[config_vars]|escape:'html'}#{rdelim}{$_debug_config_vals[config_vars]|@debug_print_var}

no config vars assigned

- - -{/capture} -{if isset($_smarty_debug_output) and $_smarty_debug_output eq "html"} - {$debug_output} -{else} - -{/if} \ No newline at end of file diff --git a/onyx2/modules/templates_anc/smarty/plugins/block.textformat.php b/onyx2/modules/templates_anc/smarty/plugins/block.textformat.php deleted file mode 100644 index 8cd010a..0000000 --- a/onyx2/modules/templates_anc/smarty/plugins/block.textformat.php +++ /dev/null @@ -1,103 +0,0 @@ - - * Name: textformat
- * Purpose: format text a certain way with preset styles - * or custom wrap/indent settings
- * @link http://smarty.php.net/manual/en/language.function.textformat.php {textformat} - * (Smarty online manual) - * @param array - *
- * Params:   style: string (email)
- *           indent: integer (0)
- *           wrap: integer (80)
- *           wrap_char string ("\n")
- *           indent_char: string (" ")
- *           wrap_boundary: boolean (true)
- * 
- * @author Monte Ohrt - * @param string contents of the block - * @param Smarty clever simulation of a method - * @return string string $content re-formatted - */ -function smarty_block_textformat($params, $content, &$smarty) -{ - if (is_null($content)) { - return; - } - - $style = null; - $indent = 0; - $indent_first = 0; - $indent_char = ' '; - $wrap = 80; - $wrap_char = "\n"; - $wrap_cut = false; - $assign = null; - - foreach ($params as $_key => $_val) { - switch ($_key) { - case 'style': - case 'indent_char': - case 'wrap_char': - case 'assign': - $$_key = (string)$_val; - break; - - case 'indent': - case 'indent_first': - case 'wrap': - $$_key = (int)$_val; - break; - - case 'wrap_cut': - $$_key = (bool)$_val; - break; - - default: - $smarty->trigger_error("textformat: unknown attribute '$_key'"); - } - } - - if ($style == 'email') { - $wrap = 72; - } - - // split into paragraphs - $_paragraphs = preg_split('![\r\n][\r\n]!',$content); - $_output = ''; - - for($_x = 0, $_y = count($_paragraphs); $_x < $_y; $_x++) { - if ($_paragraphs[$_x] == '') { - continue; - } - // convert mult. spaces & special chars to single space - $_paragraphs[$_x] = preg_replace(array('!\s+!','!(^\s+)|(\s+$)!'), array(' ',''), $_paragraphs[$_x]); - // indent first line - if($indent_first > 0) { - $_paragraphs[$_x] = str_repeat($indent_char, $indent_first) . $_paragraphs[$_x]; - } - // wordwrap sentences - $_paragraphs[$_x] = wordwrap($_paragraphs[$_x], $wrap - $indent, $wrap_char, $wrap_cut); - // indent lines - if($indent > 0) { - $_paragraphs[$_x] = preg_replace('!^!m', str_repeat($indent_char, $indent), $_paragraphs[$_x]); - } - } - $_output = implode($wrap_char . $wrap_char, $_paragraphs); - - return $assign ? $smarty->assign($assign, $_output) : $_output; - -} - -/* vim: set expandtab: */ - -?> diff --git a/onyx2/modules/templates_anc/smarty/plugins/function.counter.php b/onyx2/modules/templates_anc/smarty/plugins/function.counter.php deleted file mode 100644 index 1f26db5..0000000 --- a/onyx2/modules/templates_anc/smarty/plugins/function.counter.php +++ /dev/null @@ -1,80 +0,0 @@ - - * Name: counter
- * Purpose: print out a counter value - * @author Monte Ohrt - * @link http://smarty.php.net/manual/en/language.function.counter.php {counter} - * (Smarty online manual) - * @param array parameters - * @param Smarty - * @return string|null - */ -function smarty_function_counter($params, &$smarty) -{ - static $counters = array(); - - $name = (isset($params['name'])) ? $params['name'] : 'default'; - if (!isset($counters[$name])) { - $counters[$name] = array( - 'start'=>1, - 'skip'=>1, - 'direction'=>'up', - 'count'=>1 - ); - } - $counter =& $counters[$name]; - - if (isset($params['start'])) { - $counter['start'] = $counter['count'] = (int)$params['start']; - } - - if (!empty($params['assign'])) { - $counter['assign'] = $params['assign']; - } - - if (isset($counter['assign'])) { - $smarty->assign($counter['assign'], $counter['count']); - } - - if (isset($params['print'])) { - $print = (bool)$params['print']; - } else { - $print = empty($counter['assign']); - } - - if ($print) { - $retval = $counter['count']; - } else { - $retval = null; - } - - if (isset($params['skip'])) { - $counter['skip'] = $params['skip']; - } - - if (isset($params['direction'])) { - $counter['direction'] = $params['direction']; - } - - if ($counter['direction'] == "down") - $counter['count'] -= $counter['skip']; - else - $counter['count'] += $counter['skip']; - - return $retval; - -} - -/* vim: set expandtab: */ - -?> diff --git a/onyx2/modules/templates_anc/smarty/plugins/function.cycle.php b/onyx2/modules/templates_anc/smarty/plugins/function.cycle.php deleted file mode 100644 index fe78bb8..0000000 --- a/onyx2/modules/templates_anc/smarty/plugins/function.cycle.php +++ /dev/null @@ -1,102 +0,0 @@ - - * Name: cycle
- * Date: May 3, 2002
- * Purpose: cycle through given values
- * Input: - * - name = name of cycle (optional) - * - values = comma separated list of values to cycle, - * or an array of values to cycle - * (this can be left out for subsequent calls) - * - reset = boolean - resets given var to true - * - print = boolean - print var or not. default is true - * - advance = boolean - whether or not to advance the cycle - * - delimiter = the value delimiter, default is "," - * - assign = boolean, assigns to template var instead of - * printed. - * - * Examples:
- *
- * {cycle values="#eeeeee,#d0d0d0d"}
- * {cycle name=row values="one,two,three" reset=true}
- * {cycle name=row}
- * 
- * @link http://smarty.php.net/manual/en/language.function.cycle.php {cycle} - * (Smarty online manual) - * @author Monte Ohrt - * @author credit to Mark Priatel - * @author credit to Gerard - * @author credit to Jason Sweat - * @version 1.3 - * @param array - * @param Smarty - * @return string|null - */ -function smarty_function_cycle($params, &$smarty) -{ - static $cycle_vars; - - $name = (empty($params['name'])) ? 'default' : $params['name']; - $print = (isset($params['print'])) ? (bool)$params['print'] : true; - $advance = (isset($params['advance'])) ? (bool)$params['advance'] : true; - $reset = (isset($params['reset'])) ? (bool)$params['reset'] : false; - - if (!in_array('values', array_keys($params))) { - if(!isset($cycle_vars[$name]['values'])) { - $smarty->trigger_error("cycle: missing 'values' parameter"); - return; - } - } else { - if(isset($cycle_vars[$name]['values']) - && $cycle_vars[$name]['values'] != $params['values'] ) { - $cycle_vars[$name]['index'] = 0; - } - $cycle_vars[$name]['values'] = $params['values']; - } - - $cycle_vars[$name]['delimiter'] = (isset($params['delimiter'])) ? $params['delimiter'] : ','; - - if(is_array($cycle_vars[$name]['values'])) { - $cycle_array = $cycle_vars[$name]['values']; - } else { - $cycle_array = explode($cycle_vars[$name]['delimiter'],$cycle_vars[$name]['values']); - } - - if(!isset($cycle_vars[$name]['index']) || $reset ) { - $cycle_vars[$name]['index'] = 0; - } - - if (isset($params['assign'])) { - $print = false; - $smarty->assign($params['assign'], $cycle_array[$cycle_vars[$name]['index']]); - } - - if($print) { - $retval = $cycle_array[$cycle_vars[$name]['index']]; - } else { - $retval = null; - } - - if($advance) { - if ( $cycle_vars[$name]['index'] >= count($cycle_array) -1 ) { - $cycle_vars[$name]['index'] = 0; - } else { - $cycle_vars[$name]['index']++; - } - } - - return $retval; -} - -/* vim: set expandtab: */ - -?> diff --git a/onyx2/modules/templates_anc/smarty/plugins/function.fetch.php b/onyx2/modules/templates_anc/smarty/plugins/function.fetch.php deleted file mode 100644 index 81b1bfc..0000000 --- a/onyx2/modules/templates_anc/smarty/plugins/function.fetch.php +++ /dev/null @@ -1,221 +0,0 @@ - - * Name: fetch
- * Purpose: fetch file, web or ftp data and display results - * @link http://smarty.php.net/manual/en/language.function.fetch.php {fetch} - * (Smarty online manual) - * @author Monte Ohrt - * @param array - * @param Smarty - * @return string|null if the assign parameter is passed, Smarty assigns the - * result to a template variable - */ -function smarty_function_fetch($params, &$smarty) -{ - if (empty($params['file'])) { - $smarty->_trigger_fatal_error("[plugin] parameter 'file' cannot be empty"); - return; - } - - $content = ''; - if ($smarty->security && !preg_match('!^(http|ftp)://!i', $params['file'])) { - $_params = array('resource_type' => 'file', 'resource_name' => $params['file']); - require_once(SMARTY_CORE_DIR . 'core.is_secure.php'); - if(!smarty_core_is_secure($_params, $smarty)) { - $smarty->_trigger_fatal_error('[plugin] (secure mode) fetch \'' . $params['file'] . '\' is not allowed'); - return; - } - - // fetch the file - if($fp = @fopen($params['file'],'r')) { - while(!feof($fp)) { - $content .= fgets ($fp,4096); - } - fclose($fp); - } else { - $smarty->_trigger_fatal_error('[plugin] fetch cannot read file \'' . $params['file'] . '\''); - return; - } - } else { - // not a local file - if(preg_match('!^http://!i',$params['file'])) { - // http fetch - if($uri_parts = parse_url($params['file'])) { - // set defaults - $host = $server_name = $uri_parts['host']; - $timeout = 30; - $accept = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*"; - $agent = "Smarty Template Engine ".$smarty->_version; - $referer = ""; - $uri = !empty($uri_parts['path']) ? $uri_parts['path'] : '/'; - $uri .= !empty($uri_parts['query']) ? '?' . $uri_parts['query'] : ''; - $_is_proxy = false; - if(empty($uri_parts['port'])) { - $port = 80; - } else { - $port = $uri_parts['port']; - } - if(!empty($uri_parts['user'])) { - $user = $uri_parts['user']; - } - if(!empty($uri_parts['pass'])) { - $pass = $uri_parts['pass']; - } - // loop through parameters, setup headers - foreach($params as $param_key => $param_value) { - switch($param_key) { - case "file": - case "assign": - case "assign_headers": - break; - case "user": - if(!empty($param_value)) { - $user = $param_value; - } - break; - case "pass": - if(!empty($param_value)) { - $pass = $param_value; - } - break; - case "accept": - if(!empty($param_value)) { - $accept = $param_value; - } - break; - case "header": - if(!empty($param_value)) { - if(!preg_match('![\w\d-]+: .+!',$param_value)) { - $smarty->_trigger_fatal_error("[plugin] invalid header format '".$param_value."'"); - return; - } else { - $extra_headers[] = $param_value; - } - } - break; - case "proxy_host": - if(!empty($param_value)) { - $proxy_host = $param_value; - } - break; - case "proxy_port": - if(!preg_match('!\D!', $param_value)) { - $proxy_port = (int) $param_value; - } else { - $smarty->_trigger_fatal_error("[plugin] invalid value for attribute '".$param_key."'"); - return; - } - break; - case "agent": - if(!empty($param_value)) { - $agent = $param_value; - } - break; - case "referer": - if(!empty($param_value)) { - $referer = $param_value; - } - break; - case "timeout": - if(!preg_match('!\D!', $param_value)) { - $timeout = (int) $param_value; - } else { - $smarty->_trigger_fatal_error("[plugin] invalid value for attribute '".$param_key."'"); - return; - } - break; - default: - $smarty->_trigger_fatal_error("[plugin] unrecognized attribute '".$param_key."'"); - return; - } - } - if(!empty($proxy_host) && !empty($proxy_port)) { - $_is_proxy = true; - $fp = fsockopen($proxy_host,$proxy_port,$errno,$errstr,$timeout); - } else { - $fp = fsockopen($server_name,$port,$errno,$errstr,$timeout); - } - - if(!$fp) { - $smarty->_trigger_fatal_error("[plugin] unable to fetch: $errstr ($errno)"); - return; - } else { - if($_is_proxy) { - fputs($fp, 'GET ' . $params['file'] . " HTTP/1.0\r\n"); - } else { - fputs($fp, "GET $uri HTTP/1.0\r\n"); - } - if(!empty($host)) { - fputs($fp, "Host: $host\r\n"); - } - if(!empty($accept)) { - fputs($fp, "Accept: $accept\r\n"); - } - if(!empty($agent)) { - fputs($fp, "User-Agent: $agent\r\n"); - } - if(!empty($referer)) { - fputs($fp, "Referer: $referer\r\n"); - } - if(isset($extra_headers) && is_array($extra_headers)) { - foreach($extra_headers as $curr_header) { - fputs($fp, $curr_header."\r\n"); - } - } - if(!empty($user) && !empty($pass)) { - fputs($fp, "Authorization: BASIC ".base64_encode("$user:$pass")."\r\n"); - } - - fputs($fp, "\r\n"); - while(!feof($fp)) { - $content .= fgets($fp,4096); - } - fclose($fp); - $csplit = split("\r\n\r\n",$content,2); - - $content = $csplit[1]; - - if(!empty($params['assign_headers'])) { - $smarty->assign($params['assign_headers'],split("\r\n",$csplit[0])); - } - } - } else { - $smarty->_trigger_fatal_error("[plugin] unable to parse URL, check syntax"); - return; - } - } else { - // ftp fetch - if($fp = @fopen($params['file'],'r')) { - while(!feof($fp)) { - $content .= fgets ($fp,4096); - } - fclose($fp); - } else { - $smarty->_trigger_fatal_error('[plugin] fetch cannot read file \'' . $params['file'] .'\''); - return; - } - } - - } - - - if (!empty($params['assign'])) { - $smarty->assign($params['assign'],$content); - } else { - return $content; - } -} - -/* vim: set expandtab: */ - -?> diff --git a/onyx2/modules/templates_anc/smarty/plugins/function.html_checkboxes.php b/onyx2/modules/templates_anc/smarty/plugins/function.html_checkboxes.php deleted file mode 100644 index ed8ad7f..0000000 --- a/onyx2/modules/templates_anc/smarty/plugins/function.html_checkboxes.php +++ /dev/null @@ -1,143 +0,0 @@ - - * Type: function
- * Name: html_checkboxes
- * Date: 24.Feb.2003
- * Purpose: Prints out a list of checkbox input types
- * Input:
- * - name (optional) - string default "checkbox" - * - values (required) - array - * - options (optional) - associative array - * - checked (optional) - array default not set - * - separator (optional) - ie
or   - * - output (optional) - the output next to each checkbox - * - assign (optional) - assign the output as an array to this variable - * Examples: - *
- * {html_checkboxes values=$ids output=$names}
- * {html_checkboxes values=$ids name='box' separator='
' output=$names} - * {html_checkboxes values=$ids checked=$checked separator='
' output=$names} - *
- * @link http://smarty.php.net/manual/en/language.function.html.checkboxes.php {html_checkboxes} - * (Smarty online manual) - * @author Christopher Kvarme - * @author credits to Monte Ohrt - * @version 1.0 - * @param array - * @param Smarty - * @return string - * @uses smarty_function_escape_special_chars() - */ -function smarty_function_html_checkboxes($params, &$smarty) -{ - require_once $smarty->_get_plugin_filepath('shared','escape_special_chars'); - - $name = 'checkbox'; - $values = null; - $options = null; - $selected = null; - $separator = ''; - $labels = true; - $output = null; - - $extra = ''; - - foreach($params as $_key => $_val) { - switch($_key) { - case 'name': - case 'separator': - $$_key = $_val; - break; - - case 'labels': - $$_key = (bool)$_val; - break; - - case 'options': - $$_key = (array)$_val; - break; - - case 'values': - case 'output': - $$_key = array_values((array)$_val); - break; - - case 'checked': - case 'selected': - $selected = array_map('strval', array_values((array)$_val)); - break; - - case 'checkboxes': - $smarty->trigger_error('html_checkboxes: the use of the "checkboxes" attribute is deprecated, use "options" instead', E_USER_WARNING); - $options = (array)$_val; - break; - - case 'assign': - break; - - default: - if(!is_array($_val)) { - $extra .= ' '.$_key.'="'.smarty_function_escape_special_chars($_val).'"'; - } else { - $smarty->trigger_error("html_checkboxes: extra attribute '$_key' cannot be an array", E_USER_NOTICE); - } - break; - } - } - - if (!isset($options) && !isset($values)) - return ''; /* raise error here? */ - - settype($selected, 'array'); - $_html_result = array(); - - if (isset($options)) { - - foreach ($options as $_key=>$_val) - $_html_result[] = smarty_function_html_checkboxes_output($name, $_key, $_val, $selected, $extra, $separator, $labels); - - - } else { - foreach ($values as $_i=>$_key) { - $_val = isset($output[$_i]) ? $output[$_i] : ''; - $_html_result[] = smarty_function_html_checkboxes_output($name, $_key, $_val, $selected, $extra, $separator, $labels); - } - - } - - if(!empty($params['assign'])) { - $smarty->assign($params['assign'], $_html_result); - } else { - return implode("\n",$_html_result); - } - -} - -function smarty_function_html_checkboxes_output($name, $value, $output, $selected, $extra, $separator, $labels) { - $_output = ''; - if ($labels) $_output .= ''; - $_output .= $separator; - - return $_output; -} - -?> diff --git a/onyx2/modules/templates_anc/smarty/plugins/function.html_image.php b/onyx2/modules/templates_anc/smarty/plugins/function.html_image.php deleted file mode 100644 index 9abae72..0000000 --- a/onyx2/modules/templates_anc/smarty/plugins/function.html_image.php +++ /dev/null @@ -1,142 +0,0 @@ - - * Name: html_image
- * Date: Feb 24, 2003
- * Purpose: format HTML tags for the image
- * Input:
- * - file = file (and path) of image (required) - * - height = image height (optional, default actual height) - * - width = image width (optional, default actual width) - * - basedir = base directory for absolute paths, default - * is environment variable DOCUMENT_ROOT - * - path_prefix = prefix for path output (optional, default empty) - * - * Examples: {html_image file="/images/masthead.gif"} - * Output: - * @link http://smarty.php.net/manual/en/language.function.html.image.php {html_image} - * (Smarty online manual) - * @author Monte Ohrt - * @author credits to Duda - wrote first image function - * in repository, helped with lots of functionality - * @version 1.0 - * @param array - * @param Smarty - * @return string - * @uses smarty_function_escape_special_chars() - */ -function smarty_function_html_image($params, &$smarty) -{ - require_once $smarty->_get_plugin_filepath('shared','escape_special_chars'); - - $alt = ''; - $file = ''; - $height = ''; - $width = ''; - $extra = ''; - $prefix = ''; - $suffix = ''; - $path_prefix = ''; - $server_vars = ($smarty->request_use_auto_globals) ? $_SERVER : $GLOBALS['HTTP_SERVER_VARS']; - $basedir = isset($server_vars['DOCUMENT_ROOT']) ? $server_vars['DOCUMENT_ROOT'] : ''; - foreach($params as $_key => $_val) { - switch($_key) { - case 'file': - case 'height': - case 'width': - case 'dpi': - case 'path_prefix': - case 'basedir': - $$_key = $_val; - break; - - case 'alt': - if(!is_array($_val)) { - $$_key = smarty_function_escape_special_chars($_val); - } else { - $smarty->trigger_error("html_image: extra attribute '$_key' cannot be an array", E_USER_NOTICE); - } - break; - - case 'link': - case 'href': - $prefix = ''; - $suffix = ''; - break; - - default: - if(!is_array($_val)) { - $extra .= ' '.$_key.'="'.smarty_function_escape_special_chars($_val).'"'; - } else { - $smarty->trigger_error("html_image: extra attribute '$_key' cannot be an array", E_USER_NOTICE); - } - break; - } - } - - if (empty($file)) { - $smarty->trigger_error("html_image: missing 'file' parameter", E_USER_NOTICE); - return; - } - - if (substr($file,0,1) == '/') { - $_image_path = $basedir . $file; - } else { - $_image_path = $file; - } - - if(!isset($params['width']) || !isset($params['height'])) { - if(!$_image_data = @getimagesize($_image_path)) { - if(!file_exists($_image_path)) { - $smarty->trigger_error("html_image: unable to find '$_image_path'", E_USER_NOTICE); - return; - } else if(!is_readable($_image_path)) { - $smarty->trigger_error("html_image: unable to read '$_image_path'", E_USER_NOTICE); - return; - } else { - $smarty->trigger_error("html_image: '$_image_path' is not a valid image file", E_USER_NOTICE); - return; - } - } - if ($smarty->security && - ($_params = array('resource_type' => 'file', 'resource_name' => $_image_path)) && - (require_once(SMARTY_CORE_DIR . 'core.is_secure.php')) && - (!smarty_core_is_secure($_params, $smarty)) ) { - $smarty->trigger_error("html_image: (secure) '$_image_path' not in secure directory", E_USER_NOTICE); - } - - if(!isset($params['width'])) { - $width = $_image_data[0]; - } - if(!isset($params['height'])) { - $height = $_image_data[1]; - } - - } - - if(isset($params['dpi'])) { - if(strstr($server_vars['HTTP_USER_AGENT'], 'Mac')) { - $dpi_default = 72; - } else { - $dpi_default = 96; - } - $_resize = $dpi_default/$params['dpi']; - $width = round($width * $_resize); - $height = round($height * $_resize); - } - - return $prefix . ''.$alt.'' . $suffix; -} - -/* vim: set expandtab: */ - -?> diff --git a/onyx2/modules/templates_anc/smarty/plugins/function.html_options.php b/onyx2/modules/templates_anc/smarty/plugins/function.html_options.php deleted file mode 100644 index cebadde..0000000 --- a/onyx2/modules/templates_anc/smarty/plugins/function.html_options.php +++ /dev/null @@ -1,122 +0,0 @@ - - * Name: html_options
- * Input:
- * - name (optional) - string default "select" - * - values (required if no options supplied) - array - * - options (required if no values supplied) - associative array - * - selected (optional) - string default not set - * - output (required if not options supplied) - array - * Purpose: Prints the list of