1F

{anxinMall:prodlist $sql=select top 3 prodid,prodname,thumb,price1,price2 from [anxinmall_prod] where classid=1 or classid in(select id from [anxinmall_cat] where fid=1) order by prodid desc $cache=0}
[prodlist:prodname]
[prodlist:price2]
[prodlist:prodname]
{/anxinMall:prodlist}

2F

{anxinMall:plist $sql=select top 3 prodid,prodname,price2,thumb from [anxinmall_prod] where classid=2 or classid in(select id from [anxinmall_cat] where fid=2) order by prodid desc $cache=0}
[plist:prodname]
[plist:price2]
[plist:prodname]
{/anxinMall:plist}
{anxinMall:catlist $sql=select id,catname from [anxinmall_cat] where fid=2} [catlist:catname] {/anxinMall:catlist}

3F

{anxinMall:plist $sql=select top 3 prodid,prodname,price2,thumb from [anxinmall_prod] where classid=3 or classid in(select id from [anxinmall_cat] where fid=3) order by prodid desc $cache=0}
[plist:prodname]
[plist:price2]
[plist:prodname]
{/anxinMall:plist}
{anxinMall:catlist $sql=select id,catname from [anxinmall_cat] where fid=3} [catlist:catname] {/anxinMall:catlist}

4F

{anxinMall:plist $sql=select top 3 prodid,prodname,price2,thumb from [anxinmall_prod] where classid=4 or classid in(select id from [anxinmall_cat] where fid=4) order by prodid desc $cache=0}
[plist:prodname]
[plist:price2]
[plist:prodname]
{/anxinMall:plist}
{anxinMall:catlist $sql=select id,catname from [anxinmall_cat] where fid=4} [catlist:catname] {/anxinMall:catlist}

5F

{anxinMall:plist $sql=select top 3 prodid,prodname,price2,thumb from [anxinmall_prod] where classid=5 or classid in(select id from [anxinmall_cat] where fid=5) order by prodid desc $cache=0}
[plist:prodname]
[plist:price2]
[plist:prodname]
{/anxinMall:plist}
{anxinMall:catlist $sql=select id,catname from [anxinmall_cat] where fid=5} [catlist:catname] {/anxinMall:catlist}