Parent Directory | Revision Log | Patch
revision 1.1 by ravilov, Mon Jun 25 09:57:25 2001 UTC | revision 1.2 by dpavlin, Thu Jun 28 13:38:52 2001 UTC | |
---|---|---|
# | Line 4 global $smarty,$dbh; | Line 4 global $smarty,$dbh; |
4 | ||
5 | // fetch menu | // fetch menu |
6 | ||
7 | $sth = $dbh->prepare("select item,url,file from menu where section='$section' order by num"); | $sth = $dbh->prepare("select item,url,file from menu where section='$section' and visible order by num"); |
8 | $sth->execute(); | $sth->execute(); |
9 | while ($row=$sth->fetchrow_hash()) { | while ($row=$sth->fetchrow_hash()) { |
10 | $menu[]=$row; | $menu[]=$row; |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |