forked from halo-battle/game
24 lines
1.3 KiB
PHP
24 lines
1.3 KiB
PHP
<?php /* Smarty version 2.6.19, created on 2008-04-12 20:45:59
|
|
compiled from blog/index.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);
|
|
?>
|
|
<div id="overview"><?php $_from = $this->_tpl_vars['article']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
|
|
foreach ($_from as $this->_tpl_vars['value']):
|
|
?>
|
|
<div><h3><a href="<?php echo $this->_tpl_vars['value']['link_article']; ?>
|
|
"><?php echo $this->_tpl_vars['value']['titre']; ?>
|
|
</a> <em>Par <?php echo $this->_tpl_vars['value']['auteur']; ?>
|
|
, le <?php echo $this->_tpl_vars['value']['date']; ?>
|
|
</em></h3> <p><?php echo $this->_tpl_vars['value']['resume']; ?>
|
|
</p> <a href="<?php echo $this->_tpl_vars['value']['link_article']; ?>
|
|
"><?php echo $this->_tpl_vars['value']['nb_com']; ?>
|
|
commentaire<?php if ($this->_tpl_vars['value']['nb_com'] >= 2): ?>s<?php endif; ?></a></div>
|
|
<?php endforeach; endif; unset($_from); ?></div>
|
|
<?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);
|
|
?>
|