%@ Language=VBScript %> <% '************************************************************************* ' DO NOT MODIFY THIS SCRIPT IF YOU WANT UPDATES TO WORK! ' Function : Product Review Maintenance ' Product : CandyPress Store Administration ' Version : 2.5 ' Modified : February 2004 ' Copyright: Copyright (C) 2004 CandyPress.Com ' See "license.txt" for this product for details regarding ' licensing, usage, disclaimers, distribution and general ' copyright requirements. If you don't have a copy of this ' file, you may request one at webmaster@candypress.com '************************************************************************* Option explicit Response.Buffer = true const adminLevel = 1 %> <% 'Database dim mySQL, cn, rs 'Reviews dim idReview dim idProduct dim revDate dim revDateInt dim revAuditInfo dim revStatus dim revRating dim revName dim revLocation dim revEmail dim revSubj dim revDetail 'Products dim description 'Work Fields dim I dim action '************************************************************************* 'Open Database Connection call openDB() 'Store Configuration if loadConfig() = false then response.redirect "sysMsg.asp?errMsg=" & server.URLEncode("Could not load Store Configuration settings.") end if %>
Review Maintenance
|
Note : All fields are mandatory. Rating - 1 = Worst, 5 = Best Status - "Active" reviews are viewable by your customers, and will therefore also be included when calculating the average rating for the product. "Pending" reviews are awaiting authorization, and are therefore not yet viewable. "Rejected" reviews have been deliberately made inactive, and will therefore not be viewable. Rejected reviews are included when the system checks for duplicate IP addresses. Name - Reviewer's full name. Location - City, State or Country of reviewer. Email - Email address of reviewer. Subject - Short and descriptive heading for the review. Review - Full text of the review. |