广西快乐双彩开奖结果今晚|快乐双彩今晚开奖8231

kingcms列表页只调用推荐的文章

  

列表页只调用推荐的文章, 分页可用

*****************************************************

1.                              type=list 时用

2.                               

3.                              2 list01= head头条 commend推荐 up置顶 是否(部分显示)

4.                              3 {king:article type="list" list01="commend"   

5.                               

6.                              number="1"}

*****************************************************

public sub createlist(l1)
?#19994;?/p>

1.                              set rs=conn.execute("select "&sql&" from  

2.                               

3.                              kingarticle where artshow=1 and listid="&datalist(0,j)&" or  

4.                               

5.                              listids like '%,"&datalist(0,j)&",%' order by artup  

6.                               

7.                              desc,artorder "&jsorder&",artid "&jsorder&";")

替换为

1.                              '修改list-up,list-commend,list-head

2.                              dim list01

3.                              list01=king.getlabel(tmphtmlist,"list01")

4.                              if lcase(list01)="head" then list01="and arthead=1"

5.                              if lcase(list01)="commend" then list01="and artcommend=1"

6.                              if lcase(list01)="up" then list01="and artup=1"

7.                               

8.                                          set rs=conn.execute("select "&sql&" from  

9.                               

10.                          kingarticle where artshow=1 "&list01&" and  

11.                           

12.                          listid="&datalist(0,j)&" or listids like '%,"&datalist

13.                           

14.                          (0,j)&",%' order by   artup desc,artorder "&jsorder&",  

15.                           

16.                          artid "&jsorder&";")

发表评论

 




 

广西快乐双彩开奖结果今晚 卡昂0-1南特 云达不莱梅官网 波尔多犬图片 利物浦vs南安普敦视频直播 切沃帕尔马 快乐十分开奖结果查询 巴萨VS皇家贝蒂斯 曼联毕尔巴鄂 墨尔本胜利本田受伤 fm2012马德里竞技