Commit 12c50226 authored by liuqiao's avatar liuqiao

发布天数按照创建时间计算

parent 9d17e600
......@@ -1726,7 +1726,7 @@ class Rent extends MY_Controller {
}
}
// 发布天数
$diffTimeStamp = $nowTime - $data_info[$i]['lucupdatetime'];
$diffTimeStamp = $nowTime - $data_info[$i]['creattime'];
$publishDays = ceil($diffTimeStamp / 86400);
$data_info[$i]['publish_days'] = $publishDays;
$publishDays = $publishDays < 1 ? 1 : $publishDays;
......
......@@ -4442,7 +4442,7 @@ class Sell extends MY_Controller {
$data_info[$i]['pic1'] = $housePics ? $housePics[0]['filename'] : STATIC_SOURCE_URL.'/zsb/images/v1.0/default.jpg';
}
// 发布天数
$diffTimeStamp = $nowTime - $data_info[$i]['lucupdatetime'];
$diffTimeStamp = $nowTime - $data_info[$i]['creattime'];
$publishDays = ceil($diffTimeStamp / 86400);
$data_info[$i]['publish_days'] = $publishDays;
$publishDays = $publishDays < 1 ? 1 : $publishDays;
......
......@@ -16,7 +16,7 @@
<div class="fields">
<div class="fgInput jsFgInput">
<input id="oldpassword" type="password" class="input_text w205" name="oldpassword" value=""
placeholder="请输入当前正在使用的租售宝密码"/>
placeholder="请输入当前正在使用的租售宝密码" autocomplete="off"/>
<label class="error" style="display:none;" >请填写当前正在使用的密码。</label>
</div>
......@@ -28,7 +28,7 @@
<div class="fields">
<div class="fgInput jsFgInput">
<input id="newpassword" type="password" class="input_text w205" name="newpassword"
placeholder="密码中必须要包含数字和字母"/>
placeholder="密码中必须要包含数字和字母" autocomplete="off"/>
<label class="error" id="newpassworderr" style="display:none;" ></label>
</div>
</div>
......@@ -39,7 +39,7 @@
<div class="fields nameInput">
<div class="fgInput jsNameInput jsFgInput">
<input id="newpassword2" type="password" class="input_text w205" name="newpassword2"
id="newpassword2" placeholder="密码中必须要包含数字和字母"/>
id="newpassword2" placeholder="密码中必须要包含数字和字母" autocomplete="off"/>
<label class="error" style="display:none;" >两次输入的密码不一致。</label>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment