Mercurial > hg > fapweb
annotate news.inc.php @ 123:5837b9333964
Add new "about" page, and setting for default page.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 22 Oct 2013 15:18:09 +0300 |
parents | e36c4d2b09c4 |
children | a778629edff9 |
rev | line source |
---|---|
0 | 1 <? |
123
5837b9333964
Add new "about" page, and setting for default page.
Matti Hamalainen <ccr@tnsp.org>
parents:
14
diff
changeset
|
2 echo stGetSetting("newsHeader"); |
14
e36c4d2b09c4
Fix settings to work, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
3 |
0 | 4 if (($res = stExecSQL("SELECT * FROM news ORDER BY utime DESC")) !== FALSE) |
5 { | |
6 foreach ($res as $item) | |
7 stPrintNewsItem($item); | |
8 } | |
9 ?> |