view news.inc.php @ 112:91660a9d50f0

Add some error checking to compo id updating vs. compo entries.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 22 Oct 2013 12:08:27 +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);
}
?>