Author: Sergey Panteleev (saundefined)
Committer: GitHub (web-flow)
Pusher: saundefined
Date: 2026-01-01T04:23:03+03:00

Commit: 
https://github.com/php/web-php/commit/2c4cbc2c3e0026919d4c334d41490b7e972819a2
Raw diff: 
https://github.com/php/web-php/commit/2c4cbc2c3e0026919d4c334d41490b7e972819a2.diff

Add 2026 archive (#1717)

Changed paths:
  A  archive/2026.php


Diff:

diff --git a/archive/2026.php b/archive/2026.php
new file mode 100644
index 0000000000..6e91b33ddc
--- /dev/null
+++ b/archive/2026.php
@@ -0,0 +1,22 @@
+<?php
+
+use phpweb\News\NewsHandler;
+
+$_SERVER['BASE_PAGE'] = 'archive/2026.php';
+include_once __DIR__ . '/../include/prepend.inc';
+news_archive_sidebar();
+site_header("News Archive - 2026");
+?>
+
+<h1>News Archive - 2026</h1>
+
+<p>
+ Here are the most important news items we have published in 2026 on PHP.net.
+</p>
+
+<hr>
+
+<?php
+
+print_news((new NewsHandler())->getNewsByYear(2026), null, 500);
+site_footer(['elephpants' => true, 'sidebar' => $SIDEBAR_DATA]);

Reply via email to