Edit D:\chineseall_products\chineseall_digitallib\digitallib\digitalLib6\pages\prettify\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"> <meta name="renderer" content="webkit"> <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" /> <link rel="stylesheet" type="text/css" href="/pages/${templatePath}/css/base.css"> <script type="text/javascript" src="/js/judgeInput.js"></script> </head> <body> <jsp:include page="/pages/${templatePath}/top.jsp" /> <jsp:include page="/pages/${templatePath}/navMenu.jsp" /> <!--mainContent--> <div class="bodypage" style="margin-top:20px;"> <!--leftCon--> <div class="ts_r_relate fleft"> <s:if test="newBookList != null && newBookList.size()>0"> <div class="title">??????</div> <s:iterator value="newBookList" status="obj"> <s:if test="#obj.index<3"> <div class="list<s:if test="#obj.index()==2"> border_bottomnone</s:if>"> <a href="/bookDetail.action?objectId=<s:property value="id"/>"> <s:if test="bookCover == null"> <img src='/uploadFiles/subjectHeadImage/nopic.jpg' width="150" height="200"> </s:if> <s:else> <img src='<s:property value="bookCover"/>' onerror="this.src='/uploadFiles/subjectHeadImage/nopic.jpg'" width="150" height="200"> </s:else> </a> <div class="text"> <a href="/bookDetail.action?objectId=<s:property value="id"/>"> <s:property value="name" /> </a><br> <s:property value="publisher" /> <br> <s:property value="author" /> </div> </div> </s:if> </s:iterator> </s:if> <s:if test="mediaList != null && mediaList.size()>0"> <div class="title" style="margin-top:20px;">??????????</div> <s:iterator value="mediaList" status="obj"> <s:if test="#obj.index<3"> <div class="list<s:if test="#obj.index()==2"> border_bottomnone</s:if>"> <a href="/mediaDetail.action?objectId=<s:property value="id"/>"> <s:if test="headImage == null"> <img src='/uploadFiles/subjectHeadImage/ting.jpg' width="150" height="200"> </s:if> <s:else> <img src='<s:property value="headImage"/>' onerror="this.src='/uploadFiles/subjectHeadImage/ting.jpg'" width="150" height="200"> </s:else> </a> <div class="text"> <a href="/mediaDetail.action?objectId=<s:property value="id"/>"> <s:property value="title" /> </a><br> <s:property value="publisher" /> <br> <s:property value="author" /> </div> </div> </s:if> </s:iterator> </s:if> <div class="title" style="margin-top:20px;">??????????</div> <ul class="inf_list"> <s:iterator value="selfResList"> <li><a class="left" href="/selfResDetail.action?objectId=<s:property value="id"/>"><s:property value="title" /> </a> <span><s:date name="createTime" format="MM-dd" /></span></li> </s:iterator> </ul> </div> <!--midCon--><div class="w660 fright"> <form name="pageListForm" id="pageListForm" action="search.action" method="post"> <div class="fl wid777 ml10"> <div class="loginCon registerCon" style="height: 120px; padding: 10px; width: 678px; 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: 30px; height: 30px; 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;margin-top: 10px;margin-left: 48px;"> <a style="cursor: pointer;" onclick="searchResource();" class="blueBtn">???????</a> </dt> </dl> </div> <div style="clear: both;"></div> <div class="column bd" style="padding:10px; margin-top:10px;"> <ul class="szwx_all_list_r wdsf_list"> <s:iterator value="listModel.source" status="obj"> <s:if test="listModel.source[#obj.index] instanceof com.digitallib.model.bo.Book"> <li style="width:330px;"><a href="/bookDetail.action?objectId=<s:property value="id"/>"> <s:if test="bookCover == null"> <img src='/uploadFiles/subjectHeadImage/nopic.jpg' width="150" height="200"> </s:if> <s:else> <img src='<s:property value="bookCover"/>' onerror="this.src='/uploadFiles/subjectHeadImage/nopic.jpg'" width="150" height="200"> </s:else> </a> <div class="textright" style="width:200px;"> <a href="/bookDetail.action?objectId=<s:property value="id"/>" title="<s:property value="name"/>"> <s:if test="name.length()>17"> <s:property value="name.substring(0,17)" /> </s:if> <s:else> <s:property value="name" /> </s:else> </a> <div class="col9"> <s:property value="author" /> </div> <div class="col9"> <s:property value="publisher" /> </div> <div class="button"> <s:if test="entityTypes.indexOf('PDF')>=0"> <a class="yuedu" href="/readPDFBook.action?objectId=<s:property value="id"/>" title="???">???</a> </s:if> <s:elseif test="entityTypes.indexOf('TXT')>=0"> <a class="yuedu" href="/readTxtBook.action?objectId=<s:property value="id"/>" title="???">???</a> </s:elseif> <a class="write" href="/bookDetail.action?objectId=<s:property value="id"/>#comment">?????</a> </div> </div></li> </s:if> <s:if test="listModel.source[#obj.index] instanceof com.digitallib.model.bo.Media"> <li style="width:330px;height:152px;"><a href="/mediaDetail.action?objectId=<s:property value="id"/>"> <s:if test="headImage == null"> <img src='/uploadFiles/subjectHeadImage/ting.jpg' width="150" height="200"> </s:if> <s:else> <img src='<s:property value="headImage"/>' onerror="this.src='/uploadFiles/subjectHeadImage/ting.jpg'" width="150" height="200"> </s:else> </a> <div class="textright" style="width:200px;"> <a href="/mediaDetail.action?objectId=<s:property value="id" />" title="<s:property value="title" />"> <s:if test="title.length()>16"> <s:property value="title.substring(0,16)" /> </s:if> <s:else> <s:property value="title" /> </s:else> </a> <div class="col9"> <s:property value="author" /> </div> <div class="col9"> <s:property value="reciter" /> </div> <div class="intro"> <s:if test="remark.length() > 28"> <s:property value="remark.substring(0, 28)" />... </s:if> <s:else> <s:property value="remark" /> </s:else> </div> <a href="/mediaDetail.action?objectId=<s:property value="id" />"><img class="play_btn" src="/pages/${templatePath}/images/bofang.jpg" width="93" height="37"></a> </div></li> </s:if> <s:if test="listModel.source[#obj.index] instanceof com.digitallib.model.bo.SelfResource"> <li style="height:152px;width:330px;"> <div class="textright xbzl_list"> <a href="/selfResDetail.action?objectId=<s:property value="id"/>" title="<s:property value="title" />"> <s:if test="title.length()>16"> <s:property value="title.substring(0,16)" /> </s:if> <s:else> <s:property value="title" /> </s:else> </a> <div class="col9"> <s:property value="author" /> </div> <div class="col9"> <a><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></a> </div> <div class="intro"> <s:if test="description.length() > 60"> <s:property value="description.substring(0, 50)" />... </s:if> <s:else> <s:property value="description" /> </s:else> </div> <a class="detail" href="/selfResDetail.action?objectId=<s:property value="id"/>" title="?????????">??????</a> </div> </li> </s:if> </s:iterator> </ul> <div class="page_turn"> <input type="hidden" name="csrfToken" id="csrfToken" value="<s:property value="@com.digitallib.util.CsrfUtil@generateAndReturnCsrfToken()"/>"> <input type="hidden" name="currentPage" value="<s:property value="currentPage"/>" /> <span><s:property value="@com.digitallib.util.PageUtil@getNewPageListView(listModel.pagingFilter)" escape="false" /></span> </div> </div> </div> </form> </div> </div> <div class="clear" style="margin-top: 10px"></div> <s:action name="foot" executeResult="true"> <s:param name="sid" value="sid"></s:param> </s:action> <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)) { popAlert("", "??????????????????????????????script window.open onmouseover > < \" % '"); return; } if (k.value == "") { popAlert("", "?????????"); 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") { popAlert("", "??????????????"); return; } if (info.indexOf('??????') >= 0) { popMessage("???", info); } else { popAlert("???", 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