Parent Directory | Revision Log | Patch
revision 1.15 by dpavlin, Mon Oct 1 14:05:16 2001 UTC | revision 1.16 by dpavlin, Fri Oct 12 07:39:37 2001 UTC | |
---|---|---|
# | Line 19 $smarty->assign("menu",$menu); | Line 19 $smarty->assign("menu",$menu); |
19 | ||
20 | // fetch news | // fetch news |
21 | ||
22 | $sth = $dbh->prepare("select id,title from news where type<>'e' and type<>'p' and $visible_is_true order by date desc limit 5"); | $sth = $dbh->prepare("select id,title from news where type='n' or type='c' or type='a' or type='i' or type='r' or type='p' and $visible_is_true order by date desc limit 6"); |
23 | $sth->execute(); | $sth->execute(); |
24 | while ($row=$sth->fetchrow_hash()) { | while ($row=$sth->fetchrow_hash()) { |
25 | $news[]=$row; | $news[]=$row; |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |