parent
3db6ebfd91
commit
1662c0e4f4
@ -1,37 +0,0 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
||||
pageEncoding="UTF-8"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
<%@include file="vtop.jsp"%>
|
||||
|
||||
<!---->
|
||||
<div class="about">
|
||||
<div class="container">
|
||||
<h2>旅游记录</h2>
|
||||
|
||||
<div class="about-grids">
|
||||
|
||||
<div class="col-md-6 about-list">
|
||||
<div class="about-top-sec">
|
||||
<h3>${pricture.sname }</h3>
|
||||
<h4>回忆描述:</h4>
|
||||
<h4>${pricture.describe }</h4>
|
||||
<c:if test="${sessionScope.userSession!=null and sessionScope.userSession.id==pricture.userid}">
|
||||
<button type="button" class="btn btn-danger" onclick="del(${pricture.id })">删除</button>
|
||||
</c:if>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 about-pic">
|
||||
<img src="images/${pricture.img }" class="img-responsive" alt=""/>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
function del(id){
|
||||
if(confirm("是否删除?")){
|
||||
location.href="pricture/del/"+id;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<%@include file="footer.jsp"%>
|
Loading…
Reference in new issue