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