Parent Directory | Revision Log | Patch
revision 1.18 by dpavlin, Fri Apr 5 09:40:39 2002 UTC | revision 1.19 by dpavlin, Mon Apr 29 13:01:49 2002 UTC | |
---|---|---|
# | Line 26 while ($row=$sth->fetchrow_hash()) { | Line 26 while ($row=$sth->fetchrow_hash()) { |
26 | } | } |
27 | $smarty->assign("news",$news); | $smarty->assign("news",$news); |
28 | ||
29 | $sth = $dbh->prepare("select id,title from news where type='e' and $visible_is_true order by priority desc,date desc limit 5"); | $sth = $dbh->prepare("select id,title from news where (type='e' or type='f') and $visible_is_true order by priority desc,date desc limit 5"); |
30 | $sth->execute(); | $sth->execute(); |
31 | while ($row=$sth->fetchrow_hash()) { | while ($row=$sth->fetchrow_hash()) { |
32 | $events[]=$row; | $events[]=$row; |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |