Mercurial > hg > fapweb
view pages/about.inc.php @ 629:894a4a6bfb5f fap2013
Better fix for the DB migration issue.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 01 Nov 2014 07:03:10 +0200 |
parents | 9ad53fda22bc |
children | fe1ca8a26e78 |
line wrap: on
line source
<? // // FAPWeb - Simple Web-based Demoparty Management System // About page // (C) Copyright 2012-2014 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 "<a class=\"moreNews\" href=\"news\">More news ...</a>\n"; } ?>