<?php
include_once 'nieuws.inc.php';
-$articles = ($Page ?: 'nieuws') . '/????/??';
-shownews($articles, @$_GET['n'] ?: 5);
+$articles = (ltrim($Args, '/') ?: 'nieuws');
+if (strpos($articles, '/') === FALSE) {
+ $articles .= '/????';
+}
+ob_start();
+shownews($articles, @$Place['n'] ?: 5);
+print getoutput();