view news.inc.php @ 300:fd8296895588

Improve error situation reporting in makePostArgs().
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 26 Nov 2013 01:37:35 +0200
parents a778629edff9
children
line wrap: on
line source

<?
//
// FAPWeb Simple Demoparty System
// News page
// (C) Copyright 2012-2013 Tecnic Software productions (TNSP)
//
echo stGetSetting("newsHeader");

if (($res = stExecSQL("SELECT * FROM news ORDER BY utime DESC")) !== FALSE)
{
  foreach ($res as $item)
    stPrintNewsItem($item);
}
?>