view news.inc.php @ 511:6fe66ea0e954

Move most of the results code to site module, remove the support for HTML type output.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 08 Dec 2013 02:16:26 +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);
}
?>