Mercurial > hg > fapweb
annotate news.inc.php @ 14:e36c4d2b09c4
Fix settings to work, clean up the code, etc.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 06 Dec 2012 16:13:08 +0200 |
parents | 8019b357cc03 |
children | 5837b9333964 |
rev | line source |
---|---|
0 | 1 <? |
14
e36c4d2b09c4
Fix settings to work, clean up the code, etc.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
2 echo stGetSetting("newsDescription"); |
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 ?> |