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

📄 seasonlist.jsp.svn-base

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

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


<html>
  <head>
    <title>Season List</title>
  </head>
  <link href="css/pub.css" rel="stylesheet" type="text/css"/>
  
  <body text="#000000" bgcolor="#f6f6f3" leftmargin="5px" topmargin="0" marginheight="0" marginwidth="0">
    <html:form action="season.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%>/season.do?med=viewForCreate'" >新增</a>&nbsp;&nbsp;&nbsp;&nbsp;</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>
          <td align="center"><b>操作</b></td>
        </tr>
        <% int i = 0; %>
        <logic:iterate id="season" name="seasons">
          <tr class="<%=(i++%2==0?"trrow1":"trrow2")%>" height="30">
            <td align="center"><bean:write name="season" property="id" /></td>
            <td align="center"><bean:write name="season" property="name0" /></td>
            <td align="center"><bean:write name="season" property="name1" /></td>
            <td align="center"><bean:write name="season" property="name2" /></td>
            <td align="center">
              <script>
                var current = '<bean:write name="season" property="isCurrent" />';
                if(current == 1){
                  document.writeln('是');
                }else{
                  document.writeln('否');
                }
              </script>
            </td>
            <td align="center"><bean:write name="season" property="sort" /></td>
            <td align="center" width="20%">
              
              <a href="javascript:document.location='<%=path%>/season.do?med=viewForUpdate&id=<bean:write name="season" property="id" />'" >修改</a>&nbsp;
              <a href="javascript:if(confirm('确认删除这条记录吗'))document.location='<%=path%>/season.do?med=doDelete&id=<bean:write name="season" property="id" />'" >删除</a>&nbsp;
              
            </td>
          </tr>
        </logic:iterate>
      </table>
      
      	  </td>
      	</tr>
      </table>
    </div>
    </html:form>
  </body>
</html>

⌨️ 快捷键说明

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