<?php /* Smarty version 2.6.26, created on 2009-11-21 11:43:08
compiled from I:%5CEasyPHP5.3.0%5Cwww/mod/mod1/tpl/index.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'contner', 'I:\\EasyPHP5.3.0\\www/mod/mod1/tpl/index.tpl', 7, false),array('function', 'link', 'I:\\EasyPHP5.3.0\\www/mod/mod1/tpl/index.tpl', 16, false),)), $this); ?>
<html>
<head>
<title>Ma premiere page avec template</title>
</head>
<body>
<h1>C'est fait avec un template, si si</h1>
<?php $this->_tag_stack[] = array('contner', array('type' => 'wooz')); $_block_repeat=true;smarty_block_contner($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>
whaza !
<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_contner($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); } array_pop($this->_tag_stack); ?>
vous savez que tous les caractère accentués sont
automatiquement mis sous forme HTML ? Regardez la
source vous verrez ! à moins que vous soyez aveugle...
<h2>Liste des modules dispo</h2>
<ul>
<?php $_from = $this->_tpl_vars['module']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['mod']):
?>
<li><a href="<?php echo smarty_function_link(array('module' => $this->_tpl_vars['mod']), $this);?>
"><?php echo $this->_tpl_vars['mod']; ?>
</a></li>
<?php endforeach; endif; unset($_from); ?>
</ul>
</body>
</html>