亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? functions_format_post.asp

?? 快速、可設(shè)定管理權(quán)限等級(jí)的論壇程序
?? ASP
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
		'Format the URL tages into an HTML hyperlinks
		strTempMessage = "<a href=""" & strTempMessage & """>" & strTempMessage & "</a>"
		
		'Place the new fromatted hyperlink into the message string body
		strMessage = Replace(strMessage, strMessageLink, strTempMessage, 1, -1, 1)
	Loop




	'Loop through the message till all or any email links are turned into HTML mailto links
	Do While InStr(1, strMessage, "[EMAIL=", 1) > 0 AND InStr(1, strMessage, "[/EMAIL]", 1) > 0

		'Find the start position in the message of the [EMAIL= code
		lngStartPos = InStr(1, strMessage, "[EMAIL=", 1)

		'Find the position in the message for the [/EMAIL] closing code
		lngEndPos = InStr(lngStartPos, strMessage, "[/EMAIL]", 1) + 8

		'Make sure the end position is not in error
		If lngEndPos < lngStartPos Then lngEndPos = lngStartPos + 9

		'Read in the code to be converted into a email link from the message
		strMessageLink = Trim(Mid(strMessage, lngStartPos, (lngEndPos - lngStartPos)))

		'Place the message link into the tempoary message variable
		strTempMessage = strMessageLink

		'Format the link into an HTML mailto link
		strTempMessage = Replace(strTempMessage, "[EMAIL=", "<a href=""mailto:", 1, -1, 1)
		'If there is no tag shut off place a > at the end
		If InStr(1, strTempMessage, "[/EMAIL]", 1) Then
			strTempMessage = Replace(strTempMessage, "[/EMAIL]", "</a>", 1, -1, 1)
			strTempMessage = Replace(strTempMessage, "]", """>", 1, -1, 1)
		Else
			strTempMessage = strTempMessage & ">"
		End If


		'Place the new fromatted HTML mailto into the message string body
		strMessage = Replace(strMessage, strMessageLink, strTempMessage, 1, -1, 1)
	Loop




	'Loop through the message till all or any files are turned into HTML hyperlinks
	Do While InStr(1, strMessage, "[FILE=", 1) > 0 AND InStr(1, strMessage, "[/FILE]", 1) > 0

		'Find the start position in the message of the [FILE= code
		lngStartPos = InStr(1, strMessage, "[FILE=", 1)

		'Find the position in the message for the [/FILE] closing code
		lngEndPos = InStr(lngStartPos, strMessage, "[/FILE]", 1) + 7

		'Make sure the end position is not in error
		If lngEndPos < lngStartPos Then lngEndPos = lngStartPos + 8

		'Read in the code to be converted into a hyperlink from the message
		strMessageLink = Trim(Mid(strMessage, lngStartPos, (lngEndPos - lngStartPos)))

		'Place the message link into the tempoary message variable
		strTempMessage = strMessageLink

		'Format the link into an HTML hyperlink
		strTempMessage = Replace(strTempMessage, "[FILE=", "<a target=""_blank"" href=""", 1, -1, 1)
		'If there is no tag shut off place a > at the end
		If InStr(1, strTempMessage, "[/FILE]", 1) Then
			strTempMessage = Replace(strTempMessage, "[/FILE]", "</a>", 1, -1, 1)
			strTempMessage = Replace(strTempMessage, "]", """>", 1, -1, 1)
		Else
			strTempMessage = strTempMessage & ">"
		End If

		'Place the new fromatted hyperlink into the message string body
		strMessage = Replace(strMessage, strMessageLink, strTempMessage, 1, -1, 1)
	Loop
	
	
	
	'Loop through the message till all font colour codes are turned into fonts colours
	Do While InStr(1, strMessage, "[COLOR=", 1) > 0  AND InStr(1, strMessage, "[/COLOR]", 1) > 0

		'Find the start position in the message of the [COLOR= code
		lngStartPos = InStr(1, strMessage, "[COLOR=", 1)

		'Find the position in the message for the [/COLOR] closing code
		lngEndPos = InStr(lngStartPos, strMessage, "[/COLOR]", 1) + 8

		'Make sure the end position is not in error
		If lngEndPos < lngStartPos Then lngEndPos = lngStartPos + 9

		'Read in the code to be converted into a font colour from the message
		strMessageLink = Trim(Mid(strMessage, lngStartPos, (lngEndPos - lngStartPos)))

		'Place the message colour into the tempoary message variable
		strTempMessage = strMessageLink

		'Format the link into an font colour HTML tag
		strTempMessage = Replace(strTempMessage, "[COLOR=", "<font color=", 1, -1, 1)
		'If there is no tag shut off place a > at the end
		If InStr(1, strTempMessage, "[/COLOR]", 1) Then
			strTempMessage = Replace(strTempMessage, "[/COLOR]", "</font>", 1, -1, 1)
			strTempMessage = Replace(strTempMessage, "]", ">", 1, -1, 1)
		Else
			strTempMessage = strTempMessage & ">"
		End If

		'Place the new fromatted colour HTML tag into the message string body
		strMessage = Replace(strMessage, strMessageLink, strTempMessage, 1, -1, 1)
	Loop
	
	'Hear for backward compatability with old colour codes abive
	strMessage = Replace(strMessage, "[/COLOR]", "</font>", 1, -1, 1)


	'Return the function
	FormatForumCodes = strMessage
End Function





'******************************************
'***   	   Format User Quote		***
'******************************************

'This function formats quotes that contain usernames
Function formatUserQuote(ByVal strMessage)


	'Declare variables
	Dim strQuotedAuthor 	'Holds the name of the author who is being quoted
	Dim strQuotedMessage	'Hold the quoted message
	Dim lngStartPos		'Holds search start postions
	Dim lngEndPos		'Holds end start postions
	Dim strBuildQuote	'Holds the built quoted message
	Dim strOriginalQuote	'Holds the quote in original format

	'Loop through all the quotes in the message and convert them to formated quotes
	Do While InStr(1, strMessage, "[QUOTE=", 1) > 0 AND InStr(1, strMessage, "[/QUOTE]", 1) > 0

		'Get the start and end in the message of the author who is being quoted
		lngStartPos = InStr(1, strMessage, "[QUOTE=", 1) + 7
		lngEndPos = InStr(lngStartPos, strMessage, "]", 1)

		'If there is something returned get the authors name
		If lngStartPos > 6 AND lngEndPos > 0 Then
			strQuotedAuthor = Trim(Mid(strMessage, lngStartPos, lngEndPos-lngStartPos))
		End If



		'Get the start and end in the message of the message to quote
		lngStartPos = lngStartPos + Len(strQuotedAuthor) + 1
		lngEndPos = InStr(lngStartPos, strMessage, "[/QUOTE]", 1)

		'Make sure the end position is not in error
		If lngEndPos - lngStartPos =< 0 Then lngEndPos = lngStartPos + Len(strQuotedAuthor)

		'If there is something returned get message to quote
		If lngEndPos > lngStartPos Then

			'Get the message to be quoted
			strQuotedMessage = Trim(Mid(strMessage, lngStartPos, lngEndPos-lngStartPos))

			'Srip out any perenetis for those that are use to BBcodes that are different
			strQuotedAuthor = Replace(strQuotedAuthor, """", "", 1, -1, 1)

			'Build the HTML for the displying of the quoted message
			strBuildQuote = "<table width=""95%"" border=""0"" align=""center"" cellpadding=""0"" cellspacing=""0"">"
			strBuildQuote = strBuildQuote & vbCrLf & "<tr><td class=""bold"">" & strQuotedAuthor & " " & strTxtWrote & ":<br />"
			strBuildQuote = strBuildQuote & vbCrLf & "   <table width=""100%"" border=""0"" cellpadding=""1"" cellspacing=""0"" bgcolor=""" & strTableQuoteBorderColour & """>"
			strBuildQuote = strBuildQuote & vbCrLf & "    <tr>"
			strBuildQuote = strBuildQuote & vbCrLf & "    <td><table width=""100%"" border=""0"" cellpadding=""2"" cellspacing=""0"" bgcolor=""" & strTableQuoteColour & """>"
			strBuildQuote = strBuildQuote & vbCrLf & "      <tr>"
			strBuildQuote = strBuildQuote & vbCrLf & "       <td class=""text"">" & strQuotedMessage & "</td>"
			strBuildQuote = strBuildQuote & vbCrLf & "      </tr>"
			strBuildQuote = strBuildQuote & vbCrLf & "     </table></td>"
			strBuildQuote = strBuildQuote & vbCrLf & "   </tr>"
			strBuildQuote = strBuildQuote & vbCrLf & "  </table></td>"
			strBuildQuote = strBuildQuote & vbCrLf & "</tr>"
			strBuildQuote = strBuildQuote & vbCrLf & "</table>"
		End If



		'Get the start and end position in the start and end position in the message of the quote
		lngStartPos = InStr(1, strMessage, "[QUOTE=", 1)
		lngEndPos = InStr(lngStartPos, strMessage, "[/QUOTE]", 1) + 8

		'Make sure the end position is not in error
		If lngEndPos - lngStartPos =< 7 Then lngEndPos = lngStartPos + Len(strQuotedAuthor) + 8

		'Get the original quote to be replaced in the message
		strOriginalQuote = Trim(Mid(strMessage, lngStartPos, lngEndPos-lngStartPos))

		'Replace the quote codes in the message with the new formated quote
		If strBuildQuote <> "" Then
			strMessage = Replace(strMessage, strOriginalQuote, strBuildQuote, 1, -1, 1)
		Else
			strMessage = Replace(strMessage, strOriginalQuote, Replace(strOriginalQuote, "[", "&#91;", 1, -1, 1), 1, -1, 1)
		End If
	Loop

	'Return the function
	formatUserQuote = strMessage

End Function




'******************************************
'***   	   Format Quote			***
'******************************************

'This function formats the quote
Function formatQuote(ByVal strMessage)


	'Declare variables
	Dim strQuotedMessage	'Hold the quoted message
	Dim lngStartPos		'Holds search start postions
	Dim lngEndPos		'Holds end start postions
	Dim strBuildQuote	'Holds the built quoted message
	Dim strOriginalQuote	'Holds the quote in original format

	'Loop through all the quotes in the message and convert them to formated quotes
	Do While InStr(1, strMessage, "[QUOTE]", 1) > 0 AND InStr(1, strMessage, "[/QUOTE]", 1) > 0

		'Get the start and end in the message of the author who is being quoted
		lngStartPos = InStr(1, strMessage, "[QUOTE]", 1) + 7
		lngEndPos = InStr(lngStartPos, strMessage, "[/QUOTE]", 1)

		'Make sure the end position is not in error
		If lngEndPos < lngStartPos Then lngEndPos = lngStartPos + 7

		'If there is something returned get message to quote
		If lngEndPos > lngStartPos Then

			'Get the message to be quoted
			strQuotedMessage = Trim(Mid(strMessage, lngStartPos, lngEndPos-lngStartPos))


			'Build the HTML for the displying of the quoted message
			strBuildQuote = "<table width=""95%"" border=""0"" align=""center"" cellpadding=""0"" cellspacing=""0"">"
			strBuildQuote = strBuildQuote & vbCrLf & "<tr><td class=""bold"">" & strTxtQuote & ":<br>"
			strBuildQuote = strBuildQuote & vbCrLf & "   <table width=""100%"" border=""0"" cellpadding=""1"" cellspacing=""0"" bgcolor=""" & strTableQuoteBorderColour & """>"
			strBuildQuote = strBuildQuote & vbCrLf & "    <tr>"
			strBuildQuote = strBuildQuote & vbCrLf & "    <td><table width=""100%"" border=""0"" cellpadding=""2"" cellspacing=""0"" bgcolor=""" & strTableQuoteColour & """>"
			strBuildQuote = strBuildQuote & vbCrLf & "      <tr>"
			strBuildQuote = strBuildQuote & vbCrLf & "       <td class=""text"">" & strQuotedMessage & "</td>"
			strBuildQuote = strBuildQuote & vbCrLf & "      </tr>"
			strBuildQuote = strBuildQuote & vbCrLf & "     </table></td>"
			strBuildQuote = strBuildQuote & vbCrLf & "   </tr>"
			strBuildQuote = strBuildQuote & vbCrLf & "  </table></td>"
			strBuildQuote = strBuildQuote & vbCrLf & "</tr>"
			strBuildQuote = strBuildQuote & vbCrLf & "</table>"
		End If


		'Get the start and end position in the start and end position in the message of the quote
		lngStartPos = InStr(1, strMessage, "[QUOTE]", 1)
		lngEndPos = InStr(lngStartPos, strMessage, "[/QUOTE]", 1) + 8

		'Make sure the end position is not in error
		If lngEndPos < lngStartPos Then lngEndPos = lngStartPos + 7

		'Get the original quote to be replaced in the message
		strOriginalQuote = Trim(Mid(strMessage, lngStartPos, lngEndPos-lngStartPos))

		'Replace the quote codes in the message with the new formated quote
		If strBuildQuote <> "" Then
			strMessage = Replace(strMessage, strOriginalQuote, strBuildQuote, 1, -1, 1)
		Else
			strMessage = Replace(strMessage, strOriginalQuote, Replace(strOriginalQuote, "[", "&#91;", 1, -1, 1), 1, -1, 1)
		End If
	Loop

	'Return the function
	formatQuote = strMessage

End Function





'******************************************
'***   	   Format Code Block		***
'******************************************

'This function formats the code blocks
Function formatCode(ByVal strMessage)


	'Declare variables
	Dim strCodeMessage		'Hold the coded message
	Dim lngStartPos			'Holds search start postions
	Dim lngEndPos			'Holds end start postions
	Dim strBuildCodeBlock		'Holds the built coded message
	Dim strOriginalCodeBlock	'Holds the code block in original format

	'Loop through all the codes in the message and convert them to formated code block
	Do While InStr(1, strMessage, "[CODE]", 1) > 0 AND InStr(1, strMessage, "[/CODE]", 1) > 0

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品一区二| 成人晚上爱看视频| 国产乱人伦精品一区二区在线观看| 韩国一区二区三区| 99精品视频免费在线观看| 色婷婷综合激情| 91精品国产全国免费观看| 国产午夜久久久久| 国内偷窥港台综合视频在线播放| 岛国精品一区二区| 欧美日韩免费观看一区三区| 久久久久久久久久久久久夜| 亚洲三级电影网站| 久久国产尿小便嘘嘘尿| 99精品国产热久久91蜜凸| 91精选在线观看| 中文字幕免费不卡| 日韩高清不卡一区二区三区| 成人ar影院免费观看视频| 欧美精品少妇一区二区三区| 欧美极品aⅴ影院| 偷窥少妇高潮呻吟av久久免费| 国产一区二区毛片| 欧美羞羞免费网站| 国产女人18毛片水真多成人如厕 | 日韩国产成人精品| 丰满少妇久久久久久久| 亚洲人成在线观看一区二区| 日av在线不卡| 在线精品视频一区二区三四| 久久蜜桃一区二区| 午夜精品福利视频网站| 成人动漫中文字幕| 精品国产乱码久久久久久浪潮| 亚洲乱码一区二区三区在线观看| 精品亚洲porn| 欧美亚洲精品一区| 一区视频在线播放| 国产成人午夜高潮毛片| 日韩一区二区三区在线观看| 一区二区三区在线视频观看| 国产白丝网站精品污在线入口| 欧美一级片在线| 亚洲综合免费观看高清完整版在线| 福利一区福利二区| 日韩精品一区二区三区视频播放| 亚洲国产一区二区视频| 99久久久国产精品免费蜜臀| 久久久久久久电影| 激情综合色综合久久| 这里是久久伊人| 国产凹凸在线观看一区二区| 精品国产免费视频| 久久精品国产一区二区| 91精品在线免费| 亚洲成人福利片| 色综合网色综合| 一色屋精品亚洲香蕉网站| 成人一区二区在线观看| 久久久久久9999| 国产一区二区三区四区五区入口| 91精品国产综合久久久久久久久久 | 亚洲国产精品一区二区尤物区| 成人app网站| 国产精品乱码妇女bbbb| 丁香婷婷综合色啪| 国产片一区二区| 国产超碰在线一区| 国产婷婷一区二区| 国产成人在线影院| 国产拍欧美日韩视频二区| 国产成人精品1024| 国产精品盗摄一区二区三区| 日韩欧美国产成人一区二区| 日韩av在线发布| 欧美一级在线视频| 激情五月婷婷综合| 久久亚洲精华国产精华液| 国内成人精品2018免费看| 精品福利一区二区三区| 国产精品中文字幕日韩精品| 国产日韩欧美精品综合| 99久久精品国产一区二区三区| 亚洲欧美日韩国产综合| 欧美午夜在线一二页| 天天射综合影视| 午夜精品一区二区三区免费视频| 欧美日韩中文字幕一区| 日韩av电影免费观看高清完整版| 91精品蜜臀在线一区尤物| 久久er精品视频| 国产日产欧美一区| av不卡免费在线观看| 伊人色综合久久天天人手人婷| 一区二区三区欧美在线观看| 欧美日韩国产影片| 美女视频一区在线观看| 亚洲精品一线二线三线无人区| 国产乱色国产精品免费视频| 中文字幕一区二区三区乱码在线| 在线视频欧美精品| 蜜臀精品一区二区三区在线观看 | 粉嫩av一区二区三区| 中文字幕日本不卡| 欧美精品丝袜中出| 国产综合久久久久影院| 国产精品高潮呻吟久久| 在线观看中文字幕不卡| 另类小说欧美激情| 中文字幕中文字幕在线一区| 欧美日韩一级片网站| 久久国产精品区| 亚洲欧洲精品成人久久奇米网| 欧美日韩一区二区在线观看视频| 精品无码三级在线观看视频| 国产精品久久久久久久第一福利 | 亚洲已满18点击进入久久| 日韩免费观看高清完整版在线观看| 国产夫妻精品视频| 亚洲午夜久久久久| 久久久久国产精品麻豆| 欧美亚洲国产一区二区三区va| 欧美日韩一区二区三区免费看| 久久精品国产成人一区二区三区| 国产精品乱人伦| 日韩午夜中文字幕| 91蜜桃在线免费视频| 久色婷婷小香蕉久久| 亚洲视频精选在线| 久久久五月婷婷| 欧美日韩视频专区在线播放| 国产v综合v亚洲欧| 日韩精品免费视频人成| 亚洲人成在线播放网站岛国| 精品国产乱码久久久久久夜甘婷婷| 色婷婷国产精品综合在线观看| 久久不见久久见免费视频1| 亚洲综合偷拍欧美一区色| 国产日韩欧美一区二区三区综合| 欧美男生操女生| 91片在线免费观看| 国产大陆亚洲精品国产| 麻豆精品视频在线观看视频| 亚洲精品v日韩精品| 国产精品色哟哟网站| 精品91自产拍在线观看一区| 欧美色综合网站| 色综合久久88色综合天天免费| 国产酒店精品激情| 久久成人免费电影| 成人av在线看| 久久99精品国产麻豆婷婷 | 欧美午夜精品久久久久久超碰| 国产伦精品一区二区三区免费迷| 亚洲国产精品天堂| 亚洲欧洲av另类| 国产目拍亚洲精品99久久精品| 欧美va亚洲va香蕉在线| 7777精品伊人久久久大香线蕉最新版| 色呦呦日韩精品| av午夜一区麻豆| 高清国产午夜精品久久久久久| 久久国产精品99久久久久久老狼 | 欧美怡红院视频| 99精品视频免费在线观看| 懂色av一区二区三区蜜臀| 精品一二三四区| 久久99久久精品欧美| 日本不卡高清视频| 日韩不卡一二三区| 日日夜夜免费精品视频| 午夜精品久久久久久久久久久 | 精品视频在线免费观看| 91视频在线观看| 99精品1区2区| 99re热视频精品| 久久精品在线免费观看| 精品不卡在线视频| 久久蜜桃一区二区| 国产午夜三级一区二区三| 国产亚洲一区二区三区四区| 26uuu精品一区二区| 26uuu色噜噜精品一区二区| 欧美xxxxxxxx| 国产亚洲综合在线| 国产欧美日韩不卡| 中文成人av在线| 亚洲女子a中天字幕| 亚洲影视在线观看| 亚洲3atv精品一区二区三区| 日韩电影一区二区三区| 毛片一区二区三区| 国内精品免费在线观看| 国产高清精品在线| 成年人国产精品| 欧美在线制服丝袜| 91精品国产日韩91久久久久久| 日韩欧美一区二区久久婷婷| 久久久影视传媒| 中文字幕日韩av资源站|