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, "
") 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
%>