Mercurial > hg > fapweb
view news.inc.php @ 105:a85f258f6beb
Move some things around and modularize the code.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 21 Oct 2013 16:26:42 +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); } ?>