Rev | Line | |
---|
[6] | 1 | |
---|
| 2 | <ul class="last_news"> |
---|
| 3 | <?php foreach($env->out["b_news"]["list"] as $id_news => $news) : ?> |
---|
| 4 | <li><a href="<?= $env->url(array("e" => "content", "id" => $id_news)) ?>"><?= $news["titre"] ?></a></li> |
---|
| 5 | <?php endforeach; ?> |
---|
| 6 | </ul> |
---|
| 7 | |
---|
| 8 | <?php if($env->out["b_categories"]["list"]) : ?> |
---|
| 9 | <div class="news_actegories_menu"> |
---|
| 10 | <h3>+ de news</h3> |
---|
| 11 | <div> |
---|
| 12 | <ul> |
---|
| 13 | <li><a href="<?= $env->url(array("e" => "news")) ?>">Toutes les catégories</a></li> |
---|
| 14 | <li><a href="<?= $env->url(array("e" => "news", "categorie" => "")) ?>">Sans catégorie</a></li> |
---|
| 15 | <?php foreach($env->out["b_categories"]["list"] as $id_categorie => $categorie) : ?> |
---|
| 16 | <li><a href="<?= $env->url(array("e" => "news", "categorie" => $id_categorie)) ?>"><?= $categorie["titre"] ?></a></li> |
---|
| 17 | <?php endforeach; ?> |
---|
| 18 | </ul> |
---|
| 19 | </div> |
---|
| 20 | </div> |
---|
| 21 | <div class="clear"><!-- --></div> |
---|
| 22 | <?php endif; ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.