码迷,mamicode.com
首页 > 其他好文 > 详细

www

时间:2017-02-08 14:46:03      阅读:257      评论:0      收藏:0      [点我收藏+]

标签:www   efi   通知   imp   bsp   电子   har   request   uri   

<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>书店?</title>
    <meta charset="utf-8"/>
    <link rel="stylesheet" type="text/css" href="css/common.css" />
    <link rel="stylesheet" type="text/css" href="css/index.css" />
    <style type="text/css">
    body{
      background: url(‘images/main_bg.jpg‘);
    }
    #menu{
        background: url(‘images/menu_bg.png‘);
    }
    #notice,#contact{
        background: #F5F5F0;
    }
    
    </style>
</head>
<body>
<c:if test="${empty books }">
    <c:import url="/firstLoaderServlet"></c:import>
</c:if>
    <div id="container">
    <div id="header">
        <div id="login"><a href="login.jsp">登录</a></div>
        <div class="divide"></div>
        <div id="register"><a href="register.jsp">注册</a></div>
        <div id="banner"><img src="images/banner8.jpg"></div>
        <div id="menu">
            <ul id="nav"> 
                <li><a href="index.jsp">首页</a></li> 
                <li><a href="${pageContext.request.contextPath }/pageQueryServlet?pagenum=1">全部资料</a></li> 
                <li><a href="${pageContext.request.contextPath }/pageQueryServlet?epagenum=1">电子资料</a></li>
                <li><a href="${pageContext.request.contextPath }/pageQueryServlet?apgenum=1">考研资讯</a></li> 
                <li><a href="feedback.jsp">反馈</a></li>
            </ul> 

        </div>
    </div>
    <div id="left">
        <div id="notice">
            <div class="contact_title"> 
                <span class="tit" style="font-size: 12px;">临时通知</span>
            </div>
               <div class="contact_detail">
                <p style="font-size: 16px;">
                    本站提供各种考研资料,欢迎各位选购。如有疑问,请在网站反馈页面给我们留言,或者加入我们的QQ群,里面有专门的人员给您解答
                </p>
               </div>
        </div>
        <div id="contact">
            <div class="contact_title">
                <span class="tit" style="font-size: 12px;">联系我们</span>
            </div>
            <div class="contact_detail">
                <table>
                    <tr>
                    <td style="font-size: 16px;">资料分享群:</td>
                    <td style="font-size: 16px;">251868907</td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    <div id="right">
        <div id="recommand">
            <div class="con_tit">
                <span class="f_right">
                   <!--  <a href="#">更多&gt;&gt;</a> -->
                </span>
                <span class="fb">推荐商品</span>
            </div>
            <c:forEach items="${books }" var="book" varStatus="status">
            <c:if test="${status.count eq 1 || (status.count-1) % 5 eq 0}">    
                      <ul class="all_ul">        
                 </c:if> 
                <li>
                    <div class="con_con_img">
                        <a title="面对现代世界问题的人类学" href="${pageContext.request.contextPath }/queryRecommandById?id=${book.id }&type=r" target="_blank">
                            <img src="${book.coverimg }">
                        </a>
                    </div>
                    <p class="con_con_text">
                        <a title="面对现代世界问题的人类学" href="${pageContext.request.contextPath }/queryRecommandById?id=${book.id }" target="_blank">${book.name }</a>
                    </p>
                    <div class="price">${book.price }</div>
                </li>
                
            <c:if test="${status.count % 5 eq 0 || status.count eq 5}">    
                      </ul>    
                  </c:if>    
            </c:forEach>

                
        </div>
        <div id="lastest">
            <div class="con_tit">
                <span class="f_right">
                    <!-- <a href="#">更多&gt;&gt;</a> -->
                </span>
                <span class="fb">最新上架</span>
            </div>
            <table class="lastest_table">
                <c:forEach items="${ebooks }" var="ebook" varStatus="status">
                <tr>
                <td class="lastest_table_name">${ebook.name }</td>
                <td class="lastest_table_price" align="right"><a href="${ebook.resurl }" target="_blank">${ebook.resurl }</td>
                <td class="lastest_table_time" align="right">
                    <c:if test="${isLogin eq true}"> 
                    ${ebook.keycode }
                    </c:if>
                    <c:if test="${isLogin eq false}"> 
                    <a href="login.jsp">登录查看密码</a>
                    </c:if>
                    </td>
                </tr>
                </c:forEach>
                
            </table>
        </div>
    <div id="footer"></div>
</div>
</body>
</html>

 

www

标签:www   efi   通知   imp   bsp   电子   har   request   uri   

原文地址:http://www.cnblogs.com/919czzl/p/6377804.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!