Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esf
fenzhan_zsb
Commits
12c50226
Commit
12c50226
authored
Apr 16, 2021
by
liuqiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发布天数按照创建时间计算
parent
9d17e600
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
rent.php
new_admincp/applications/zsb/controllers/rent.php
+1
-1
sell.php
new_admincp/applications/zsb/controllers/sell.php
+1
-1
edit_password.php
...mincp/applications/zsb/views/nj/ucenter/edit_password.php
+3
-3
No files found.
new_admincp/applications/zsb/controllers/rent.php
View file @
12c50226
...
@@ -1726,7 +1726,7 @@ class Rent extends MY_Controller {
...
@@ -1726,7 +1726,7 @@ class Rent extends MY_Controller {
}
}
}
}
// 发布天数
// 发布天数
$diffTimeStamp
=
$nowTime
-
$data_info
[
$i
][
'
lucupdate
time'
];
$diffTimeStamp
=
$nowTime
-
$data_info
[
$i
][
'
creat
time'
];
$publishDays
=
ceil
(
$diffTimeStamp
/
86400
);
$publishDays
=
ceil
(
$diffTimeStamp
/
86400
);
$data_info
[
$i
][
'publish_days'
]
=
$publishDays
;
$data_info
[
$i
][
'publish_days'
]
=
$publishDays
;
$publishDays
=
$publishDays
<
1
?
1
:
$publishDays
;
$publishDays
=
$publishDays
<
1
?
1
:
$publishDays
;
...
...
new_admincp/applications/zsb/controllers/sell.php
View file @
12c50226
...
@@ -4442,7 +4442,7 @@ class Sell extends MY_Controller {
...
@@ -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'
;
$data_info
[
$i
][
'pic1'
]
=
$housePics
?
$housePics
[
0
][
'filename'
]
:
STATIC_SOURCE_URL
.
'/zsb/images/v1.0/default.jpg'
;
}
}
// 发布天数
// 发布天数
$diffTimeStamp
=
$nowTime
-
$data_info
[
$i
][
'
lucupdate
time'
];
$diffTimeStamp
=
$nowTime
-
$data_info
[
$i
][
'
creat
time'
];
$publishDays
=
ceil
(
$diffTimeStamp
/
86400
);
$publishDays
=
ceil
(
$diffTimeStamp
/
86400
);
$data_info
[
$i
][
'publish_days'
]
=
$publishDays
;
$data_info
[
$i
][
'publish_days'
]
=
$publishDays
;
$publishDays
=
$publishDays
<
1
?
1
:
$publishDays
;
$publishDays
=
$publishDays
<
1
?
1
:
$publishDays
;
...
...
new_admincp/applications/zsb/views/nj/ucenter/edit_password.php
View file @
12c50226
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<div
class=
"fields"
>
<div
class=
"fields"
>
<div
class=
"fgInput jsFgInput"
>
<div
class=
"fgInput jsFgInput"
>
<input
id=
"oldpassword"
type=
"password"
class=
"input_text w205"
name=
"oldpassword"
value=
""
<input
id=
"oldpassword"
type=
"password"
class=
"input_text w205"
name=
"oldpassword"
value=
""
placeholder=
"请输入当前正在使用的租售宝密码"
/>
placeholder=
"请输入当前正在使用的租售宝密码"
autocomplete=
"off"
/>
<label
class=
"error"
style=
"display:none;"
>
请填写当前正在使用的密码。
</label>
<label
class=
"error"
style=
"display:none;"
>
请填写当前正在使用的密码。
</label>
</div>
</div>
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<div
class=
"fields"
>
<div
class=
"fields"
>
<div
class=
"fgInput jsFgInput"
>
<div
class=
"fgInput jsFgInput"
>
<input
id=
"newpassword"
type=
"password"
class=
"input_text w205"
name=
"newpassword"
<input
id=
"newpassword"
type=
"password"
class=
"input_text w205"
name=
"newpassword"
placeholder=
"密码中必须要包含数字和字母"
/>
placeholder=
"密码中必须要包含数字和字母"
autocomplete=
"off"
/>
<label
class=
"error"
id=
"newpassworderr"
style=
"display:none;"
></label>
<label
class=
"error"
id=
"newpassworderr"
style=
"display:none;"
></label>
</div>
</div>
</div>
</div>
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<div
class=
"fields nameInput"
>
<div
class=
"fields nameInput"
>
<div
class=
"fgInput jsNameInput jsFgInput"
>
<div
class=
"fgInput jsNameInput jsFgInput"
>
<input
id=
"newpassword2"
type=
"password"
class=
"input_text w205"
name=
"newpassword2"
<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>
<label
class=
"error"
style=
"display:none;"
>
两次输入的密码不一致。
</label>
</div>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment