danw
committed
on 16 Aug 02
converted some more template db queries to std db api queries