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.

56 lines
2.3 KiB

4 years ago
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix = "c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ include file="user_meau.jsp" %>
<!--/sidebar-->
<div class="main-wrap">
<div class="crumb-wrap">
<div class="crumb-list"><i class="icon-font"></i><a>首页</a><span class="crumb-step">&gt;</span><a class="crumb-name" >用户操作</a><span class="crumb-step">&gt;</span><span>我租的房</span></div>
</div>
<div class="result-wrap">
<form name="myform" id="myform" method="post">
</div>
<div class="result-content">
<table class="result-tab" width="100%">
<tr>
<th>ID</th>
<th>类型</th>
<th>大小</th>
<th>地址</th>
<th>房主</th>
<th>价格</th>
<th>租用人</th>
<th>操作</th>
</tr>
<c:forEach var="u" items="${zf_list}">
<tr>
<td>${u.house_id}</td>
<td>${u.house_type}</td>
<td>${u.house_size}</td>
<td>${u.address}</td>
<td>${u.house_name}</td>
<td>${u.price}</td>
<td>${u.user_name}</td>
<td>
<a class="link-update" href="javascript:Delete('你确定不再租用房子【${u.house_id} }】吗?', 'user_tz?houseid=${u.house_id}&name=${u.user_name}')">退租</a>
</td>
</tr>
</c:forEach>
<script type="text/javascript">
function Delete(mess, url) {
if(confirm(mess)) {
location.href=url;
}
}
</script>
</table>
</div>
</form>
</div>
</div>
<!--/main-->
</div>
</body>
</html>