view pages/about.inc.php @ 1066:2d7d5940ec47

Merged.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 24 Jan 2017 15:49:54 +0200
parents ffacd904fd1f
children 7e497188e4c6
line wrap: on
line source

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

if (stGetSetting("showInfoTextOnAbout"))
  echo stGetSetting("siteInfoText");

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

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