\n", preg_replace($url, '$0', str_replace("\r", "", $f)));
}
$oji = array_unique(array_merge(scandir("objave"), scandir("komentarji")));
sort($oji);
foreach (array_reverse($oji) as $o) {
if (str_starts_with($o, "."))
continue;
if ($o == date("Y-m-d") . ".html" && !empty($_REQUEST["samo_zgodovina"]))
continue;
$f = @file_get_contents("objave/" . $o);
if ($type == "rss") {
echo "
" . oblikuj($komentar, $type));
echo htmlspecialchars("
-- $o
");
echo "";
} else {
echo $content;
if ($komentar)
echo "komentar:
" . oblikuj($komentar, $type) . "$o
";
}
}
if ($type != "rss") {
?>