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

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

?? function.asp

?? 國內最早的在線客服系統源碼.可以把訪客變成自己的客戶.是目前比較流行的在線客服系統
?? ASP
字號:
<%
'顯示錯誤信息過程一
sub disp_error1(err_info,href)
	Response.Write("<div align=center><p><font color=#ff0000 size=+3>錯誤信息</font></p>")
	Response.Write(err_info)
	if href="" then
		Response.Write("<br>系統5秒后自動<a href='#' onclick='javascript:location.href=history.go(-1)'>返回</a>")
	else
		Response.Write("<a href="&href&">返回</a>")
	end if		
	Response.Write("<script language=javascript>")
	if href="" then
		Response.Write("setTimeout('location.href=history.go(-1)',5000);")
	end if
	Response.Write("</script>")
	Response.End 
end sub

'顯示錯誤信息過程二
sub disp_error(err_info,href)
	Response.Write("<script language=javascript>")
	Response.Write("alert('"&err_info&"');")
	if href="" then
		Response.Write("location.href=history.go(-1);")
	else
		Response.Write("top.location.href='"&href&"';")
	end if
	Response.Write("</script>")
	Response.End 
end sub

sub disp_error2(info)
	Response.Write("<script language='javascript'>")
	Response.Write("alert('"&info&"');")
	Response.Write("window.close();")
	Response.Write("</script>")
end sub

'中止事務處理
function check_mts()
	if err.number<>0 then
		objcontext.setabort
	end if
end function

'檢查用戶注冊信息
sub check_userinfo()
	dim err_info
	err_info=""
	yhm=trim(Request.Form("yhm"))
	if yhm="" then
		err_info=err_info&"●用戶名不能為空!<br>"
	end if
	if len(yhm)>10 then
		err_info=err_info&"●用戶名太長,請勿超過10個漢字!<br>"
	end if
	mm=trim(Request.Form("mm"))
	if mm="" then
		err_info=err_info&"●密碼不能為空!<br>"
	end if
	if len(mm)>16 then
		err_info=err_info&"●密碼太長,請勿超過16字符!<br>"
	end if
	if mm<>trim(Request.Form("mmqr")) then
		err_info=err_info&"●兩次輸入的密碼不同!<br>"
	end if
	lc=trim(Request.Form("lc"))
	if lc="" then
		err_info=err_info&"●昵稱不能為空!<br>"
	end if
	if len(xm)>6 then
		err_info=err_info&"●昵稱太長,請勿超過6個漢字!<br>"
	end if
	mc1=trim(Request.Form("mc1"))
	if mc1="" then
		err_info=err_info&"●主頁名稱不能為空!<br>"
	end if
	grzy1=ucase(trim(Request.Form("grzy1")))
	if grzy1="" or grzy1="HTTP://" then
		err_info=err_info&"●網址不能為空!<br>"
	end if
	lx1=trim(Request.Form("grzy1"))
	if lx1="請選擇" then
		err_info=err_info&"●主頁類型不能為空!<br>"
	end if
	dzyj=trim(Request.Form("dzyj"))
	if dzyj="" then
		err_info=err_info&"●電子郵件不能為空!<br>"
	end if
	if len(dzyj)>25 then
		err_info=err_info&"●電子郵件太長,請勿超過25個字符!<br>"
	end if
	jj=trim(Request.Form("jj"))
	if jj="" then
		err_info=err_info&"●簡介不能為空!<br>"
	end if
	if len(jj)>50 then
		err_info=err_info&"●簡介太長,請勿超過50個漢字!<br>"
	end if
	if err_info<>"" then
		conn.close
		call disp_error1(err_info,"")
	end if
end sub

'新建在線站點隊列
sub create_online_site()
	dim onlinesite()
	redim onlinesite(0)
	Application.Lock 
	application("onlinesite")=onlinesite
	Application.UnLock 
end sub

'新建當前站點在線用戶隊列
sub create_online_user(site_id)
	dim onlineuser()
	redim onlineuser(0)
	Application.Lock 
	application("onlineuser"&site_id)=onlineuser
	Application.UnLock 
end sub

'查找在線站點隊列中是否已有該站點
'返回0--隊列中沒有該站點
'返回1--隊列中有該站點
function find_online_site(site_id)
	dim i,dimsums,findok,sitestr
	findok=-1
	Application.Lock
	onlinesite=application("onlinesite")
	dimsums=ubound(onlinesite)
	for i=0 to dimsums
		siteinfo=onlinesite(i)
		sitestr=left(siteinfo,instr(siteinfo,"$"))
		if sitestr=cstr(site_id)&"$" then
			findok=i
			exit for
		end if
	next
	Application.UnLock
	find_online_site=findok
end function

'寫入在線站點隊列
function write_online_site(id,mc,lx,url,jj)
	dim siteinfo,dimsums,filename,fs,fpoint
	Application.Lock
	siteinfo=id&"$"&url&"$"&mc
	onlinesite=application("onlinesite")
	dimsums=ubound(onlinesite)
	redim preserve onlinesite(dimsums+1)
	onlinesite(dimsums+1)=siteinfo
	application("onlinesite")=onlinesite
	filename=server.mappath("/")&"\qq\siteinfo\"&id&".txt"
	set fs=createobject("scripting.filesystemobject")
	if not fs.fileexists(filename) then	
		set fpoint=fs.createtextfile(filename,true)
		fpoint.writeline("1")
		fpoint.writeline(mc)
		fpoint.writeline(lx)
		if left(url,7)<>"http://" then
			url="http://"&url
		end if
		fpoint.writeline(url)
		fpoint.writeline(jj)
		fpoint.close
	end if
	set fs=nothing
	Application.UnLock
	write_online_site=dimsums+1
end function

'查找當前用戶是否在線
function find_online_user(site_id)
	dim i,dimsums,siteinfo,findok
	findok=0
	Application.Lock
	onlineuser=application("onlineuser"&site_id)
	dimsums=ubound(onlineuser)
	for i=0 to dimsums
		siteinfo=onlineuser(i)
		if siteinfo<>"" then
			if instr(siteinfo,session.SessionID)>0 then
				findok=1
				exit for
			end if
		end if
	next
	Application.UnLock
	find_online_user=findok
end function

'寫入在線用戶隊列
sub write_online_user(site_id,faceid)
	dim userinfo
	Application.Lock
	if session("username")="" or session("siteid")="" then
		application("online")=application("online")+1
		userinfo=session.SessionID&"$"&"訪客"&application("online")&"$"&"0$"&now()&"$"&now()&"$"&faceid
	else
		if session("manager")="1" then
			userinfo=session.SessionID&"$"&session("username")&"$"&"1$"&now()&"$"&now()&"$"&faceid
		else
			userinfo=session.SessionID&"$"&session("username")&"$"&"0$"&now()&"$"&now()&"$"&faceid
		end if
	end if
	onlineuser=application("onlineuser"&site_id)
	dimsums=ubound(onlineuser)
	redim preserve onlineuser(dimsums+1)
	onlineuser(dimsums+1)=userinfo
	application("onlineuser"&site_id)=onlineuser
	Application.UnLock
end sub

function find_online_manager(managerid)
	dim i,dimsums,findok
	findok=0
	Application.Lock
	onlinemanager=application("onlinemanager")
	dimsums=ubound(onlinemanager)
	for i=0 to dimsums
		siteinfo=onlinemanager(i)
		if siteinfo<>"" then
			if instr(siteinfo,managerid)>0 then
				findok=1
				exit for
			end if
		end if
	next
	Application.UnLock
	find_online_manager=findok
end function

'寫入在線站長
sub write_online_manager(mc,url,lc,faceid)
	dim userinfo
	Application.Lock
	if left(url,7)<>"http://" then
		url="http://"&url
	end if
	userinfo=session.SessionID&"$"&session("siteid")&"$"&lc&"$"&mc&"$"&url&"$"&now()&"$"&now()&"$"&faceid
	onlinemanager=application("onlinemanager")
	dimsums=ubound(onlinemanager)
	redim preserve onlinemanager(dimsums+1)
	onlinemanager(dimsums+1)=userinfo
	application("onlinemanager")=onlinemanager
	onlineuser=application("onlineuser"&session("siteid"))
	dimsums=ubound(onlineuser)
	killflag=0
	for i=0 to dimsums
		if instr(onlineuser(i),cstr(session.sessionid))>0 then
			onlineuser(i)=replace(onlineuser(i),session("username")&"$0$",lc&"$1$")
			killflag=1
			exit for
		end if
	next
	if killflag=0 then
		call write_online_user(session("siteid"),faceid)
	end if
	application("onlineuser"&session("siteid"))=onlineuser
	Application.UnLock
end sub

function getsitename(site_id)
	dim infostr,filename,fs,fpoint
	on error resume next
	infostr=""
	filename=server.mappath("/")&"\qq\siteinfo\"&site_id&".txt"
	set fs=createobject("scripting.filesystemobject")
	if fs.fileexists(filename) then	
		set fpoint=fs.opentextfile(filename,1,true)
		fpoint.skipline
		infostr=fpoint.readline
		fpoint.close
	end if
	set fs=nothing
	Application.UnLock
	getsitename=infostr
end function

'刪除過期用戶
sub lost_user(flag)
	dim delflag,dimsums,onlinesums,num
	Application.Lock
	if flag=1 then
		onlineuser=application("onlineuser"&session("siteid"))
	else
		onlineuser=application("onlinemanager")
	end if
	dimsums=ubound(onlineuser)
	onlinesums=dimsums
	num=0
	for i=0 to dimsums
		delflag=0
		if onlineuser(i)="" then
			delflag=1
		else
			sj=left(onlineuser(i),instrrev(onlineuser(i),"$")-1)
			sj=cdate(right(sj,len(sj)-instrrev(sj,"$")))
			if datediff("s",sj,now())>420 then
				delflag=1
			end if
		end if
		if delflag=0 then
			if num<i then
				onlineuser(num)=onlineuser(i)
			end if
			num=num+1
		else
			if num<i then
				onlineuser(num)=onlineuser(i)
			end if
			onlinesums=onlinesums-1
		end if
	next
	redim preserve onlineuser(onlinesums)
	if flag=1 then
		application("onlineuser"&session("siteid"))=onlineuser
	else
		application("onlinemanager")=onlineuser
	end if
	Application.UnLock
end sub

'得到7個漢字長度或14個字母長度的字符串
Function GetNewStr(InputStr)
	dim i,number,newstr,substr
	number=0
	newstr=""
	for i=1 to len(InputStr)
		substr=mid(InputStr,i,1)
		if asc(substr)<0 then
			number=number+2
		else
			number=number+1
		end if
		if number<=9 then
			newstr=newstr&substr
		else
			newstr=newstr&"..."
			exit for
		end if
	next
	GetNewStr=newstr
End Function
'過濾網站名稱
Function YesSite(SiteName)
	Dim NoName(6),i,Yes
	NoName(0)="成人"
	NoName(1)="AV"
	NoName(2)="性"
	NoName(3)="同志"
	NoName(4)="美女"
	NoName(5)="美眉"
	NoName(6)="春宵"
	Yes=0
	If SiteName<>"" then
		For i=0 To 6
			If Instr(SiteName,NoName(i))>0 then
				Yes=1
				Exit For
			End If
		Next
	Else
		Yes=1
	End If
	YesSite=Yes
End Function
%>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美人体做爰大胆视频| 日韩午夜电影在线观看| 制服丝袜日韩国产| 久久精品视频免费| 日韩精品免费视频人成| 东方aⅴ免费观看久久av| 欧美偷拍一区二区| 国产精品丝袜一区| 强制捆绑调教一区二区| 99久久精品一区| 久久久亚洲精品一区二区三区| 亚洲欧美另类图片小说| 国产精品亚洲一区二区三区在线 | 91网站黄www| 欧美精品一区二区三区在线| 亚洲一区在线看| 91在线国产福利| 国产区在线观看成人精品| 蜜桃av一区二区| 欧美日韩免费在线视频| 亚洲男女一区二区三区| heyzo一本久久综合| 国产欧美日韩久久| 国产成人av一区| 26uuu亚洲综合色| 免费一级欧美片在线观看| 欧美日韩精品系列| 亚洲伊人伊色伊影伊综合网| 播五月开心婷婷综合| www久久精品| 捆绑调教一区二区三区| 欧美午夜理伦三级在线观看| 亚洲日本欧美天堂| 91啪在线观看| 亚洲女人小视频在线观看| www.在线成人| 自拍偷拍欧美激情| 欧洲色大大久久| 亚洲综合一二区| 欧美日韩一区二区不卡| 午夜激情一区二区| 日韩欧美在线影院| 极品尤物av久久免费看| 久久综合精品国产一区二区三区| 免费精品视频在线| ww亚洲ww在线观看国产| www.日韩av| 亚洲人成网站色在线观看| 91麻豆精品秘密| 亚洲精品视频在线观看网站| 91久久精品一区二区| 午夜久久电影网| 欧美一级淫片007| 国模冰冰炮一区二区| 国产精品国产自产拍在线| 在线亚洲精品福利网址导航| 亚洲v日本v欧美v久久精品| 日韩一级片网站| 国模大尺度一区二区三区| 国产精品午夜电影| 欧美在线影院一区二区| 丝瓜av网站精品一区二区| 亚洲精品一区在线观看| av激情综合网| 五月激情综合色| 久久―日本道色综合久久| 国产91丝袜在线播放0| 亚洲国产wwwccc36天堂| 亚洲精品一区二区三区香蕉| 波多野结衣视频一区| 天天爽夜夜爽夜夜爽精品视频| 欧美精品一区二区三区四区 | 国产一区欧美日韩| 亚洲免费av观看| 欧美一区二区三区色| 国产99久久精品| 日韩中文字幕亚洲一区二区va在线 | 一区二区三区在线视频免费观看 | 男女激情视频一区| 国产精品免费观看视频| 欧美日韩精品专区| 成人午夜av电影| 久久精品国产久精国产爱| 综合久久给合久久狠狠狠97色| 911精品国产一区二区在线| 国产成人精品网址| 麻豆免费看一区二区三区| 日韩一区欧美小说| 精品国产乱码91久久久久久网站| 99视频精品在线| 精品一区二区三区免费播放| 亚洲高清不卡在线观看| 国产精品久线在线观看| 欧美大片免费久久精品三p| 欧美在线你懂的| proumb性欧美在线观看| 国产一区二区成人久久免费影院| 午夜久久久久久电影| 一区二区三区资源| 亚洲国产岛国毛片在线| 亚洲精品一线二线三线无人区| 精品视频在线免费| 91视频你懂的| 国产成人av网站| 高清国产一区二区| 国产成人午夜精品5599| 国产精品一线二线三线| 久久精品国产亚洲a| 美女一区二区久久| 免费观看成人av| 日韩和欧美的一区| 日韩高清不卡在线| 一区二区激情视频| 一区二区三区美女视频| 《视频一区视频二区| 国产精品视频一区二区三区不卡| 精品国产3级a| 26uuuu精品一区二区| 欧美成人国产一区二区| 精品国产亚洲在线| 欧美精品一区二区三区久久久| 欧美一区二区三区成人| 欧美一二三在线| 日韩久久久久久| 26uuu久久天堂性欧美| 久久久精品欧美丰满| 国产日韩欧美精品一区| 中文字幕五月欧美| 一区二区三区在线影院| 一区二区在线免费观看| 日韩主播视频在线| 韩国av一区二区三区| 国产成人免费av在线| 99久久99久久久精品齐齐| 色狠狠一区二区三区香蕉| 欧美性大战久久久久久久蜜臀| 欧美日韩国产中文| 精品久久久久久久一区二区蜜臀| 久久嫩草精品久久久久| 136国产福利精品导航| 亚洲一区二区三区中文字幕| 免费在线观看日韩欧美| 国产99久久久久久免费看农村| 91麻豆文化传媒在线观看| 欧美人与禽zozo性伦| 久久久一区二区三区捆绑**| 亚洲欧美一区二区三区孕妇| 图片区小说区国产精品视频| 久久精品av麻豆的观看方式| 成人免费毛片a| 欧美精品v国产精品v日韩精品 | 国产三级欧美三级| 亚洲青青青在线视频| 美国三级日本三级久久99| 成人av电影免费在线播放| 欧美日韩精品福利| 中文在线一区二区| 婷婷国产v国产偷v亚洲高清| 国产成人精品一区二区三区四区 | 久久这里只有精品首页| 一区二区在线观看免费| 精品中文字幕一区二区小辣椒| av动漫一区二区| 日韩欧美一区在线| 亚洲精品乱码久久久久久黑人| 久久精品免费看| 欧美日韩午夜在线| 中文字幕av一区二区三区高| 三级影片在线观看欧美日韩一区二区| 国产乱子伦视频一区二区三区| 精品视频一区二区不卡| 国产精品你懂的| 国内精品国产成人国产三级粉色| 色狠狠色噜噜噜综合网| 国产精品三级av在线播放| 麻豆精品精品国产自在97香蕉| 色999日韩国产欧美一区二区| 久久―日本道色综合久久| 丝袜脚交一区二区| 欧美日韩综合不卡| 中文字幕一区av| 国产成人精品综合在线观看 | 国产一区不卡精品| 欧美一区二区免费视频| 亚洲va欧美va人人爽| 色婷婷激情一区二区三区| 国产精品免费视频一区| 国产精品一区二区在线观看不卡| 91精品国产综合久久香蕉麻豆 | 欧美在线视频不卡| 日韩码欧中文字| 成人精品视频一区二区三区尤物| 欧美刺激脚交jootjob| 日韩**一区毛片| 欧美日韩在线亚洲一区蜜芽| 亚洲最色的网站| 欧美色精品在线视频| 午夜不卡av在线| 欧美一级片在线看| 日本欧美大码aⅴ在线播放|