Mercurial > hg > fapweb
annotate pages/news.inc.php @ 1078:08900352f420
Some cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 24 Jan 2017 23:22:02 +0200 |
parents | 7e497188e4c6 |
children | bbc0a3d0b51e |
rev | line source |
---|---|
1075 | 1 <?php |
151 | 2 // |
571
ce11ea112a65
Change the header blurb a bit.
Matti Hamalainen <ccr@tnsp.org>
parents:
565
diff
changeset
|
3 // FAPWeb - Simple Web-based Demoparty Management System |
151 | 4 // News page |
1001 | 5 // (C) Copyright 2012-2015 Tecnic Software productions (TNSP) |
151 | 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 | 9 if (($res = stExecSQL("SELECT * FROM news ORDER BY utime DESC")) !== FALSE) |
10 { | |
11 foreach ($res as $item) | |
12 stPrintNewsItem($item); | |
13 } | |
14 ?> |