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

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

?? marcoscb.asp

?? 程序網(wǎng)絡(luò)論壇HigroupBBS v4.00 默認(rèn)管理員帳號(hào)密碼都是Marcos
?? ASP
字號(hào):
<!--#include file="MarcosMD.asp"-->
<!--#include file="MarcosUBB.asp"-->
<!--#include file="MarcosPB.asp"-->
<%
	rem ================= HigroupBBS V 4.00, Powered By Marcos 2004.10 ====================
	rem ======================== All Rights Reserved By Higroup ===========================
	rem ============== 全部ASP程序代碼編寫由Marcos(孫華)完成,聯(lián)系QQ26696782 =================

	dim rs,conn
	dim m,ip,sql,styleRoot,database1,database2,noGuest,queryTimes
	dim sTime,rs_sys
	const listNum=25
	const showNum=8
	const newTopicFen=10
	const newReplyFen=5
	ip=request.serverVariables("REMOTE_ADDR")

	queryTimes=0
	session.timeOut=40
	const isSafe=false '防刷新機(jī)制關(guān)閉
	const beSafe=true '強(qiáng)安全認(rèn)證機(jī)制開啟

	haveNewMess()

	if isSafe=true then
		noRefresh(3)
	end if
	
	if getApp("skinIdList")="" or getPost("updateAllSkin")="True" then
		getConn()
		updateAllSkin()
		updateSysInfo()
		closeConn()
	end if

	noGuest=getApp("noGuest")

	updateUsage(getValue(m&"mySkinId"))
	
	if getApp("isHalted") then
		thePage=lcase(request.serverVariables("URL"))

		i=instrRev(thePage,"/")
		if i>0 then
			thePage=mid(thePage,i+1)
		end if

		thePage=left(thePage,5)&right(thePage,4)

		if not(thePage="admin.asp" or thePage="login.asp") then
			echo getApp("haltInfo")
			echo "<div align=right><a href=""login.asp"">[管理登錄]</a></div>"
			response.end
		end if
	end if

	sub getConn()
		dim db,connStr
		on error resume next
		db=server.mapPath("DataBase\MarcosDB%5C")
		database1=db
		database2=server.mapPath("DataBackup\")
		set rs=server.CreateObject("adodb.recordset")
		set conn=server.CreateObject("adodb.connection")
		connStr="Provider=Microsoft.Jet.Oledb.4.0;Data source=" & db
		conn.open(connStr)
		if err then
			err.clear
			echo "數(shù)據(jù)庫連接出錯(cuò)!"
			set rs=nothing
			set conn=nothing
			response.end
		end if
	end sub

	sub closeConn()
		conn.close()
		set rs=nothing
		set conn=nothing
	end sub
	
	function getStrLen(str)
		getStrLen=0
		for i=1 to len(str)
			if asc(mid(str,i,1))>0 and asc(mid(str,i,1))<256 then
				getStrLen=getStrLen+1
			 else
				getStrLen=getStrLen+2
			end if
		next
	end function
	
	function getPageTwo(num,topicId,boardId)
		dim i,iPage
		if (num/showNum)=fix(num/showNum) then
			iPage=fix(num/showNum)
		 else
			iPage=fix(num/showNum)+1
		end if
		if iPage=1 or iPage=0 then
			exit function
		end if
		if getPost("topicId")="" then
			maxNum=3
			getPageTwo="&raquo;"
		 else
			maxNum=6
			getPageTwo=""
		end if
		for i=1 to maxNum
			if i>iPage then
				exit for
			end if
			getPageTwo=getPageTwo & "<a href=""topicShow.asp?boardId=" & boardId & "&boardName=" & boardName & "&topicId=" & topicId & "&page=" & i & """><font {$font"&i&"}>" & i & "</font></a> "
		next
		if iPage>maxNum then
			getPageTwo=getPageTwo & "... <a href=""topicShow.asp?boardId=" & boardId & "&boardName=" & boardName & "&topicId=" & topicId & "&page=" & iPage & """><font {$font"&i&"}>" & iPage & "</font></a>"
		end if
		if maxNum=6 then
			getPageTwo=replace(getPageTwo,"{$font"&page&"}","class=warningColor")
		end if
	end function
	
	function getUserLevel(n,m)
		if m="999" then
			getUserLevel="論壇管理員"
			exit function
		end if
		if n<100 then
			getUserLevel="小蟲子"
		end if
		if n>=100 and n<=500 then
			getUserLevel="爬爬蟲"
		end if
		if n>=501 and n<=1000 then
			getUserLevel="鼻涕蟲"
		end if
		if n>=1001 and n<=2000 then
			getUserLevel="笨笨豬"
		end if
		if n>=2001 and n<=3500 then
			getUserLevel="泡泡龍"
		end if
		if n>=3501 and n<=5000 then
			getUserLevel="小飛俠"
		end if
		if n>=5001 and n<=6000 then
			getUserLevel="網(wǎng)迷六級(jí)"
		end if
		if n>=6001 and n<=7000 then
			getUserLevel="網(wǎng)俠七級(jí)"
		end if
		if n>=7001 and n<=9000 then
			getUserLevel="網(wǎng)俠八級(jí)"
		end if
		if n>=9001 and n<=10000 then
			getUserLevel="網(wǎng)俠九級(jí)"
		end if
		if n>10000 then
			getUserLevel="世外高人"
		end if
	end function
	
	function getAvilableUser(userList)
		dim sql,rs_sys
		userList=replace(userList,",","','")
		sql="select userName from Marcos_User where userName in('"&userList&"')"
		set rs_sys=conn.execute(sql)
		do until rs_sys.eof
			getAvilableUser=getAvilableUser&","&rs_sys(0)
			rs_sys.movenext
		loop
		if getAvilableUser<>"" then
			getAvilableUser=mid(getAvilableUser,2)
		end if
		queryTimes=queryTimes+1
	end function

	sub isIn()
		dim rs
		if getValue("userId")="" then
			echo "<script>alert('該操作要求登錄!');location.href='login.asp';</script>"
			response.end
		end if
		if beSafe=true then
			sql="select userId,passWord,isLocked,userName from Marcos_User where userId="&getValue("userId")
			set rs=conn.execute(sql)
			if rs.eof then
				echo "對(duì)不起,帳號(hào)密碼錯(cuò)誤或者帳號(hào)已經(jīng)被刪除!"
				closeConn()
				response.end
			 else
				if trim(getValue("passWord"))<>trim(rs(1)) then
					echo "對(duì)不起,帳號(hào)密碼錯(cuò)誤或者帳號(hào)已經(jīng)被刪除!"
					closeConn()
					response.end
				end if
			end if
			if rs(2)=true then
				echo "對(duì)不起,您正在使用的帳號(hào)已被管理員鎖定,請(qǐng)和管理員聯(lián)系!"
				closeConn()
				response.end
			end if
			setValue "userName",rs(3)
		end if
		queryTimes=queryTimes+1
	end sub
	
	function getStatusImg(n)
		select case n
			case 0
				img="normalTopic.gif"
				alt="暫時(shí)還沒有回復(fù)"
			case 1,2,3,4,5,6,7,8,9,10
				img="haveReply.gif"
				alt="普通主題"
			case else
				img="topTopic.gif"
				alt="回復(fù)數(shù)超過10個(gè)的貼子"
		end select
		if rs("islocked")=true then
			img="lockedTopic.gif"
			alt="鎖定的主題"
		end if
		getStatusImg=img & "$$$" & alt
	end function
	
	function getUserPic(thePic)
		thePic=enCode(thePic)
		if thePic=""  then
			getUserPic="images/001/alpha.gif"
			exit function
		end if
		if instr(thePic,",")>0 then
			on error resume next
			userPic=split(thePic,",")(0)
			width=split(thePic,",")(2)
			height=split(thePic,",")(1)
			if height>210 then
				height=210
			end if
			if width>180 then
				width=180
			end if
			thePic=userPic & """ height=""" & height & """ width=""" & width
		 else
			thePic=thePic & """ height=""120"" width=""120"
		end if
		getUserPic=thePic
	end function
	
	function isExists(theUser)
		dim sql
		sql="select userName from Marcos_User where userName='" & theUser & "'"
		set rs_sys=conn.execute(sql)
		if rs_sys.eof then
			isExists=false
		 else
			isExists=true
		end if
		queryTimes=queryTimes+1
	end function
	
	function canReg(theUser)
		dim i
		dim str
		canReg=true
		str="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
		if theUser="" then
			echo "用戶名不可以為空!"
			response.end
		end if
		for i=1 to len(theUser)
			if not(asc(mid(theUser,i,1))<0 and asc(mid(theUser,i,1))<256) then
				if instr(str,mid(theUser,i,1))<=0 then
					canReg=false
					exit for
				end if
			end if
		next
	end function
	
	sub canSet(classId)
		isIn()
		if canSetTrue(classId)=false then
			echo "<script>alert('對(duì)不起,您無權(quán)進(jìn)行此操作!');history.back();</script>"
			closeConn()
			response.end
		end if
	end sub
	
	function canSetTrue(classId)
		canSetTrue=false
		if isAdminTrue() or isManagerTrue(classId) then
			canSetTrue=true
		end if
	end function
	
	sub isAdmin()
		if not isAdminTrue() then
			echo "權(quán)限不允許,請(qǐng)不要越權(quán)操作!"
			closeConn()
			response.end
		end if
	end sub

	function isAdminTrue()
		dim sql,rs_sys
		isAdminTrue=false
		if getValue("userLevel")="999" then
			sql="select userLevel from Marcos_User where userId="&getValue("userId")
			set rs_sys=conn.execute(sql)
			if rs_sys(0)="999" then
				isAdminTrue=true
			end if
			queryTimes=queryTimes+1
		end if
	end function
	
	sub isManager()
		dim sql,rs_sys,managerList

		if isAdminTrue() then
			exit sub
		end if
		
		sql="select boardManagerList from Marcos_Board where topBoardId<>0"
		set rs_sys=conn.execute(sql)
		do until rs_sys.eof
			if fixNull(rs_sys(0))<>"" then
				managerList=managerList&","&rs_sys(0)
			end if
			rs_sys.movenext
		loop
		if managerList<>"" then
			managerList=managerList&","
		end if
		if instr(managerList,","&getValue("userName")&",")<=0 or trim(managerList)="" then
			echo "<script>alert('對(duì)不起,系統(tǒng)限制只有管理員和版主才能發(fā)起投票!');history.back();</script>"
			closeConn()
			response.end
		end if
		queryTimes=queryTimes+1
	end sub
	
	function isManagerTrue(classId)
		dim i,sql,rs_sys,boardManagerList
		isManagerTrue=false
		if getValue("userId")="" then
			exit function
		end if
		sql="select boardManagerList from Marcos_Board where boardId="&classId
		set rs_sys=conn.execute(sql)
		if rs_sys.eof then
			response.write("參數(shù)錯(cuò)誤!")
			closeConn()
			response.end
		end if
		boardManagerList=split(fixNull(rs_sys(0)),",")
		for i=0 to uBound(boardManagerList)
			if boardManagerList(i)=getValue("userName") then
				isManagerTrue=true
				exit for
			end if
		next
		queryTimes=queryTimes+1
	end function
	
	function nowWhere(nowPlace,nowPlaceLink)
		if len(nowPlace)>16 then
			nowPlace=left(nowPlace,16)&"..."
		end if
		if getValue("userNameEx")="" then
			application(m&"visitorNum")=application(m&"visitorNum")+1
			setValue "userName","游客"&application(m&"visitorNum")
			setValue "userNameEx","游客"&application(m&"visitorNum")
		 else
		 	if getValue("userName")="" then
				setValue "userName",getValue("userNameEx")
			end if
		end if
		
		if noGuest="True" and instr(getValue("userName"),"游客")>0 then
			exit function
		end if
		
		if session(m&"onlineFlag")<>"26696782" then
			sql="select onlineId from Marcos_Online where userName='"&getValue("userName")&"'"
			set rs_sys=conn.execute(sql)
			if rs_sys.eof then
				sql="insert into Marcos_Online(userName,lastLoginIP) values('"&getValue("userName")&"','"&ip&"')"
				conn.execute(sql)
			end if
			session(m&"onlineFlag")="26696782"
		end if
		sql="update Marcos_Online set lastActiveTime='"&now()&"',lastPlace='"&nowPlace&"',lastPlaceLink='"&nowPlaceLink&"' where userName='"&getValue("userName")&"'"
		conn.execute(sql)
	end function
	
	sub updatePostInfo(classId)
		dim sql,rs_sys,lastPostInfo
		sql="select topicTitle,userName,addTime,topicId from Marcos_Topic where boardId="&classId&" and isRecycled=false order by lastReplyTime desc"
		set rs_sys=conn.execute(sql)
		if not rs_sys.eof then
			lastPostInfo="標(biāo)題:<a href=""topicShow.asp?boardId="&classId&"&topicId="&rs_sys(3)&""">"&_
						left(rs_sys(0),5)&"..</a><br>作者:<a href=""userInfo.asp?userName="&rs_sys(1)&""" target=_blank>"&_
						rs_sys(1)&"</a><br>時(shí)間:"&mid(rs_sys(2),6,len(mid(rs_sys(2),6))-3)
			sql="update Marcos_Board set lastPostInfo='"&lastPostInfo&"' where boardId="&classId
		 else
			sql="update Marcos_Board set lastPostInfo='' where boardId="&classId
		end if
		conn.execute(sql)
	end sub
	
	sub noRefresh(refreshTime)
		dim i,refreshPage,pageList
		refreshPage=lcase(request.serverVariables("URL"))
		pageList="$index.asp$topicList.asp$topicShow.asp$voteList.asp$voteShow.asp$online.asp$"

		i=instrRev(refreshPage,"/")
		if i>0 then
			refreshPage=mid(refreshPage,i+1)
		end if

		if instr(lcase(pageList),"$"&refreshPage&"$")<=0 then
			exit sub
		end if

		refreshPage=left(refreshPage,5)&right(refreshPage,4)
		if refreshPage="admin.asp" then
			exit sub
		end if

		refreshPage=refreshPage&"?"&request.queryString

		if session("refreshTime")="" then
			session("refreshTime")=timer()
			session("refreshPage")=refreshPage
		 else
			if (timer()-session("refreshTime"))<=refreshTime and session("refreshPage")=refreshPage then 
				response.write "<font size=2>對(duì)不起,請(qǐng)不要惡意刷新頁面,防刷新機(jī)制已經(jīng)打開,"&refreshTime&"秒后自動(dòng)打開正確頁面。</font>"
				response.write "<meta http-equiv=""refresh"" content="""&refreshTime&""">"
				session("refreshTime")=timer()
				session("refreshPage")=refreshPage
				response.end
			end if
			session("refreshTime")=timer()
			session("refreshPage")=refreshPage
		end if
	end sub
	
	sub echo(str)
		if instr(str,"{$styleRoot}")>0 then
			str=replace(str,"{$styleRoot}",styleRoot)
		end if
		if instr(str,"{$borderColor}")>0 then
			str=replace(str,"{$borderColor}",getApp("borderColor_"&mySkinId))
		end if
		if instr(str,"{$tableWidth}")>0 then
			str=replace(str,"{$tableWidth}",getApp("tableWidth_"&mySkinId))
		end if
		response.write(str)
	end sub
	
	sub locate(url)
		response.redirect(url)
	end sub
	
	sub setValue(var,val)
'		response.cookies(m & var)=val
		if var=m&"mySkinId" or var="userNameEx" then
			response.cookies(m&var)=val
			response.cookies(m&"userNameEx").expires=now()+365
		end if
		session(m & var)=val
	end sub
	
	function getValue(var)
'		getValue=trim(request.cookies(m & var))
		getValue=trim(session(m&var))
		if var=m&"mySkinId" or var="userNameEx" then
			getValue=trim(request.cookies(m&var))
		end if
	end function

	function getPost(var)
		getPost=rTrim(request.form(var))
		if getPost="" then
			getPost=rTrim(request.queryString(var))
		end if
		if var="title" then
			getPost=lTrim(getPost)
		end if
	end function
	
	function fixNull(str)
		if isNull(str) then
			fixNull=""
		 else
			fixNull=str
		end if
	end function
%>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久久国产精品麻豆| 国产欧美在线观看一区| 丰满亚洲少妇av| 偷拍日韩校园综合在线| 亚洲手机成人高清视频| 久久欧美中文字幕| 337p亚洲精品色噜噜狠狠| 91免费观看国产| 国产乱妇无码大片在线观看| 日韩av电影一区| 亚洲影视在线观看| 亚洲三级在线免费观看| 国产香蕉久久精品综合网| 日韩欧美一区中文| 欧美丰满高潮xxxx喷水动漫| 一本色道久久综合亚洲aⅴ蜜桃 | 亚洲国产成人午夜在线一区| 欧美日本韩国一区| 在线这里只有精品| 色香蕉久久蜜桃| caoporen国产精品视频| 成人午夜看片网址| 国产美女视频一区| 国产一区不卡在线| 精品一区二区三区久久久| 日本不卡1234视频| 免费成人结看片| 免费看欧美美女黄的网站| 日本成人超碰在线观看| 日韩精品一二三区| 日韩电影一区二区三区| 日日骚欧美日韩| 免费成人在线播放| 麻豆精品久久久| 免费av网站大全久久| 麻豆中文一区二区| 久久国产免费看| 国产揄拍国内精品对白| 国产精品综合在线视频| 国产老妇另类xxxxx| 国产在线精品视频| 国产盗摄精品一区二区三区在线| 国产一区91精品张津瑜| 国产河南妇女毛片精品久久久| 国产精品系列在线播放| 成人爽a毛片一区二区免费| 成人教育av在线| 色婷婷久久99综合精品jk白丝| 色婷婷国产精品久久包臀| 欧美在线你懂得| 7777精品伊人久久久大香线蕉 | 亚洲国产成人高清精品| 五月天中文字幕一区二区| 五月天国产精品| 久久99精品久久久| 成人性生交大片免费看在线播放| av一区二区三区四区| 色老汉av一区二区三区| 欧美精品日日鲁夜夜添| 精品免费一区二区三区| 国产欧美日韩亚州综合| 亚洲欧美国产毛片在线| 天天操天天色综合| 国产激情视频一区二区在线观看| 91在线观看视频| 欧美日韩大陆在线| 久久在线观看免费| 亚洲精品一卡二卡| 蜜桃av一区二区在线观看| 成人综合婷婷国产精品久久 | 亚洲日本丝袜连裤袜办公室| 亚洲成人av在线电影| 国产综合色产在线精品| 色欧美乱欧美15图片| 欧美一区二区二区| 成人免费在线观看入口| 视频一区二区三区中文字幕| 国产精品538一区二区在线| 在线观看视频一区二区| 久久久亚洲精华液精华液精华液| 亚洲欧美日韩小说| 美腿丝袜亚洲色图| 色香蕉成人二区免费| 欧美sm美女调教| 亚洲一区二区三区国产| 国产精品一级黄| 欧美特级限制片免费在线观看| 久久亚洲精精品中文字幕早川悠里| 亚洲欧美偷拍另类a∨色屁股| 蜜臀a∨国产成人精品| 色综合久久天天综合网| 精品国产a毛片| 亚洲高清免费在线| 丁香婷婷综合网| 日韩视频在线你懂得| 一区二区三区四区av| 国产乱码精品1区2区3区| 欧美日韩在线播放| 国产精品久久久一本精品| 久久精品99国产精品日本| 在线观看不卡一区| 亚洲欧洲一区二区在线播放| 国产一区免费电影| 7777女厕盗摄久久久| 亚洲综合999| 99免费精品在线| 欧美激情在线一区二区| 久久成人18免费观看| 欧美精品乱码久久久久久| 亚洲美女屁股眼交| 播五月开心婷婷综合| 久久―日本道色综合久久| 日韩av一区二区在线影视| 欧美性猛交一区二区三区精品| 中文字幕在线观看一区二区| 国产一区二区在线电影| 日韩精品一区二区三区在线| 日韩电影在线一区二区三区| 精品视频资源站| 亚洲国产精品久久一线不卡| 91麻豆国产精品久久| 综合中文字幕亚洲| k8久久久一区二区三区| 国产精品久久看| www.久久久久久久久| 国产目拍亚洲精品99久久精品| 久久99久久久久| 欧美电影免费观看完整版| 日本在线观看不卡视频| 欧美一级二级在线观看| 美女网站在线免费欧美精品| 日韩免费电影一区| 黄色资源网久久资源365| 欧美精品一区二区三区久久久| 国产在线麻豆精品观看| 国产情人综合久久777777| 成人性生交大合| 亚洲天堂中文字幕| 色婷婷综合久久久中文字幕| 亚洲综合免费观看高清完整版在线| 色狠狠色狠狠综合| 午夜欧美在线一二页| 欧美精品高清视频| 久久精品国产亚洲a| 国产亚洲精品资源在线26u| 国产成人av资源| 最新国产精品久久精品| 色偷偷成人一区二区三区91| 偷偷要91色婷婷| 欧美精品一区二区三区四区| 粉嫩绯色av一区二区在线观看 | 亚洲乱码中文字幕| 欧美巨大另类极品videosbest | 日韩专区在线视频| 欧美一卡二卡三卡| 国产精品中文字幕一区二区三区| 国产女主播一区| 91婷婷韩国欧美一区二区| 午夜av一区二区三区| 久久蜜臀中文字幕| 99精品偷自拍| 日本不卡视频在线| 欧美激情一区二区三区不卡| 色综合天天综合网国产成人综合天 | 欧美日韩国产另类一区| 久久不见久久见免费视频7| 欧美激情一区二区三区全黄 | 欧美激情中文字幕| 欧美亚洲综合在线| 激情五月婷婷综合| 亚洲激情在线播放| 91精品国产综合久久精品麻豆| 国产一二三精品| 亚洲愉拍自拍另类高清精品| 欧美va在线播放| 一本大道综合伊人精品热热| 欧美aaa在线| 亚洲人成7777| 久久久亚洲国产美女国产盗摄| 色偷偷成人一区二区三区91| 极品美女销魂一区二区三区 | 国产福利91精品一区二区三区| 亚洲人亚洲人成电影网站色| 欧美刺激午夜性久久久久久久| 97久久精品人人爽人人爽蜜臀| 麻豆精品在线观看| 亚洲靠逼com| 久久精品一区二区| 欧美电影影音先锋| av成人免费在线| 国产伦精一区二区三区| 亚洲国产精品久久久男人的天堂| 欧美韩日一区二区三区四区| 在线成人免费视频| 91一区在线观看| 成人一级视频在线观看| 久久国产人妖系列| 午夜精品成人在线| 亚洲精品一二三| 国产精品久久福利|