Mercurial > hg > fapweb
annotate news.inc.php @ 472:1eabbd70cd25
Add skipping button.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 06 Dec 2013 22:28:23 +0200 |
parents | a778629edff9 |
children |
rev | line source |
---|---|
0 | 1 <? |
151 | 2 // |
3 // FAPWeb Simple Demoparty System | |
4 // News page | |
5 // (C) Copyright 2012-2013 Tecnic Software productions (TNSP) | |
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 ?> |