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

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

?? editinfook.asp

?? 一個教育系統
?? ASP
字號:
<!--#include file="conn.asp"-->
<!--#include file="fenlei.asp"-->
<!--#include file="md5.asp"-->
<!--#include file="isteacher.asp"-->
<%
fenlei1 = server.htmlencode(trim(request("fenlei1")))
fenlei2 = server.htmlencode(trim(request("fenlei2")))
teacher = server.htmlencode(trim(request("teacher")))
loginname = trim(request("loginname"))
email = server.htmlencode(trim(request("email")))
homepage = server.htmlencode(trim(request("homepage")))
address = server.htmlencode(trim(request("address")))
intro = server.htmlencode(trim(request("intro")))
photourl = server.htmlencode(trim(request("fileurl")))
qq = server.htmlencode(trim(request("qq")))
password = request("password")
password1 = request("password1")
ask = trim(request("ask"))
answer = trim(request("answer"))

if fenlei1 = "" then
 conn.close
 set conn = nothing
 response.write "<script>alert('請輸入您所屬的"&strfenlei1&"');history.go(-1);</script>"
 response.end
end if
if fenlei2 = "" then
 conn.close
 set conn = nothing
 response.write "<script>alert('請輸入您所屬的"&strfenlei2&"');history.go(-1);</script>"
 response.end
end if
if teacher = "" then
 conn.close
 set conn = nothing
 response.write "<script>alert('請輸入您的姓名');history.go(-1);</script>"
 response.end
end if
if len(teacher) > 10 then
 conn.close
 set conn = nothing
 response.write "<script>alert('姓名不得超過10個漢字');history.go(-1);</script>"
 response.end
end if
if loginname = "" then
 conn.close
 set conn = nothing
 response.write "<script>alert('請輸入登錄名');history.go(-1);</script>"
 response.end
end if
if len(loginname) > 10 then
 conn.close
 set conn = nothing
 response.write "<script>alert('登錄名不得超過10個漢字');history.go(-1);</script>"
 response.end
end if
if IsNumeric(loginname) then
 conn.close
 set conn = nothing
 response.write "<script>alert('登錄名不得全為數字');history.go(-1);</script>"
 response.end
end if

set rs = server.createobject("adodb.recordset")
sql = "select count(teacherid) from teacher where loginname='"&loginname&"' and teacherid<>"&session("teacherid")
rs.open sql,conn,1,1
if rs(0) > 0 then
 rs.close
 set rs = nothing
 conn.close
 set conn = nothing
 response.write "<script>alert('該登錄名已經有人使用了');history.go(-1);</script>"
 response.end
end if
rs.close

if len(email) > 30 then
 conn.close
 set conn = nothing
 response.write "<script>alert('E-Mail地址不得超過30個字符');history.go(-1);</script>"
 response.end
end if
if len(homepage) > 50 then
 conn.close
 set conn = nothing
 response.write "<script>alert('個人主頁不得超過50個字符');history.go(-1);</script>"
 response.end
end if
if len(qq) > 10 then
 conn.close
 set conn = nothing
 response.write "<script>alert('QQ號碼不應該超過10位吧?');history.go(-1);</script>"
 response.end
end if
if len(address) > 25 then
 conn.close
 set conn = nothing
 response.write "<script>alert('通訊地址不得超過25個漢字');history.go(-1);</script>"
 response.end
end if
if photourl <> "" and left(photourl,6) <> "files" and right(photourl,3) <> "jpg" and right(photourl,3) <> "gif" and right(photourl,3) <> "png" then
 conn.close
 set conn = nothing
 response.write "<script>alert('照片格式不對,只支持jpg、gif和png格式的圖片');history.go(-1);</script>"
 response.end
end if
if intro = "" then
 conn.close
 set conn = nothing
 response.write "<script>alert('請輸入個人簡介');history.go(-1);</script>"
 response.end
end if
if password <> password1 then
 conn.close
 set conn = nothing
 response.write "<script>alert('兩次密碼輸入不一致');history.go(-1);</script>"
 response.end
end if
if ask = "" then
 conn.close
 set conn = nothing
 response.write "<script>alert('請輸入密碼找回問題');history.go(-1);</script>"
 response.end
end if
if len(ask) > 25 then
 conn.close
 set conn = nothing
 response.write "<script>alert('密碼找回問題不得超過25個漢字');history.go(-1);</script>"
 response.end
end if
if answer = "" then
 conn.close
 set conn = nothing
 response.write "<script>alert('請輸入密碼找回答案');history.go(-1);</script>"
 response.end
end if
if len(answer) > 25 then
 conn.close
 set conn = nothing
 response.write "<script>alert('密碼找回答案不得超過25個漢字');history.go(-1);</script>"
 response.end
end if

sql = "select * from teacher where teacherid="&session("teacherid")
rs.open sql,conn,1,3
if rs.bof and rs.eof then
  rs.close
  set rs = nothing
  conn.close
  set conn = nothing
  response.write "<script>alert('請不要搗亂');top.window.location.href='teachermain.asp';</script>"
  response.end
else
  rs("teacher")=teacher
  rs("fenlei1")=fenlei1
  rs("fenlei2")=fenlei2
  rs("email")=email
  if homepage <> "" and left(homepage,7) <> "http://" then
   homepage = "http://"&homepage
  end if
  rs("homepage")=homepage
  rs("address")=address
  rs("photourl")=photourl
  rs("qq")=qq
  rs("intro")=intro
  rs("ask")=ask
  rs("answer")=answer
  rs("loginname")=loginname
  if password <> "" then rs("password")=password
  rs.update
  rs.close
  set rs = nothing
  conn.close
  set conn = nothing
end if
response.write "<script>alert('修改成功');window.location.href='editinfo.asp?id="&session("teacherid")&"';</script>"
%>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人深夜视频在线观看| 久久综合久久综合久久综合| 欧美日韩国产一二三| 欧美一区二区三区白人| 国产精品视频第一区| 午夜久久电影网| 成人av综合在线| 久久亚洲综合色| 亚洲午夜精品一区二区三区他趣| 国产成人a级片| 日韩欧美电影一区| 亚洲午夜日本在线观看| 色综合久久88色综合天天免费| 精品国产一区二区三区久久影院| 亚洲一区二区三区四区五区中文| 国产成人三级在线观看| 欧美一区午夜精品| 亚洲福利视频一区二区| av中文一区二区三区| 久久久久国产精品免费免费搜索| 日本不卡一二三| 欧美性大战久久久久久久| 亚洲欧洲精品一区二区三区不卡| 久久精品国产77777蜜臀| 欧美高清精品3d| 丝袜a∨在线一区二区三区不卡| 色综合久久久网| 一区二区三区蜜桃网| yourporn久久国产精品| 国产精品成人一区二区三区夜夜夜| 久久精品999| 337p日本欧洲亚洲大胆精品| 日av在线不卡| 精品久久久久香蕉网| 青青草97国产精品免费观看| 欧美日韩不卡一区二区| 亚洲电影在线播放| 在线播放中文一区| 99久久精品国产一区| 日韩美女视频一区二区在线观看| 日韩激情视频网站| 日韩精品一区二区三区中文不卡| 日本亚洲欧美天堂免费| 欧美一二三区在线| 精品一区二区av| 国产亚洲一区二区三区四区| 成人开心网精品视频| 中文字幕在线不卡| 在线视频国产一区| 视频一区中文字幕| 久久美女艺术照精彩视频福利播放| 国产精品91xxx| 亚洲精品视频在线| 6080国产精品一区二区| 日本伊人精品一区二区三区观看方式| 欧美一区二区在线免费观看| 麻豆国产精品一区二区三区| 国产欧美中文在线| 色狠狠一区二区| 日韩成人精品在线观看| 国产亚洲人成网站| 欧美性猛片aaaaaaa做受| 久久草av在线| 悠悠色在线精品| 日韩欧美国产不卡| 99re66热这里只有精品3直播| 性久久久久久久| 国产亚洲成aⅴ人片在线观看| 色一情一乱一乱一91av| 免费看欧美美女黄的网站| 国产精品免费久久| 91精品国产一区二区三区蜜臀| 国产91精品在线观看| 亚洲国产日韩综合久久精品| www一区二区| 欧美日韩黄色一区二区| 粉嫩嫩av羞羞动漫久久久| 午夜欧美一区二区三区在线播放| 国产色爱av资源综合区| 欧美一级二级三级乱码| 99视频精品在线| 国产麻豆午夜三级精品| 天堂一区二区在线| 亚洲蜜臀av乱码久久精品| 精品国产91久久久久久久妲己| 色噜噜狠狠色综合中国| 国产精品一二三四区| 日韩不卡免费视频| 玉足女爽爽91| 亚洲国产成人一区二区三区| 日韩精品一区二| 欧美久久久久久久久| 91色在线porny| 高清视频一区二区| 狠狠色丁香久久婷婷综合丁香| 亚洲午夜在线视频| 亚洲人快播电影网| 中日韩av电影| 国产日本一区二区| 精品卡一卡二卡三卡四在线| 欧美精品丝袜久久久中文字幕| 色激情天天射综合网| 91网站在线观看视频| 国产69精品久久777的优势| 另类小说欧美激情| 免费成人在线播放| 美女一区二区久久| 日韩成人免费看| 天天色天天操综合| 天天做天天摸天天爽国产一区 | 日韩欧美中文字幕精品| 欧美性受xxxx黑人xyx| 91福利视频网站| 色欧美88888久久久久久影院| 成人小视频在线观看| 成人看片黄a免费看在线| 丁香六月综合激情| gogogo免费视频观看亚洲一| 色综合久久综合网欧美综合网| 91一区二区三区在线观看| 91片在线免费观看| 欧美专区日韩专区| 7799精品视频| 精品国偷自产国产一区| 国产日韩欧美不卡在线| 国产精品嫩草99a| 亚洲人成网站色在线观看| 怡红院av一区二区三区| 亚洲地区一二三色| 久久99精品一区二区三区三区| 国产精品1区2区3区| 成人av网站在线观看| 色综合咪咪久久| 91麻豆精品91久久久久久清纯 | 久久国产免费看| 国产精品亚洲综合一区在线观看| 成人涩涩免费视频| 91浏览器在线视频| 欧美精品在线观看播放| 精品久久99ma| 亚洲色图在线看| 日本免费在线视频不卡一不卡二| 国模冰冰炮一区二区| 99在线精品一区二区三区| 欧美日韩国产乱码电影| 久久久激情视频| 亚洲免费电影在线| 极品尤物av久久免费看| 丁香亚洲综合激情啪啪综合| 91丝袜国产在线播放| 精品三级在线观看| 亚洲视频每日更新| 国内精品久久久久影院一蜜桃| 99re这里只有精品首页| 日韩亚洲欧美一区二区三区| 国产精品天美传媒| 人人爽香蕉精品| 日本高清不卡视频| 久久综合九色综合久久久精品综合| 一区二区三区av电影| 国产一区在线看| 91精品国产全国免费观看 | 久久亚洲二区三区| 亚洲毛片av在线| 国产成人在线视频免费播放| 欧美午夜视频网站| 中文字幕中文在线不卡住| 日本欧美加勒比视频| 色成人在线视频| 欧美激情一区二区三区蜜桃视频| 日本视频免费一区| 欧美性做爰猛烈叫床潮| 日韩理论片一区二区| 国产精品一级黄| 26uuu色噜噜精品一区二区| 亚洲国产毛片aaaaa无费看| av在线不卡免费看| 国产天堂亚洲国产碰碰| 国内国产精品久久| 日韩欧美一区二区不卡| 午夜亚洲国产au精品一区二区| 波波电影院一区二区三区| 国产欧美日韩三级| 国产在线不卡一卡二卡三卡四卡| 日韩一区二区三区免费看| 亚洲国产美国国产综合一区二区| 一本高清dvd不卡在线观看 | 99r国产精品| 国产精品麻豆网站| 国产成人在线视频网址| 精品国产sm最大网站| 蜜桃视频第一区免费观看| 欧美精品九九99久久| 亚洲国产成人av| 91麻豆精品国产91| 免费在线观看一区二区三区| 日韩视频在线永久播放| 免费成人在线网站| 欧美α欧美αv大片| 精品一区二区三区免费毛片爱|