按用户名判断显示 按等级显示 权限判断
作者:cmscn 日期:2006-05-19
<%
if login_username="violetfox" then
response.write"<td width=30 align=center><img src="&joekoe_cms.web_dir_skin&"small/new_f.gif border=0></td><td><a href=forum_recycle.asp>论坛回收站</a></td>"
else
response.write"<a href=forum.asp></a>"
end if
%>
<%
if cstr(login_username)=cstr(web_dim(3)) then
response.write"<td width=30 align=center><img src="&joekoe_cms.web_dir_skin&"small/new_f.gif border=0></td><td><a href=forum_recycle.asp>论坛回收站</a></td>"
else
response.write"<a href=forum.asp></a>"
end if
%>
login_mode="admin"
if login_username="violetfox" then
response.write"<td width=30 align=center><img src="&joekoe_cms.web_dir_skin&"small/new_f.gif border=0></td><td><a href=forum_recycle.asp>论坛回收站</a></td>"
else
response.write"<a href=forum.asp></a>"
end if
%>
<%
if cstr(login_username)=cstr(web_dim(3)) then
response.write"<td width=30 align=center><img src="&joekoe_cms.web_dir_skin&"small/new_f.gif border=0></td><td><a href=forum_recycle.asp>论坛回收站</a></td>"
else
response.write"<a href=forum.asp></a>"
end if
%>
login_mode="admin"
论坛用户名下 管理员显示
作者:cmscn 日期:2006-05-19
先装 http://www.bullcn.cn/article.asp?id=296
把加在forum_view.asp的代码
改为
dim dim_power,dim_grade,si,sdim,snum,u_color,u_main
dim_power=dim_user
dim_grade=split(web_user_grade,"|")
把加在forum_view.asp的代码
改为
dim dim_power,dim_grade,si,sdim,snum,u_color,u_main
dim_power=dim_user
dim_grade=split(web_user_grade,"|")
仿DVBBS下拉菜单效果
作者:cmscn 日期:2006-05-19
1、将存为menu.htm格式文件 以下为代码内容:
引用内容