2 include 'nieuws.inc.php';
4 @list ($year, $month, $page) = explode('/', trim($Args, '/'));
7 $edit = !empty($User['admin']) ? htmlspecialchars(@$_GET['edit']) : NULL;
8 print shownewsarticle($Args, FALSE, $edit);
14 print "<h2>Nieuws $year</h2>\n\n";
16 print '<div id="news">'."\n\n";
17 shownews("$Page/$year/??", 100);
23 print '<div id="news">'."\n\n";
25 foreach (array_reverse(glob("$Page/2???")) as $page) {
26 $year = basename($page, '.html');
27 printf('<h3><a href="/%s">%s</a></h3>'."\n", $page, $year);
33 if (!empty($User['admin'])) {
34 print '<script src="/nieuws/edit.js"></script>'."\n";