1<?php 2 3$_SERVER['BASE_PAGE'] = 'archive/2018.php'; 4include_once __DIR__ . '/../include/prepend.inc'; 5include_once __DIR__ . '/../include/pregen-news.inc'; 6news_archive_sidebar(); 7site_header("News Archive - 2018"); 8?> 9 10<h1>News Archive - 2018</h1> 11 12<p> 13 Here are the most important news items we have published in 2018 on PHP.net. 14</p> 15 16<hr> 17 18<?php 19 20print_news($NEWS_ENTRIES, null, 500, 2018); 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