关于对后台[待审文章][待审评论][待审会员]的一点重要改进(2)_动易Cms教程
教程Tag:暂无Tag,欢迎添加,赚取U币!
set MDB_Article_ADO=nothing
if vChannelID = vChannelIDAry(x) then
vCommentCount(x) = vCommentCount(x) 1
else
for y = 0 to x
if vChannelID = vChannelIDAry(y) then
exit for
end if
next
x = y
Set MDB_Channel_ADO=Server.CreateObject("ADODB.Recordset")
MDB_Channel_LinkStr="select * from PE_Channel where ChannelID=" &vChannelID &""
MDB_Channel_ADO.open MDB_Channel_LinkStr,Conn,1,1
vChannelIDAry(x) = MDB_Channel_ADO("ChannelID")
vChannelName(x) = MDB_Channel_ADO("ChannelName")
vCommentCount(x) = vCommentCount(x) 1
MDB_Channel_ADO.close
set MDB_Channel_ADO=nothing
end if
MDB_Comment_ADO.movenext
loop
MDB_Comment_ADO.close
set MDB_Comment_ADO=nothing
%>
<%
dim vCommentCount1
vCommentCount1 = 0
for y=1 to x
vCommentCount1 = vCommentCount1 vCommentCount(y)
next
if vCommentCount1 > 0 then
%>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td <td class="topbg" align="center"><span class="Glow">各 频 道 未 审 评 论 篇 数</span></td>
<td </tr>
<tr>
<td <td>
<%
for y=1 to x
response.write "<a href='Admin_Comment.asp?ChannelID=" & vChannelIDAry(y) & "'>" & vChannelName(y) & "</a>" & "[<span style='color:#ff0000'>" & vCommentCount(y) & "</span>] "
next
%>
</td>
<td </tr>
</table>
<%
end if
%>
<%
Set MDB_User_ADO = Server.CreateObject("ADODB.Recordset")
MDB_User_LinkStr = "select * from PE_User where GroupID >=7 and GroupID <=8 order by GroupID"
MDB_User_ADO.open MDB_User_LinkStr,Conn,1,1
vNoApproveUser = 0
vTestUser = 0
do while not MDB_User_ADO.eof
if MDB_User_ADO("GroupID") = 7 then
vNoApproveUser = vNoApproveUser 1
end if
if MDB_User_ADO("GroupID") = 8 then
vTestUser = vTestUser 1
end if
MDB_User_ADO.movenext
loop
MDB_User_ADO.close
set MDB_User_ADO=nothing
%>
<%
if vNoApproveUser vTestUser > 0 then
%>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td <td class="topbg" align="center"><span class="Glow">待 审 批 及 未 验 证 会 员 情 况</span></td>
<td </tr>
<tr>
<td <td>
<%
if vNoApproveUser > 0 then
response.write "<a href='Admin_User.asp?SearchType=11&GroupID=7'>" & "待审批会员" & "</a>" & "[<span style='color:#ff0000'>" & vNoApproveUser & "</span>] "
end if
if vTestUser > 0 then
response.write "<a href='Admin_User.asp?SearchType=11&GroupID=8'>" & "未验证会员" & "</a>" & "[<span style='color:#ff0000'>" & vTestUser & "</span>] "
end if
%>
</td>
<td </tr>
</table>
相关动易Cms教程:
- MAC错误的解决方法
- 如何屏蔽动易后台导航里的某个功能菜单?
- 动易.NET版本留言自动选定栏目方法
- 动易SiteFactoty整合Discuz!NT3.0
- 在任意位置获取根节点ID标签
- 如何开启SiteWeaver6.8的支持,反对功能
- Windows 2008安装动易.NET系统之四----动易系统安装篇
- Windows 2008安装动易.NET系统之三----数据库篇
- Windows 2008安装动易.NET系统之二----IIS、目录环境配置篇
- 数据库修复,SQL Server 2005内部操作不一致的处理
- 如何安装动易.net程序权限配置
- 为什么提示对Windows系统文件夹下的Temp目录没有访问权限?
- 相关链接:
- 教程说明:
动易Cms教程-关于对后台[待审文章][待审评论][待审会员]的一点重要改进(2)。