Author: Ben Ramsey (ramsey) Date: 2022-01-20T21:39:24-06:00 Commit: https://github.com/php/web-php/commit/fb539eac0b2fc956c1488fafec6a493663a7fb76 Raw diff: https://github.com/php/web-php/commit/fb539eac0b2fc956c1488fafec6a493663a7fb76.diff
Add 2022 archive page Changed paths: A archive/2022.php Diff: diff --git a/archive/2022.php b/archive/2022.php new file mode 100644 index 000000000..af0378272 --- /dev/null +++ b/archive/2022.php @@ -0,0 +1,21 @@ +<?php + +$_SERVER['BASE_PAGE'] = 'archive/2022.php'; +include_once __DIR__ . '/../include/prepend.inc'; +include_once __DIR__ . '/../include/pregen-news.inc'; +news_archive_sidebar(); +site_header("News Archive - 2022"); +?> + +<h1>News Archive - 2022</h1> + +<p> + Here are the most important news items we have published in 2022 on PHP.net. +</p> + +<hr> + +<?php + +print_news($NEWS_ENTRIES, null, 500, 2022); +site_footer(array('elephpants' => true, 'sidebar' => $SIDEBAR_DATA)); -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php