Commit: e592e29c7b26c4356cbced6137c881656753725f Author: Richard van Laak <[email protected]> Thu, 23 Jan 2020 09:27:16 +0100 Committer: Christoph M. Becker <[email protected]> Thu, 23 Jan 2020 09:46:14 +0100 Parents: e16f0114f985f0dcaf0a7a57efb197ac955be87e Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=e592e29c7b26c4356cbced6137c881656753725f Log: Add 2020 news archive Changed paths: A archive/2020.php Diff: diff --git a/archive/2020.php b/archive/2020.php new file mode 100644 index 000000000..e0efc3567 --- /dev/null +++ b/archive/2020.php @@ -0,0 +1,24 @@ +<?php + +$_SERVER['BASE_PAGE'] = 'archive/2020.php'; +include_once __DIR__ . '/../include/prepend.inc'; +include_once __DIR__ . '/../include/pregen-news.inc'; +news_archive_sidebar(); +site_header("News Archive - 2020"); +//site_header("News Archive - 2020", array("cache" => true)); +?> + +<h1>News Archive - 2020</h1> + +<p> + Here are the most important news items we have published in 2020 on PHP.net. +</p> + +<hr> + +<?php + +print_news($NEWS_ENTRIES, null, 500, 2020); + +/* %s/<a href="\(.*\)"><img src="\/images\/news\/\(.*\)" alt="\(.*\)" width.*><\/a>/<?php news_image("\1", "\2", "\3"); ?>/g */ +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
