Mercurial > hg > fapweb
view about.inc.php @ 420:e9f6e242c4b9
Define some more SQL field lengths.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 05 Dec 2013 19:10:52 +0200 |
parents | 0980e705dea0 |
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"; } ?>