Commit:    297d575a1d951d744c5309d303c7c93d40fadddb
Author:    Joe Watkins <krak...@php.net>         Thu, 19 Jan 2017 10:24:15 +0000
Parents:   6ba466c912e32e7aaecfbf112b92d7970c454d00
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=297d575a1d951d744c5309d303c7c93d40fadddb

Log:
add archive/2017.php

Changed paths:
  A  archive/2017.php


Diff:
diff --git a/archive/2017.php b/archive/2017.php
new file mode 100644
index 0000000..bc548dc
--- /dev/null
+++ b/archive/2017.php
@@ -0,0 +1,25 @@
+<?php
+
+$_SERVER['BASE_PAGE'] = 'archive/2017.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 - 2017");
+//site_header("News Archive - 2017", array("cache" => true));
+?>
+
+<h1>News Archive - 2017</h1>
+
+<p>
+ Here are the most important news items we have published in 2017 on PHP.net.
+</p>
+
+<hr>
+
+<?php
+
+print_news($NEWS_ENTRIES, array("conferences", "cfp", "frontpage", 
"nofrontpage"), 500, 2017);
+
+/* %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));
+


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to