Salad UN

To Taste The Salad Of Life.

« 由UE(用户体验)引发的话题老外是这么翻译中国的 "三字经" »

KingCMS 模块下文件一键生成

[ At 2008-5-29 By Ash   0 comments ]

一段电影模块整体生成的代码,贴着备份,改改应该可以实现文章系统的整体生成。

case"createpage"
  if len(list)>0 then
      '悟空 重新获取listid,将子栏目包括进去
      set rs=conn.execute("select listid from king__movie_list where listid in (" & list & ") or listid1 in (" & list & ");")
      list = ""
      if not rs.eof and not rs.bof then
          data = rs.getrows()
          for i=0 to ubound(data,2)
              if len(list)>0 then
                  list = list & "," & data(0, i)
              else
                  list = data(0,i)
              end if
          next
      end if
      rs.close
      set rs = nothing
      '---------------------------
     
   set rs=conn.execute("select kid from king__movie_page where listid in ("&list&");")
    if not rs.eof and not rs.bof then

 

 

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Powered By Z-Blog 1.8 Spirit Build 80722 Code detection by Codefense

Copyright 2008 www.s-un.cn. Some Rights Reserved.