' . filters_html_full() . '
';
foreach ($posts as $post) {
echo '';
echo '
Written by ' . $post['owner'];
if ($can_edit && $post['owner_id'] == $user['id'])
echo ' |
edit';
if ($can_delete && $post['owner_id'] == $user['id'])
echo ' |
delete';
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) {
echo '
Filter by ' . $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 '
';
}
}
require("tpl/general/bottom.php");