Edit D:\chineseall_products\bak\digitalLib6\pages\standard\media\mediaHome.jsp
<%@ page contentType="text/html;charset=utf-8"%> <%@ taglib prefix="s" uri="/struts-tags"%> <s:set name="templatePath" value="@com.chineseall.core.servlet.InitParameters@pageTemplatePath" /> <!doctype html> <html> <head> <jsp:include page="/pages/${templatePath }/head.jsp"></jsp:include> <link href="/pages/${templatePath }/css/subpage.css" type="text/css" rel="stylesheet"> <title>??????-<s:action name="viewSchoolName" executeResult="true"> <s:param name="sid" value="sid"></s:param> </s:action></title> </head> <body> <s:set name="menuIndex" value="3" /> <jsp:include page="/pages/${templatePath}/nav.jsp" /> <div class="page subpage"> <div class="searchbar"> <div class="panels"> <div class="search"> <form action="search.action?vo.pageType=3" method="post" name="searchForm" id="searchForm"> <input class="sea_input" id="searchWhere" name="vo.allKeyword" type="text" placeholder="?????????"> <input type="hidden" name="vo.tagType" value="0" id="tagType"> <input type="hidden" name="csrfToken" id="csrfToken" value="<s:property value="@com.digitallib.util.CsrfUtil@generateAndReturnCsrfToken('csrfToken')"/>"> <input class="search_btn" value="????" type="submit"> <div class="clear"></div> <span><input name="vo.type" type="radio" value="2" checked="checked" objVal="0">???</span> <span><input name="vo.type" type="radio" value="2" objVal="1">???</span> <span><input name="vo.type" type="radio" value="2" objVal="2">???</span> </form> </div> </div> </div> <!--denglu--> <div class="left"> <s:if test="currentCode != null && currentCode != \"\""> <s:action name="listMediaSort" executeResult="true" namespace="/"> <s:param name="currentCode" value="currentCode"></s:param> </s:action> </s:if> <s:else> <jsp:include page="/pages/${templatePath }/media/listMediaSort.jsp"></jsp:include> </s:else> <!--??? --> <div class="book_rank"> <div class="rank_title">??????????</div> <s:iterator value="newMediaList" status="obj"> <div class="zy_hover st_label"> <div class="rank_num clear" <s:if test="#obj.count == newMediaList.size()">style="border-bottom:none;"</s:if>> <div class="fleft"> <a href="/mediaDetail.action?objectId=<s:property value="id"/>"> <img src="<s:property value="headImage"/>" onerror="this.src='/uploadFiles/subjectHeadImage/ting.jpg'"></a> </div> <div class="text"> <a href="/mediaDetail.action?objectId=<s:property value="id"/>"><s:property value="title"/></a><br> <span class="other"> <s:if test="type == 1"> ?????? </s:if> <s:elseif test="type == 2"> ?????? </s:elseif> </span> </div> </div> <div class="label"> <s:if test="type == 1"> ??? </s:if> <s:elseif test="type == 2"> ??? </s:elseif> </div> </div> </s:iterator> </div> </div> <!-- ??????--> <div class="right"> <s:if test="currentCode != null && currentCode != \"\""> <div class="ts_classify"> <a href="javascript: void(0)" onclick="doCurrentCode('<s:property value="currentCode.substring(0, 2)"/>')" <s:if test="currentCode.length() == 2">class="mouse_on"</s:if>>???</a> <s:iterator value="sortList"> <a <s:if test="currentCode == levelCode">class="mouse_on"</s:if> href="javascript: void(0);" onclick="doCurrentCode('<s:property value="levelCode"/>')"><s:property value="name"/>(<s:property value="mediaCount"/>)</a> </s:iterator> </div> </s:if> <div class="recommended_book"> <s:if test="currentCode != null && currentCode != \"\""> <a href="/mediaHome.action">?????????</a> <span>></span> <s:if test="parentSort != null"> <a href="javascript: void(0)" onclick="doCurrentCode('<s:property value="parentSort.levelCode"/>')"><s:property value="parentSort.name"/></a> <span>></span> </s:if> <a href="javascript: void(0)"><s:property value="currentSort.name"/></a> </s:if> <s:else> ????????? </s:else> </div> <ul class="rec_book_resource audio-visual_resource"> <s:iterator value="listModel.source"> <li> <a href="/mediaDetail.action?objectId=<s:property value="id"/>"> <img class="bookimg" src="<s:property value="headImage"/> "onerror="this.src='/uploadFiles/subjectHeadImage/ting.jpg'"></a> <div class="label"> <s:if test="type == 1">???</s:if> <s:elseif test="type == 2">???</s:elseif> </div> <dl> <dt> <a href="/mediaDetail.action?objectId=<s:property value="id"/>"><s:property value="title"/></a> </dt> <dd> <!-- <img src="/pages/${templatePath }/images/star.png"><img src="/pages/${templatePath }/images/star.png"><img src="/pages/${templatePath }/images/star.png"><img src="/pages/${templatePath }/images/star.png"> <img src="/pages/${templatePath }/images/star_t.png"><font>4.8</font> --> </dd> <dd><s:property value="author"/></dd> <dd><s:property value="reciter"/></dd> <dd> <a href="/mediaDetail.action?objectId=<s:property value="id"/>">???</a><!-- <a href="#">???</a><a href="#">???</a> --> </dd> </dl> </li> </s:iterator> </ul> <!--???????--> <div class="turnpage"> <form name="pageListForm" id="pageListForm" action="mediaHome.action" method="post"> <input type="hidden" id="currentPage" name="currentPage" value="<s:property value="currentPage"/>"/> <input type="hidden" name="currentCode" id="currentCode" value="<s:property value="currentCode"/>"> <span><s:property value="@com.digitallib.util.PageUtil@getPageListView(listModel.pagingFilter, 'utf-8', 'template/standardPageModel.html')" escape="false"/></span> </form> </div> <!--??????--> </div> </div> <jsp:include page="/pages/${templatePath }/foot.jsp"></jsp:include> <script type="text/javascript"> function doCurrentCode(currentCode) { $("#currentCode").val(currentCode); $("#currentPage").val("1"); $("#pageListForm").submit(); } $("input[name='vo.type']").click(function(){ var v = Number($(this).attr("objVal")); $("#tagType").val(v); switch(v) { case 0: $("#searchWhere").attr("name", "vo.allKeyword"); $("#searchWhere").attr("placeholder", "?????????"); break; case 1: $("#searchWhere").attr("name", "vo.title"); $("#searchWhere").attr("placeholder", "????????"); break; case 1: $("#searchWhere").attr("name", "vo.title"); $("#searchWhere").attr("placeholder", "????????"); break; } }); $("#searchForm").submit(function() { if($.trim($("#searchWhere").val()) == "") { $("#searchWhere").focus(); return false; } return true; }); $("#searchWhere").focusin(function() { $(this).css("background-color", "#fffbd6"); }).focusout(function() { $(this).css("background-color", ""); }); </script> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de