關(guān)于對(duì)后臺(tái)[待審文章][待審評(píng)論][待審會(huì)員]的一點(diǎn)重要改進(jìn)(2)_動(dòng)易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">各 頻 道 未 審 評(píng) 論 篇 數(shù)</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">待 審 批 及 未 驗(yàn) 證 會(huì) 員 情 況</span></td>
<td </tr>
<tr>
<td <td>
<%
if vNoApproveUser > 0 then
response.write "<a href='Admin_User.asp?SearchType=11&GroupID=7'>" & "待審批會(huì)員" & "</a>" & "[<span style='color:#ff0000'>" & vNoApproveUser & "</span>] "
end if
if vTestUser > 0 then
response.write "<a href='Admin_User.asp?SearchType=11&GroupID=8'>" & "未驗(yàn)證會(huì)員" & "</a>" & "[<span style='color:#ff0000'>" & vTestUser & "</span>] "
end if
%>
</td>
<td </tr>
</table>
相關(guān)動(dòng)易Cms教程:
- MAC錯(cuò)誤的解決方法
- 如何屏蔽動(dòng)易后臺(tái)導(dǎo)航里的某個(gè)功能菜單?
- 動(dòng)易.NET版本留言自動(dòng)選定欄目方法
- 動(dòng)易SiteFactoty整合Discuz!NT3.0
- 在任意位置獲取根節(jié)點(diǎn)ID標(biāo)簽
- 如何開啟SiteWeaver6.8的支持,反對(duì)功能
- Windows 2008安裝動(dòng)易.NET系統(tǒng)之四----動(dòng)易系統(tǒng)安裝篇
- Windows 2008安裝動(dòng)易.NET系統(tǒng)之三----數(shù)據(jù)庫(kù)篇
- Windows 2008安裝動(dòng)易.NET系統(tǒng)之二----IIS、目錄環(huán)境配置篇
- 數(shù)據(jù)庫(kù)修復(fù),SQL Server 2005內(nèi)部操作不一致的處理
- 如何安裝動(dòng)易.net程序權(quán)限配置
- 為什么提示對(duì)Windows系統(tǒng)文件夾下的Temp目錄沒有訪問權(quán)限?
動(dòng)易Cms教程教程Rss訂閱Cms教程搜索
動(dòng)易Cms教程推薦
- 評(píng)論頁(yè){$ShowCommentList(2)}調(diào)用,默認(rèn)為20條每頁(yè),如何改為10條每頁(yè)?
- 解讀制作{$MY_首頁(yè)推薦圖片文章}標(biāo)簽的方法
- 下載的軟件名稱略長(zhǎng)就出現(xiàn)500錯(cuò)誤,為什么?
- 解讀SiteFactory圖片防盜鏈
- 文章內(nèi)容頁(yè)面加入縮略圖
- 動(dòng)易升級(jí)到sf2.5或bizidea2.5版本不能進(jìn)后臺(tái)的解決方案
- 重新安裝win2000后為什么無法使用動(dòng)易系統(tǒng)?
- 你的IE瀏覽器中招了,而Hosts表文件往往是禍之源頭
- 解決升級(jí)后內(nèi)容頁(yè)的文章評(píng)論詳細(xì)信息處顯示錯(cuò)誤的問題
- 簡(jiǎn)析自定義表單使用教程
- 相關(guān)鏈接:
復(fù)制本頁(yè)鏈接| 搜索關(guān)于對(duì)后臺(tái)[待審文章][待審評(píng)論][待審會(huì)員]的一點(diǎn)重要改進(jìn)(2)
- 教程說明:
動(dòng)易Cms教程-關(guān)于對(duì)后臺(tái)[待審文章][待審評(píng)論][待審會(huì)員]的一點(diǎn)重要改進(jìn)(2)
。