购物网站登录页面及登录验证与数据库连接源代码

时间:2026-01-13

登录页面:denglu.jsp

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<html>

<head>

<title>系统登录</title>

<style type="text/css">

<!--

style1 {

font-size: 18px; font-weight: bold;

}

style2 {font-size: 24px}

style5 {font-size: 16px}

.header{

position:relative;

width:760px;

height:138px;

margin:0 auto;

font:14px/1.6 arial;

}

.header h1{

background: no-repeat bottom left;

height:63px;

margin:0;

margin-left:40px;

}

.header .logo{

position:absolute;

top:10px;

left:0px;

}

.header h1 span{

display:none;

}

.header .topNavigation{

position:absolute;

top:-52px;

right:-132px;

}

.header .topNavigation li{

float:left;

padding:0 2px;

}

.header .mainNavigation{

position:absolute;

color:white;

font-weight:bold;

top:77px;

left:99px;

}

.header .mainNavigation li{

float:left;

padding:5px;

}

.header .accountBox{

position:absolute;

top:44px;

right:10px;

}

.header .accountBox li{

float:left;

top:0;

right:0;

width:93px;

height:110px;

text-align:center;

}

.header .accountBox span{

display:none;

}

.header .accountBox a{

display:block;

height:110px;

width:93px;

float:left;/* For Ie 6 bug */

}

.header .accountBox .login{

background:transparent url('images/account-left.jpg') no-repeat;

}

.header .accountBox .cart{

background:transparent url('images/account-right.jpg') no-repeat;

}

.header .accountBox .login:hover{

background:transparent url('images/account-left.jpg') no-repeat left bottom ;

}

.header .accountBox .cart:hover{

background:transparent url('images/account-right.jpg') no-repeat left bottom ;

}

.header .topNavigation a{

display:block;

line-height:25px;

padding:0 0 0 14px;

background:transparent url('images/top-navi-white.gif') no-repeat;

float:left; /*For IE 6 bug*/

}

.header .topNavigation a span{

display:block;

padding:0 14px 0 0;

background:transparent url('images/top-navi-white.gif') no-repeat right;

}

.header .topNavigation a:hover{

color:white;

background:transparent url('images/top-navi-hover.gif') no-repeat;

}

.header .topNavigation a:hover span{

background:transparent url('images/top-navi-hover.gif') no-repeat right;

}

.header .mainNavigation a{

display:block;

line-height:25px;

text-decoration:none;

padding:0 0 0 14px;

color:white;

float:left; /*For IE 6 bug*/

}

.header .mainNavigation a strong{

display:block;

padding:0 14px 0 0;

}

.header .mainNavigation .current a{

color:white;

background:transparent url('images/main-navi.gif') no-repeat;

}

.header .mainNavigation .current a strong{

color:white;

background:transparent url('images/main-navi.gif') no-repeat right;

}

.header .mainNavigation a:hover{

color:white;

background:transparent url('images/main-navi-hover.gif') no-repeat;

}

.header .mainNavigation a:hover strong{

background:transparent url('images/main-navi-hover.gif') no-repeat right;

color:#3D81B4;

}

.footer{

clear:both;

height:53px;

margin:0;

background:transparent url('images/footer-background.png') repeat-x;

text-indent:0px;

text-align:center;

}

footer p{

margin:0px;

}

.footer a{

color:red;

}

.footer .p1{

line-height:23px;

}

.footer .p2{

line-height:30px;

}

-->

</style></head>

<body>

<div class="header">

<pre> <img ALIGN=MIDDLE SRC="1.jpg" width="70" height="70"> <b><font color="ff5511" size="20" face="宋体">xx饰品店</font></pre></div>

<pre> <font color=ff8888 size="70" face="隶书"> 欢 迎 登 陆! ! !</font></pre>

<form action="dengluyanzheng.jsp" method="post">

<center>

<table border="10" bordercolor="33ff33" bgcolor="ffffff">

<tbody>

<tr>

<td height="80" width="350" ><div align="center" class="style1 style2"><font color=#E93EF0" size="20" face="隶书">

系 统 登 录

</div></td>

</tr>

<tr>

<td height="90" width="350"><span class="style5"><font color=#E93EFF size="20" face="隶书">用户名

</span> <input type="text" name="userid"maxlength="20" width:150></td></tr><br>

<tr>

<td height="90" width="350" ><span class="style5"><font color="#E93EFF" size="20" face="隶书">密&nbsp;&nbsp;码

</span> <input type="password" name="password" maxlength="20" width:150></ …… 此处隐藏:4234字,全部文档内容请下载后查看。喜欢就下载吧 ……

购物网站登录页面及登录验证与数据库连接源代码.doc 将本文的Word文档下载到电脑

    精彩图片

    热门精选

    大家正在看

    × 游客快捷下载通道(下载后可以自由复制和排版)

    限时特价:4.9 元/份 原价:20元

    支付方式:

    开通VIP包月会员 特价:19元/月

    注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
    微信:fanwen365 QQ:370150219