Mercurial > hg > fapweb
diff news.inc.php @ 14:e36c4d2b09c4
Fix settings to work, clean up the code, etc.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 06 Dec 2012 16:13:08 +0200 |
parents | 8019b357cc03 |
children | 5837b9333964 |
line wrap: on
line diff
--- a/news.inc.php Thu Dec 06 14:49:10 2012 +0200 +++ b/news.inc.php Thu Dec 06 16:13:08 2012 +0200 @@ -1,21 +1,6 @@ -<div style="text-align: center;"> -<img src="img/fap.png" alt="FAP" /> -<!-- -<br /> -<img src="img/2012.png" alt="2012" /> -<p> -Organized by Finnish Amiga Group -</p> ---> -<p> -Pure Amiga demoscene party, all traditional Amiga compos and purely Amiga-oriented program. -<br /> -<span class="notice"> -YOU <b>MUST</b> HAVE AT LEAST ONE ENTRY TO COMPETITIONS IF YOU COME TO THE PARTY. -</span> -</p> -</div> <? +echo stGetSetting("newsDescription"); + if (($res = stExecSQL("SELECT * FROM news ORDER BY utime DESC")) !== FALSE) { foreach ($res as $item)