You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
313 lines
19 KiB
313 lines
19 KiB
2 years ago
|
<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||
|
<%
|
||
|
String path = request.getContextPath();
|
||
|
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||
|
%>
|
||
|
|
||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head>
|
||
|
<base href="<%=basePath%>">
|
||
|
|
||
|
<title>社团网站</title>
|
||
|
|
||
|
<meta http-equiv="pragma" content="no-cache">
|
||
|
<meta http-equiv="cache-control" content="no-cache">
|
||
|
<meta http-equiv="expires" content="0">
|
||
|
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||
|
<meta http-equiv="description" content="This is my page">
|
||
|
|
||
|
|
||
|
<link rel="stylesheet" type="text/css" href="<%=basePath %>home/css/animate.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="<%=basePath %>home/css/bootstrap.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="<%=basePath %>home/css/fonts.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="<%=basePath %>home/css/font-awesome.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="<%=basePath %>home/css/owl.carousel.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="<%=basePath %>home/css/owl.theme.default.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="<%=basePath %>home/css/dl-menu.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="<%=basePath %>home/css/weather.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="<%=basePath %>home/css/flaticon.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="<%=basePath %>home/css/venobox.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="<%=basePath %>home/css/magnific-popup.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="<%=basePath %>home/css/style.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="<%=basePath %>home/css/responsive.css" />
|
||
|
<!-- favicon links -->
|
||
|
<link rel="shortcut icon" type="image/png" href="<%=basePath %>home/<%=basePath %>home/images/header/favicon.ico" />
|
||
|
|
||
|
|
||
|
|
||
|
<%@ page import="com.xxx.model.huodong" %>
|
||
|
<%@ page import="com.xxx.model.XinWen" %>
|
||
|
<%@ page import="com.xxx.model.Page" %>
|
||
|
|
||
|
<%@ page import="com.xxx.dao.huodongDao" %>
|
||
|
<%@ page import="com.xxx.dao.XinWenDao" %>
|
||
|
|
||
|
|
||
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
||
|
|
||
|
<%
|
||
|
|
||
|
|
||
|
|
||
|
Integer currentPage = request.getParameter("page") == null ? 1 : Integer.parseInt(request.getParameter("page"));
|
||
|
Integer pageSize = request.getParameter("rows") == null ? 999 : Integer.parseInt(request.getParameter("rows"));
|
||
|
|
||
|
|
||
|
|
||
|
String id = request.getParameter("id") == null ? "" : request.getParameter("id");
|
||
|
|
||
|
|
||
|
XinWen XinWen = new XinWen();
|
||
|
|
||
|
XinWen.setstrwhere("");
|
||
|
XinWen.setId(id);
|
||
|
|
||
|
XinWenDao XinWenDao = new XinWenDao();
|
||
|
List<XinWen> xinwenlist = XinWenDao.getXinWenList("",XinWen, new Page(currentPage, pageSize));
|
||
|
|
||
|
|
||
|
/*相关推荐*/
|
||
|
|
||
|
|
||
|
XinWen XinWen2 = new XinWen();
|
||
|
|
||
|
XinWen2.setstrwhere("");
|
||
|
|
||
|
|
||
|
List<XinWen> xinwenlist2 = XinWenDao.getXinWenList("",XinWen2, new Page(currentPage, pageSize));
|
||
|
|
||
|
|
||
|
System.out.print("xinwenlist :::"+xinwenlist.size()+" ");
|
||
|
%>
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
|
||
|
|
||
|
<jsp:include page="${basePath}/home/head.jsp" flush="true"/>
|
||
|
|
||
|
|
||
|
<!--resent news Start-->
|
||
|
<div class="ne_recent_news_main_wrapper">
|
||
|
<div class="container">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
||
|
<div class="ne_recent_left_side_wrapper">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
||
|
<div class="ne_busness_main_slider_wrapper ne_busness_main_slider_wrapper_lifestyle">
|
||
|
<div class="ne_recent_heading_main_wrapper">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
||
|
<div class="ne_sport_slider_wrapper ne_sport_slider_wrapper_single">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
||
|
<div class="ne_re_left_top_main_wrapper">
|
||
|
<% if(xinwenlist!=null){
|
||
|
int i =-1;
|
||
|
for(Iterator iterator = xinwenlist.iterator();iterator.hasNext();){
|
||
|
XinWen _hd = (XinWen)iterator.next();
|
||
|
i++;
|
||
|
%>
|
||
|
|
||
|
<div class="ne_re_left_img_main_wrapper yellow">
|
||
|
<img src="pic/<%=_hd.gettupian()%>" alt="img">
|
||
|
<h2>style</h2>
|
||
|
</div>
|
||
|
<div class="ne_re_left_img_cont_main_wrapper ne_re_left_img_cont_main_swg_blog_cont_wrapper">
|
||
|
|
||
|
|
||
|
|
||
|
<h3><a href="#"><%=_hd.gettitle()%></a></h3>
|
||
|
<ul class="ne_re_social1_wrapper">
|
||
|
<li data-animation="animated fadeInLeft"><a href="#"><i class="fa fa-calendar"></i> <%=_hd.getshijian()%></a>
|
||
|
</li>
|
||
|
|
||
|
</ul>
|
||
|
<p><%=_hd.getneirong()%></p>
|
||
|
|
||
|
<%}} %>
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
||
|
<div class="ne_busness_main_slider_wrapper ne_busness_main_slider_wrapper_lifestyle_heading">
|
||
|
<div class="ne_recent_heading_main_wrapper">
|
||
|
<h2>留言</h2>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="ne_comment_list_wrapper">
|
||
|
<ul>
|
||
|
<li><a href="#">3 Comments</a>
|
||
|
</li>
|
||
|
<li><a href="#">New 24 Template</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="ne_comment_list_wrapper2">
|
||
|
<ul>
|
||
|
<li><a href="#"><i class="fa fa-heart"></i> Recommend</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="ne_comment_list_main_secton_wrapper ne_comment_list_main_secton_wrapper1">
|
||
|
<div class="ne_commnet_list_img_section">
|
||
|
<img src="<%=basePath %>home/images/content/bl1.jpg" alt="img">
|
||
|
</div>
|
||
|
<div class="ne_commnet_list_img_cont_section">
|
||
|
<h3>Vijay parmar</h3>
|
||
|
<p>I believe Wolf SilverOak still sees the camera icon because he is allowing customers to post to his page and also has photos....<span><a href="#">See More</a></span>
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li data-animation="animated fadeInLeft"><a href="#"><i class="fa fa-share-alt"></i> Share</a>
|
||
|
</li>
|
||
|
<li data-animation="animated fadeInLeft"><a href="#"><i class="fa fa-thumbs-up"></i> 5124 Like</a>
|
||
|
</li>
|
||
|
<li data-animation="animated fadeInLeft"><a href="#"><i class="fa fa-reply"></i> reply</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="ne_comment_list_main_secton_wrapper ne_comment_list_main_secton_wrapper2">
|
||
|
<div class="ne_commnet_list_img_section">
|
||
|
<img src="<%=basePath %>home/images/content/bl2.jpg" alt="img">
|
||
|
</div>
|
||
|
<div class="ne_commnet_list_img_cont_section">
|
||
|
<h3>Vijay parmar</h3>
|
||
|
<p>I believe Wolf SilverOak still sees the camera icon because he is allowing customers to post to his page and also has photos....<span><a href="#">See More</a></span>
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li data-animation="animated fadeInLeft"><a href="#"><i class="fa fa-share-alt"></i> Share</a>
|
||
|
</li>
|
||
|
<li data-animation="animated fadeInLeft"><a href="#"><i class="fa fa-thumbs-up"></i> 5124 Like</a>
|
||
|
</li>
|
||
|
<li data-animation="animated fadeInLeft"><a href="#"><i class="fa fa-reply"></i> reply</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="ne_comment_list_main_secton_wrapper ne_comment_list_main_secton_wrapper2">
|
||
|
<div class="ne_commnet_list_img_section">
|
||
|
<img src="<%=basePath %>home/images/content/bl3.jpg" alt="img">
|
||
|
</div>
|
||
|
<div class="ne_commnet_list_img_cont_section">
|
||
|
<h3>Vijay parmar</h3>
|
||
|
<p>I believe Wolf SilverOak still sees the camera icon because he is allowing customers to post to his page and also has photos....<span><a href="#">See More</a></span>
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li data-animation="animated fadeInLeft"><a href="#"><i class="fa fa-share-alt"></i> Share</a>
|
||
|
</li>
|
||
|
<li data-animation="animated fadeInLeft"><a href="#"><i class="fa fa-thumbs-up"></i> 5124 Like</a>
|
||
|
</li>
|
||
|
<li data-animation="animated fadeInLeft"><a href="#"><i class="fa fa-reply"></i> reply</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
||
|
<div class="row">
|
||
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
||
|
<div class="ne_busness_main_slider_wrapper">
|
||
|
<div class="ne_recent_heading_main_wrapper">
|
||
|
<h2>相关资讯</h2>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
|
||
|
<div class="neww_businees_slider_wrapper">
|
||
|
<div class="owl-carousel owl-theme">
|
||
|
|
||
|
|
||
|
<% if(xinwenlist2!=null){
|
||
|
int i =-1;
|
||
|
for(Iterator iterator = xinwenlist2.iterator();iterator.hasNext();){
|
||
|
XinWen _hd = (XinWen)iterator.next();
|
||
|
i++;
|
||
|
%>
|
||
|
<div class="item">
|
||
|
<div class="ne_re_left_top_main_wrapper">
|
||
|
<div class="ne_re_left_img_main_wrapper">
|
||
|
<img style="width:270px;height:270px;" src="pic/<%=_hd.gettupian()%>" alt="img">
|
||
|
<h2><%=_hd.gettitle()%></h2>
|
||
|
</div>
|
||
|
<div class="ne_re_left_img_cont_main_wrapper ne_buss_img_cont_main_wrapper">
|
||
|
<h3><a href="home/details.jsp?id=<%=_hd.getId()%>"><%=_hd.gettitle()%></a></h3>
|
||
|
<ul class="ne_re_social1_wrapper">
|
||
|
<li data-animation="animated fadeInLeft"><a href="#"><i class="fa fa-calendar"></i> <%=_hd.getshijian()%></a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<%}} %>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!--resent news End-->
|
||
|
|
||
|
|
||
|
<jsp:include page="${basePath}/home/foot.jsp" flush="true"/>
|
||
|
|
||
|
<script src="<%=basePath %>home/js/jquery_min.js"></script>
|
||
|
<script src="<%=basePath %>home/js/modernizr.js"></script>
|
||
|
<script src="<%=basePath %>home/js/bootstrap.js"></script>
|
||
|
<script src="<%=basePath %>home/js/owl.carousel.js"></script>
|
||
|
<script src="<%=basePath %>home/js/jquery.dlmenu.js"></script>
|
||
|
<script src="<%=basePath %>home/js/jquery.sticky.js"></script>
|
||
|
<script src="<%=basePath %>home/js/bit_timer.js"></script>
|
||
|
<script src="<%=basePath %>home/js/weather.js"></script>
|
||
|
<script src="<%=basePath %>home/js/venobox.min.js"></script>
|
||
|
<script src="<%=basePath %>home/js/jquery.magnific-popup.js"></script>
|
||
|
<script src="<%=basePath %>home/js/custom.js"></script>
|
||
|
<!--main js file end-->
|
||
|
|
||
|
</body>
|
||
|
</html>
|