HB/onyx/templates/templates_c/%%A7^A74^A74D7B14%%page.xtpl.php

54 lines
3.7 KiB
PHP

<?php /* Smarty version 2.6.19, created on 2008-05-10 15:26:44
compiled from blog/page.xtpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'blog/header.xtpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<h5><?php echo $this->_tpl_vars['auteur']; ?>
, <em>le <?php echo $this->_tpl_vars['date']; ?>
</em></h5>
<p id="content"><?php echo $this->_tpl_vars['contenu']; ?>
</p>
<div id="commentaire">
<?php $_from = $this->_tpl_vars['commentaire']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['value']):
?> <div><h6><a href="<?php echo $this->_tpl_vars['value']['link']; ?>
"><?php echo $this->_tpl_vars['value']['user']; ?>
</a>, le <?php echo $this->_tpl_vars['value']['date']; ?>
</h6><p><?php echo $this->_tpl_vars['value']['content']; ?>
</p></div>
<?php endforeach; endif; unset($_from); ?>
</div>
<form action="./<?php echo $this->_tpl_vars['path']; ?>
" method="post"><fieldset>
<legend>Poster un commentaire</legend>
<?php if ($this->_tpl_vars['connected']): ?><div>
<img src="images/smile/wink.gif" alt=":wink:" onclick="document.getElementById('com').value += ' :wink: '" />
<img src="images/smile/biggrin.gif" alt=":D" onclick="document.getElementById('com').value += ' :D '" />
<img src="images/smile/smile.gif" alt=":-)" onclick="document.getElementById('com').value += ' :-) '" />
<img src="images/smile/razz.gif" alt=":P" onclick="document.getElementById('com').value += ' :P '" /><br />
<img src="images/smile/eek.gif" alt=":shock:" onclick="document.getElementById('com').value += ' :shock: '" />
<img src="images/smile/cool.gif" alt="8-)" onclick="document.getElementById('com').value += ' 8-) '" />
<img src="images/smile/twisted.gif" alt=":twisted:" onclick="document.getElementById('com').value += ' :twisted: '" />
<img src="images/smile/evil.gif" alt=":evil:" onclick="document.getElementById('com').value += ' :evil: '" /><br />
<img src="images/smile/mad.gif" alt=":-x" onclick="document.getElementById('com').value += ' :-x '" />
<img src="images/smile/confused.gif" alt=":-?" onclick="document.getElementById('com').value += ' :-? '" />
<img src="images/smile/sad.gif" alt=":-(" onclick="document.getElementById('com').value += ' :-( '" />
<img src="images/smile/surprised.gif" alt=":-O" onclick="document.getElementById('com').value += ' :-O '" /><br />
<img src="images/smile/neutral.gif" alt=":-|" onclick="document.getElementById('com').value += ' :-| '" />
<img src="images/smile/redface.gif" alt=":oops:" onclick="document.getElementById('com').value += ' :oops: '" />
<img src="images/smile/rolleyes.gif" alt=":roll:" onclick="document.getElementById('com').value += ' :roll: '" />
<img src="images/smile/lol.gif" alt=":lol:" onclick="document.getElementById('com').value += ' :lol: '" />
</div>
<textarea name="commentaire" id="com"></textarea><br />
<input type="submit" class="submit" value="Envoyer" />
<?php else: ?><label for="login">Login (forum) : <input type="text" class="text" name="login" id="login" /></label>
<label for="password">Mot de passe : <input type="password" class="text" name="password" id="password" /></label>
<input type="submit" class="submit" value="Connexion" /><?php endif; ?>
</fieldset></form>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'blog/footer.xtpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>