Update of /cvsroot/openfirst/news
In directory sc8-pr-cvs1:/tmp/cvs-serv28299
Modified Files:
viewnews.php
Log Message:
Add images to news postings, change layout to table, fix lingering issue from file name changes
Index: viewnews.php
===================================================================
RCS file: /cvsroot/openfirst/news/viewnews.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** viewnews.php 28 Jun 2003 14:39:36 -0000 1.2
--- viewnews.php 29 Jul 2003 15:32:49 -0000 1.3
***************
*** 38,45 ****
while($news = mysql_fetch_object($query)){
! echo("<p><strong>$news->title</strong>
! <br />Posted on $news->date by $news->poster
! <br />$news->news
! </p>");
}
--- 38,46 ----
while($news = mysql_fetch_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>");
}
|