Parent Directory | Revision Log | Patch
revision 1.3 by dpavlin, Thu Feb 22 09:51:23 2001 UTC | revision 1.4 by dpavlin, Thu Feb 22 21:07:02 2001 UTC | |
---|---|---|
# | Line 21 while ($row=$sth->fetchrow_hash()) { | Line 21 while ($row=$sth->fetchrow_hash()) { |
21 | } | } |
22 | $smarty->assign("news",$news); | $smarty->assign("news",$news); |
23 | ||
24 | $sth = $dbh->prepare("select id,title from news where type='e' and visible order by id desc limit 5"); | |
25 | $sth->execute(); | |
26 | while ($row=$sth->fetchrow_hash()) { | |
27 | $events[]=$row; | |
28 | } | |
29 | $smarty->assign("events",$events); | |
30 | ||
31 | #include("debug.inc"); | #include("debug.inc"); |
32 | ||
33 | if ($multi_page) { | if ($multi_page) { |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |