game/onyx2/modules/templates_anc/compile/%%76^76E^76E04217%%archives.tpl.php

94 lines
5.2 KiB
PHP

<?php /* Smarty version 2.6.22, created on 2009-10-31 16:47:07
compiled from game/diplomatie/archives.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/diplomatie/archives.tpl', 7, 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);
?>
<?php $_smarty_tpl_vars = $this->_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);
?>
<h2>Déclarations de guerre</h2>
<?php if ($this->_tpl_vars['guerres']): ?>
<ul>
<?php $_from = $this->_tpl_vars['guerres']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['pacte']):
?>
<li><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;v=<?php echo $this->_tpl_vars['pacte']['alliance_id']; ?>
">[<?php echo $this->_tpl_vars['pacte']['tag']; ?>
] <?php echo $this->_tpl_vars['pacte']['nom_alliance']; ?>
</a> déclarée le <?php echo ((is_array($_tmp=$this->_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 <?php echo ((is_array($_tmp=$this->_tpl_vars['pacte']['time_fin'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?>
</li>
<?php endforeach; endif; unset($_from); ?>
</ul>
<?php else: ?>
<h3>Aucune guerre n'a été déclarée</h3>
<?php endif; ?>
<br />
<h2>Pactes de non agression</h2>
<?php if ($this->_tpl_vars['pnas']): ?>
<ul>
<?php $_from = $this->_tpl_vars['pnas']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['pacte']):
?>
<li><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;v=<?php echo $this->_tpl_vars['pacte']['alliance_id']; ?>
">[<?php echo $this->_tpl_vars['pacte']['tag']; ?>
] <?php echo $this->_tpl_vars['pacte']['nom_alliance']; ?>
</a> créé le <?php echo ((is_array($_tmp=$this->_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 <?php echo ((is_array($_tmp=$this->_tpl_vars['pacte']['time_fin'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?>
</li>
<?php endforeach; endif; unset($_from); ?>
</ul>
<?php else: ?>
<h3>Aucun pacte de ce type n'a encore été signé</h3>
<?php endif; ?>
<br />
<h2>Pactes commerciaux</h2>
<?php if ($this->_tpl_vars['pcs']): ?>
<ul>
<?php $_from = $this->_tpl_vars['pcs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['pacte']):
?>
<li><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;v=<?php echo $this->_tpl_vars['pacte']['alliance_id']; ?>
">[<?php echo $this->_tpl_vars['pacte']['tag']; ?>
] <?php echo $this->_tpl_vars['pacte']['nom_alliance']; ?>
</a> créé le <?php echo ((is_array($_tmp=$this->_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 <?php echo ((is_array($_tmp=$this->_tpl_vars['pacte']['time_fin'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?>
</li>
<?php endforeach; endif; unset($_from); ?>
</ul>
<?php else: ?>
<h3>Aucun pacte de ce type n'a encore été signé</h3>
<?php endif; ?>
<br />
<h2>Pactes militaires</h2>
<?php if ($this->_tpl_vars['pms']): ?>
<ul>
<?php $_from = $this->_tpl_vars['pms']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['pacte']):
?>
<li><a href="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
&amp;v=<?php echo $this->_tpl_vars['pacte']['alliance_id']; ?>
">[<?php echo $this->_tpl_vars['pacte']['tag']; ?>
] <?php echo $this->_tpl_vars['pacte']['nom_alliance']; ?>
</a> créé le <?php echo ((is_array($_tmp=$this->_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 <?php echo ((is_array($_tmp=$this->_tpl_vars['pacte']['time_fin'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y") : smarty_modifier_date_format($_tmp, "%d/%m/%y")); ?>
</li>
<?php endforeach; endif; unset($_from); ?>
</ul>
<?php else: ?>
<h3>Aucun pacte de ce type n'a encore été signé</h3>
<?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);
?>