% '*********************************************************************** '** 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(title) FROM CLASSIFIED WHERE SHOW=0" Set RScount = my_Conn.Execute(strSQL) rcount = RScount(0) RScount.close set RScount = nothing ' added strSQL = "SELECT CLASSIFIED_ID, TITLE, POSTER, EMAIL, ADDRESS, CITY, STATE, ZIPCODE, PRICE, KEYWORD, LINK, IMAGELINK, POST_DATE, END_DATE, PARENT_ID, SHOW, CATEGORY, BADLINK, DESCRIPTION FROM CLASSIFIED WHERE SHOW=0 ORDER BY POST_DATE ASC" set rs = my_Conn.Execute (strSQL) if rs.eof then %>size="<%= strDefaultFontSize %>" color="#FF0000"><%= rcount%> New Classified(s) to Approve : <%end if%> |