大家可以打开common/data/channel/sql.xcml中这段代码:
<show_order><![CDATA[t1=and;t2=and;t3=good,top;new=order by t_id desc;reply=order by t_orderid desc;good=t_isgood=1 order by t_orderid desc;top=t_istop>1 order by t_istop desc,t_orderid desc;hot=order by t_counter desc,t_orderid desc]]></show_order>
看看里面的一些标签的设置如good,new,reply,hot
整句替换为
<% if cls.code_html(strp.base+d)=0 then %>
<td align=right><font class=red>楼主</font></td>
<% else %>
<td align=right><font class=gray><%=(strp.base+d+1)%>楼</font></td>
<% end if %>
2、打开 admin/include/inc_user.asp 文件,找到
sea_url=sea_url&"sea_exa="&sea_exa&"&"
end if
在下面增加
select case action
case "hidden" '审核
sea_sql="u_hidden=0"
sea_url=sea_url&"action=hidden"
case "lock" '锁定
sea_sql="u_lock=1"
sea_url=sea_url&"action=lock"
case "timed" '计时
sea_sql="u_timed=1"
sea_url=sea_url&"action=timed"
case "timed_e" '计时过期
sea_sql="u_timed=1 and u_timed_e=1"
sea_url=sea_url&"action=timed_e"
end select
<%
if strdimu(23,u)<>"" and strdimu(23,u)<>0 then response.write "<a target=blank href=http://wpa.qq.com/msgrd?v=1&uin="&strdimu(23,u)&"&site="&cls.web_name&"&menu=yes><img border=0 src=http://wpa.qq.com/pa?p=1:"&strdimu(23,u)&":8 title='点击这里给我发QQ'></a> "
%>