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

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

?? function.asp

?? 國(guó)內(nèi)最早的在線客服系統(tǒng)源碼.可以把訪客變成自己的客戶.是目前比較流行的在線客服系統(tǒng)
?? ASP
字號(hào):
<%
'檢查用戶注冊(cè)信息
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&"●用戶名太長(zhǎng),請(qǐng)勿超過(guò)10個(gè)漢字!<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&"●密碼太長(zhǎng),請(qǐng)勿超過(guò)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&"●昵稱太長(zhǎng),請(qǐng)勿超過(guò)6個(gè)漢字!<br>"
	end if
	mc1=trim(Request.Form("mc1"))
	if mc1="" then
		err_info=err_info&"●主頁(yè)名稱不能為空!<br>"
	end if
	grzy1=ucase(trim(Request.Form("grzy1")))
	if grzy1="" or grzy1="HTTP://" then
		err_info=err_info&"●網(wǎng)址不能為空!<br>"
	end if
	lx1=trim(Request.Form("grzy1"))
	if lx1="請(qǐng)選擇" then
		err_info=err_info&"●主頁(yè)類型不能為空!<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&"●電子郵件太長(zhǎng),請(qǐng)勿超過(guò)25個(gè)字符!<br>"
	end if
	jj=trim(Request.Form("jj"))
	if jj="" then
		err_info=err_info&"●簡(jiǎn)介不能為空!<br>"
	end if
	if len(jj)>50 then
		err_info=err_info&"●簡(jiǎn)介太長(zhǎng),請(qǐng)勿超過(guò)50個(gè)漢字!<br>"
	end if
	if err_info<>"" then
		conn.close
		call disp_error1(err_info,"")
	end if
end sub

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

'新建當(dāng)前站點(diǎn)在線用戶隊(duì)列
sub create_online_user(site_id)
	dim onlineuser()
	redim onlineuser(0)
	Application.Lock 
	application("onlineuser"&site_id)=onlineuser
	Application.UnLock 
end sub

'查找在線站點(diǎn)隊(duì)列中是否已有該站點(diǎn)
'返回0--隊(duì)列中沒(méi)有該站點(diǎn)
'返回1--隊(duì)列中有該站點(diǎn)
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

'寫(xiě)入在線站點(diǎn)隊(duì)列
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

	Application.UnLock
	write_online_site=dimsums+1
end function

'查找當(dāng)前用戶是否在線
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

'寫(xiě)入在線用戶隊(duì)列
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
		elseif session("manager")="2" then
			userinfo=session.SessionID&"$"&session("username")&"$"&"2$"&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

'寫(xiě)入在線站長(zhǎng)
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

'刪除過(guò)期用戶
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)
			if isdate(right(sj,len(sj)-instrrev(sj,"$"))) then
				sj=cdate(right(sj,len(sj)-instrrev(sj,"$")))
				if datediff("s",sj,now())>1200 then
					delflag=1
				end if
			else
				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個(gè)漢字長(zhǎng)度或14個(gè)字母長(zhǎng)度的字符串
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<=12 then
			newstr=newstr&substr
		else
			newstr=newstr&"..."
			exit for
		end if
	next
	GetNewStr=newstr
End Function
'過(guò)濾網(wǎng)站名稱
Function YesSite(SiteName)
	Dim NoName(6),i,Yes
	NoName(0)="成人"
	NoName(1)="色"
	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
FUNCTION charfilter(msg)
	'msg=replace(msg,"&","&amp;")
	msg=replace(msg,"

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人免费视频精品含羞草妖精 | 亚洲国产成人在线| 欧美日韩免费在线视频| 国产精品77777| 亚洲一区二区欧美日韩| 欧美精品一区二区三区视频| 老司机免费视频一区二区三区| 欧美激情一区二区三区| 欧美亚州韩日在线看免费版国语版| 麻豆成人av在线| 亚洲午夜久久久久久久久久久| 欧美不卡一区二区三区四区| 色综合 综合色| av中文字幕亚洲| 久久国产精品99久久久久久老狼| 欧美日韩国产一二三| 久久99蜜桃精品| 久久久一区二区三区捆绑**| 日日嗨av一区二区三区四区| 亚洲欧洲www| 久久综合中文字幕| 欧美老肥妇做.爰bbww视频| 国产在线精品一区二区夜色| 午夜伊人狠狠久久| 亚洲靠逼com| 中文字幕av一区二区三区免费看| 欧美天天综合网| 日本高清不卡在线观看| 99视频精品在线| 精品一区二区久久久| 偷拍日韩校园综合在线| 日韩欧美国产系列| 日本韩国欧美一区| 奇米一区二区三区| 麻豆国产精品777777在线| 婷婷亚洲久悠悠色悠在线播放| 亚洲一区二区综合| 性欧美大战久久久久久久久| 五月天网站亚洲| 日韩黄色一级片| 黄色资源网久久资源365| 美女尤物国产一区| 激情成人综合网| 国产高清不卡一区| 成人免费视频视频在线观看免费| 成人h动漫精品一区二| 99视频精品免费视频| 日韩影视精彩在线| 亚洲视频一区二区在线观看| 亚洲欧美色综合| 亚洲成人先锋电影| 日本视频一区二区三区| 中文文精品字幕一区二区| 日本一区二区三区电影| 国产精品欧美精品| 欧美电影免费观看高清完整版| 亚洲精品一线二线三线| 国产三区在线成人av| 色综合中文综合网| 久久久久久9999| 久久久久久**毛片大全| 2020国产精品| 精品免费日韩av| 91福利视频网站| gogogo免费视频观看亚洲一| 视频一区免费在线观看| 一区av在线播放| 美女视频一区二区| 99久久免费视频.com| 欧美午夜免费电影| 亚洲精品一区二区三区在线观看| 欧美国产精品中文字幕| 一个色妞综合视频在线观看| 另类的小说在线视频另类成人小视频在线| 不卡欧美aaaaa| 7777精品伊人久久久大香线蕉完整版 | 国产成人精品午夜视频免费| 色欧美乱欧美15图片| 精品久久久久久无| 午夜电影久久久| 不卡区在线中文字幕| 91精品1区2区| 久久久亚洲精品一区二区三区 | 中文字幕不卡的av| 手机精品视频在线观看| 99在线精品观看| 久久男人中文字幕资源站| 亚洲国产日韩综合久久精品| 国产精品一二三在| 日韩一区二区免费在线电影| 亚洲天堂精品在线观看| 国产一区二区三区精品欧美日韩一区二区三区| 99在线精品免费| 中文字幕精品—区二区四季| 伦理电影国产精品| 一本久久a久久免费精品不卡| 欧美精品精品一区| 亚洲国产精品精华液网站| 色av一区二区| 亚洲精品福利视频网站| caoporn国产精品| 国产欧美日本一区视频| 国产成人高清在线| 国产欧美综合在线观看第十页| 日韩av在线播放中文字幕| 欧美三级电影网| 亚洲成av人**亚洲成av**| 在线视频你懂得一区二区三区| 久久综合色一综合色88| 久久成人免费网站| 欧美一区二区三区免费大片| 亚洲成人免费视| 欧美日韩亚州综合| 日韩影院免费视频| 欧美一级日韩免费不卡| 日本大胆欧美人术艺术动态| 欧美一区二区三级| 麻豆精品视频在线| 久久亚洲欧美国产精品乐播| 经典一区二区三区| 日本一区二区视频在线观看| 国产精品一区二区久久精品爱涩 | 亚洲国产欧美日韩另类综合| 色94色欧美sute亚洲线路一久| 亚洲少妇最新在线视频| 色视频欧美一区二区三区| 一区二区三区在线免费播放| 在线观看亚洲a| 日韩电影网1区2区| 国产日韩在线不卡| 99久久99久久综合| 日韩欧美aaaaaa| 国产在线国偷精品免费看| 日韩欧美在线一区二区三区| 成人欧美一区二区三区1314| 欧美日韩国产一级片| 蜜臀av亚洲一区中文字幕| 久久久美女艺术照精彩视频福利播放| 国产91清纯白嫩初高中在线观看| 亚洲人成电影网站色mp4| 欧美日韩不卡一区二区| 国产中文一区二区三区| 亚洲人快播电影网| 日韩精品一区二区三区老鸭窝| 成人福利视频网站| 一级女性全黄久久生活片免费| 国产一区二区久久| 日韩一级免费观看| 久久99蜜桃精品| 亚洲一区二区综合| 日韩精品一区二区三区中文不卡| 不卡av电影在线播放| 午夜影院在线观看欧美| 久久精品亚洲精品国产欧美| 91蜜桃网址入口| 免费国产亚洲视频| 亚洲精品成人精品456| 精品免费视频.| 欧美日韩在线播放一区| 亚洲成人av电影| 久久九九全国免费| 欧美三级三级三级| 国产亚洲va综合人人澡精品| 韩国成人在线视频| 亚洲一卡二卡三卡四卡五卡| 欧美日韩视频第一区| 国产精品一二一区| 看电视剧不卡顿的网站| 亚洲6080在线| 亚洲资源在线观看| 国产精品国产三级国产aⅴ原创| 欧美一区二区三区在线看| 99久久99久久精品国产片果冻| 免费久久精品视频| 欧美aa在线视频| 欧美国产日韩a欧美在线观看| 欧美在线高清视频| 18欧美乱大交hd1984| 欧美国产日韩在线观看| 久久夜色精品一区| 欧美大片一区二区| 欧美福利一区二区| 国产91精品免费| 久久97超碰国产精品超碰| 亚洲动漫第一页| 日韩欧美色电影| 欧美一区2区视频在线观看| 在线观看成人免费视频| 在线观看精品一区| 色999日韩国产欧美一区二区| 不卡的看片网站| 97se亚洲国产综合自在线| 成人免费观看视频| 成人午夜精品在线| 日韩精品一卡二卡三卡四卡无卡| 欧美一三区三区四区免费在线看| 91成人免费网站| 欧洲国产伦久久久久久久| av福利精品导航| 不卡的看片网站|