WebContent/Manager/member_select.jsp

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="java.sql.*"%>
<jsp:useBean id="connection" scope="page" class="com.wy.JDBConnection"/>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<html>
<head>
<link rel="stylesheet" href="../CSS/style.css">
<title>
mMember  page
</title>
</head>
<%!
ResultSet rs=null;
String sql;
int code;
int pagesize=10;
int rowcount=0;
int pagecount=1;
%>

<body bgcolor="#ffffff"><jsp:include page="mtop.jsp"/>
<table width="785" height="123" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bordercolordark="#333333" bordercolorlight="#FFFFFF">
  <tr>
    <td height="54" colspan="10" align="center">会员资料信息修改</td>
  </tr>
  <tr>
    <td width="8%" height="16" align="center">ID</td>
    <td width="11%" height="16" align="center">名字</td>

    <td width="13%" height="16" align="center">Email</td>
    <td width="9%" height="16" align="center">性别</td>
    <td width="11%" height="16" align="center">电话</td>
    <td width="14%" height="16" align="center">问题</td>
    <td width="11%" height="16" align="center">答案</td>
    <td width="12%" height="16" align="center">申请日</td>
    <td width="11%" height="16" align="center">操作</td>
  </tr>
  <%
sql="select * from tb_Customer";
try
{
rs=connection.executeQuery(sql);
if(!rs.next())
{
%>
  <script language="javascript">
	alert("没有会员信息!!");
	history.back();
</script>
  <%
}else
{
rs.last();
rowcount=rs.getRow();
int showpage=1;
pagecount=((rowcount%pagesize)==0?(rowcount/pagesize):(rowcount/pagesize)+1);
 String topage=request.getParameter("topage");
if(topage!=null)
{
showpage=Integer.parseInt(topage);
后面还有 45 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。