mirror of
https://github.com/php/web-php.git
synced 2026-03-24 07:12:16 +01:00
25 lines
631 B
PHP
25 lines
631 B
PHP
<?php
|
|
|
|
use phpweb\News\NewsHandler;
|
|
|
|
$_SERVER['BASE_PAGE'] = 'archive/2016.php';
|
|
include_once __DIR__ . '/../include/prepend.inc';
|
|
news_archive_sidebar();
|
|
site_header("News Archive - 2016");
|
|
?>
|
|
|
|
<h1>News Archive - 2016</h1>
|
|
|
|
<p>
|
|
Here are the most important news items we have published in 2016 on PHP.net.
|
|
</p>
|
|
|
|
<hr>
|
|
|
|
<?php
|
|
|
|
print_news((new NewsHandler())->getNewsByYear(2016), ["conferences", "cfp", "frontpage", "nofrontpage"], 500);
|
|
|
|
/* %s/<a href="\(.*\)"><img src="\/images\/news\/\(.*\)" alt="\(.*\)" width.*><\/a>/<?php news_image("\1", "\2", "\3"); ?>/g */
|
|
site_footer(['elephpants' => true, 'sidebar' => $SIDEBAR_DATA]);
|