X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/f74276ad4a38479c8a5f7ccf065ab576cf2d192d..1f8560a20d5d1aa8886688bd7553b8a8fd704fff:/nieuws.php diff --git a/nieuws.php b/nieuws.php index 157986c..fda142e 100644 --- a/nieuws.php +++ b/nieuws.php @@ -1,19 +1,6 @@ Nieuwsarchief\n\n"; - -print '
'."\n\n"; -shownews($Page, 20); -print "
\n\n"; - -if (!empty($User['admin'])) { - print ''."\n"; -} +include_once 'nieuws.inc.php'; +$articles = (ltrim($Args, '/') ?: 'nieuws') . '/????'; +ob_start(); +shownews($articles, @$Place['n'] ?: 5); +print getoutput();