view news.inc.php @ 151:a778629edff9

Add copyright headers.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 24 Oct 2013 17:27:01 +0300
parents 5837b9333964
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);
}
?>