game/onyx/tpl_compile/%%14^14B^14B41601%%arbre.tpl.php

113 lines
5.7 KiB
PHP

<?php /* Smarty version 2.6.19, created on 2008-09-13 00:05:12
compiled from game/arbre.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'game/header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<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 $_from = $this->_tpl_vars['batiments']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['batiment']):
?>
<tr><td><a href="?p=description&amp;b=<?php echo $this->_tpl_vars['batiment']['id']; ?>
&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
#menu"><?php echo $this->_tpl_vars['batiment']['nom']; ?>
</a> (<?php echo $this->_tpl_vars['batiment']['niveau']; ?>
) :</td><td><?php echo $this->_tpl_vars['batiment']['etat']; ?>
</td></tr>
<?php endforeach; endif; unset($_from); ?>
</tbody></table></div>
</div>
<div<?php if ($this->_tpl_vars['defaut'] == 'technologies'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;q=technologies&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
">Technologies</a>
<div><table><thead>
<tr><th>Technologies (niveau)</th><th>Technologies nécessaires (niveau actuel)</th></tr>
</thead><tbody>
<?php $_from = $this->_tpl_vars['technologies']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['technologie']):
?>
<tr><td><a href="?p=description&amp;t=<?php echo $this->_tpl_vars['technologie']['id']; ?>
&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
#menu"><?php echo $this->_tpl_vars['technologie']['nom']; ?>
</a> (<?php echo $this->_tpl_vars['technologie']['niveau']; ?>
) :</td><td><?php echo $this->_tpl_vars['technologie']['etat']; ?>
</td></tr>
<?php endforeach; endif; unset($_from); ?>
</tbody></table></div>
</div>
<div<?php if ($this->_tpl_vars['defaut'] == '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']; ?>
">Caserne</a>
<div><table><thead>
<tr><th>Unité</th><th>Technologies nécessaires (niveau actuel)</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['unite']):
?>
<tr><td><a href="?p=description&amp;c=<?php echo $this->_tpl_vars['unite']['id']; ?>
&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
#menu"><?php echo $this->_tpl_vars['unite']['nom']; ?>
</a> (<?php echo $this->_tpl_vars['unite']['niveau']; ?>
) :</td><td><?php echo $this->_tpl_vars['unite']['etat']; ?>
</td></tr>
<?php endforeach; endif; unset($_from); ?>
</tbody></table></div>
</div>
<div<?php if ($this->_tpl_vars['defaut'] == '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']; ?>
">Chantier terrestre</a>
<div><table><thead>
<tr><th>Véhicules/Défenses</th><th>Technologies nécessaires (niveau actuel)</th></tr>
</thead><tbody>
<?php $_from = $this->_tpl_vars['unites']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['unite']):
?>
<tr><td><a href="?p=description&amp;d=<?php echo $this->_tpl_vars['unite']['id']; ?>
&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
#menu"><?php echo $this->_tpl_vars['unite']['nom']; ?>
</a> (<?php echo $this->_tpl_vars['unite']['niveau']; ?>
) :</td><td><?php echo $this->_tpl_vars['unite']['etat']; ?>
</td></tr>
<?php endforeach; endif; unset($_from); ?>
</tbody></table></div>
</div>
<div<?php if ($this->_tpl_vars['defaut'] == 'vaisseaux'): ?> class="hightlight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['arbre']; ?>
&amp;q=vaisseaux&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
">Chantier spatial</a>
<div><table><thead>
<tr><th>Vaisseaux</th><th>Technologies nécessaires (niveau actuel)</th></tr>
</thead><tbody>
<?php $_from = $this->_tpl_vars['vaisseaux']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['vaisseau']):
?>
<tr><td><a href="?p=description&amp;v=<?php echo $this->_tpl_vars['vaisseau']['id']; ?>
&amp;r=<?php echo $this->_tpl_vars['raceAff']; ?>
#menu"><?php echo $this->_tpl_vars['vaisseau']['nom']; ?>
</a> (<?php echo $this->_tpl_vars['vaisseau']['niveau']; ?>
) :</td><td><?php echo $this->_tpl_vars['vaisseau']['etat']; ?>
</td></tr>
<?php endforeach; endif; unset($_from); ?>
</tbody></table></div>
</div>
</div>
<?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);
?>