Parent Directory | Revision Log | Patch
revision 1.7 by dpavlin, Sat Mar 17 15:41:42 2001 UTC | revision 1.8 by dpavlin, Mon Mar 19 16:47: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,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 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 |