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

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

?? regpost.asp

?? 學校用的班級網站
?? ASP
字號:
<!--#include file="syssetup.asp"-->
<!--#include file="inc/func.INC"-->
<!--#include file="inc/chkonline.asp"-->
<%call online()%>
<%
set rs=server.createobject("ADODB.Recordset")
sql="select * from syssetup"
rs.open sql,conn,1,1
no1=rs("classname")
no2=rs("webname")
%>
<% dim userid,password,truename,sex,byear,bmonth,bday
dim birthday,xingzuo,headpic,mypic,telephone,mobile
dim oicq,email,page,zipcode,address,forq,foran,aihao
dim xinge,music,geyan,sports,job,loveat,goaddress,face
dim logcnt,logtime,artnum,notenum,manclass,blood,idol,regtime
'符號轉換函數 sqlstr
 '將數據中的單引號轉化為雙引號,并且在前面加單引號
 Function Sqlstr(data)
 	sqlstr=Replace(data,"'","''")
 End Function
userid=trim(sqlstr(request.form("userid")))'1代表第一個字段
sql="select userid from txluser where userid='"&userid&"'"
set checkid=conn.execute(sql)
if not checkid.eof then
response.write "<script>alert('該同學ID已被注冊,請重試!');history.back();</Script>"
response.end
end if
'用regflag來判斷是插入記錄,還是修改記錄
dim regflag
regflag=request("regflag")
'插入記錄
if regflag="reg" then
	classcode=trim(sqlstr(request("classcode")))
	cflag=0
	if (mid(classcode,1,3)="200")  then
	cflag=1
	end if
	if classcode=no1 or classcode=no2 then
	cflag=1
	end if
	if cflag=0 then
	response.write "<script>alert('你可能不是本班成員,請輸入正確的學號!');history.back();</Script>"
	response.end
	end if
	password=trim(sqlstr(request.form("password")))'2
	truename=trim(sqlstr(request.form("truename")))'3
	sex=request.form("sex")'4
	snxiao=request.form("snxiao")'5
	blood=request.form("blood")'6
	'構造生日
	byear=request.form("byear")
	bmonth=request.form("bmonth")
	bday=request.form("bday")
	birthday=cdate(byear&"-"&bmonth&"-"&bday)'7
	xingzuo=request.form("xingzuo")'8
	mypic=request.form("mypic")
	if mypic="不必填寫" then
	mypic=""
	end if
	headpic=request.form("headpic")'9
	face=headpic
	if  not mypic="" then
	face=mypic
	end if
	

	'函數名ifhave
	'功能:判斷變量是否為空,空則值賦予“暫無”
	Function ifhave(data)
	data=trim(sqlstr(data))
	if data="" then
	data="暫無"
	end if
	ifhave=data
	End Function

	telephone=ifhave(request.form("telephone"))'10
	mobile=ifhave(request.form("mobile"))'11
	oicq=ifhave(request.form("oicq"))'12
	email=ifhave(request.form("email"))'13
	page=ifhave(request.form("page"))'14
	zipcode=request.form("zipcode")'15
	address=ifhave(request.form("address"))'16
	forq=ifhave(request.form("forq"))'17
	foran=ifhave(request.form("foran"))'18
	aihao=ifhave(request.form("aihao"))'19
	xinge=ifhave(request.form("xinge"))'20
	idol=ifhave(request.form("idol"))'21
	music=ifhave(request.form("music"))'22
	geyan=ifhave(request.form("geyan"))'23
	sports=ifhave(request.form("sports"))'24
	job=ifhave(request.form("job"))'25
	loveat=ifhave(request.form("loveat"))'26
	goaddress=ifhave(request.form("goaddress"))'27
	logcnt=clng(0)'28
	logtime=date'29
	manclass="0"'32
	regtime=date'33
	sql="insert into txluser(userid,password,truename,sex,snxiao,blood,"
	sql=sql&"birthday,xingzuo,headpic,telephone,mobile,oicq,email,page,"
	sql=sql&"zipcode,address,forq,foran,aihao,xinge,idol,music,geyan,"
	sql=sql&"sports,job,loveat,goaddress,logcnt,logtime,"
	sql=sql&"manclass,regtime) values('"&userid&"','"&password&"','"&truename&"','"&sex
	sql=sql&"','"&snxiao&"','"&blood&"','"&birthday&"','"&xingzuo
	sql=sql&"','"&face&"','"&telephone&"','"&mobile&"','"&oicq
	sql=sql&"','"&email&"','"&page&"','"&zipcode&"','"&address
	sql=sql&"','"&forq&"','"&foran&"','"&aihao&"','"&xinge&"','"&idol
	sql=sql&"','"&music&"','"&geyan&"','"&sports&"','"&job&"','"&loveat
	sql=sql&"','"&goaddress&"','"&logcnt&"','"&logtime&"','"
	sql=sql&manclass&"','"&regtime&"')"
	Set RS = Server.CreateObject("ADODB.Recordset")
	RS.Open "txluser", Conn, 2, 2 , adCmdTable
	RS.AddNew
	rs("userid")=userid
	rs("password")=password
	rs("truename")=truename
	rs("sex")=sex
	rs("snxiao")=snxiao
	rs("blood")=blood
	rs("birthday")=birthday
	rs("xingzuo")=xingzuo
	rs("headpic")=headpic
	rs("telephone")=telephone
	rs("mobile")=mobile
	rs("oicq")=oicq
	rs("email")=email
	rs("page")=page
	rs("zipcode")=zipcode
	rs("address")=address
	rs("forq")=forq
	rs("foran")=foran
	rs("aihao")=aihao
	rs("xinge")=xinge
	rs("idol")=idol
	rs("music")=music
	rs("geyan")=geyan
	rs("sports")=sports
	rs("job")=job
	rs("loveat")=loveat
	rs("goaddress")=goaddress
	rs("logcnt")=logcnt
	rs("logtime")=date
	rs.update
	set rs=nothing
	mysql="update syssetup set lastone='"&truename&"'"
	conn.execute(mysql)
%>	<html>
<head>
<title>成功加入</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="jscs/css.CSS" type=text/css rel=stylesheet>
</head>
<script>

var doPopUpX = (screen.width/2)-150;
var doPopUpY = (screen.height/2)-200;
var pos = "left="+doPopUpX+",top="+doPopUpY;

function getpwd(){
getpwd = window.open("get_pwd.asp","找回密碼","width=320,height=320,"+pos);
}

</script>
<SCRIPT language=VBScript src="jscs/LOAD.JS"></SCRIPT>
<body topmargin=0>
<%bgcolor="#9FC383"%>
<div align="center">
  <center>
      <table width="490" border="0" cellspacing="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111">
        <tr> 
          <td colspan="6" height="13" width="486"> 
            <div align="center"><font color="#339966"><b>個人信息</b></font></div>
          </td>
        </tr>
        <tr> 
          <td width="20" height="13">&nbsp;</td>
          <td width="82" height="13">同學ID:</td>
          <td width="130" height="13"><img src="<%=headpic%>"><font color=red><%=userid%></font></td>
          <td width="20" height="13">&nbsp;</td>
          <td width="75" height="13">密碼:</td>
          <td width="139" height="13"><font color=red><%=password%></font></td>
        </tr>
        <tr> 
          <td width="20"> </td>
          <td width="82">姓名:</td>
          <td width="130"><font color=red><%=truename%></font></td>
          <td width="20"> </td>
          <td width="75">性別:</td>
          <td width="139"><font color=red><%=sex%></font></td>
        </tr>
        <tr> 
          <td width="20"> </td>
          <td width="82">生肖:</td>
          <td width="130"><font color=red><%=snxiao%></font></td>
          <td width="20"> </td>
          <td width="75">血型:</td>
          <td width="139"><font color=red><%=blood%></font></td>
        </tr>
        <tr> 
          <td width="20"> </td>
          <td width="82">生日:</td>
          <td width="130"><font color=red><%=birthday%></font></td>
          <td width="20"> </td>
          <td width="75">星座:</td>
          <td width="139"><font color=red><%=xingzuo%></font></td>
        </tr>
        <tr> 
          <td width="20"> </td>
          <td width="82">電話:</td>
          <td width="130"><font color=red><%=telephone%></font></td>
          <td width="20"> </td>
          <td width="75">手機:</td>
          <td width="139"><font color=red><%=mobile%></font></td>
        </tr>
        <tr> 
          <td width="20" height="15">&nbsp;</td>
          <td width="82" height="15">QQ號碼:</td>
          <td width="130" height="15"><font color=red><%=oicq%></font></td>
          <td width="20" height="15">&nbsp;</td>
          <td width="75" height="15">E-mail:</td>
          <td width="139" height="15"><font color=red><%=email%></font></td>
        </tr>
        <tr> 
          <td width="20"> </td>
          <td width="82">郵政編碼:</td>
          <td width="130"><font color=red><%=zipcode%></font></td>
          <td width="20"> </td>
          <td width="75"> </td>
          <td width="139"> </td>
        </tr>
        <tr> 
          <td width="20"> </td>
          <td width="82">提示問題:</td>
          <td width="130"><font color=red><%=forq%></font></td>
          <td width="20"> </td>
          <td width="75">問題答案:</td>
          <td width="139"><font color=red><%=foran%></font></td>
        </tr>
        <tr> 
          <td width="20"> </td>
          <td width="82">個人主頁:</td>
          <td colspan="4" width="376"><font color=red><%=page%></font></td>
        </tr>
        <tr> 
          <td width="20"> </td>
          <td width="82">工作單位:</td>
          <td colspan="4" width="376"><font color=red><%=address%></font></td>
        </tr>
        <tr> 
          <td width="20"> </td>
          <td width="82">愛好:</td>
          <td width="130"><font color=red><%=aihao%></font></td>
          <td width="20"> </td>
          <td width="75">性格:</td>
          <td width="139"><font color=red><%=xinge%></font></td>
        </tr>
        <tr> 
          <td width="20"> </td>
          <td width="82">崇拜偶像:</td>
          <td colspan="4" width="376"><font color=red><%=idol%></font></td>
        </tr>
        <tr> 
          <td width="20" height="25"> </td>
          <td width="82" height="25">最喜歡的音樂:</td>
          <td colspan="4" height="25" width="376"><font color=red><%=music%></font></td>
        </tr>
        <tr> 
          <td width="20" height="5">&nbsp;</td>
          <td width="82" height="5">最難忘的格言:</td>
          <td colspan="4" height="5" width="376"><font color=red><%=geyan%></font></td>
        </tr>
        <tr> 
          <td width="20" height="25"> </td>
          <td width="82" height="25">最喜歡的運動:</td>
          <td colspan="4" height="25" width="376"><font color=red><%=sports%></font></td>
        </tr>
        <tr> 
          <td width="20" height="25"> </td>
          <td width="82" height="25">最向往的職業:</td>
          <td colspan="4" height="25" width="376"><font color=red><%=job%></font></td>
        </tr>
        <tr> 
          <td width="20" height="25"> </td>
          <td width="82" height="25">最愛吃的食物:</td>
          <td colspan="4" height="25" width="376"><font color=red><%=loveat%></font></td>
        </tr>
        <tr> 
          <td width="20" height="25"> </td>
          <td width="82" height="25">最愛去的地方:</td>
          <td colspan="4" height="25" width="376"><font color=red><%=goaddress%></font></td>
        </tr>
            </table>
    </center>
</div>
    </td>
  </tr>
  <tr> 
    <td height="2"></td>&nbsp;</tr></table></body></html><%
	'修該記錄
	else
	userid=session("myuserid")
	password=trim(sqlstr(request.form("password")))'2
	truename=trim(sqlstr(request.form("truename")))'3
	sex=request.form("sex")'4
	snxiao=request.form("snxiao")'5
	blood=request.form("blood")'6
	'構造生日
	byear=request.form("byear")
	bmonth=request.form("bmonth")
	bday=request.form("bday")
	birthday=cdate(byear&"-"&bmonth&"-"&bday)'7
	xingzuo=request.form("xingzuo")'8
	mypic=request.form("mypic")
	if mypic="不必填寫" then
	mypic=""
	end if
	headpic=request.form("headpic")'9
	face=headpic
	if  not mypic="" then
	face=mypic
	end if
	picchan=request.form("picchan")
	if picchan<>"" then
	headpic=picchan
	end if

	'函數名ifhave
	'功能:判斷變量是否為空,空則值賦予“暫無”
	Function ifhave(data)
	data=trim(sqlstr(data))
	if data="" then
	data="暫無"
	end if
	ifhave=data
	End Function

	telephone=ifhave(request.form("telephone"))'10
	mobile=ifhave(request.form("mobile"))'11
	oicq=ifhave(request.form("oicq"))'12
	email=ifhave(request.form("email"))'13
	page=ifhave(request.form("page"))'14
	zipcode=request.form("zipcode")'15
	address=ifhave(request.form("address"))'16
	forq=ifhave(request.form("forq"))'17
	foran=ifhave(request.form("foran"))'18
	aihao=ifhave(request.form("aihao"))'19
	xinge=ifhave(request.form("xinge"))'20
	idol=ifhave(request.form("idol"))'21
	music=ifhave(request.form("music"))'22
	geyan=ifhave(request.form("geyan"))'23
	sports=ifhave(request.form("sports"))'24
	job=ifhave(request.form("job"))'25
	loveat=ifhave(request.form("loveat"))'26
	goaddress=ifhave(request.form("goaddress"))'27
	if password<>session("mypwd") and request.cookies("flag")="yes" then
	response.cookies("password")=password
	end if
	
	sql="select * from txluser where userid='"&userid&"'"
	set rs=Server.CreateObject("ADODB.recordset")
	rs.open sql,conn,1,3
	rs("password")=password
	rs("truename")=truename
	rs("sex")=sex
	rs("snxiao")=snxiao
	rs("blood")=blood
	rs("birthday")=birthday
	rs("xingzuo")=xingzuo
	rs("headpic")=headpic
	rs("telephone")=telephone
	rs("mobile")=mobile
	rs("oicq")=oicq
	rs("email")=email
	rs("page")=page
	rs("zipcode")=zipcode
	rs("address")=address
	rs("forq")=forq
	rs("foran")=foran
	rs("aihao")=aihao
	rs("xinge")=xinge
	rs("idol")=idol
	rs("music")=music
	rs("geyan")=geyan
	rs("sports")=sports
	rs("job")=job
	rs("loveat")=loveat
	rs("goaddress")=goaddress
	rs.update
	session("mypwd")=password
	rs.close
	set rs=nothing
	conn.close
	set conn=nothing%>
	<script language="Javascript">
	alert('修改成功!請重新登錄')
	parent.location.href="index.asp"
	</Script>
	<%end if
	%>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久亚洲精品小早川怜子| 欧美一级理论片| 国产风韵犹存在线视精品| 久久精品国产网站| 麻豆视频观看网址久久| 免费xxxx性欧美18vr| 日本一区中文字幕| 精品中文字幕一区二区小辣椒 | 久久精品国产一区二区三区免费看 | 国产成人在线影院| www.色精品| 欧美视频在线一区| 欧美一区二区免费观在线| 日韩欧美专区在线| 国产色综合久久| 亚洲免费看黄网站| 日本午夜精品一区二区三区电影 | 欧美xxxx老人做受| 中文字幕免费不卡在线| 一区二区在线观看不卡| 天堂资源在线中文精品| 伦理电影国产精品| 成人美女视频在线观看18| 91色九色蝌蚪| 日韩欧美一区二区视频| 亚洲国产精品成人久久综合一区 | 精品国产电影一区二区| 成人欧美一区二区三区黑人麻豆| 亚洲精品写真福利| 韩国v欧美v日本v亚洲v| 不卡视频一二三四| 日韩一区二区三区电影在线观看| 国产精品丝袜久久久久久app| 亚洲一区二区三区爽爽爽爽爽| 精品一区二区三区免费观看| 精品国产乱码91久久久久久网站| 中文字幕在线播放不卡一区| 日本不卡高清视频| 99久久久国产精品免费蜜臀| 欧美大胆人体bbbb| 亚洲综合一区二区精品导航| 国产精品99久久久久久有的能看| 欧美偷拍一区二区| 国产精品伦理一区二区| 另类欧美日韩国产在线| 欧美亚洲尤物久久| 亚洲丝袜自拍清纯另类| 国产精品12区| 日韩精品在线一区| 亚洲一区二区av在线| 成人国产精品免费网站| 精品国产一区二区亚洲人成毛片 | 黄页视频在线91| 欧美人与禽zozo性伦| 自拍偷拍亚洲综合| 成人免费观看男女羞羞视频| 精品日韩欧美一区二区| 亚洲伊人伊色伊影伊综合网| www.综合网.com| 国产婷婷色一区二区三区四区| 久久99国产乱子伦精品免费| 欧美无砖专区一中文字| 亚洲一卡二卡三卡四卡无卡久久 | 丁香一区二区三区| 日韩女优毛片在线| 日本亚洲免费观看| 91精品国产综合久久福利| 亚洲自拍偷拍麻豆| 一本高清dvd不卡在线观看| 国产精品丝袜黑色高跟| 成人网在线免费视频| 国产精品免费aⅴ片在线观看| 国产老妇另类xxxxx| 精品久久久久久久久久久久久久久 | 亚洲综合激情网| 欧美日韩中文字幕一区| 亚洲综合色成人| 欧美午夜精品久久久| 亚洲午夜av在线| 欧美四级电影网| 日韩精品五月天| 日韩一区二区三区精品视频| 久久99在线观看| 久久久久久电影| 99免费精品在线| 一区二区三区国产| 欧美日韩国产电影| 久久成人精品无人区| 精品久久久久一区| 成人小视频免费在线观看| 亚洲日本中文字幕区| 欧美在线一二三四区| 日本中文字幕一区二区视频 | 国产一区二区在线电影| 三级亚洲高清视频| 日韩精品中文字幕在线一区| 粉嫩嫩av羞羞动漫久久久| 亚洲免费在线视频一区 二区| 欧美日本不卡视频| 粉嫩一区二区三区在线看| 亚洲男人的天堂av| 日韩三级视频中文字幕| 成人av中文字幕| 亚洲成人tv网| 中文在线免费一区三区高中清不卡| 91网站最新地址| 久久精品久久99精品久久| 中文字幕中文在线不卡住| 欧美一区二区三区色| 成人免费毛片aaaaa**| 日本一不卡视频| 亚洲欧美激情在线| 久久人人超碰精品| 欧美中文一区二区三区| 懂色av一区二区三区免费看| 香港成人在线视频| 国产精品久久综合| 日韩一区二区高清| 91精品办公室少妇高潮对白| 国产一区二区h| 亚洲成av人片一区二区| 中文在线资源观看网站视频免费不卡| 欧美日韩1区2区| 成人av电影在线网| 国产一区欧美二区| 日本免费在线视频不卡一不卡二| 国产精品午夜电影| 久久久美女毛片| 欧美一区二区大片| 欧美亚洲综合色| 99久久婷婷国产| 国产高清不卡一区二区| 麻豆传媒一区二区三区| 亚洲成人免费电影| 亚洲精选免费视频| 中文字幕字幕中文在线中不卡视频| 久久综合久色欧美综合狠狠| 欧美三级日韩三级国产三级| 91年精品国产| www.日韩大片| 91一区二区在线观看| 成人精品一区二区三区四区| 国产专区综合网| 国产在线观看一区二区| 九九久久精品视频| 国产一区二区中文字幕| 国产乱人伦偷精品视频不卡| 狠狠久久亚洲欧美| 国产精品一区二区黑丝 | 1区2区3区国产精品| 国产精品美女久久久久久2018| 精品国产区一区| 久久你懂得1024| 中文字幕不卡在线| 亚洲美女精品一区| 亚洲自拍偷拍麻豆| 日韩成人午夜精品| 久草精品在线观看| 日韩精品电影在线观看| 琪琪一区二区三区| 久久精品视频在线看| 国产又黄又大久久| 视频一区在线播放| 男女激情视频一区| 日本va欧美va精品| 日本午夜精品视频在线观看 | 欧美电影免费观看高清完整版在线观看| 欧洲一区二区三区免费视频| 国内精品在线播放| 555www色欧美视频| 成人免费视频一区二区| 不卡的电影网站| 欧美无人高清视频在线观看| 3atv在线一区二区三区| 久久久久久久久岛国免费| 亚洲视频一二三| 久久精品久久精品| 99久久免费国产| 91麻豆精品国产无毒不卡在线观看 | 狠狠色丁香婷婷综合久久片| 成人一区二区三区在线观看 | 国产三级精品视频| 亚洲午夜久久久久久久久久久| 三级在线观看一区二区| 激情国产一区二区 | 久久国产精品无码网站| 成人黄页在线观看| 欧美精品久久一区二区三区| 国产日韩欧美a| 亚洲成人免费看| 国产91丝袜在线播放0| 欧美日韩一二三| 欧美高清在线一区二区| 日本午夜精品视频在线观看| aaa国产一区| 精品国产乱码久久久久久蜜臀 | 高清国产午夜精品久久久久久| 欧美在线一区二区| 国产精品电影一区二区| 另类欧美日韩国产在线|