Skip to content

Commit

Permalink
Add 2024 archive (#913)
Browse files Browse the repository at this point in the history
  • Loading branch information
chatii authored Jan 6, 2024
1 parent 7b42310 commit c98f8be
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions archive/2024.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

$_SERVER['BASE_PAGE'] = 'archive/2024.php';
include_once __DIR__ . '/../include/prepend.inc';
include_once __DIR__ . '/../include/pregen-news.inc';
news_archive_sidebar();
site_header("News Archive - 2024");
?>

<h1>News Archive - 2024</h1>

<p>
Here are the most important news items we have published in 2024 on PHP.net.
</p>

<hr>

<?php

print_news($NEWS_ENTRIES, null, 500, 2024);
site_footer(['elephpants' => true, 'sidebar' => $SIDEBAR_DATA]);

0 comments on commit c98f8be

Please sign in to comment.