Mercurial > hg > fapweb
view news.inc.php @ 85:50d6c69836a1
Add test data mode for database creation.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 18 Oct 2013 09:07:48 +0300 |
parents | e36c4d2b09c4 |
children | 5837b9333964 |
line wrap: on
line source
<? echo stGetSetting("newsDescription"); if (($res = stExecSQL("SELECT * FROM news ORDER BY utime DESC")) !== FALSE) { foreach ($res as $item) stPrintNewsItem($item); } ?>