forked from halo-battle/game
Version 1.13a
This commit is contained in:
parent
de31cd3e9a
commit
ba8f323879
1634 changed files with 10080 additions and 213021 deletions
|
|
@ -0,0 +1,102 @@
|
|||
<?php /* Smarty version 2.6.22, created on 2009-10-18 06:04:22
|
||||
compiled from game/diplomatie/encours.tpl */ ?>
|
||||
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||||
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/diplomatie/encours.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']; ?>
|
||||
&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> depuis 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")); ?>
|
||||
<?php if (( $this->_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 )): ?><?php if ($this->_tpl_vars['pacte']['accepte'] == 0): ?> - Une demande de cesser le feu est en cours<?php else: ?><?php if ($this->_tpl_vars['planete']->permissions_alliance & 8): ?> - <em><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&o=new&c=<?php echo $this->_tpl_vars['pacte']['id']; ?>
|
||||
">Demander un cesser le feu</a></em><?php else: ?> - Nous pouvons demander le cesser le feu<?php endif; ?><?php endif; ?><?php elseif ($this->_tpl_vars['pacte']['accepte'] == 0): ?><?php if ($this->_tpl_vars['planete']->permissions_alliance & 8): ?> - <em><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&a=<?php echo $this->_tpl_vars['pacte']['id']; ?>
|
||||
">Accepter le cesser le feu</a></em> - <em><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&r=<?php echo $this->_tpl_vars['pacte']['id']; ?>
|
||||
">Refuser le cesser le feu</a></em><?php else: ?> - Nos adversaires nous propose un cesser le feu<?php endif; ?><?php else: ?> - Nous ne pouvons pas demander de cesser le feu.<?php endif; ?></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<h3>Aucune guerre n'est actuellement 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']; ?>
|
||||
&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> depuis 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")); ?>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 8): ?> - <em><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&s=<?php echo $this->_tpl_vars['pacte']['id']; ?>
|
||||
">Abroger le pacte</a></em><?php endif; ?></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<h3>Aucun pacte de ce type n'est actuellement en vigueur</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']; ?>
|
||||
&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> depuis 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")); ?>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 8): ?> - <em><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&s=<?php echo $this->_tpl_vars['pacte']['id']; ?>
|
||||
">Abroger le pacte</a></em><?php endif; ?></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<h3>Aucun pacte de ce type n'est actuellement en vigueur</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']; ?>
|
||||
&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> depuis 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")); ?>
|
||||
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 8): ?> - <em><a href="<?php echo $this->_tpl_vars['menu']['diplomatie']; ?>
|
||||
&s=<?php echo $this->_tpl_vars['pacte']['id']; ?>
|
||||
">Abroger le pacte</a></em><?php endif; ?></li>
|
||||
<?php endforeach; endif; unset($_from); ?>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<h3>Aucun pacte de ce type n'est actuellement en vigueur</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);
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue