45 lines
2.0 KiB
PHP
45 lines
2.0 KiB
PHP
<?php /* Smarty version 2.6.19, created on 2008-05-17 14:29:35
|
|
compiled from game/alliance_chat.tpl */ ?>
|
|
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
|
|
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'game/alliance_chat.tpl', 19, 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);
|
|
?>
|
|
<div class="border_top" id="chat"></div>
|
|
<h2>Chat</h2>
|
|
<form method="post" action="<?php echo $this->_tpl_vars['menu']['alliance']; ?>
|
|
&q=chat">
|
|
Réponse : <input name="msg" type="text" size="50" maxlength="250"> <input value="GO" class="submit" type="submit">
|
|
</form>
|
|
<br />
|
|
<div style="height: 550px; overflow: auto; width: 99%;">
|
|
<table style="width: 100%; margin: 0px;">
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 172px;">[pseudo] heure</td>
|
|
<th style="width: 536px;">Message</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php $_from = $this->_tpl_vars['chat']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
|
foreach ($_from as $this->_tpl_vars['message']):
|
|
?>
|
|
<tr>
|
|
<td>[<?php echo $this->_tpl_vars['message']['emetteur']; ?>
|
|
] <i><?php echo ((is_array($_tmp=$this->_tpl_vars['message']['timestamp'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d/%m/%y %H:%M:%S") : smarty_modifier_date_format($_tmp, "%d/%m/%y %H:%M:%S")); ?>
|
|
</i></td>
|
|
<td><?php echo $this->_tpl_vars['message']['message']; ?>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; endif; unset($_from); ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="border_bt"></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);
|
|
?>
|