Mercurial > hg > fapweb
view pages/about.inc.php @ 1075:7e497188e4c6
Use long tags.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 24 Jan 2017 17:59:55 +0200 |
parents | ffacd904fd1f |
children | bbc0a3d0b51e |
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("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"; } ?>