annotate pages/news.inc.php @ 565:ed2247111fdd

Bump copyright years.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 10 Mar 2014 17:08:33 +0200
parents 8693052c66a9
children ce11ea112a65
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 <?
151
a778629edff9 Add copyright headers.
Matti Hamalainen <ccr@tnsp.org>
parents: 123
diff changeset
2 //
a778629edff9 Add copyright headers.
Matti Hamalainen <ccr@tnsp.org>
parents: 123
diff changeset
3 // FAPWeb Simple Demoparty System
a778629edff9 Add copyright headers.
Matti Hamalainen <ccr@tnsp.org>
parents: 123
diff changeset
4 // News page
565
ed2247111fdd Bump copyright years.
Matti Hamalainen <ccr@tnsp.org>
parents: 514
diff changeset
5 // (C) Copyright 2012-2014 Tecnic Software productions (TNSP)
151
a778629edff9 Add copyright headers.
Matti Hamalainen <ccr@tnsp.org>
parents: 123
diff changeset
6 //
123
5837b9333964 Add new "about" page, and setting for default page.
Matti Hamalainen <ccr@tnsp.org>
parents: 14
diff changeset
7 echo stGetSetting("newsHeader");
14
e36c4d2b09c4 Fix settings to work, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents: 0
diff changeset
8
0
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
9 if (($res = stExecSQL("SELECT * FROM news ORDER BY utime DESC")) !== FALSE)
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10 {
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11 foreach ($res as $item)
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
12 stPrintNewsItem($item);
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
13 }
8019b357cc03 Initial import.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
14 ?>