Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
TimeOutAdmin
Project
Overview
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
TimeOut
TimeOutAdmin
Commits
23fddc9f
Commit
23fddc9f
authored
6 years ago
by
Tobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dc
parent
dcd84680
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Webservice_model.php
application/models/Webservice_model.php
+6
-2
No files found.
application/models/Webservice_model.php
View file @
23fddc9f
...
@@ -570,7 +570,7 @@ class Webservice_model extends CI_Model {
...
@@ -570,7 +570,7 @@ class Webservice_model extends CI_Model {
$dates
=
explode
(
','
,
$rs
->
date_time
);
$dates
=
explode
(
','
,
$rs
->
date_time
);
$time_spec
=
array
();
$time_spec
=
array
();
$dat
e_list
=
array
();
$dat
a_array
=
array
();
foreach
(
$dates
as
$rss
)
{
foreach
(
$dates
as
$rss
)
{
list
(
$id
,
$date
,
$time
)
=
explode
(
'#'
,
$rss
);
list
(
$id
,
$date
,
$time
)
=
explode
(
'#'
,
$rss
);
...
@@ -578,8 +578,12 @@ class Webservice_model extends CI_Model {
...
@@ -578,8 +578,12 @@ class Webservice_model extends CI_Model {
$cTime
=
date
(
"Y-m-d H:i"
,
strtotime
(
'+15 minutes'
));
$cTime
=
date
(
"Y-m-d H:i"
,
strtotime
(
'+15 minutes'
));
if
(
$cTime
<
$sTime
){
if
(
$cTime
<
$sTime
){
$time_spec
[]
=
array
(
'id'
=>
$id
,
'date'
=>
$date
,
'time'
=>
$time
);
$time_spec
[]
=
array
(
'id'
=>
$id
,
'date'
=>
$date
,
'time'
=>
$time
);
$date_list
[]
=
array
(
'date'
=>
$date
,
'time'
=>
array
(
'id'
=>
$id
,
'time'
=>
$time
));
$data_array
[
$date
][]
=
array
(
'id'
=>
$id
,
'time'
=>
$time
);
}
}
}
$date_list
=
array
();
foreach
(
$data_array
as
$key
=>
$value
)
{
$date_list
[]
=
array
(
'date'
=>
$key
,
'time'
=>
$value
);
}
}
$lang
=
$this
->
getUserLang
(
$user_id
);
$lang
=
$this
->
getUserLang
(
$user_id
);
...
...
This diff is collapsed.
Click to expand it.
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