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.
 
 
 
 
 
 
gzf/WebRoot/ui/cates.jsp

148 lines
6.3 KiB

<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" %>
<%@ page language="java" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<jsp:include page="header.jsp"></jsp:include>
<!-- Breadcrumb -->
<div class="breadcrumb-area section" style="background: linear-gradient(45deg, rgb(240, 100, 150), rgb(140, 200, 208));">
<div class="container">
<div class="breadcrumb pt-75 pb-75 pt-sm-70 pb-sm-40 pt-xs-70 pb-xs-40">
<div class="row">
<div class="col">
<h2>信息中心</h2>
<!-- breadcrumb-list start -->
<ul class="breadcrumb-list">
<li class="breadcrumb-item"><a href="<%=basePath %>">首页</a></li>
<li class="breadcrumb-item active">INFO LIST</li>
</ul>
<!-- breadcrumb-list end -->
</div>
</div>
</div>
</div>
</div>
<!--// Breadcrumb -->
<!-- Page Conttent -->
<main class="page-content section">
<!-- Blog Grids Area -->
<div class="blog-grids-area pt-80 pt-md-60 pt-sm-40 pt-xs-30 pb-110 pb-md-90 pb-sm-70 pb-xs-60">
<div class="container">
<div class="row">
<div class="col-lg-8 order-lg-2 order-1">
<div class="row">
<div class="col-12">
<!-- blog-wrapper start -->
<div class="blog-wrapper">
<div class="row">
<c:forEach items="${news}" var="item" varStatus="x">
<div class="col-lg-6 col-md-6 mt-30">
<!-- Single latest blog Start -->
<div class="single-latest-blog">
<div class="latest-blog-image">
<a href="<%=basePath %>app/view.do?id=${item.id}">
<img src="<%=basePath %>${item.thumb}" alt="">
</a>
</div>
<div class="latest-blog-contents">
<h4><a href="<%=basePath %>app/view.do?id=${item.id}">
${item.title }</a></h4>
<p><span>${item.created }</span> / <span>POSTED</span></p>
<p>
${item.description}
</p>
<a class="read-more" href="<%=basePath %>app/view.do?id=${item.id}">Read More</a>
</div>
</div><!-- Single latest blog End -->
</div>
</c:forEach>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-4 order-lg-1 order-2">
<div class="row widgets left-sidebar">
<div class="col-lg-12">
<div class="single-widget widget-categories mb-25">
<h4 class="widget-title">
<span>栏目</span>
</h4>
<ul>
<c:forEach items="${cates}" var="item">
<li><a href="<%=basePath%>app/cates.do?id=${item.id}" class="categories-name">${item.title } <span></span></a></li>
</c:forEach>
</ul>
</div>
</div>
<div class="col-lg-12">
<div class="single-widget widget-related mb-25">
<h4 class="widget-title">
<span>推荐 SUGGEST</span>
</h4>
<ul>
<c:forEach items="${news1}" var="item" varStatus="x">
<li class="single-related">
<div class="single-related-image">
<a href="<%=basePath %>app/view.do?id=${item.id}">
<img src="<%=basePath %>${item.thumb}" alt="">
</a>
</div>
<div class="single-related-contents">
<h4><a href="<%=basePath %>app/view.do?id=${item.id}">
${item.title }</a></h4>
<div class="post_meta">
<ul>
<li>
<p><span>${item.created }</span> / <span>POSTED</span></p></li>
</ul>
</div>
<p>${item.description } </p>
</div>
</li>
</c:forEach>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--// Blog Grids Area -->
</main>
<!--// Page Conttent -->
<jsp:include page="footer.jsp"></jsp:include>