关于登陆的问题,在线等,跪求高手帮忙。
<link href="css/css1.css" rel="stylesheet" type="text/css"><form id="form1" name="form1" method="post" onsubmit="return sclicklogin(this);" >
<!--确认登录,开始! -->
<table width="378" height="188" border="0" align="center" class=9hao>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="441">
<!-- fwtable fwsrc="未命名" fwbase="login.gif" fwstyle="Dreamweaver" fwdocid = "595789953" fwnested="0" -->
<tr>
<td><img src="login_pci/spacer.gif" width="59" height="1" border="0" alt="" /></td>
<td><img src="login_pci/spacer.gif" width="73" height="1" border="0" alt="" /></td>
<td><img src="login_pci/spacer.gif" width="31" height="1" border="0" alt="" /></td>
<td><img src="login_pci/spacer.gif" width="15" height="1" border="0" alt="" /></td>
<td><img src="login_pci/spacer.gif" width="44" height="1" border="0" alt="" /></td>
<td><img src="login_pci/spacer.gif" width="24" height="1" border="0" alt="" /></td>
<td><img src="login_pci/spacer.gif" width="9" height="1" border="0" alt="" /></td>
<td><img src="login_pci/spacer.gif" width="15" height="1" border="0" alt="" /></td>
<td><img src="login_pci/spacer.gif" width="35" height="1" border="0" alt="" /></td>
<td><img src="login_pci/spacer.gif" width="136" height="1" border="0" alt="" /></td>
<td><img src="login_pci/spacer.gif" width="1" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="10"><img src="login_pci/login_r1_c1.gif" alt="" name="login_r1_c1" width="441" height="99" border="0" id="login_r1_c1" /></td>
<td><img src="login_pci/spacer.gif" width="1" height="99" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="14"><img src="login_pci/login_r2_c1.gif" alt="" name="login_r2_c1" width="59" height="251" border="0" id="login_r2_c1" /></td>
<td colspan="7"><img src="login_pci/login_r2_c2.gif" alt="" name="login_r2_c2" width="211" height="11" border="0" id="login_r2_c2" /></td>
<td rowspan="12" colspan="2"><img src="login_pci/login_r2_c9.gif" alt="" name="login_r2_c9" width="171" height="194" border="0" id="login_r2_c9" /></td>
<td><img src="login_pci/spacer.gif" width="1" height="11" border="0" alt="" /></td>
</tr>
<tr>
<td><img src="login_pci/login_r3_c2.gif" alt="" name="login_r3_c2" width="73" height="24" border="0" id="login_r3_c2" /></td>
<td colspan="5" ><input name="name" type="text" class="STYLE2" size="15" maxlength="12" /></td>
<td rowspan="8"><img src="login_pci/login_r3_c8.gif" alt="" name="login_r3_c8" width="15" height="111" border="0" id="login_r3_c8" /></td>
<td><img src="login_pci/spacer.gif" width="1" height="24" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="6"><img src="login_pci/login_r4_c2.gif" alt="" name="login_r4_c2" width="196" height="4" border="0" id="login_r4_c2" /></td>
<td><img src="login_pci/spacer.gif" width="1" height="4" border="0" alt="" /></td>
</tr>
<tr>
<td><img src="login_pci/login_r5_c2.gif" alt="" name="login_r5_c2" width="73" height="23" border="0" id="login_r5_c2" /></td>
<td colspan="5"><input name="password" type="password" class="STYLE2" size="16" maxlength="15" /></td>
<td><img src="login_pci/spacer.gif" width="1" height="23" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="6"><img src="login_pci/login_r6_c2.gif" alt="" name="login_r6_c2" width="196" height="6" border="0" id="login_r6_c2" /></td>
<td><img src="login_pci/spacer.gif" width="1" height="6" border="0" alt="" /></td>
</tr>
<tr>
<td><img src="login_pci/login_r7_c2.gif" alt="" name="login_r7_c2" width="73" height="23" border="0" id="login_r7_c2" /></td>
<td colspan="5" class="STYLE2" ><input name="yzm" type="text" class="STYLE2" size="4" maxlength="4" />
对照下面输入</td>
<td><img src="login_pci/spacer.gif" width="1" height="23" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="6"><img src="login_pci/login_r8_c2.gif" alt="" name="login_r8_c2" width="196" height="6" border="0" id="login_r8_c2" /></td>
<td><img src="login_pci/spacer.gif" width="1" height="6" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="2"><img src="login_pci/login_r9_c2.gif" alt="" name="login_r9_c2" width="73" height="25" border="0" id="login_r9_c2" /></td>
<td colspan="2"><span class="STYLE2">
<%
if session("yzm")<>"OK" then
randomize
rnd_a=cint(rnd()*9)
rnd_b=cint(rnd()*9)
rnd_c=cint(rnd()*9)
rnd_d=cint(rnd()*9)
abcd=rnd_a&rnd_b&rnd_c&rnd_d
else
session("yzm")="OK"
end if
response.write ("<font size='3' color='Fuchsia'>"&abcd&"</font>")
%>
</span></td>
<td rowspan="2" colspan="3"><img src="login_pci/login_r9_c5.gif" alt="" name="login_r9_c5" width="77" height="25" border="0" id="login_r9_c5" /></td>
<td><img src="login_pci/spacer.gif" width="1" height="18" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="2"><img src="login_pci/login_r10_c3.gif" alt="" name="login_r10_c3" width="46" height="7" border="0" id="login_r10_c3" /></td>
<td><img src="login_pci/spacer.gif" width="1" height="7" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="7"><img src="login_pci/login_r11_c2.gif" alt="" name="login_r11_c2" width="211" height="22" border="0" id="login_r11_c2" /></td>
<td><img src="login_pci/spacer.gif" width="1" height="22" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="7" align="center" valign="middle" background="login_pci/login_r12_c2.gif"><label class="STYLE2">
<input type="checkbox" name="checkbox" value="checkbox" />
管理员 找回密码
</label></td>
<td><img src="login_pci/spacer.gif" width="1" height="27" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="7"><img src="login_pci/login_r13_c2.gif" alt="" name="login_r13_c2" width="211" height="23" border="0" id="login_r13_c2" /></td>
<td><img src="login_pci/spacer.gif" width="1" height="23" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="2" colspan="2"><img src="login_pci/login_r14_c2.gif" alt="" name="login_r14_c2" width="104" height="57" border="0" id="login_r14_c2" /></td>
<td colspan="2"><input name="face2" type="image" onclick="return sclicklogin(this)" src="login_pci/login_r14_c4.gif" border=0></td>
<td rowspan="2"><img src="login_pci/login_r14_c6.gif" alt="" name="login_r14_c6" width="24" height="57" border="0" id="login_r14_c6" /></td>
<td colspan="3"><input type="image" name="face" src="login_pci/login_r14_c7.gif" ></td>
<td rowspan="2"><img src="login_pci/login_r14_c10.gif" alt="" name="login_r14_c10" width="136" height="57" border="0" id="login_r14_c10" /></td>
<td><img src="login_pci/spacer.gif" width="1" height="21" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="2"><img src="login_pci/login_r15_c4.gif" alt="" name="login_r15_c4" width="59" height="36" border="0" id="login_r15_c4" /></td>
<td colspan="3"><img src="login_pci/login_r15_c7.gif" alt="" name="login_r15_c7" width="59" height="36" border="0" id="login_r15_c7" /></td>
<td><img src="login_pci/spacer.gif" width="1" height="36" border="0" alt="" /></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- 用户登录结束 -->
</form>
<script>
<!--
function sclicklogin(frm){
with(from){
if (name.value==""){
alert('姓名不能为空!');
account.focus();
return(false);
}
if (password.value==""); {
alert('请输入密码!');
accout.focus();
return(false);
}
if (yzm.value=="");{
alert('请输入验证码!');
accout.focus()
return(false);
}
}
}
//-->
</script>
[[it] 本帖最后由 zzh820411 于 2008-4-20 10:27 编辑 [/it]]
login.rar
(35.12 KB)