因为科讯系统的专题不能建立栏目,更不会有栏目的更多列表,因此想用Ajax接收参数来输出某专题某栏目的所有文章列表,于是用SQL做了一个Ajax调用的终极分页标签,但输出的内容为空,此标签是放在栏目页模板调用的
查询语句为:
select KS_SpecialR.SpecialID,KS_SpecialR.InfoID,KS_ItemInfo.ID,KS_ItemInfo.Title,KS_ItemInfo.AddDate from KS_SpecialR,KS_ItemInfo where KS_SpecialR.InfoID = KS_ItemInfo.InfoID and KS_SpecialR.SpecialID = {ReqNum(SpID)} and KS_ItemInfo.TID='{ReqStr(uTid)}' and KS_ItemInfo.DelTF=0 and KS_ItemInfo.Verific=1
也试过:
select KS_SpecialR.SpecialID,KS_SpecialR.InfoID,KS_ItemInfo.ID,KS_ItemInfo.Title,KS_ItemInfo.AddDate from KS_SpecialR,KS_ItemInfo where KS_SpecialR.InfoID = KS_ItemInfo.ID and KS_SpecialR.SpecialID={$Param(0)} and KS_ItemInfo.TID='{$Param(1)}' and KS_ItemInfo.DelTF=0 and KS_ItemInfo.Verific=1
循环体为:
[loop=30]
· {$Field(Title,Text,0,...,0,)} {$Field(AddDate,Text,0,...,0,)}[/loop]
也试过不用ajax、或者设为普通标签,但是始终没有显示出列表,不知道怎么回事?