game/onyx2/modules/templates_anc/compile/%%18^18A^18A2DC5A%%laboratoire.tpl.php

62 lines
4.0 KiB
PHP

<?php /* Smarty version 2.6.22, created on 2009-10-31 21:02:45
compiled from game/laboratoire.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'game/laboratoire.tpl', 16, false),array('modifier', 'countdown', 'game/laboratoire.tpl', 16, 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);
?>
<ul class="onglets">
<li<?php if ($this->_tpl_vars['onglet'] == 0): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
">Industrie</a></li>
<li<?php if ($this->_tpl_vars['onglet'] == 1 || $this->_tpl_vars['onglet'] == 2): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
&amp;n=1">Ingénierie</a></li>
<li<?php if ($this->_tpl_vars['onglet'] == 3): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
&amp;n=3">Politique</a></li>
<li<?php if ($this->_tpl_vars['onglet'] == 4): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
&amp;n=4">Armement</a></li>
<li<?php if ($this->_tpl_vars['onglet'] == 5 || $this->_tpl_vars['onglet'] == 6): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
&amp;n=5">Défense</a></li>
<li<?php if ($this->_tpl_vars['onglet'] == 7): ?> class="hilight"<?php endif; ?>><a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
&amp;n=7">Projets expérimentaux</a></li>
</ul>
<h2>File d'attente</h2>
<div class="file">
<ul id="file">
<?php ob_start(); ?>
<?php $_from = $this->_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']):
?>
<?php $_from = $this->_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']):
?>
<li><?php echo ((is_array($_tmp=$this->_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)); ?>
- <span<?php if ($this->_tpl_vars['element']['3']): ?> class="countdown"<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['element']['2'])) ? $this->_run_mod_handler('countdown', true, $_tmp) : smarty_modifier_countdown($_tmp)); ?>
</span> - <a href="<?php echo $this->_tpl_vars['menu']['laboratoire']; ?>
&amp;n=<?php echo $this->_tpl_vars['onglet']; ?>
&amp;a=<?php echo $this->_tpl_vars['keyF']; ?>
&amp;b=<?php echo $this->_tpl_vars['keyE']; ?>
">Annuler</a></li>
<?php endforeach; endif; unset($_from); ?>
<?php endforeach; endif; unset($_from); ?>
<?php $this->_smarty_vars['capture']['expFile'] = ob_get_contents(); ob_end_clean(); ?>
<?php if ($this->_tpl_vars['files'] && $this->_smarty_vars['capture']['expFile']): ?>
<?php echo $this->_smarty_vars['capture']['expFile']; ?>
<?php else: ?>
<li>Aucune recherches dans la file d'attente</li>
<?php endif; ?>
</ul>
</div>
<h2><?php echo ((is_array($_tmp=$this->_tpl_vars['LANG'][$this->_tpl_vars['race']]['batiments']['noms_sing']['6'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
</h2>
<?php if ($this->_tpl_vars['arbre']): ?>
<?php echo $this->_tpl_vars['arbre']; ?>
<?php else: ?><div class="error" style="color: red;">Aucune technologie à développer actuellement</div><?php endif; ?>
<?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);
?>