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

📄 global_city_list.jsp.svn-base

📁 Struts+Hibernate实现MVC
💻 SVN-BASE
字号:

<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="/include/include.jsp"%>


<html>
  <head>
    <title>城市信息</title>
  </head>
  <link href="css/pub.css" rel="stylesheet" type="text/css"/>
  <script src="js/pgquery.js"></script>
  
  <body text="#000000" bgcolor="#f6f6f3" leftmargin="5px" topmargin="0" marginheight="0" marginwidth="0">
    <html:form action="globalCity.do?med=doList">
    <table cellspacing="0" cellpadding="5" width="100%" align="center" border="0">
      <tr height="30">
        <td class="fm1">城市信息<span style="padding-left:50px" /><a href="javascript:document.location='<%=path%>/globalCity.do?med=viewForCreate'" >新增</a>&nbsp;&nbsp;&nbsp;&nbsp;</td>
      </tr>
    </table>
    
    <table cellspacing="1" cellpadding="5" width="100%" align="center" border="0">
      <tr class="bevel2">
        <td>区域:<html:select property="areaId">
            <option value="">不限区域</option>
            <gooooal:options type="area" />
          </html:select>
          &nbsp;&nbsp;名称:<html:text property="cnFullName" size="20" maxlength="30" />
          &nbsp;&nbsp;<input type="button" value="查询" onclick="query();"></td>
        <td></td>
      </tr>
    </table>
    
    <div align="left">
      <table  width="100%" cellspacing="0" cellpadding="5" width="100%" align="center" border="0">
        <tr class="bevel2">
          <td>
    
      <table id="tbdata" cellspacing="0" cellpadding="4" class="tbdata">
        <tr>
          <td align="center" colspan="2">
            <logic:equal name="message" value="failed">
              <b><html:messages id="failed" message="true">
		      <bean:write name="failed"/>
		      </html:messages></b>
            </logic:equal>
          </td>
        </tr>
        <tr class="trtitle" height="30">
          <td align="center"><b>城市ID</b></td>
          <td align="center"><b>简体全称/繁体全称</b></td>
          <td align="center"><b>英文全称/英文简称</b></td>
          <td align="center"><b>所属洲/地域</b></td>
          <td align="center"><b>所属国家</b></td>
          <td align="center"><b>操作</b></td>
        </tr>
        <% int i = 0; %>
        <logic:iterate id="globalCity" name="globalCitys">
          <tr class="<%=(i++%2==0?"trrow1":"trrow2")%>" height="30">
            <td align="center"><bean:write name="globalCity" property="id" /></td>
            <td align="center"><bean:write name="globalCity" property="cnFullName" /><br><bean:write name="globalCity" property="trFullName" /></td>
            <td align="center"><bean:write name="globalCity" property="enFullName" /><br><bean:write name="globalCity" property="enShortName" /></td>
            <td align="center"><gooooal:value type="area" name="globalCity" property="areaId"></gooooal:value></td>
            <td align="center"><bean:write name="globalCity" property="countryId" /></td>
            <td align="center" width="20%">
              
              <a href="javascript:document.location='<%=path%>/globalCity.do?med=viewForUpdate&id=<bean:write name="globalCity" property="id" />'" >修改</a>&nbsp;
              <a href="javascript:if(confirm('确认删除这条记录吗'))document.location='<%=path%>/globalCity.do?med=doDelete&id=<bean:write name="globalCity" property="id" />'" >删除</a>&nbsp;
              
            </td>
          </tr>
        </logic:iterate>
      </table>
      
      <gooooal:pagination name="pagination" />
      
      	  </td>
      	</tr>
      </table>
    </div>
    </html:form>
  </body>
</html>

⌨️ 快捷键说明

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