view pages/news.inc.php @ 1096:bbc0a3d0b51e

Major renaming / refactor of site messages. Some that were previously modifiable from admin interface are now "hardcoded" in the configuration file. Having these settings made modifiable from there made no sense and just took space in the UI.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 27 Jan 2017 22:15:06 +0200
parents 7e497188e4c6
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);
}
?>