Edit D:\chineseall_products\bak\digitalLib6\admin\statistics\activityRanking.jsp
??<%@ page contentType="text/html;charset=utf-8" %> <%@ taglib prefix="s" uri="/struts-tags"%> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>??????????????</title> <link rel="stylesheet" type="text/css" href="/style/style.css" /> <script type="text/javascript" src="/js/jquery-1.12.4.min.js"></script> <style> body{font-size:14px;color:#000;background:#fff;} .searchTitle{float:left; height:20px; line-height:20px; margin:5px;} </style> </head> <body> <div class="crumbs tl" style="float:left;">??????????????>>????????</div> <div class="mainCon"> <form name="pageListForm" id="pageListForm" action="activityRanking.action" method="post"> <div class="search tl"> <span class="searchTitle">?????</span> <s:select name="activityId" value="activityId" theme="simple" cssClass="textIn" list="activityList" listKey="id" headerKey="" headerValue="???" listValue="title" cssStyle="width: 110px;" /> <s:set value="grade" var="g"></s:set> <span class="searchTitle">?????</span> <s:set value="grade" var="g"></s:set> <s:select name="grade" value="grade" theme="simple" cssClass="textIn" list="gradeList" listKey="v" headerKey="" headerValue="???" listValue="className" cssStyle="width: 110px;" onchange="disTeam(this)"/> <span class="searchTitle">?????</span> <select id="team" name="team" class="textIn" style="width: 110px;"> <option value="" >???</option> <s:iterator value="teamList"> <s:if test="#g == type + ',' + enrolYear"> <s:if test="team == grade"> <option value="${grade }" grade="${type },${enrolYear}" selected="selected">${grade }??</option> </s:if> <s:else> <option value="${grade }" grade="${type },${enrolYear}">${grade }??</option> </s:else> </s:if> <s:else> <option value="${grade }" grade="${type },${enrolYear}" style="display: none;">${grade }??</option> </s:else> </s:iterator> </select> <input type="submit" class="searchBtn" value="???" onclick="doquery();"/> </div> <div style="clear:both;height:2px;"></div> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableList" id="tableColor"> <tr > <th width="8%" align="center">???</th> <th width="20%" align="center">??????</th> <th width="15%" align="center">???</th> <th width="10%" align="center">???</th> <th width="10%" align="center">?????</th> <th width="10%" align="center">?????</th> <th width="15%" align="center"> <s:if test="listModel.source != null && listModel.source.size() > 0"> <a href="/admin/statistics/downloadActReport.action?activityId=${activityId }&grade=${grade}&team=${team }">?????????</a> </s:if><s:else>???</s:else> </th> </tr> <s:iterator value="listModel.source" status="obj" var="objs"> <tr > <td><s:property value="listModel.getPagingFilter().getPageSize() * (listModel.getPagingFilter().getPage()-1) + #obj.count"/> </td> <td>${objs[1] }</td> <td> <s:property value="@com.digitallib.admin.tools.util.ClassUtil@doClassName(#objs[2] ,#objs[5] ,#objs[3] ,#objs[4] )"/></td> <td>${objs[6] }??</td> <td>${objs[7] }</td> <td>${objs[8] }</td> <td><a href="/admin/statistics/activityJoinUser.action?activityId=${objs[0] }&grade=${objs[2]},${objs[3]}&team=${objs[6] }">???</a> <a href="/admin/statistics/downloadActRanking.action?activityId=${objs[0] }&grade=${objs[2]},${objs[3]}&team=${objs[6] }">????????????</a></td> </tr> </s:iterator> <tr > <td colspan="8"> <s:property value="@com.chineseall.util.page.PageUtil@getPageListView(listModel.pagingFilter)" escape="false"/> </td> </tr> <tr > <td colspan="8"> <font color="red"><s:property value="info"/></font> </td> </tr> </table> </form> </div> <script> function dosubmit(actionName,objId) { if(objId && objId>0) { var obj = document.getElementById("objectId"); obj.value = objId; } else { var obj = document.getElementById("objectId"); obj.value = ""; } document.getElementById("pageListForm").action=actionName; document.getElementById("pageListForm").submit(); } function doquery() { if(document.pageListForm.currentPage) document.pageListForm.currentPage.value = 1; document.getElementById("pageListForm").submit(); } function disTeam(g) { var grade = g.options[g.selectedIndex].value; $("#team option").hide(); $("#team option[grade='" + grade + "']").show(); } </script> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de