|
|
|
【用户】
吴卫东 |
|
滚动公告支持UBB
刚刚修改了滚动公告支持UBB
第一步:打开index.asp文件
查找:noshtml
在其下面插入noshtml
第二步:申明变量word,也是在index.asp中的dim 这行的最后面加个“,word”(双引号中的内容)
第三步:用下面的代码替换原来网站公告的代码,也就是网站公告<%......%>中的内容
<%
tmp1="暂时没有网站公告!"
sql="select top 1 * from bbs_cast where sort='news' order by id desc"
set rs=joekoe_cms.exec(sql,1)
if not rs.eof then
topic=rs("topic")
word=rs("word")
tmp1=""
end if
rs.close
response.write tmp1
tmp1=""
%>
|
|
|
|
|
|
|
|