登陆界面源码免费下载(好看的登录界面及源码)
本文目录一览:
- 1、高分:求下图这个登录界面的源代码和素材,满意追加奖励!
- 2、哪里有DemoLogin登录界面cocos2dx手机游戏源码?
- 3、asp登录界面源代码
- 4、asp程序实现简单的注册,登录网页的源代码
高分:求下图这个登录界面的源代码和素材,满意追加奖励!
如果是网站形式的管理系统
你都截取到人家的登陆界面图了,难道还没他的HTML源代码
单击右键就可以查看保存HTML源代码了哦
哪里有DemoLogin登录界面cocos2dx手机游戏源码?
一个登陆界面由背景图层和一些文本标签、输入框、按钮等组成。一般是按照从下到上登陆界面源码免费下载的顺序创建控件。
第一步是给根节点设置贴图登陆界面源码免费下载,首先是选在对象结构中选中根节点登陆界面源码免费下载,并打开属性面板,然后在资源面板中找到Register.png,并拖拽到属性面板中登陆界面源码免费下载的文件属性框内58player.com/code-2943-1.html。
asp登录界面源代码
default
html
head
meta http-equiv="Content-Language" content="zh-cn"
meta http-equiv="Content-Type" content="text/html; charset=gb2312"
meta name="GENERATOR" content="Microsoft FrontPage 4.0"
meta name="ProgId" content="FrontPage.Editor.Document"
title个人注册/title
script language=vbscript
sub b1_onclick()
if len(trim(form1.t1.value))=0 then
msgbox"请输入你的帐号!",0+48,"提示"
form1.t1.focus
elseif len(trim(form1.t2.value))=0 then
msgbox"请输入你的密码!",0+48,"提示"
form1.t2.focus
else
if isnumeric(form1.t1.value)=true then
msgbox"请输入汉字!",0+48,"重输"
form1.t1.focus
elseif len(trim(form1.t2.value))3 or len(trim(form1.t2.value))8 then
msgbox"密码在3至8位之间!",0+48,"重输"
form1.t2.focus
else
window.open"1.asp","new","toolbar=no,width=280,height=150,menubar=no,scrollbar=no,resizable=0"
form1.submit
end if
end if
end sub
/script
/head
body
pyw9sky天地/p
form method="POST" action="1.asp" name="form1" target="new"
p align="center"font size="6" color="#FF0000" face="隶书"个人注册/font/p
p align="center"font size="4"姓名:/fontinput type="text" name="t1" size="20"/p
p align="center"font size="4"密码:/fontinput type="password" name="t2" size="20"/p
p align="center"input type="button" value="注册" name="B1"input type="reset" value="重写" name="B2"/p
/form
/body
/html
1.asp
%@ language=vbscript %
%
dim x,y,num
num=0
x=request.form("t1")
y=request.form("t2")
response.cookies("user")("name")=x
response.cookies("user")("num")=num
response.cookies("user")("password")=y
response.cookies("user").expires=date()+365
%
html
head
title信息确认/title
/head
body
pyw9sky天地/p
table border="0" width="100%" id="table1" align=center cellspacing=1 bgcolor=#333399
tr bgcolor=#ffffff align=center
td colspan="2" width="100%"信息确认/td
/tr
tr bgcolor=#ffffff align=center
td width="31%"姓名:/td
td width="69%"% = x %/td
/tr
tr bgcolor=#ffffff align=center
td width="31%"密码:/td
td width="69%"% = y %/td
/tr
tr bgcolor=#ffffff align=center
td colspan="2" width="100%" align="center"a target="_blank" href="2.asp"登录/a
font onclick="window.close()" style="cursor:hand"关闭/font/td
/tr
/table
/body
/html
%@ language=vbscript %
html
head
title个人登录/title
script language=vbscript
sub b1_onclick()
if len(trim(form1.t1.value))=0 then
msgbox"请输入你的姓名!",0+48,"提示"
form1.t1.focus
elseif len(trim(form1.t2.value))=0 then
msgbox"请输入你的密码!",0+48,"提示"
form1.t2.focus
else
if isnumeric(form1.t1.value)=true then
msgbox"请输入汉字!",0+48,"重输"
form1.t1.focus
elseif len(trim(form1.t2.value))3 or len(trim(form1.t2.value))8 then
msgbox"密码在3至8位之间!",0+48,"重输"
form1.t2.focus
else
form1.submit
end if
end if
end sub
/script
/head
body
form method="POST" action="3.asp" name="form1" target="_blank"
p align="center"font size="6" color="#FF0000" face="隶书"个人登录/font/p
p align="center"font size="4"姓名;/fontinput type="text" name="t1" size="20"/p
p align="center"font size="4"密码:/fontinput type="password" name="t2" size="20"/p
p align="center"input type="button" value="开始登录" name="B1"input type="reset" value="重新输入" name="B2"/p
/form
/body
/html
3.asp
% @ language=vbscript %
%
dim x,y,nm,pw
x=request.form("t1")
y=request.form("t2")
nm=requset.cookies("user")("name")
pw=requset.cookies("user")("password")
if nmx or pwy then
response.redirect"default.htm"
end if
%
%
dim num
num=request.cookies('user")("num")
if num=0 then
num=1
else
num=num+1
end if
response.cookies("user")("num")=num
%
html
head
title欢迎来访yw9sky/title
/head
body
欢迎% =nm %第% =num %次登录
/body
/html
asp程序实现简单的注册,登录网页的源代码
1登陆界面源码免费下载,(index.asp 用户登陆页面)
!-- #include file="conn.asp" --
!-- blog.soowooo.cn 悠悠长假期 --
html
head
meta http-equiv="Content-Type" content="text/html; charset=gb2312"
title会员/title
style type="text/css"
!--
body,td,th {
font-family: 宋体;
font-size: 14px;
}
--
/style
/head
body
center
p会员注册系统/p
form name="form1" method="post" action="login.asp"
table width="34%" border="0"
tr
td width="33%" height="30"用户名:/td
td width="67%" height="30"input name="username" type="text" id="username" size="15"/td
/tr
tr
td height="30"密 码:/td
td height="30"input name="password" type="password" id="password" size="15"/td
/tr
tr
td colspan="2" align="center"input type="submit" name="Submit" value="确定"
input type="reset" name="Submit" value="重置"/td
/tr
tr
td colspan="2"a href="reg.asp" target="_self"注册/a/td
/tr
/table
/form
/center
/body
/html
2登陆界面源码免费下载,(login.asp 用户数据处理文件)
!-- #include file="conn.asp" --
%
'打开数据库判断用户是否存在,info为表名,username为字段名
set rsc=server.createobject("adodb.recordset")
sqlc="select * from info where username='"request.Form("username")"' and password='"request.Form("password")"'"
rsc.open sqlc,conn,1,1
session("username")=rsc("username")
session("password")=rsc("password")
session.Timeout=30
set rsc=nothing
response.Redirect("change.asp")
'如果用户不存在,session("username")为空
%
3,(change.asp 用户信息修改页面)
!-- #include file="conn.asp" --
html
head
meta http-equiv="Content-Type" content="text/html; charset=gb2312"
title修改/title
style type="text/css"
!--
body,td,th {
font-size: 14px;
}
--
/style/head
center
body
br
%
set rsc=server.createobject("adodb.recordset")
sqlc="select * from info where username='"session("username")"' and password='"session("password")"'"
rsc.open sqlc,conn,1,1
nr=rsc("password")
username=rsc("username")
password=rsc("password")
sex=rsc("sex")
qq=rsc("qq")
mail=rsc("mail")
add=rsc("add")
personalinfo=rsc("personalinfo")
vv=rsc("ntime")
set rsc=nothing
if nr="" then
response.Redirect("index.asp")
end if
if strcomp(nr,request.Form("password"))=0 then
response.Write("欢迎你!"request.Form("username"))
response.Write("你是在"vv"注册登陆界面源码免费下载的")
session("username")=request.Form("username")
end if
if session("username")="" then
response.Redirect("index.asp")
end if
%
form name="form1" method="post" action="change.asp?ac=ch"
table width="39%" height="105" border="0"
tr
td width="27%" height="30"用户名登陆界面源码免费下载:/td
td width="73%" height="30"input name="username" type="text" id="username" value="%=username%"
*/td
/tr
tr
td height="30"密 码:/td
td height="30"input name="password" type="text" id="password" value="%=password%"
*/td
/tr
tr
td height="30"性 别:/td
td height="30"input name="sex" type="text" id="sex" value="%=sex%"/td
/tr
tr
td height="30"QQ:/td
td height="30"input name="qq" type="text" id="qq" value="%=qq%"/td
/tr
tr
td height="30"Mail:/td
td height="30"input name="mail" type="text" id="mail" value="%=mail%"/td
/tr
tr
td height="30"地 址:/td
td height="30"input name="add" type="text" id="add" value="%=add%"/td
/tr
tr
td介绍/td
tdtextarea name="personalinfo" cols="30" rows="6" id="personalinfo"%=personalinfo%/textarea/td
/tr
tr
td /td
tdinput type="submit" name="Submit" value="修改"
a href="change.asp?se=y" target="_self"退出系统/a/td
% if strcomp(request.QueryString("se"),"y")=0 then
session("username")=""
response.Redirect("index.asp")
end if
%
/tr
/table
/form
%
if strcomp(request.QueryString("ac"),"ch")=0 then
set rs=server.createobject("adodb.recordset")
sql="select * from info where username='"session("username")"'"
rs.open sql,conn,1,3
rs("username")=request.Form("username")
rs("password")=request.Form("password")
rs("mail")=request.Form("mail")
rs("sex")=request.Form("sex")
rs("qq")=request.Form("qq")
rs("add")=request.Form("add")
rs("personalinfo")=request.Form("personalinfo")
rs.update
set rs=nothing
response.Write("修改完成!")
end if
%
/body
/center
/html
4,(reg.asp 新用户注册页面)
html
head
meta http-equiv="Content-Type" content="text/html; charset=gb2312"
title用户注册/title
style type="text/css"
!--
body,td,th {
font-family: 宋体;
font-size: 14px;
}
--
/style
/head
body
center
用户注册br
%
=request.QueryString("msg")
%
form name="form1" method="post" action="addnewdata.asp?ac=adduser"
table width="39%" height="105" border="0"
tr
td width="27%" height="30"用户名:/td
td width="73%" height="30"input name="username" type="text" id="username"
*/td
/tr
tr
td height="30"密码:/td
td height="30"input name="password" type="password" id="password"
*/td
/tr
tr
td height="30"确定密码:/td
td height="30"input name="password2" type="password" id="password2"
*/td
/tr
tr
td height="30"性别:/td
td height="30"input name="sex" type="text" id="sex"/td
/tr
tr
td height="30"QQ:/td
td height="30"input name="qq" type="text" id="qq"/td
/tr
tr
td height="30"Mail:/td
td height="30"input name="mail" type="text" id="mail"/td
/tr
tr
td height="30"地址:/td
td height="30"input name="add" type="text" id="add"/td
/tr
tr
td个人介绍/td
tdtextarea name="personalinfo" cols="30" rows="6" id="personalinfo"/textarea/td
/tr
tr
td /td
tdinput type="submit" name="Submit" value="提交"/td
/tr
/table
/form
/center
/body
/html
5,(addnewdata.asp 新用户注册数据处理文件)
!-- #include file="conn.asp" --
html
head
meta http-equiv="Content-Type" content="text/html; charset=gb2312"
title成功/title
/head
body
%
ac=request.QueryString("ac")
msg="注册错误信息"
if request.Form("username")="" then
msg=msg"br""用户名不能为空"
end if
if strcomp(cstr(request.Form("password")),cstr(request.Form("password2")))0 then
msg=msg"br""两次密码输入不同"
end if
if len(request.Form("password"))6 then
msg=msg"br""密码太简单"
end if
if strcomp(msg,"注册错误信息")0 then
response.Redirect("reg.asp?msg="msg)
end if
if ac="adduser" then
set rsc=server.createobject("adodb.recordset")
sql="select * from info where username='"request.Form("username")"'"
rsc.open sql,conn,1,1
ck=rsc("username")
set rsc=nothing
if ck"" then
msg=msg"br""用户名被人注册"
response.Redirect("reg.asp?msg="msg)
end if
dsql="select * from info where id is null"
set rs=server.createobject("adodb.recordset")
rs.open dsql,conn,1,3
rs.addnew
rs("username")=request.Form("username")
rs("password")=request.Form("password")
rs("mail")=request.Form("mail")
rs("sex")=request.Form("sex")
rs("qq")=request.Form("qq")
rs("add")=request.Form("add")
rs("personalinfo")=request.Form("personalinfo")
rs("ntime")=now
rs.update
set rs=nothing
%
center
a href="index.asp" target="_self"注册成功,点击登陆/a
/center
%
end if
%
/body
/html
6,(conn.asp 数据库连接文件)
%
'连接数据库开始
dim conn,rs,sql
on error resume next
dbpath=server.mappath("userinfo.mdb")
set conn=server.createobject("adodb.connection")
conn.open "PROVIDER=Microsoft.jet.OLEDB.4.0;data source="
'创建记录对象
set rs=server.createobject("adodb.recordset")
%
7,(userinfo.mdb ACCESS 数据库)
在ACCESS中建一个表,然后在这个表中建立字段名称
表名:info
字段名称 数据类型
id 自动编号
username 文本
password 文本
sex 文本
quest 文本
qq 文本
mail 文本
personalinfo 文本
ntime 文本