"& SQL_decode(arrArticlesData(1, 0)) &"
") 'display article details response.write("- ")
response.write("
- Posted by: "& arrArticlesData(10, 0) &" ") response.write("
- On: "& web_time(arrArticlesData(4, 0), strBlogTimeFormat, "Full") &" ") response.write("
- In: "& SQL_decode(arrArticlesData(8, 0)) &" ") response.write("
Bookmark
No recent articles
") 'check whether a category has been specified if intCategory <> 0 then 'display no articles message response.write("") response.write("There have been no articles posted to the "& strBlogTitle &" blog in the category that you have specified, please come back later.") response.write("
") else 'display no articles message response.write("") response.write("There have been no articles posted to the "& strBlogTitle &" blog, please come back later.") response.write("
") end if else 'initialise counter intArticlesLoop = 0 'loop through current articles do until intArticlesLoop = intArticlesCount 'draw article container response.write(""& SQL_decode(arrArticlesData(1, intArticlesLoop)) &"
") 'display article details response.write("- ")
response.write("
- Posted by: "& arrArticlesData(10, intArticlesLoop) &" ") response.write("
- On: "& web_time(arrArticlesData(4, intArticlesLoop), strBlogTimeFormat, "Full") &" ") response.write("
- In: "& SQL_decode(arrArticlesData(8, intArticlesLoop)) &" ") 'check comments are enabled if arrArticlesData(5, intArticlesLoop) = 1 and intBlogCommentEnabled = 1 then response.write("
- (Comments) ") end if response.write("
") response.write("Read all of "& SQL_decode(arrArticlesData(1, intArticlesLoop)) &"") response.write("
") else 'display full article response.write(SQL_decode(arrArticlesData(3, intArticlesLoop))) 'check for images and whether the gallery is enabled if (isnull(arrArticlesData(6, intArticlesLoop)) = false and arrArticlesData(6, intArticlesLoop) <> "") and intBlogGalleryEnabled = 1 then 'display thumbnail gallery call display_thumbs(SQL_decode(arrArticlesData(6, intArticlesLoop))) end if end if response.write("
Comments
") 'check whether there are any comments if intCommentsCount = 0 then 'build comments container response.write("") response.write("There have been no comments made on this article. Why not be the first and add your own comment using the form below.") response.write("
") response.write("") 'display comment number response.write("- #"& intCommentsLoop + 1 &"
")
'check for comment website and display commenter details
if arrCommentsData(2, intCommentsLoop) <> "" then
response.write("- Posted by: "& SQL_decode(arrCommentsData(1, intCommentsLoop)) &"
")
else
response.write("- Posted by: "& SQL_decode(arrCommentsData(1, intCommentsLoop)) &"
")
end if
'display posted date
response.write("- On: "& web_time(arrCommentsData(3, intCommentsLoop), strBlogTimeFormat, "Full") &"
")
'check user level
if session("FB_UserLevel") >= 3 then
response.write("- Options: Edit
")
end if
response.write("
") 'display comment response.write(SQL_decode(arrCommentsData(4, intCommentsLoop))) response.write("Leave a comment
") 'build comment submission form response.write("") response.write("Leave a comment
") 'display registered members only message response.write("") response.write("Commenting is restricted to registered users only. Please register or login now to submit a comment.") response.write("
") response.write("Leave a comment
") 'build comment submission form response.write("") response.write("