30 lines
2.0 KiB
PHP
30 lines
2.0 KiB
PHP
|
<?php /* Smarty version 2.6.19, created on 2008-09-20 00:10:35
|
||
|
compiled from game/alliance_donner.tpl */ ?>
|
||
|
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
||
|
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'separernombres', 'game/alliance_donner.tpl', 5, 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>Donner des ressources à l'alliance</h2>
|
||
|
<form method="post" action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
||
|
&q=donner">
|
||
|
<fieldset class="options">
|
||
|
<label for="metal"><?php echo $this->_tpl_vars['nomsressources']['0']; ?>
|
||
|
(max : <?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->metal)) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
|
||
|
) :</label><input type="text" class="text" id="metal" name="metal" maxlength="5" /><br />
|
||
|
<label for="cristal"><?php echo $this->_tpl_vars['nomsressources']['1']; ?>
|
||
|
(max : <?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->cristal)) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
|
||
|
) :</label><input type="text" class="text" id="cristal" name="cristal" maxlength="5" /><br />
|
||
|
<label for="hydrogene"><?php echo $this->_tpl_vars['nomsressources']['2']; ?>
|
||
|
(max : <?php echo ((is_array($_tmp=$this->_tpl_vars['planete']->hydrogene)) ? $this->_run_mod_handler('separernombres', true, $_tmp) : separernombres($_tmp)); ?>
|
||
|
) :</label><input type="text" class="text" id="hydrogene" name="hydrogene" maxlength="5" /><br />
|
||
|
<br /><input type="submit" class="submit" value="Donner" />
|
||
|
</fieldset>
|
||
|
</form>
|
||
|
<?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);
|
||
|
?>
|