'; echo 'écrire un article'; echo ' | brouillons'; echo ''; } echo ''; foreach ($posts as $post) { echo '
'; echo '
écrit par ' . $post['owner']; if ($can_edit && $post['owner_id'] == $user['id']) echo ' | modifier'; if ($can_delete && $post['owner_id'] == $user['id']) echo ' | supprimer'; echo ' | lire & commenter (' . $post['comments'] . ')'; echo '
'; echo '
published ' . $post['date'] . '
'; if ($post['tags'] != '') { echo '
tags: ' . $post['tags'] . '
'; } echo '

' . $post['title'] . '

'; echo '
' . $post['text_html'] . '
'; echo '
'; } 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");