蓝色就是调用的定义函数,红色的就是forum_id数值!


sub main_center_list(cl_type,cl_tnum,cl_cnum,cl_classid)...,Bullcn'Blog - 分享、交流、进步。" /> 首页论坛二级调用 - Bullcn'Blog

首页论坛二级调用


<%call main_center_list("forum_er",8,20,4)%>
蓝色就是调用的定义函数,红色的就是forum_id数值!


sub main_center_list(cl_type,cl_tnum,cl_cnum,cl_classid)
dim tmp1,tmp_title,tmp_tit,tmp_count,tmp_img,tmp_record,tmp_table,tmp_where,tmp_url,forum_id_er
forum_id_er=4
tmp_img=cl_type
tmp_where="hidden=1"
if cl_classid>0 then tmp_where=tmp_where&" and s_id="&cl_classid
select case cl_type
下面插入

case "forum_er"
cl_type="forum_er"
tmp_title="免费讨论区"
tmp_tit="论坛标题"
tmp_count="论坛回复"
tmp_img="forum"
tmp_table="bbs_topic"
tmp_record="id,topic,username,tim,re_counter,forum_id"
tmp_where="forum_id>0"
if cl_classid>0 then tmp_where="forum_id="&cl_classid

文章来自: Original
引用通告: 查看所有引用 | 我要引用此文章
Tags:
相关日志:
评论: 7 | 引用: 0 | 查看次数: 759
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 20 字 | UBB代码 关闭 | [img]标签 关闭