%@ Language=VBScript %> <% Option Explicit %> <% Response.Buffer = true%> <% dim BadWords, disc_lnpg, disc_pgno, ForwardEMail, Site, Topic, Title, Use_Table ' This controls how many messages will be displayed. If there are more messages ' than the number you specify, the server will add buttons to allow navigating ' between "pages". This is the number of comments to display per page. disc_lnpg = 20 ' What is the name of your site? By name, I mean, take the middle part, between ' the www. and the .com and use it. In other words, the site name for ' www.Microsoft.com would be "Microsoft" Site = "AcidNine" ' What is the topic for this discussion. The default here is "Guest Book". ' You can make it whatever you want - it is invisible to the user. It just ' used so you can later re-organize things. Topic = "Guest Book" ' Display the comments in a table, as rows and columns, or not in a table, like ' paragraphs. Use_Table = "No" ' This can be used to have the web server send you an email each time a new ' comment is added. To use it, enter a valid email address. If you'd like ' the message delivered to more than one address, separate the addresses ' with commas. ForwardEMail = "Rob@AcidNine.com, Mike@AcidNine.com" ' Use this to filter out comments with unacceptable words, per your ' criteria. Simply list the words or phrases separated by commas BadWords = "ddddddddd" %>
| " & vbcrlf) else Response.Write(vbTab & vbTab & vbTab & _ " | " & vbcrlf) end if Response.Write(vbTab & vbTab & vbTab & vbTab & _ "" & vbcrlf) Response.Write(vbTab & vbTab & vbTab & vbTab & _ RTrim(fld.name) & "" & vbcrlf) Response.Write(vbTab & vbTab & vbTab & " | " & vbcrlf) next Response.Write(vbTab & vbTab & "|
| " & vbcrlf) Response.Write(vbtab & vbtab & vbTab & _ "" & vbcrlf & vbTab & vbTab & " | " & _ vbCRLF) Response.Write(vbTab & "||
| " & vbcrlf & _
vbtab & vbtab & vbtab & _
" " & vbcrlf) end if for each fld in rs.fields if (Use_Table = "Yes") then Response.Write(vbTab & vbTab & " | " & _ vbcrlf) else Response.Write(vbTab & vbTab & vbTab & "" & _ Fld.Name & " : " & vbcrlf) end if x = 1 y = len(fld.Value) do while (x <= y) S = "" z = x do while (z <= y) and (((z - x) < 50) or _ (mid(fld.Value, z, 1) <> " ")) if (asc(mid(fld.Value, z, 1)) < 32) then S = S & " " else S = S & mid(fld.Value, z, 1) end if z = z + 1 loop x = z + 1 S = RTrim(S) Response.write(vbtab & vbtab & vbTab & _ S & vbcrlf) loop if (Use_Table = "Yes") then Response.Write(vbtab & vbtab & vbtab & " " & vbcrlf) Response.Write(vbtab & vbtab & " | " & vbcrlf) else Response.Write(vbtab & vbtab & vbtab & "|
Actual Error Message:
" & Err.description & "
Source/Call Stack:
" & Err.source & "