<% response.buffer=true Response.ExpiresAbsolute = Now() - 1 Response.AddHeader "Cache-Control", "private" Server.ScriptTimeOut = 120 dim iBegTag, iEndTag, bIE, strUserEmail, blogName, txtSubject, feedToEmail, strEmail, strURL, strFunction, bIsPro, bRegEdit, strRepSmile, strSmilies, strSQL, feedID, userCode, entryCode, strTemplate, strEntry, strHeader, strFooter, iEntryBeg, iEntryEnd, strThisEntry iBegTag = 0 iEndTag = 0 bIE = 0 blogName = "" txtSubject = "" strURL = "" strSQL = "" feedID = "" strSmilies = "" strRepSmile = "" userCode = "" entryCode = "" strTemplate = "" strEntry = "" strThisEntry = "" strHeader = "" strFooter = "" iEntryBeg = 0 iEntryEnd = 0 bRegEdit = 0 bIsPro = 0 strFunction = "" strEmail = "" feedToEmail = "" strUserEmail = "" if InStr(Lcase(Request.ServerVariables("HTTP_USER_AGENT")), "msie") > 0 and InStr(Lcase(Request.ServerVariables("HTTP_USER_AGENT")), "windows") > 0 then bIE = 1 set objConn = server.createobject("adodb.connection") objConn.open myDSN set objRS = server.createobject("adodb.recordset") if Request.Form.Count = 0 then userCode = Request.QueryString("user") entryCode = Replace(Request.QueryString("entry"), "~~", "#") feedID = Request.QueryString("feedToFeed") feedToEmail = Request.QueryString("feedToEmail") blogName = Replace(Request.QueryString("blogname"), "'", "’") else userCode = Request.Form("feedUser") entryCode = Request.Form("feedEntry") feedID = Request.Form("feedID") feedToEmail = Request.Form("feedToEmail") blogName = Request.Form("feedBlogName") strURL = "feedback.asp?user=" & userCode & "&entry=" & entryCode & "&blogname=" & blogName strSource = lcase(Request.ServerVariables("HTTP_REFERER")) strIP = Request.ServerVariables("REMOTE_ADDR") if strSource <> "" then if InStr(strSource, "afundasao.com/backblog/feedback.asp") = 0 then set objRS = nothing objConn.Close set objConn = nothing Response.Redirect strURL Response.End end if end if bAllowedFeedBack = 1 iIdentify = 0 ' 0 - Free access, 1 - CATCHA iAllowLinks = 0 ' 0 - Allow, 1 - Delete links, 2 - Moderate IsPro = 0 UserEmail = "" UserNotifyByMail = 0 UseAkismet = 0 strSQL = "exec esp_GetUserSettingsForFeedBack N'" & Replace(entryCode, "'", "''") & "', " & userCode objRS.Open(strSQL), objConn if objRS.EOF = False then bAllowedFeedBack = objRS.Fields("Result") iIdentify = CInt(objRS.Fields("Identify")) iAllowLinks = CInt(objRS.Fields("AllowLinks")) IsPro = CInt(objRS.Fields("IsPro")) UserEmail = Trim(objRS.Fields("Email")) UserNotifyByMail = CInt(objRS.Fields("NotifyByMail")) UseAkismet = objRS.Fields("UseAkismet") end if objRS.Close if IsPro = 0 then iIdentify = 0 iAllowLinks = 0 UserNotifyByMail = 0 UseAkismet = 0 end if ' CATCHA if iIdentify = 1 then strImage = Trim(Request.Form("feedImageText")) if len(strImage) <> 5 or IsNumeric(strImage) = False then bAllowedFeedBack = 0 end if end if if UseAkismet <> 0 then set objHttp = Server.CreateObject("Msxml2.ServerXMLHTTP") objHttp.open "POST", "http://rest.akismet.com/1.1/verify-key", false objHttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" objHttp.Send "key=544defcc431f&blog=" & Server.URLEncode("http://www.blogextra.com/backblog") if objHttp.Status = 200 then if objHttp.ResponseText = "valid" then objHttp.open "POST", "http://544defcc431f.rest.akismet.com/1.1/comment-check", false objHttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded" strSend = "key=544defcc431f&blog=" & Server.URLEncode("http://www.blogextra.com/backblog") & _ "&user_ip=" & Server.URLEncode(Request.ServerVariables("REMOTE_ADDR")) & _ "&user_agent=" & Server.URLEncode(Request.ServerVariables("HTTP_USER_AGENT")) & _ "&referrer=" & Server.URLEncode(Request.ServerVariables("HTTP_REFERER")) & _ "&permalink=&comment_author=" & Server.URLEncode(Trim(Request.Form("feedName"))) & _ "&comment_author_email=" & Server.URLEncode(Trim(Request.Form("feedEmail"))) & _ "&comment_author_url=" & Server.URLEncode(Trim(Request.Form("feedURL"))) & _ "&comment_content=" & Server.URLEncode(Trim(Request.Form("feedText"))) 'Response.write strSend & "
" objHttp.Send strSend if objHttp.Status = 200 then 'Response.write "objHttp.ResponseText=" & objHttp.ResponseText & "
" 'Response.end if Trim(objHttp.ResponseText) = "true" then bAllowedFeedBack = 0 strURL = strURL & "&akismetrejected=1" end if end if end if end if set objHttp = nothing end if if InStr(lcase(Request.Form("feedText")), "line-height") <> 0 then bAllowedFeedBack = 0 if InStr(lcase(Request.Form("feedText")), ".info/") <> 0 then bAllowedFeedBack = 0 if InStr(lcase(Request.Form("feedText")), "phentermine") <> 0 then bAllowedFeedBack = 0 if InStr(lcase(Request.Form("feedText")), "[url") <> 0 then bAllowedFeedBack = 0 if InStr(lcase(Request.Form("feedName")), "online poker") <> 0 then bAllowedFeedBack = 0 if InStr(lcase(Request.Form("feedName")), "video poker") <> 0 then bAllowedFeedBack = 0 if InStr(lcase(Request.Form("feedName")), "texas holdem") <> 0 then bAllowedFeedBack = 0 if InStr(lcase(Request.Form("feedName")), "party poker") <> 0 then bAllowedFeedBack = 0 if InStr(lcase(Request.Form("feedName")), "casino online") <> 0 then bAllowedFeedBack = 0 if InStr(lcase(Request.Form("feedName")), "alcoromersast") <> 0 then bAllowedFeedBack = 0 if InStr(lcase(Request.Form("feedName")), "tatsu") <> 0 then bAllowedFeedBack = 0 if InStr(lcase(Request.Form("feedName")), "zeff") <> 0 then bAllowedFeedBack = 0 If InStr(lcase(Request.Form("feedName")), vbCrLf) <> 0 Then bAllowedFeedBack = 0 if InStr(lcase(Request.Form("feedText")), "nice site") = 1 then bAllowedFeedBack = 0 if InStr(lcase(Request.Form("feedURL")), "tripod.com") <> 0 then bAllowedFeedBack = 0 if InStr(lcase(Request.Form("feedURL")), "generic viagra") <> 0 then bAllowedFeedBack = 0 if InStr(lcase(Request.Form("feedURL")), "viagraonline") <> 0 then bAllowedFeedBack = 0 if InStr(lcase(Request.Form("feedText")), "viagraonline") <> 0 then bAllowedFeedBack = 0 if InStr(lcase(Request.Form("feedText")), "cool site") = 1 then bAllowedFeedBack = 0 if InStr(lcase(Request.Form("feedText")), "thank you!" & vbCRLF & " 0 or InStr(strIP, "188.81.") <> 0 or InStr(strIP, "213.251.") <> 0 or InStr(strIP, "188.25") <> 0 then bAllowedFeedBack = 0 if len(Request.Form("feedText")) = 0 then bAllowedFeedBack = 0 if len(Request.Form("feedText")) > 3 then if left(lcase(Request.Form("feedText")), 4) = " 3 then feedID = left(feedID, len(feedID) - 2) & IncreaseNum(Right(feedID, 2), 2) else feedID = IncreaseNum(feedID, 3) end if end if end if objRS.Close ' Response.write("
feedID=" & feedID) if feedID <> "" then if left(feedID, 1) = Chr(34) then set objRS = nothing objConn.Close set objConn = nothing Response.redirect strURL Response.end end if end if bDuplicate = 0 strSQL = "exec esp_CheckDuplicate N'" & RemoveTags(RemoveScriptTags(Request.Form("feedName"))) & "', N'" & Left(Replace(RemoveScriptTags(FixLinks(RemoveImageSize(Request.Form("feedText")))), "'", "''"), 50) & "', " & userCode & ", '" & entryCode & "'" ' Response.write(strSQL & "
") objRS.Open(strSQL), objConn if objRS.EOF = False then if objRS.Fields("Result") <> 0 then bDuplicate = 1 end if end if objRS.Close ' Response.write("bDuplicate=" & bDuplicate) ' Response.end if bDuplicate <> 0 then set objRS = nothing objConn.Close set objConn = nothing Response.redirect strURL Response.end end if bHiddenFeedBack = 0 bNotify = 0 bPrivate = 0 if InStr(lcase(Request.Form("feedText")), "http:") > 0 and iAllowLinks = 2 then bHiddenFeedBack = 1 end if if Request.Form("feedNotify") = "on" then bNotify = 1 end if if Request.Form("feedPrivate") = "on" then bPrivate = 1 end if strSQL = "exec dbo.esp_InsertFeedBack @Name=N'" & ReplaceQuotes(RemoveTags(RemoveScriptTags(Request.Form("feedName")))) & "', " & _ "@Email='" & ReplaceQuotes(RemoveTags(RemoveScriptTags(Request.Form("feedEmail")))) & "', " & _ "@FeedText=N'" & ReplaceQuotes(Left(RemoveLinks(RemoveScriptTags(FixLinks(RemoveImageSize(Request.Form("feedText")))), iAllowLinks), 1000)) & "', " & _ "@UserCode=" & userCode & ", " & _ "@Id='" & feedID & "', " & _ "@URL='" & ReplaceQuotes(RemoveTags(RemoveScriptTags(Request.Form("feedURL")))) & "', " & _ "@BlogEntry=N'" & entryCode & "', " & _ "@IsNotify=" & bNotify & ", " & _ "@IsPrivate=" & bPrivate & ", " & _ "@Hidden=" & bHiddenFeedBack & ", " & _ "@IP='" & left(strIP, 15) & "'" objConn.Execute(strSQL) if len(feedID) = 2 or len(feedID) = 3 then if UserNotifyByMail <> 0 then FromEmail = "do-not-reply@israblog.co.il" if Trim(Request.Form("feedEmail")) <> "" then FromEmail = Trim(Request.Form("feedEmail")) end if txtSubject = "You have a new feedback to your blog: " & blogName & "
" & Request.Form("feedName") & " wrote:
" & Request.Form("feedText") & "

Click here to see the feedback." if bHiddenFeedBack = 1 then txtSubject = txtSubject & "
This feedback will remain hidden on your feedback page until you approve it. This is because you asked to approve all entries which include links." end if txtSubject = txtSubject & "" SendMail FromEmail, UserEmail, txtSubject, "Feedback to your blog (by backBlog)" end if end if set objRS = nothing objConn.Close set objConn = nothing feedID = "" AddCookie "BlogExtraFeedBack", "FeedName", Request.Form("feedName"), 1000 AddCookie "BlogExtraFeedBack", "FeedEmail", Request.Form("feedEmail"), 1000 AddCookie "BlogExtraFeedBack", "FeedURL", Request.Form("feedURL"), 1000 AddCookie "BlogExtraFeedBack", "FeedNotify", Request.Form("feedNotify"), 1000 if feedToEmail <> "" then ' ** Send Mail FromEmail = "do-not-reply@israblog.co.il" if Trim(Request.Form("feedEmail")) <> "" then FromEmail = Trim(Request.Form("feedEmail")) end if txtSubject = "You have new feedback to your feedback in " & blogName & ".
" & Request.Form("feedName") & " wrote:
" & Request.Form("feedText") & "

Click here to see the feedback." SendMail FromEmail, Trim(feedToEmail), txtSubject, "Feedback to your feedback at " & blogName & " (by backBlog)" end if Response.redirect strURL & "&saved=1" Response.end end if if userCode = "" or entryCode = "" then Response.Redirect "error.asp?error=1" set objRS = nothing objConn.Close set objConn = nothing Response.End end if objRS.Open("exec esp_SelectSmiliesForUser " & userCode), objConn do until objRS.EOF strSmilies = strSmilies & " " strRepSmile = strRepSmile & Trim(objRS.Fields("Smile_Desc")) & ":" & Trim(objRS.Fields("Smile_URL")) & ";" objRS.MoveNext loop objRS.Close objRS.Open("exec esp_SelectSettingsForUser " & userCode), objConn if objRS.EOF then Response.Redirect "error.asp?error=2" objRS.Close set objRS = nothing objConn.Close set objConn = nothing Response.End end if iWidth = objRS.Fields("User_WinWidth") strTemplate = Trim(objRS.Fields("UserTemplate_Template")) bRegEdit = Abs(CInt(objRS.Fields("User_RegEdit"))) bIsPro = Abs(CInt(objRS.Fields("User_IsPro"))) strUserEmail = Trim(objRS.Fields("User_Email")) bCountLimit = 0 if bIsPro = 0 and objRS.Fields("User_CountLimit") <> 0 then bCountLimit = 1 end if iIdentify = CInt(objRS.Fields("User_Identify")) iAllowLinks = CInt(objRS.Fields("User_AllowLinks")) GravatarRating = Trim(objRS.Fields("User_Gravatar_Rating")) GravatarSize = objRS.Fields("User_Gravatar_Size") GravatarDefault = Trim(objRS.Fields("User_Gravatar_Default")) GravatarBorder = Trim(objRS.Fields("User_Gravatar_Border")) UserURL = Trim(objRS.Fields("User_URL")) UseAkismet = objRS.Fields("User_UseAkismet") objRS.Close strTemplate = Replace(strTemplate, "", "") strTemplate = Replace(strTemplate, "", "" & vbCRLF & "") ' ** feedToFeed javascript function if bIsPro then strTemplate = Replace(strTemplate, "", "" & vbCRLF & "") end if ' ** CATCHA display function if InStr(strTemplate, "") = 0 then iIdentify = 0 if bIsPro and iIdentify = 1 then strTemplate = Replace(strTemplate, "", "") strTemplate = Replace(strTemplate, "", "  ") end if ' ** addSmiley javascript function if bRegEdit or bIE = 0 then strTemplate = Replace(strTemplate, "", "" & vbCRLF & "") else strTemplate = Replace(strTemplate, "", "" & vbCRLF & "") end if 'strTemplate = Replace(strTemplate, "", "" & vbCRLF & "") ' ** Delete and approve comments javascript functions if bIsPro and lcase(strUserEmail) = lcase(Trim(GetCookie("BlogExtra", "Email"))) then strTemplate = Replace(strTemplate, "", "" & vbCRLF & "") end if strTemplate = Replace(strTemplate, ", add >) 'strFunction = "" 'strTemplate = Replace(strTemplate, "", strFunction) ' ** regular edit and richedit javascript functions if bRegEdit or bIE = 0 then strFunction = "" & vbCRLF & "" & vbCRLF strTemplate = Replace(strTemplate, "", strFunction) strFunction = "" & vbCRLF & "" else strFunction = strFunction & "return true; }" end if strTemplate = Replace(strTemplate, "", strFunction) strTemplate = Replace(strTemplate, "name=" & Chr(34) & "feedText" & Chr(34), "name=" & Chr(34) & "feedText" & Chr(34) & " onKeyDown=" & Chr(34) & "countChars()" & Chr(34)) strTemplate = Replace(strTemplate, "NAME=" & Chr(34) & "feedText" & Chr(34), "NAME=" & Chr(34) & "feedText" & Chr(34) & " onKeyDown=" & Chr(34) & "countChars()" & Chr(34)) strTemplate = Replace(strTemplate, "name='feedText'", "name='feedText' onKeyDown=" & Chr(34) & "countChars()" & Chr(34)) strTemplate = Replace(strTemplate, "NAME='feedText'", "NAME='feedText' onKeyDown=" & Chr(34) & "countChars()" & Chr(34)) if bRegEdit = 0 then ' In non IE browsers, drop the iframe iBegTag = InStr(lcase(strTemplate), "name=" & Chr(34) & "feedtext") if iBegTag > 0 then iBegTag = InStrRev(lcase(strTemplate), "<", iBegTag) iEndTag = InStr(iBegTag, lcase(strTemplate), ">") strTemplate = Left(strTemplate, iBegTag - 1) & Mid(strTemplate, iEndTag + 1) else iBegTag = InStr(lcase(strTemplate), "name='feedtext") if iBegTag > 0 then iBegTag = InStrRev(lcase(strTemplate), "<", iBegTag) iEndTag = InStr(iBegTag, lcase(strTemplate), ">") strTemplate = Left(strTemplate, iBegTag - 1) & Mid(strTemplate, iEndTag + 1) end if end if iBegTag = InStr(lcase(strTemplate), "") strTemplate = Left(strTemplate, iBegTag - 1) & "" & Mid(strTemplate, iEndTag + 1) end if end if else strTemplate = Replace(strTemplate, "", "" & vbCRLF & "") strFunction = "" & vbCRLF & "" else strFunction = strFunction & "return true; }" end if strTemplate = Replace(strTemplate, "", strFunction) strTemplate = Replace(strTemplate, "BoldUnderlineItalics Link
BoldUnderlineItalics Link

Align LeftAlign CenterAlign Right Ordered ListUnordered List

Align LeftAlign CenterAlign Right Ordered ListUnordered List
= 500 then ' strTemplate = Replace(strTemplate, "", "
" & vbCRLF & "
") ' strTemplate = Replace(strTemplate, "", "
" & vbCRLF & "
") ' strTemplate = Replace(strTemplate, "", "
" & Application("objAd").GetAdvertisement("ads.txt") & "  " & vbCRLF & "
") ' strTemplate = Replace(strTemplate, "", "
" & Application("objAd").GetAdvertisement("ads.txt") & "  " & vbCRLF & "
") ' strTemplate = Replace(strTemplate, "", " - Blog Comments by backBlog") ' strTemplate = Replace(strTemplate, "", " - Blog Comments by backBlog") 'end if if bIsPro = 0 then strTemplate = Replace(strTemplate, "", "
" & Application("objAd").GetAdvertisement("ads.txt") & "
") end if ' ** strTemplate = Replace(strTemplate, "", strSmilies) strTemplate = Replace(strTemplate, "", "") ' ** [feedBlogName] strTemplate = Replace(strTemplate, "[feedBlogName]", blogName) ' ** [feedUser] strTemplate = Replace(strTemplate, "[feedUser]", userCode) ' ** [feedEntry] strTemplate = Replace(strTemplate, "[feedEntry]", entryCode) ' ** [feedToEmail] strTemplate = Replace(strTemplate, "[feedToEmail]", feedToEmail) ' ** [NewFeedName] strTemplate = Replace(strTemplate, "[NewFeedName]", Trim(GetCookie("BlogExtraFeedBack", "FeedName"))) ' ** [NewFeedEmail] strTemplate = Replace(strTemplate, "[NewFeedEmail]", Trim(GetCookie("BlogExtraFeedBack", "FeedEmail"))) ' ** [NewFeedURL] strTemplate = Replace(strTemplate, "[NewFeedURL]", Trim(GetCookie("BlogExtraFeedBack", "FeedURL"))) ' ** [feedNotify] if GetCookie("BlogExtraFeedBack", "FeedNotify") = "on" then strTemplate = Replace(strTemplate, Chr(34) & "feedNotify" & Chr(34), Chr(34) & "feedNotify" & Chr(34) & " checked") end if if Request.QueryString("saved") = "1" then stFrame="" if InStr(strTemplate, " 0 then strTemplate = Replace(strTemplate, " 0 then strTemplate = Replace(strTemplate, "") iEntryEnd = InStr(lcase(strTemplate), "") if iEntryBeg = 0 or iEntryEnd = 0 then Response.Redirect "error.asp?error=3" ' Response.write("An error was found in your template. Please go to backBlog and either restore the default template or fix your template.") Response.end end if strHeader = left(strTemplate, iEntryBeg - 1) strFooter = mid(strTemplate, iEntryEnd + 16) strEntry = mid(strTemplate, iEntryBeg + 15, iEntryEnd - iEntryBeg - 15) Response.write(strHeader) strSQL = "exec esp_SelectFeedbackForUser " & userCode & ", '" & Request.QueryString("feedToFeed") & "', '" & entryCode & "'" objRS.Open(strSQL), objConn if objRS.EOF = False then ' ** [feedID] if len(Trim(objRS.Fields("FeedBack_ID"))) mod 2 = 0 or feedID <> "" then strFooter = Replace(strFooter, "[feedID]", feedID) else strFooter = Replace(strFooter, "[feedID]", " ") end if end if iCount = 0 do until objRS.EOF 'dDate = DateAdd("h", 6 + objRS.Fields("User_TimeZone"), objRS.Fields("FeedBack_Date")) dDate = DateAdd("h", objRS.Fields("User_TimeZone"), objRS.Fields("FeedBack_Date")) strEmail = "" strURL = Trim(objRS.Fields("FeedBack_URL")) if strURL <> "" and left(lcase(strURL), 7) <> "http://" then strURL = "http://" & strURL end if if objRS.Fields("FeedBack_IsNotify") then strEmail = Trim(objRS.Fields("FeedBack_Email")) strThisEntry = strEntry GravatarLink = "" if objRs.Fields("FeedBack_IsPrivate") then if lcase(strUserEmail) = lcase(Trim(GetCookie("BlogExtra", "Email"))) then strThisEntry = Replace(strThisEntry, "[feedEmail]", Trim(objRS.Fields("FeedBack_Email"))) strThisEntry = Replace(strThisEntry, "[feedGravatar]", GravatarLink) strThisEntry = Replace(strThisEntry, "[feedName]", Trim(objRS.Fields("FeedBack_Name"))) strThisEntry = Replace(strThisEntry, "[feedURL]", strURL) else strThisEntry = Replace(strThisEntry, "[feedEmail]", "Private") strThisEntry = Replace(strThisEntry, "[feedGravatar]", "Private") strThisEntry = Replace(strThisEntry, "[feedName]", "Private") strThisEntry = Replace(strThisEntry, "[feedURL]", "Private") end if else strThisEntry = Replace(strThisEntry, "[feedEmail]", Trim(objRS.Fields("FeedBack_Email"))) strThisEntry = Replace(strThisEntry, "[feedGravatar]", GravatarLink) strThisEntry = Replace(strThisEntry, "[feedName]", Trim(objRS.Fields("FeedBack_Name"))) strThisEntry = Replace(strThisEntry, "[feedURL]", strURL) end if strThisEntry = Replace(strThisEntry, "[feedMonth]", Right("0" & Month(dDate), 2)) strThisEntry = Replace(strThisEntry, "[feedDay]", Right("0" & Day(dDate), 2)) strThisEntry = Replace(strThisEntry, "[feedYear]", Year(dDate)) strThisEntry = Replace(strThisEntry, "[feedHour]", Right("0" & Hour(dDate), 2)) strThisEntry = Replace(strThisEntry, "[feedMinutes]", Right("0" & Minute(dDate), 2)) strThisEntry = Replace(strThisEntry, "[feedGeneration]", len(Trim(objRS.Fields("FeedBack_ID")))) if objRs.Fields("FeedBack_IsPrivate") then if lcase(strUserEmail) = lcase(Trim(GetCookie("BlogExtra", "Email"))) then strThisEntry = Replace(strThisEntry, "[feedText]", "This feedback is private:
" & ReplaceSmilies(RemoveScriptTags(PutBRS(Trim(objRS.Fields("FeedBack_Text")))), strRepSmile)) else strThisEntry = Replace(strThisEntry, "[feedText]", "This feedback is private.") end if else strThisEntry = Replace(strThisEntry, "[feedText]", ReplaceSmilies(RemoveScriptTags(PutBRS(Trim(objRS.Fields("FeedBack_Text")))), strRepSmile)) end if if bIsPro and lcase(strUserEmail) = lcase(Trim(GetCookie("BlogExtra", "Email"))) then strThisEntry = Replace(strThisEntry, "", "  Delete This FeedBack  Delete This FeedBack and Report as Spam") if CInt(objRS.Fields("FeedBack_Hidden")) <> 0 then strThisEntry = Replace(strThisEntry, "Delete This FeedBack", "Delete This FeedBack  Approve This FeedBack") end if end if if bIsPro and Request.QueryString("feedToFeed") = "" then strThisEntry = Replace(strThisEntry, "", "") strThisEntry = Replace(strThisEntry, "", "") end if if (bIsPro = 0 or lcase(strUserEmail) <> lcase(Trim(GetCookie("BlogExtra", "Email")))) and CInt(objRS.Fields("FeedBack_Hidden")) <> 0 then strThisEntry = "" end if Response.write(strThisEntry) objRS.MoveNext iCount = iCount + 1 loop objRS.Close ' ** Entries Count Limit if bCountLimit and iCount >= 5 then if InStr(strFooter, "") then strFooter = Replace(strFooter, "", "backBlogBasic accounts are limited to five feedback entries per blog entry. You may not write a new feedback entry.") end if if InStr(strFooter, "") then strFooter = Replace(strFooter, "", "backBlogBasic accounts are limited to five feedback entries per blog entry. You may not write a new feedback entry.") end if if InStr(strFooter, "") then strFooter = Replace(strFooter, "", "backBlogBasic accounts are limited to five feedback entries per blog entry. You may not write a new feedback entry.") end if if InStr(strFooter, "") then strFooter = Replace(strFooter, "", "backBlogBasic accounts are limited to five feedback entries per blog entry. You may not write a new feedback entry.") end if if InStr(strFooter, "type=submit") then strFooter = Replace(strFooter, "type=submit", "type=submit disabled") end if if InStr(strFooter, "type='submit'") then strFooter = Replace(strFooter, "type='submit'", "type='submit' disabled") end if if InStr(strFooter, "TYPE='SUBMIT'") then strFooter = Replace(strFooter, "TYPE='SUBMIT'", "TYPE='SUBMIT' disabled") end if if InStr(strFooter, "TYPE=SUBMIT") then strFooter = Replace(strFooter, "TYPE=SUBMIT", "TYPE=SUBMIT disabled") end if if InStr(strFooter, "type=image") then strFooter = Replace(strFooter, "type=image", "type=image disabled") end if if InStr(strFooter, "type='image'") then strFooter = Replace(strFooter, "type='image'", "type='image' disabled") end if if InStr(strFooter, "TYPE='IMAGE'") then strFooter = Replace(strFooter, "TYPE='IMAGE'", "TYPE='IMAGE' disabled") end if if InStr(strFooter, "TYPE=IMAGE") then strFooter = Replace(strFooter, "TYPE=IMAGE", "TYPE=IMAGE disabled") end if end if ' ** Display the Akismet badge if UseAkismet <> 0 then iBegPos = InStr(lcase(strFooter), "type=" & Chr(34) & "submit") if iBegPos = 0 then iBegPos = InStr(lcase(strFooter), "type='submit") if iBegPos = 0 then iBegPos = InStr(lcase(strFooter), "type=submit") if iBegPos <> 0 then iEndPos= instr(iBegPos, strFooter, ">") if iEndPos <> 0 then strFooter = left(strFooter, iEndPos) & "   " & mid(strFooter, iEndPos + 1) end if end if end if if Request.QueryString("akismetrejected") = "1" then strFooter = Replace(strFooter, "", "") end if strSEDOCode = "" & _ "" & _ "" & _ "" & _ "" & _ "" & _ "" & _ "" & _ "" & _ "" & _ "" & _ "" & _ "" 'strFooter = Replace(strFooter, "", strSEDOCode & "") Response.write(strFooter) set objRS = nothing objConn.Close set objConn = nothing %>