Mercurial > hg > fapweb
view pages/news.inc.php @ 1107:acb65ff40ce1
Use stDBPrepareSQL_V() to simplify stPrepareSQL() and stDBPrepareSQL().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 16 May 2019 12:44:17 +0300 |
parents | bbc0a3d0b51e |
children |
line wrap: on
line source
<?php // // FAPWeb - Simple Web-based Demoparty Management System // News page // (C) Copyright 2012-2015 Tecnic Software productions (TNSP) // echo stGetSetting("msgNewsHeader"); if (($res = stExecSQL("SELECT * FROM news ORDER BY utime DESC")) !== FALSE) { foreach ($res as $item) stPrintNewsItem($item); } ?>