function OW_liste_document($criteres, $max = 90, $titre = "Tous les articles", $show_extra_infos = true, $show_categories = true)
{
    global $db;
    require_once PATH_INC_FRONTEND . 'FrontService.class.php';
    $infosPages = '';
    $fs = new FrontService($db);
    $fs->nbLigneParPage = $max;
    $OW_liste_article = $fs->getListPage($criteres, $infosPages, $show_categories);
    if (count($OW_liste_article) > 0) {
        if (!empty($titre)) {
            echo '<h2>', $titre, "</h2>\n";
        }
        echo "<dl class=\"listedocs\">\n";
        foreach ($OW_liste_article as $art) {
            echo '  <dt><cite><a href="' . $art['repertoire'] . '">' . $art['titre'] . '</a></cite>';
            if ($show_extra_infos) {
                echo ' par ' . $art['auteurs'] . ', le ' . strftime('%x', $art['date']);
                if ($show_categories && !empty($art['classement'])) {
                    echo ' pour ';
                    $classmt = '';
                    foreach ($art['classement'] as $cri) {
                        foreach ($cri as $rep => $cls) {
                            $classmt .= ', <a href="' . $fs->getDocumentPath($rep) . '">' . $cls . '</a>';
                        }
                    }
                    echo substr($classmt, 1);
                }
            }
            echo "</dt>\n";
            echo '  <dd>' . $art['accroche'] . "</dd>\n";
        }
        echo "</dl>";
    }
}
<?php

require_once '../include/frontend/init.inc.php';
require_once PATH_INC_FRONTEND . 'FrontService.class.php';
require_once PATH_INC_FRONTEND . 'html_listedoc.inc.php';
$fs = new FrontService($db);
$rub = array();
$fs->nbLineParPage = 1;
$OW_presentation = $fs->getListPage(array('type' => 'openwebgroup', 'repertoire' => 'openwebgroup'), $rub);
ob_start();
?>
<!-- Début Texte -->
<div xmlns="http://www.w3.org/1999/xhtml" id="texteaccueil">

  <!-- Début Intro -->
  <div id="intro">

  <!-- Début Présentation -->
  <div id="presentation">
    <h2>Présentation</h2>
    <p><?php 
if (count($OW_presentation) == 0) {
    echo 'Pas de présentation pour le moment';
} else {
    $OW_presentation = $OW_presentation[0];
    echo $OW_presentation['accroche'];
    echo ' <a href="', $OW_presentation['repertoire'], '">Présentation complète</a>.';
}
?>
</p>
  </div>