Edit D:\chineseall_products\bak\digitalLib6\pages\default\textBook\textBookShow.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" /> <link href="/style/picture_switch.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="/js/picture_switch.js"></script> <script type="text/javascript" src="/js/judgeInput.js"></script> <style type="text/css"> .columnDiv{ width: 775px; height: 32px; font-size:16px; padding-top:8px; } .changeColor{ background-color:#CCCCCC ; } </style> </head> <body onload="changeColor()"> <s:set name="menuIndex" value="8"/> <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> <div class="fl wid213"> <div class="column bd" style="margin-bottom: 10px;"> <div class="columnTitle" style="height:35px;">??????</div> <div class="search"> <form name="searchForm" id="searchForm" action="textBookShow.action" method="post"> <input type="hidden" name="textbook.contentType" value="<s:property value='textbook.contentType'/>" id="contentType" /> <input type="hidden" name="textbook.courseCode" value="<s:property value='textbook.courseCode'/>" id="courseCode" /> <input type="hidden" name="textbook.studySection" value="<s:property value='textbook.studySection'/>" id="studySection"/> <input type="hidden" name="textbook.grade" value="<s:property value='textbook.grade'/>" id="grade" /> <input type="hidden" name="textbook.term" value="<s:property value='textbook.term'/>" id="term" /> <input type="text" name="textbook.title" value="<s:property value='textbook.title'/>" id="title" placeholder="???" class="searchIn" /> <a style="cursor:pointer;" class="searchBtn" onclick="searchResource();" title="???"></a> </form> </div> </div> <div class="column bd mt10"> <div class="columnTitle"> <a style="cursor:pointer;" onclick="searchTextBook('contentType','');" >??????</a> </div> <s:if test="list != null && list.size()>0 && textbook==null"> <ul id="ul1" class="news-list cf allBookList" style="text-align: center; font-size: 16px; "> <s:iterator value="list" status="obj"> <li <s:if test="textbook.courseCode==#request.code">style="background-color:#CCCCCC "</s:if>><a style="cursor:pointer;" onclick="searchTextBook('courseCode','${code }');">${name }</a></li> </s:iterator> </ul> </s:if> <s:if test="list != null && list.size()>0 && textbook.contentType==null"> <ul id="ul1" class="news-list cf allBookList" style="text-align: center; font-size: 16px; "> <s:iterator value="list" status="obj"> <li <s:if test="textbook.courseCode==#request.code">style="background-color:#CCCCCC "</s:if>><a style="cursor:pointer;" onclick="searchTextBook('courseCode','${code }');">${name }</a></li> </s:iterator> </ul> </s:if> <div class="columnTitle"> <a style="cursor:pointer;" onclick="searchTextBook('contentType','1');">?????</a> </div> <s:if test="list != null && list.size()>0 && textbook.contentType==1 "> <ul id="ul1" class="news-list cf allBookList" style="text-align: center; font-size: 16px; "> <s:iterator value="list" status="obj"> <li <s:if test="textbook.courseCode==#request.code">style="background-color:#CCCCCC "</s:if> ><a style="cursor:pointer;" onclick="searchTextBook('courseCode','${code }');">${name }</a></li> </s:iterator> </ul> </s:if> <div class="columnTitle"> <a style="cursor:pointer;" onclick="searchTextBook('contentType','2');" >?????</a> </div> <s:if test="list != null && list.size()>0 && textbook.contentType==2"> <ul id="ul2" class="news-list cf allBookList" style="text-align: center; font-size: 16px;"> <s:iterator value="list" status="obj"> <li <s:if test="textbook.courseCode==#request.code">style="background-color:#CCCCCC "</s:if>><a style="cursor:pointer;" onclick="searchTextBook('courseCode','${code }');">${name }</a></li> </s:iterator> </ul> </s:if> <div class="columnTitle" id="type_3"> <a style="cursor:pointer;" onclick="searchTextBook('contentType','3');" >?????????</a> </div> <s:if test="list != null && list.size()>0 && textbook.contentType==3"> <ul id="ul3" class="news-list cf allBookList" style="text-align: center; font-size: 16px;"> <s:iterator value="list" status="obj"> <li <s:if test="textbook.courseCode==#request.code">style="background-color:#CCCCCC "</s:if>><a style="cursor:pointer;" onclick="searchTextBook('courseCode','${code }');">${name }</a></li> </s:iterator> </ul> </s:if> <div class="columnTitle" id="type_3">??????</div> </div> </div> <div class="fl wid777 ml10"> <div class="column bd mt10"> <div class="columnDiv" style="background-color: #D2E9FF;"> <span style="margin-left: 10px;margin-right: 30px">?????</span> <span style="margin-right: 30px;"<s:if test="textbook.studySection==10020002">class="changeColor"</s:if>><a style="cursor:pointer;" onclick="searchTextBook('studySection','10020002');">???</a></span> <span style="margin-right: 30px"<s:if test="textbook.studySection==10020003">class="changeColor"</s:if>><a style="cursor:pointer;" onclick="searchTextBook('studySection','10020003');">???</a></span> <span style="margin-right: 30px"<s:if test="textbook.studySection==10020004">class="changeColor"</s:if>><a style="cursor:pointer;" onclick="searchTextBook('studySection','10020004');">???</a></span> <span style="margin-right: 30px"><a style="cursor:pointer;" onclick="searchTextBook('studySection','');">???</a></span> </div> <s:if test="textbook.studySection==10020002"> <div class="columnDiv" style="background-color: #FFFFDF;"> <span style="margin-left: 10px;margin-right: 30px">?????</span> <span style="margin-right: 30px" <s:if test="textbook.grade==1">class="changeColor"</s:if>><a style="cursor:pointer;" onclick="searchTextBook('grade','1');">?????</a></span> <span style="margin-right: 30px" <s:if test="textbook.grade==2">class="changeColor"</s:if>><a style="cursor:pointer;" onclick="searchTextBook('grade','2');">?????</a></span> <span style="margin-right: 30px" <s:if test="textbook.grade==3">class="changeColor"</s:if>><a style="cursor:pointer;" onclick="searchTextBook('grade','3');">?????</a></span> <span style="margin-right: 30px" <s:if test="textbook.grade==4">class="changeColor"</s:if>><a style="cursor:pointer;" onclick="searchTextBook('grade','4');">?????</a></span> <span style="margin-right: 30px" <s:if test="textbook.grade==5">class="changeColor"</s:if>><a style="cursor:pointer;" onclick="searchTextBook('grade','5');">?????</a></span> <span style="margin-right: 30px" <s:if test="textbook.grade==6">class="changeColor"</s:if>><a style="cursor:pointer;" onclick="searchTextBook('grade','6');">?????</a></span> <span><a style="cursor:pointer;" onclick="searchTextBook('grade','');">???</a></span> </div> </s:if> <s:if test="textbook.studySection==10020003"> <div class="columnDiv" style="background-color: #FFFFDF;"> <span style="margin-left: 10px;margin-right: 30px">?????</span> <span style="margin-right: 30px" <s:if test="textbook.grade==7">class="changeColor"</s:if>><a style="cursor:pointer;" onclick="searchTextBook('grade','7');">???</a></span> <span style="margin-right: 30px" <s:if test="textbook.grade==8">class="changeColor"</s:if>><a style="cursor:pointer;" onclick="searchTextBook('grade','8');">???</a></span> <span style="margin-right: 30px" <s:if test="textbook.grade==9">class="changeColor"</s:if>><a style="cursor:pointer;" onclick="searchTextBook('grade','9');">???</a></span> <span><a style="cursor:pointer;" onclick="searchTextBook('grade','');">???</a></span> </div> </s:if> <s:if test="textbook.studySection==10020004"> <div class="columnDiv" style="background-color: #FFFFDF;"> <span style="margin-left: 10px;margin-right: 30px">?????</span> <span style="margin-right: 30px" <s:if test="textbook.grade==10">class="changeColor"</s:if>><a style="cursor:pointer;" onclick="searchTextBook('grade','10');">???</a></span> <span style="margin-right: 30px" <s:if test="textbook.grade==11">class="changeColor"</s:if>><a style="cursor:pointer;" onclick="searchTextBook('grade','11');">???</a></span> <span style="margin-right: 30px" <s:if test="textbook.grade==12">class="changeColor"</s:if>><a style="cursor:pointer;" onclick="searchTextBook('grade','12');">???</a></span> <span><a style="cursor:pointer;" onclick="searchTextBook('grade','');">???</a></span> </div> </s:if> <div class="columnDiv" style="background-color: #C1FFE4;"> <span style="margin-left: 10px;margin-right: 30px">?????</span> <span style="margin-right: 30px" <s:if test="textbook.term==1">class="changeColor"</s:if>><a href="#" style="cursor:pointer;" onclick="searchTextBook('term','1');">??????</a></span> <span style="margin-right: 30px" <s:if test="textbook.term==2">class="changeColor"</s:if>><a style="cursor:pointer;" onclick="searchTextBook('term','2');">??????</a></span> <span><a style="cursor:pointer;" onclick="searchTextBook('term','');">???</a></span> </div> <div class="columnDiv" style="background-color: #FFE4CA;"><span style="margin-left: 10px;margin-right: 30px">??????</span></div> <ul class="picTextList bookList cf bookList1"> <s:iterator value="listModel.source" > <li class="cf" style="background: none"> <div class="image"><a href="/textBookDetail.action?textBookId=${id }"><img src="${coverPath }" width="100" height="130"/></a></div> <div class="text" style="margin-top: 58px"> <h3>?????<a href="/textBookDetail.action?textBookId=${id }" title ="${title }"><s:if test="title.length()>18">${title.substring(0, 18) }</s:if><s:else>${title }</s:else> </a></h3> <h3>????? <s:if test="grade==1">?????</s:if> <s:elseif test="grade==2">?????</s:elseif> <s:elseif test="grade==3">?????</s:elseif> <s:elseif test="grade==4">?????</s:elseif> <s:elseif test="grade==5">?????</s:elseif> <s:elseif test="grade==6">?????</s:elseif> <s:elseif test="grade==7">???</s:elseif> <s:elseif test="grade==8">???</s:elseif> <s:elseif test="grade==9">???</s:elseif> <s:elseif test="grade==10">???</s:elseif> <s:elseif test="grade==11">???</s:elseif> <s:elseif test="grade==12">???</s:elseif> </h3> <h3>????? <s:if test="term==1">??????</s:if> <s:else>??????</s:else></h3> <h3>??????${publisher }</h3> </div> </li> </s:iterator> </ul> <div class="m-page j-pager" style="margin-left: 475px"> <form name="pageListForm" id="pageListForm" action="textBookShow.action" method="post"> <input type="hidden" name="textbook.contentType" value="<s:property value="textbook.contentType"/>" id="contentType" /> <input type="hidden" name="textbook.courseCode" value="<s:property value="textbook.courseCod"/>" id="courseCode" /> <input type="hidden" name="textbook.studySection" value="<s:property value="textbook.studySection"/>" id="studySection"/> <input type="hidden" name="textbook.grade" value="<s:property value="textbook.grade"/>" id="grade" /> <input type="hidden" name="textbook.term" value="<s:property value="textbook.term"/>" id="term" /> <input type="hidden" name="textbook.title" value="<s:property value="textbook.title"/>" id="title"/> <span><s:property value="@com.chineseall.util.page.PageUtil@getPageListView(listModel.pagingFilter)" escape="false"/></span> </form> </div> </div> </div> </div> </div> <s:if test="linkList!=null && linkList.size()>0"> <div class="friend mt10"> <div class="friendTitle">??????:</div> <div class="friendCon"> <s:iterator value="linkList"> <a href="${link }" target="_blank">${title }</a> </s:iterator> </div> </div> </s:if> <!--footer--> <s:action name="foot" executeResult="true"> <s:param name="sid" value="sid"></s:param> </s:action> </div> <script type="text/javascript"> function searchTextBook(objectId,value) { if(objectId == "contentType") { document.getElementById(objectId).value=value; document.getElementById("courseCode").value=""; document.getElementById("title").value=""; }else if(objectId == "studySection") { document.getElementById(objectId).value=value; document.getElementById("grade").value=""; document.getElementById("title").value=""; }else { document.getElementById(objectId).value=value; document.getElementById("title").value=""; } document.getElementById("searchForm").submit(); } function searchResource() { var title = document.getElementById("title"); if(title.value=="") { alert("?????????"); return; } if(isValidInputkey(title.value)) { alert("??????????????????????????????script window.open onmouseover > < \" % '"); return; } document.getElementById("courseCode").value=""; document.getElementById("studySection").value=""; document.getElementById("contentType").value=""; document.getElementById("grade").value=""; document.getElementById("term").value=""; document.getElementById("searchForm").submit(); } </script> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de