view about.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 0980e705dea0
children
line wrap: on
line source

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

if (stGetSetting("showNewsOnAbout") &&
  ($res = stExecSQL("SELECT * FROM news ORDER BY utime DESC LIMIT 2")) !== FALSE)
{
  foreach ($res as $item)
    stPrintNewsItem($item);

  echo "<a class=\"moreNews\" href=\"news\">More news ...</a>\n";
}
?>