xref: /web-php/archive/2020.php (revision b95f3e77)
1<?php
2
3$_SERVER['BASE_PAGE'] = 'archive/2020.php';
4include_once __DIR__ . '/../include/prepend.inc';
5include_once __DIR__ . '/../include/pregen-news.inc';
6news_archive_sidebar();
7site_header("News Archive - 2020");
8?>
9
10<h1>News Archive - 2020</h1>
11
12<p>
13 Here are the most important news items we have published in 2020 on PHP.net.
14</p>
15
16<hr>
17
18<?php
19
20print_news($NEWS_ENTRIES, null, 500, 2020);
21
22/* %s/<a href="\(.*\)"><img src="\/images\/news\/\(.*\)" alt="\(.*\)" width.*><\/a>/<?php news_image("\1", "\2", "\3"); ?>/g */
23site_footer(['elephpants' => true, 'sidebar' => $SIDEBAR_DATA]);
24