⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 selectsfzycity.jsp

📁 客户管理系统是一个典型的数据库开发应用程序
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" errorPage=""%>
<%@ page import="java.sql.*"%>
<%@ page import="java.util.List"%>
<%@ page import="java.util.ArrayList"%>
<%@ page import ="com.domain.CsxxForm"%>
<%@ page import="com.tool.Chinese"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>具体城市</title>
<style type="text/css">
<!--
body {
	background-color: #000000;
	margin-left: 0px;
	margin-top: 0px;
}
td{
font-size:9pt;
}
.style1 {font-size: 11pt}
-->
</style>
</head>
<body>
<table width="579" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="left" valign="top" bgcolor="#FFFFFF"> <table width="579"   border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td align="left" valign="top" bgcolor="#FFFFFF"><table width="579" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="2%" height="28">&nbsp;</td>
                <td width="9%" background="images/circle.jpg">&nbsp;</td>
                <td width="89%" bgcolor="#FFFFFF">具体城市</td>
              </tr>
              <tr style="line-height:2px">
                <td width="2%" height="5">&nbsp;</td>
                <td height="5" colspan="2" bgcolor="#D4D0C8">&nbsp;</td>
              </tr>
              <tr align="center" valign="top" bgcolor="#FFFFFF">
                <td height="454" colspan="3"><p><br>
<%int iCount=Integer.parseInt((String)request.getParameter("iCount"));%>
                    <%
String province=Chinese.str(request.getParameter("province"));
int maxPage=0;
List list=(List)request.getAttribute("form");
int total=Integer.parseInt((String)request.getAttribute("totalCity"));
int number=Integer.parseInt((String)request.getAttribute("number"));
maxPage=total;
if(maxPage%8==0){
maxPage=maxPage/8;
}else{
maxPage=maxPage/8+1;
}
%>
                    <%=province%><br>
                    <br>                  
                  </p>
                  <table width="542" border="0" cellpadding="2" cellspacing="1" bgcolor="#666666">
                    <tr align="center" bgcolor="#ffcc33">
                      <td width="109">省份简称</td>
                      <td width="210">城市名称</td>
                      <td width="101">邮编</td>
                      <td width="101">电话区号</td>
                    </tr>
                    <%for(int i=0;i<list.size();i++){
CsxxForm form =(CsxxForm)list.get(i);

%>
                    <tr bgcolor="#FFFFFF">
                      <td><%=form.getCxss_csjc()%></td>
                      <td><%=form.getCsxx_csmc()%></td>
                      <td><%=form.getCsxx_yb()%></td>
                      <td><%=form.getCsxx_dhph()%></td>
                    </tr>
                    <%}%>
                  </table>
             <p>
 <%if(number<=1){%>
  <%}else{%>

  <a href="csxxFenYe.do?number=<%=number-1%>&province=<%=province%>&iCount=<%=iCount%>">上一页</a><%}%>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp

  <%if(number>=maxPage){%>
  <%}else{%>

  <a href="csxxFenYe.do?number=<%=number+1%>&province=<%=province%>&iCount=<%=iCount%>">下一页</a><%}%></p>


                  <p> 共<%=maxPage%>页  第<%=number%>页<br>
       <br><%if(number<=1){%> <%}else{%>
  <p><a href="csxxSelect.do?province=<%=province%>&iCount=<%=iCount%>">回到第一页</a> <%}%>&nbsp;&nbsp;&nbsp;

<%if(iCount<=1){%>
<a href="querySfzySelect.do">返回</a>
<%}else{%> 
 <a href="querySfzyFenYe.do?iCount=<%=iCount%>">返回</a>
 <%}%></p>
<br>
                </table></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -