mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Add 2019 news archive stub
This commit is contained in:
24
archive/2019.php
Normal file
24
archive/2019.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
$_SERVER['BASE_PAGE'] = 'archive/2019.php';
|
||||
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
|
||||
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/pregen-news.inc';
|
||||
news_archive_sidebar();
|
||||
site_header("News Archive - 2019");
|
||||
//site_header("News Archive - 2019", array("cache" => true));
|
||||
?>
|
||||
|
||||
<h1>News Archive - 2019</h1>
|
||||
|
||||
<p>
|
||||
Here are the most important news items we have published in 2019 on PHP.net.
|
||||
</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<?php
|
||||
|
||||
print_news($NEWS_ENTRIES, null, 500, 2019);
|
||||
|
||||
/* %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));
|
||||
Reference in New Issue
Block a user