Mercurial > hg > fapweb
view pages/about.inc.php @ 1108:c7093ad17858
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 16 May 2019 21:57:32 +0300 |
parents | bbc0a3d0b51e |
children |
line wrap: on
line source
<?php // // FAPWeb - Simple Web-based Demoparty Management System // About page // (C) Copyright 2012-2015 Tecnic Software productions (TNSP) // echo stGetSetting("msgAboutDescription"); 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"; } ?>