Parent Directory | Revision Log | Patch
revision 1.9 by dpavlin, Thu Jun 7 09:08:45 2001 UTC | revision 1.10 by dpavlin, Tue Sep 18 10:26:46 2001 UTC | |
---|---|---|
# | Line 30 $smarty->assign( array ( lpic=>$lpic, le | Line 30 $smarty->assign( array ( lpic=>$lpic, le |
30 | ||
31 | if (! $type) $type="r"; | if (! $type) $type="r"; |
32 | ||
33 | $sql="select id,town_date,title,body,pdf from news where type='$type' and visible order by priority desc,date desc"; | $sql="select id,town_date,title,body,pdf from news where type='$type' and $visible_is_true order by priority desc,date desc"; |
34 | # print "$sql"; | # print "$sql"; |
35 | $sth = $dbh->prepare("$sql"); | $sth = $dbh->prepare("$sql"); |
36 | $sth->execute(); | $sth->execute(); |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |