Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vmusicchart-cms
Overview
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
Phạm Văn Đoan
vmusicchart-cms
Commits
efd0304d
Commit
efd0304d
authored
Jan 04, 2021
by
Phạm Văn Đoan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix lỗi tuần khi qua năm mới
parent
f40ebadf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
Report_views_weekly_model.php
application/models/Report_views_weekly_model.php
+2
-7
No files found.
application/models/Report_views_weekly_model.php
View file @
efd0304d
...
@@ -2,16 +2,11 @@
...
@@ -2,16 +2,11 @@
class
Report_views_weekly_model
extends
CI_Model
class
Report_views_weekly_model
extends
CI_Model
{
{
protected
$_table
=
'report_views_weekly'
;
protected
$_table
=
'report_views_weekly_new'
;
protected
$_table_new
=
'report_views_weekly_new'
;
public
function
__construct
(){
public
function
__construct
(){
parent
::
__construct
();
parent
::
__construct
();
date_default_timezone_set
(
"Asia/Ho_Chi_Minh"
);
date_default_timezone_set
(
"Asia/Ho_Chi_Minh"
);
if
(
date
(
'W'
)
>
13
)
{
$this
->
_table
=
$this
->
_table_new
;
}
}
}
public
function
cmsCountAll
(
$name
=
null
)
public
function
cmsCountAll
(
$name
=
null
)
...
...
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