<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--{include file="inc/head.tpl"}-->
<script src="<!--{$cfg.url}-->js/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="<!--{$cfg.url}-->js/select.js" type="text/javascript"></script>
<script src="<!--{$cfg.url}-->js/js.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript" src="/common/js/FormValid.js"></script>
<link href="<!--{$cfg.url}-->css/add.css" rel="stylesheet" type="text/css" />
<link href="<!--{$cfg.url}-->css/menuSearch.css" rel="stylesheet" type="text/css" />
<style>
.requireTitle{
background: url("/themes/2010a/images/dotBg.gif") repeat-x scroll left bottom transparent;
    color: #333333;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
    padding: 6px 10px;
    width: 100%;
} 
.requireDetail {
    background: none repeat scroll 0 0 #FFFFDD;
    border: 1px solid #FFCC66;
    margin-top: 10px;
    width: 100%
}
.replyForm {
    border: 1px solid #C3C3C3;
    margin-top: 10px;
    width: 100%;
}
.must {
    color: #1A75D3;
    font-family: verdana,"宋体",sans-serif;
    padding-right: 5px;
}
#requireMain input.inp {
    
    padding: 2px;
}
.replyForm input.inp {
   
    height: 16px;
    padding: 2px;
    width: 200px;
}
#requireMain textarea {

    font-size: 12px;
    height: 100px;
    padding: 2px;
    width: 400px;
}

.replyForm textarea {
 
    height: 100px;
    width: 400px;
}
#requireMain input.btn {
    background: url("/themes/2010a/images/memberLeftNavItemBgk.gif") repeat-x scroll 0 0 transparent;
    border: 1px solid #B4C91A;
    color: #666600;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    margin-right: 10px;
    padding: 3px 10px;
}
</style>
</head>
 
<body>
 
<!--{include file="inc/top.tpl"}-->
 
<div id="content">
<div id="requireMain">
		<div class="requireTitle">
			<span class="title"><span class="colorF90">[求租]</span><!--{$dataInfo.requirement_short}--></span>
			<span class="replyNum">回复：<span class="familyAlpha colorF90"><!--{$reply_num}--></span>条</span>
		</div>
		<div class="requireDetail">
			<table cellpadding="0" cellspacing="10" border="0" style="width:100%">
				<tr>
					<td width="10%">求租要求：</td>
					<td width="90%"><!--{$dataInfo.requirement|nl2br}--></td>
				</tr>
				<tr>
					<td>信息编号：</td>
					<td><!--{$dataInfo.house_no}--></td>
				</tr>
				<tr>
					<td>联 系 人：</td>
					<td><!--{$dataInfo.linkman}--></td>
				</tr>
				<tr>
					<td>联系电话：</td>
					<td><!--{if $dataInfo.open_tell}--><!--{$dataInfo.link_tell}--><!--{else}--><span class="colorF60">该电话未公开，如有房源请在下方留言!</span><!--{/if}--></td>
				</tr>
				<tr>
					<td>发布时间：</td>
					<td><!--{$dataInfo.add_time|date_format:"%Y-%m-%d"}--></td>
				</tr>
			</table>
		</div>
		<!--{foreach from=$replyList key=key item=item}-->
		<!-- 循环体 -->
		<div class="detailReply">
			<table cellpadding="0" cellspacing="10" border="0" style="width:100%">
				<tr>
					<td colspan="2"><span class="colorF90 weightBold">房源供应回复</span><span>&nbsp;<!--{$item.add_time|date_format:"%Y-%m-%d %T"}--></span></td>
				</tr>
				<tr>
					<td width="16%">房源简述：</td>
					<td width="84%"><!--{$item.content|nl2br}--></td>
				</tr>
				<tr>
					<td>联 系 人：</td>
					<td><!--{$item.linkman}--></td>
				</tr>
			</table>
		</div>
		<!-- 循环体 结束 -->
		<!--{/foreach}-->
		<div class="replyForm">
			<form name="replyForm" action="?id=<!--{$dataInfo.id}-->&action=reply" method="POST"  onsubmit="return validator(this)">
				<table cellpadding="0" cellspacing="10" border="0" style="width:100%;">
					<thead>
						<tr>
							<td colspan="2" class="color333 size14px weightBold">提供房源支持</td>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td width="13%"><span class="must">*</span>联 系 人：</td>
							<td width="87%"><input type="text" name="linkman" class="inp" value="<!--{$username}-->" valid="required" errmsg="请填写联系人!"  /></td>
						</tr>
						<tr>
							<td><span class="must">*</span>房源简述及联系方式：</td>
							<td><textarea name="content"  valid="required" errmsg="请填写内容!"></textarea></td>
						</tr>
						<tr>
							<td><span class="must">*</span>验证码：</td>
							<td><input type="text" name="vaild" class="inp" style="width:70px;" size="8" valid="required" errmsg="验证码不能为空!" />&nbsp;<img src="<!--{$cfg.url}-->valid.php" /></td>
						</tr>
						<tr>
							<td>&nbsp;</td>
							<td><input type="submit" class="btn" value="提交" /></td>
						</tr>
					</tbody>
				</table>
			</form>
		</div>
	</div>
</div>
<!--{include file="inc/foot.tpl"}-->
</body>
</html>
