[Openfirst-cvscommit] news viewnews.php,1.4,1.5 index.php,1.4,1.5
Brought to you by:
xtimg
From: <dav...@us...> - 2003-09-13 15:38:30
|
Update of /cvsroot/openfirst/news In directory sc8-pr-cvs1:/tmp/cvs-serv20924/news Modified Files: viewnews.php index.php Log Message: Minor bug and design changes. Index: viewnews.php =================================================================== RCS file: /cvsroot/openfirst/news/viewnews.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** viewnews.php 23 Aug 2003 20:25:13 -0000 1.4 --- viewnews.php 13 Sep 2003 15:38:25 -0000 1.5 *************** *** 36,44 **** while($news = ofirst_dbfetch_object($query)){ ! echo("<table> <tr><th> </th><th><strong>$news->title</strong></th></tr> <tr><th> </th><th>Posted on $news->date by $news->poster</th></tr> <tr><th><img src='$news->image' alt='$news->title'></th><td>$news->news</td></tr> ! </table>"); } --- 36,44 ---- while($news = ofirst_dbfetch_object($query)){ ! echo("<br><table> <tr><th> </th><th><strong>$news->title</strong></th></tr> <tr><th> </th><th>Posted on $news->date by $news->poster</th></tr> <tr><th><img src='$news->image' alt='$news->title'></th><td>$news->news</td></tr> ! </table><br>"); } Index: index.php =================================================================== RCS file: /cvsroot/openfirst/news/index.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** index.php 28 Jun 2003 16:55:21 -0000 1.4 --- index.php 13 Sep 2003 15:38:25 -0000 1.5 *************** *** 28,32 **** include("../config/globals.php"); include($header); ! shownews(5); // Shows 5 pieces of news. --- 28,35 ---- include("../config/globals.php"); include($header); ! ?> ! <h2>Top Headlines</h2> ! Here are the top 5 most important news outbreaks.<br> ! <?php shownews(5); // Shows 5 pieces of news. |