Skip to content

Commit

Permalink
Merge pull request #1 from Erik-Hoffmann/Erik-Hoffmann-patch-1
Browse files Browse the repository at this point in the history
Add 2025 archive
  • Loading branch information
Erik-Hoffmann authored Jan 20, 2025
2 parents e1caeed + f71ca08 commit 17dcbb8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions archive/2025.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

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

<h1>News Archive - 2025</h1>

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

<hr>

<?php

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

0 comments on commit 17dcbb8

Please sign in to comment.