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

📄 matchperiodlist.jsp.svn-base

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

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


<html>
  <head>
    <title>Match Period List</title>
  </head>
  <link href="css/pub.css" rel="stylesheet" type="text/css"/>
  <script src="js/form_1.js"></script>
  <script>
    function chkadd() {
      if(checkform(fbMatchPeriodForm)) {
        fbMatchPeriodForm.action = "matchPeriod.do?med=doCreate";
        fbMatchPeriodForm.submit();
      }
    }
    function chkedit() {
      if(checkform(fbMatchPeriodForm)) {
        if(!checkedit(fbMatchPeriodForm)) {
          window.alert("你真的改过了吗 @_@");
          return;
        }
        fbMatchPeriodForm.action = "matchPeriod.do?med=doUpdate";
        fbMatchPeriodForm.submit();
      }
    }
    function del(iid) {
      if(window.confirm("您确认要删除?")) {
         document.location='<%=path%>/matchPeriod.do?med=doDelete&id='+iid;
      }
    }
  </script>
  
  <body text="#000000" bgcolor="#f6f6f3" leftmargin="5px" topmargin="0" marginheight="0" marginwidth="0">
    <html:form action="matchPeriod.do?med=doList">
    <table cellspacing="0" cellpadding="5" width="100%" align="center" border="0">
      <tr>
        <td class="fm1">赛事事件时段管理<span style="padding-left:50px" /><a href="javascript:add();">新增</a></td>
      </tr>
      <tr>
          <td align="left">
            <logic:equal name="message" value="info">
		      <b><html:messages id="info" message="true">
		      <bean:write name="info"/>
		      </html:messages></b>
            </logic:equal>
            <logic:equal name="message" value="failed">
              <b><html:messages id="failed" message="true">
		      <bean:write name="failed"/>
		      </html:messages></b>
            </logic:equal>
          </td>
        </tr>
    </table>

      <table width="100%" cellspacing="0" cellpadding="5" width="100%" align="center" border="0">
        <tr class="bevel2">
          <td>
    
      <table id="tbdata" width="100%" cellpadding="0" cellspacing="0" border="0" class="tbdata">
        
        <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>
        </tr>
        <% int i = 0; %>
        <logic:iterate id="matchPeriod" name="matchPeriods">
          <tr class="<%=(i++%2==0?"trrow1":"trrow2")%>" height="30">
            <td align="center" height="30"><bean:write name="matchPeriod" property="id" /></td>
            <td align="center" height="30"><bean:write name="matchPeriod" property="name" /></td>
            <td align="center" height="30"><bean:write name="matchPeriod" property="sort" /></td>
            <td align="center" height="30">
              <a href="javascript:edit(<%=i%>);">修改</a>
            </td>
            <td align="center" height="30">
              <a href="javascript:del(<bean:write name='matchPeriod' property='id' />);">删除</a>
            </td>
          </tr>
        </logic:iterate>
      </table>
      
      	  </td>
      	</tr>
      </table>
    </html:form>
  </body>
</html>

⌨️ 快捷键说明

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