📄 card.jsp
字号:
<%@ page language="java" contentType="text/html; charset=gb2312"
pageEncoding="GB2312"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>充值</title>
<style type="text/css">
<!--
.STYLE1 {font-size: 12px}
.STYLE2 {
color: #FFFFFF;
font-weight: bold;
font-size: 14px;
}
-->
</style>
</head>
<script language="javascript">
<!--
function usercheck(){
var c_no,password;
c_no=document.form1.c_no.value;
password=document.form1.password.value;
if(c_no==""){
alert("卡号不能为空!");
return false;}
if(password==""){
alert("密码不能为空!");
return false;}
}
//-->
</script>
<body>
<%int u_id=0;
try{
u_id =Integer.valueOf(request.getParameter("userid")).intValue();
}catch(NumberFormatException e){}
%>
<div align="center">
<table height="155" width="750" border="0" cellspacing="1"
align="center">
<tr>
<td><iframe name="top" height="155" width="750" scrolling="no"
src="top.jsp" frameborder="0"></iframe></td>
</tr>
</table>
</div>
<table width="500" border="0" align="center">
<tr>
<td height="25" bgcolor="#00FF00"><div align="center" class="STYLE2">帐户充值</div></td>
</tr>
<tr>
<td>
<form name="form1" method="post" action="Servletcard">
<table width="100%" border="0" cellspacing="1" bgcolor="#DCDCDC">
<tr>
<td width="35%" bgcolor="#FFFFFF"><div align="center" class="STYLE1">请输入卡号</div></td>
<td width="65%" bgcolor="#FFFFFF"><label> <input name="u_id" type="hidden" id="u_id"
value="<%=u_id%>"> <input name="c_no" type="text" id="c_no" size="25">
</label></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><div align="center" class="STYLE1">请输入密码</div></td>
<td bgcolor="#FFFFFF"><label> <input name="password" type="password"
id="password" size="25">
</label></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF"><label> <input type="submit" name="Submit"
onClick="return usercheck()" value="确定"> <input
type="reset" name="Submit2" value="重置"> </label></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<div align="center">
<table height="155" width="750" border="0" cellspacing="1"
align="center">
<tr>
<td><iframe name="bottom" height="155" width="750" scrolling="no"
src="bottom.jsp" frameborder="0"></iframe></td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -