Mercurial > hg > fapweb
annotate news.inc.php @ 120:2c594958050e
Make test vote keys "testN" where N >= 1
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 22 Oct 2013 14:22:26 +0300 |
parents | e36c4d2b09c4 |
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 ?> |