source: trunk/web/app/mods/e_edito.php @ 1

Last change on this file since 1 was 1, checked in by dj3c1t, 13 years ago

import initial

File size: 579 bytes
RevLine 
[1]1<?php
2
3  function e_edito($env)
4  { if(($env->out["edito"] = $env->data->edito()) !== false)
5    { $path = array("root", "news");
6      $depth = 1;
7      if(($env->out["categories"] = $env->data->all_news_categories()) !== false)
8      { if(($env->out["news"] = $env->data->news($path, 0, $depth, true, 5)) !== false)
9        { 
10        }
11        else $env->erreur .= "<br>Impossible de lire la liste des news";
12      }
13      else $env->erreur .= "<br>Impossible de lire la liste des categories de news";
14    }
15    else $env->erreur = "Impossible de lire l'&eacute;dito";
16  }
17
18?>
Note: See TracBrowser for help on using the repository browser.