'; echo 'écrire un article'; echo ' | brouillons'; echo ''; } echo ''; if(count($posts) == 0) { echo "
Aucun article trouvé.
"; } else { echo ''; foreach ($posts as $post) { echo ''; echo ''; echo ''; echo ''; } echo '
TagsDateAuteur
' . $post['title'] . '
'; $k = array(); if ($can_edit && $post['owner_id'] == $user['id']) $k[] = 'modifier'; if ($can_delete && $post['owner_id'] == $user['id']) $k[] = 'supprimer'; echo implode(' | ', $k); echo '
'; echo '
' . $post['tags'] . '' . $post['date'] . '' . $post['owner'] . '
'; } echo '
'; foreach ($fa as $kname => $kdata) { if ($kname == "author") continue; echo '

Filtrer par ' . $kname . '

'; if (isset($fvalues[$kname])) { echo '

Filtering ' . $kname . ' : ' . $kdata[$fvalues[$kname]]['name'] . '.
'; $n = array(); foreach ($fvalues as $k => $v) { if ($k != $kname) $n[] = "$k-$v"; } echo 'remove filtering

'; } else { echo ''; } } echo "

...

"; $ze = array(); foreach ($fvalues as $k => $v) { $ze[] = "$k-$v"; } $ze[] = "feed-atom"; $zd = implode("-", $ze); echo ''; require("tpl/general/bottom.php");