% '*********************************************************************** '** Copyright (C) 2001 - 2004 Max Yuan All Rights Reserved '** '** By using this program, you are agreeing to the terms of the '** GNU General Public License. '** '** This program is free software; you can redistribute it and/or '** modify it under the terms of the GNU General Public License '** as published by the Free Software Foundation; either version 2 '** of the License, or any later version. '** '** All copyright notices regarding MaxWebPortal must remain intact '** in the scripts and in the outputted HTML. '** The "powered by" text/logo with a link back to '** http://www.maxwebportal.com in the footer of the pages MUST '** remain visible when the pages are viewed on the internet or intranet. '** '** Support can be obtained from support forums at: '** http://www.maxwebportal.com '** '** Email: maxwebportal@hotmail.com '** ICQ: 148111300 '*********************************************************************** %> <% If Session(strCookieURL & "Approval") = "256697926329" Then %>
|
|
|
Admin Interface <% strSQL = "SELECT count(ARTICLE_ID) FROM ARTICLE WHERE SHOW=0" Set RScount = my_Conn.Execute(strSQL) rcount = RScount(0) RScount.close set RScount = nothing ' added strSQL = "SELECT ARTICLE_ID, TITLE, SUMMARY, CONTENT, POSTER, POSTER_EMAIL, AUTHOR, AUTHOR_EMAIL, POST_DATE FROM ARTICLE WHERE SHOW=0 ORDER BY ARTICLE_ID" set rs = my_Conn.Execute (strSQL) if rs.eof then %>size="<%= strDefaultFontSize %>" color="#FF0000"><%= rcount%> New Articles to Approve : <% do while not rs.eof articleid = rs("ARTICLE_ID") %> <% rs.movenext loop end if %> |