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
43c9c5d3
Commit
43c9c5d3
authored
Apr 07, 2021
by
liuqiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
出租/出售 激活/失效房源更新时间修改为发布天数
parent
0f1b608d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
rent.php
new_admincp/applications/zsb/controllers/rent.php
+2
-0
sell.php
new_admincp/applications/zsb/controllers/sell.php
+2
-0
No files found.
new_admincp/applications/zsb/controllers/rent.php
View file @
43c9c5d3
...
...
@@ -1729,6 +1729,8 @@ class Rent extends MY_Controller {
$diffTimeStamp
=
$nowTime
-
$data_info
[
$i
][
'lucupdatetime'
];
$publishDays
=
ceil
(
$diffTimeStamp
/
86400
);
$data_info
[
$i
][
'publish_days'
]
=
$publishDays
;
$publishDays
=
$publishDays
<
1
?
1
:
$publishDays
;
switch
(
$publishDays
)
{
case
$publishDays
<=
30
:
$data_info
[
$i
][
'publish_days_color'
]
=
'green'
;
...
...
new_admincp/applications/zsb/controllers/sell.php
View file @
43c9c5d3
...
...
@@ -4445,6 +4445,8 @@ class Sell extends MY_Controller {
$diffTimeStamp
=
$nowTime
-
$data_info
[
$i
][
'lucupdatetime'
];
$publishDays
=
ceil
(
$diffTimeStamp
/
86400
);
$data_info
[
$i
][
'publish_days'
]
=
$publishDays
;
$publishDays
=
$publishDays
<
1
?
1
:
$publishDays
;
switch
(
$publishDays
)
{
case
$publishDays
<=
30
:
$data_info
[
$i
][
'publish_days_color'
]
=
'green'
;
...
...
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