Mercurial > hg > fapweb
view news.inc.php @ 72:63a6caf59e5c
Fix creation of boolean settings, and add '%b' formatter into stPrepareSQL().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 17 Oct 2013 15:01:20 +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); } ?>