Edit D:\chineseall_products\chineseall_digitallib\digitallib\digitalLib6\pages\default\advSearch.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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <title>?????? - <s:action name="viewSchoolName" executeResult="true"> <s:param name="sid" value="sid"></s:param> </s:action></title> <link href="/pages/${templatePath}/css/style.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="/js/judgeInput.js"></script> </head> <body> <jsp:include page="/pages/${templatePath}/top.jsp"/> <!--mainContent--> <div class="wrap mt10"> <jsp:include page="/pages/${templatePath}/navMenu.jsp"/> <div class="mt10 cf"> <!--leftCon--> <div class="fl wid213"> <div class="column bd"> <div class="columnTitle">??????</div> <ul class="picTextList"> <s:iterator value="newBookList" status="obj"> <li class="<s:if test="#obj.count==articleList.size">last </s:if> cf"> <div class="image"><a href="/bookDetail.action?objectId=<s:property value="id"/>"><img width="50" height="65" src="<s:property value="bookCover"/>" /></a></div> <div class="text"> <h4><a href="/bookDetail.action?objectId=<s:property value="id"/>"><s:property value="name"/></a></h4> <p><s:property value="author"/></p> </div> </li> </s:iterator> </ul> </div> <div class="column bd mt10"> <div class="columnTitle">????????</div> <ul class="picTextList"> <s:iterator value="mediaList" status="obj"> <li class="<s:if test="#obj.count==mediaList.size">last </s:if> cf"> <div class="image"><a href="/mediaDetail.action?objectId=<s:property value="id"/>"><img src="<s:property value="headImage"/>" width="50" height="65" /></a></div> <div class="text"> <h4><a href="/mediaDetail.action?objectId=<s:property value="id"/>"><s:property value="title"/></a></h4> <p><s:property value="author"/></p> </div> </li> </s:iterator> </ul> </div> <div class="column bd mt10"> <div class="columnTitle">??????????</div> <ul class="news-list cf"> <s:iterator value="selfResList"> <li><span class="date"><s:date name="createTime" format="MM-dd"/></span><a href="/selfResDetail.action?objectId=<s:property value="id"/>" target="_blank"><s:property value="title"/></a></li> </s:iterator> </ul> </div> </div> <!--midCon--> <form name="pageListForm" id="pageListForm" action="search.action" method="post"> <div class="fl wid777 ml10"> <div class="loginCon registerCon" style="height:120px;padding:5px;width:765px;margin:0px;"> <dl style="height:20px; line-height:20px;padding:0px;maring:0px;"> <dt style="width:70px;margin-bottom:5px;text-align:left;padding:0px;padding-right:5px;">?????? </dt> <dd style="width:auto;padding:0px;"> <input type="radio" name="vo.type" id="allType0" value="0" <s:if test="vo==null || vo.type==null || vo.type==0"> checked</s:if> onclick="changeItem(0);"/> ??? <input type="radio" name="vo.type" id="allType1" value="1" <s:if test="vo!=null && vo.type!=null && vo.type==1"> checked</s:if> onclick="changeItem(1);"/> ??? <input type="radio" name="vo.type" id="allType2" value="2" <s:if test="vo!=null && vo.type!=null && vo.type==2"> checked</s:if> onclick="changeItem(2);"/> ????? <input type="radio" name="vo.type" id="allType3" value="3" <s:if test="vo!=null && vo.type!=null && vo.type==3"> checked</s:if> onclick="changeItem(3);"/> ?????? </dd> </dl> <dl style="padding:0px;maring:0px;height:37px;line-height:20px;display:block;" id="item_0"> <dt style="width:750px;text-align:left;">?????? </dt> <dd style="width:740px;line-height:20px;height:20px;padding-left:20px;"> <span style="float:left;line-height:20px;height:20px;">??????<input type="text" name="keyword" id="keyword" value="<s:property value="keyword"/>" class="textIn" style="line-height:20px;height:20px;width:200px;" placeholder="?????????" /></span> </dd> </dl> <dl style="padding:0px;maring:0px;height:37px;line-height:20px;display:none;" id="item_1"> <dt style="width:750px;text-align:left;">?????? </dt> <dd style="width:740px;line-height:20px;height:20px;padding-left:20px;"> <span style="float:left;line-height:20px;height:20px;">?????<input type="text" name="vo.bookName" value="<s:property value="vo.bookName"/>" class="textIn" style="line-height:20px;height:20px;width:120px;" placeholder="????????" /></span> <span style="float:left;"> ?????<input type="text" name="vo.bookAuthor" value="<s:property value="vo.bookAuthor"/>" class="textIn" style="line-height:20px;height:20px;width:120px;" placeholder="????????" /></span> <span style="float:left;"> ??????<input type="text" name="vo.bookPublisher" value="<s:property value="vo.bookPublisher"/>" class="textIn" style="line-height:20px;height:20px;width:120px;" placeholder="?????????" /></span> <span style="float:left;"> ??????<input type="text" name="vo.keyword" value="<s:property value="vo.keyword"/>" class="textIn" style="line-height:20px;height:20px;width:120px;" placeholder="?????????" /></span> </dd> </dl> <dl style="padding:0px;maring:0px;height:37px;line-height:20px;display:none;" id="item_2"> <dt style="width:750px;text-align:left;">?????? </dt> <dd style="width:740px;line-height:20px;height:20px;padding-left:20px;"> <span style="float:left;line-height:20px;height:20px;">?????<input type="text" name="vo.title" value="<s:property value="vo.title"/>" class="textIn" style="line-height:20px;height:20px;width:120px;" placeholder="????????" /></span> <span style="float:left;"> ?????<input type="text" name="vo.author" value="<s:property value="vo.author"/>" class="textIn" style="line-height:20px;height:20px;width:120px;" placeholder="????????" /></span> </dd> </dl> <dl style="margin-bottom:0px;padding:0px;height:30px; line-height:30px;"> <dt style="text-align:left;padding-left:20px;width:120px;"><a style="cursor:pointer;" onclick="searchResource();" class="blueBtn">???????</a></dt> </dl> </div> <div style="clear:both;"></div> <div class="column bd mt10"> <ul class="picTextList bookList cf bookList1"> <s:iterator value="listModel.source" status="obj"> <s:if test="listModel.source[#obj.index] instanceof com.digitallib.model.bo.Book"> <li class="cf"> <div class="image" title="<s:property value="intro" />"><a href="/bookDetail.action?objectId=<s:property value="id"/>"><img src="<s:property value="bookCover"/>" width="100" height="125" /></a></div> <div class="text"> <h4><a href="/bookDetail.action?objectId=<s:property value="id"/>"><s:property value="name"/></a></h4> <p class="info"><s:property value="author"/></p> <p class="info"><s:property value="publisher"/></p> <p><s:property value="intro"/></p> <span><a href="/bookDetail.action?objectId=<s:property value="id"/>" class="read" title="???"></a><a style="cursor:pointer;" onclick="collectionBook(<s:property value="id"/>);" class="shoucang" title="???"></a></span> </div> </li> </s:if> <s:if test="listModel.source[#obj.index] instanceof com.digitallib.model.bo.Media"> <li class="cf"> <div class="image"><a href="/mediaDetail.action?objectId=<s:property value="id"/>"><img src="<s:property value="headImage"/>" width="100" height="125" /></a></div> <div class="text"> <h4><a href="/mediaDetail.action?objectId=<s:property value="id"/>"><s:property value="title"/></a></h4> <p class="info"><s:property value="author"/></p> <p class="info"><s:property value="reciter"/></p> <p class="mt10"><s:property value="remark.replaceAll('\n','<br/>').replaceAll('\r','')"/></p> <span><a href="/mediaDetail.action?objectId=<s:property value="id"/>" class="playBtn" title="???" style="text-align:left;margin-left:5px;"></a></span> </div> </li> </s:if> <s:if test="listModel.source[#obj.index] instanceof com.digitallib.model.bo.SelfResource"> <li class="cf"> <div class="text" style="width:360px;"> <h4><a href="/selfResDetail.action?objectId=<s:property value="id"/>"><s:property value="title"/></a></h4> <p class="info"><s:property value="author"/></p> <p class="info"><s:if test="type==1">???</s:if><s:elseif test="type==2">???</s:elseif><s:elseif test="type==3">???</s:elseif><s:else>???</s:else></p> <p class="mt10" title="<s:property value="description"/>"><s:property value="description.replaceAll('\n','<br/>').replaceAll('\r','')"/></p> <span> <s:if test="type==1 || type==2"><a href="/selfResDetail.action?objectId=<s:property value="id"/>" class="playBtn" style="margin-left: 10px;" title="???"></a></s:if> <s:else><a href="/selfResDetail.action?objectId=<s:property value="id"/>" class="read" title="???"></a></s:else> </span> </div> </li> </s:if> </s:iterator> </ul> <div class="m-page j-pager"> <span> <s:property value="@com.chineseall.util.page.PageUtil@getPageListView(listModel.pagingFilter)" escape="false"/> <input type="hidden" name="csrfToken" id="csrfToken" value="<s:property value="@com.digitallib.util.CsrfUtil@generateAndReturnCsrfToken()"/>"> </span> </div> </div> </div> </form> </div> <s:action name="foot" executeResult="true"> <s:param name="sid" value="sid"></s:param> </s:action> </div> <script> <!-- function changeItem(type) { if(type==0) { document.getElementById("item_0").style.display = "block"; document.getElementById("item_1").style.display = "none"; document.getElementById("item_2").style.display = "none"; } else if(type==1) { document.getElementById("item_0").style.display = "none"; document.getElementById("item_1").style.display = "block"; document.getElementById("item_2").style.display = "none"; } else { document.getElementById("item_0").style.display = "none"; document.getElementById("item_1").style.display = "none"; document.getElementById("item_2").style.display = "block"; } } function searchResource() { if(document.getElementById("allType0").checked) { var k = document.getElementById("keyword"); if(isValidInputkey(k.value)) { alert("??????????????????????????????script window.open onmouseover > < \" % '"); return; } if(k.value=="") { alert("?????????"); return; } } if(document.pageListForm.currentPage) document.pageListForm.currentPage.value = 1; document.getElementById("pageListForm").submit(); } function collectionBook(bookId) { webDwr.collectionBook(bookId,function(info){ if(info != "") { if(info=="noLogged") { alert("??????????????"); return; } alert(info); } }); } changeItem("<s:property value="vo.type"/>"); //--> </script> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de