view about.inc.php @ 160:0980e705dea0

Add some copyright headers.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 27 Oct 2013 03:05:49 +0200
parents 0b5c22e253e1
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";
}
?>