2020-11-15 15:12:32 +00:00
|
|
|
<?php /* Smarty version 2.6.22, created on 2009-10-31 20:55:23
|
2020-11-15 15:12:30 +00:00
|
|
|
compiled from game/alliance/chat_ajax.tpl */ ?>
|
|
|
|
<?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>Chat</h2>
|
|
|
|
<noscript><div id="erreur" style="color: red;">Vous devez activer le JavaScript pour pouvoir utiliser le chat !</div></noscript>
|
|
|
|
<?php if ($this->_tpl_vars['planete']->permissions_alliance & 256): ?>
|
|
|
|
<form method="post" action="<?php echo $this->_tpl_vars['menu']['chat_alli']; ?>
|
|
|
|
" onsubmit="return chat_sendMessage();">
|
|
|
|
<label for="msg">Réponse :</label> <input name="msg" id="msg" type="text" size="50" maxlength="250" /> <input value="GO" class="submit" type="submit" /> <input value="MAJ" onclick="chat_MAJ();" class="submit" type="button" />
|
|
|
|
</form>
|
|
|
|
<br />
|
|
|
|
<?php endif; ?>
|
|
|
|
<div style="height: 550px; overflow: auto; width: 99%;">
|
|
|
|
<table style="width: 100%; margin: 0px;">
|
|
|
|
<tbody id="chat">
|
|
|
|
<tr>
|
|
|
|
<td colspan="2">Vous vous connectez au chat</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th style="width: 172px;">[pseudo] heure</td>
|
|
|
|
<th style="width: 536px;">Message</td>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<script type="text/javascript" src="js/prototype.js"></script>
|
|
|
|
<script type="text/javascript" src="js/chat.js"></script>
|
|
|
|
<?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);
|
|
|
|
?>
|