game/onyx2/modules/templates_anc/compile/%%14^14B^14B41601%%arbre.tpl.php

113 lines
7.1 KiB
PHP

<?php /* Smarty version 2.6.22, created on 2009-10-31 21:04:41
compiled from game/arbre.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/arbre.tpl', 11, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<h2>Arbre Technologique <?php echo $this->_tpl_vars['raceAff']; ?>
</h2>
Race : <a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;r=humain">Humains</a> - <a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;r=covenant">Covenants</a>
<div class="techno">
<div<?php if ($this->_tpl_vars['defaut'] == 'batiments'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;q=batiments&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
">Bâtiments</a>
<div><table><thead>
<tr><th>Batiments (niveau)</th><th>Technologies nécessaires (niveau actuel)</th></tr>
</thead><tbody>
<?php if (SURFACE == 'planete'): ?>
<?php $_from = $this->_tpl_vars['batiments']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['batiment']):
?>
<tr><td><a href="?p=description&amp;b=<?php echo $this->_tpl_vars['key']; ?>
&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
#menu"><?php echo ((is_array($_tmp=$this->_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)); ?>
</a> (<?php echo $this->_tpl_vars['batiment']['niveau']; ?>
) :</td><td><?php echo $this->_tpl_vars['batiment']['etat']; ?>
</td></tr>
<?php endforeach; endif; unset($_from); ?>
<?php else: ?>
<?php $_from = $this->_tpl_vars['batiments']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['batiment']):
?>
<tr><td><a href="?p=description&amp;a=<?php echo $this->_tpl_vars['key']; ?>
&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
#menu"><?php echo ((is_array($_tmp=$this->_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)); ?>
</a> (<?php echo $this->_tpl_vars['batiment']['niveau']; ?>
) :</td><td><?php echo $this->_tpl_vars['batiment']['etat']; ?>
</td></tr>
<?php endforeach; endif; unset($_from); ?>
<?php endif; ?>
</tbody></table></div>
</div>
<div<?php if ($this->_tpl_vars['defaut'] == 'caserne'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;q=caserne&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['batiments']['noms_sing']['9'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
</a>
<div><table><thead>
<tr><th>Unité</th><th>Technologies nécessaires</th></tr>
</thead><tbody>
<?php $_from = $this->_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']):
?>
<tr><td><a href="?p=description&amp;c=<?php echo $this->_tpl_vars['key']; ?>
&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
#menu"><?php echo ((is_array($_tmp=$this->_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)); ?>
</a> (<?php echo $this->_tpl_vars['unite']['niveau']; ?>
) :</td><td><?php echo ((is_array($_tmp=$this->_tpl_vars['unite']['etat'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
</td></tr>
<?php endforeach; endif; unset($_from); ?>
</tbody></table></div>
</div>
<div<?php if ($this->_tpl_vars['defaut'] == 'chantierterrestre'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;q=chantierterrestre&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['batiments']['noms_sing']['7'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
</a>
<div><table><thead>
<tr><th>Véhicules/Défenses</th><th>Technologies nécessaires (niveau actuel)</th></tr>
</thead><tbody>
<?php $_from = $this->_tpl_vars['unites']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['unite']):
?>
<tr><td><a href="?p=description&amp;d=<?php echo $this->_tpl_vars['key']; ?>
&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
#menu"><?php echo ((is_array($_tmp=$this->_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)); ?>
</a> (<?php echo $this->_tpl_vars['unite']['niveau']; ?>
) :</td><td><?php echo $this->_tpl_vars['unite']['etat']; ?>
</td></tr>
<?php endforeach; endif; unset($_from); ?>
</tbody></table></div>
</div>
<div<?php if ($this->_tpl_vars['defaut'] == 'vaisseaux'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;q=vaisseaux&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['raceAff']]['batiments']['noms_sing']['8'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
</a>
<div><table><thead>
<tr><th>Vaisseaux</th><th>Technologies nécessaires (niveau actuel)</th></tr>
</thead><tbody>
<?php $_from = $this->_tpl_vars['vaisseaux']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['vaisseau']):
?>
<tr><td><a href="?p=description&amp;v=<?php echo $this->_tpl_vars['key']; ?>
&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
#menu"><?php echo ((is_array($_tmp=$this->_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)); ?>
</a> (<?php echo $this->_tpl_vars['vaisseau']['niveau']; ?>
) :</td><td><?php echo $this->_tpl_vars['vaisseau']['etat']; ?>
</td></tr>
<?php endforeach; endif; unset($_from); ?>
</tbody></table></div>
</div>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>