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
6b856409
Commit
6b856409
authored
Apr 23, 2020
by
Phạm Văn Đoan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix lỗi ko hiển thị ảnh sau khi xử lý cập nhật ảnh bài hát
parent
c426e26b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
Report_views_daily_model.php
application/models/Report_views_daily_model.php
+1
-1
Report_views_monthly_model.php
application/models/Report_views_monthly_model.php
+1
-1
Report_views_weekly_model.php
application/models/Report_views_weekly_model.php
+1
-1
list_by_monthly_view.php
...n/views/backend/ajax/cms_ranking/list_by_monthly_view.php
+2
-1
No files found.
application/models/Report_views_daily_model.php
View file @
6b856409
...
...
@@ -36,7 +36,7 @@ class Report_views_daily_model extends CI_Model
*/
public
function
cmsGetPagination
(
$record
,
$start
,
$name
=
null
)
{
$this
->
db
->
select
(
$this
->
_table
.
'.*, tracks.title AS name_song, tracks.art AS art'
);
$this
->
db
->
select
(
$this
->
_table
.
'.*, tracks.title AS name_song, tracks.art AS art
, tracks.art_type AS art_type
'
);
$this
->
db
->
from
(
$this
->
_table
);
$this
->
db
->
join
(
'tracks'
,
'tracks.id = report_views_daily.track_id'
,
'left'
);
if
(
$name
!=
null
)
{
...
...
application/models/Report_views_monthly_model.php
View file @
6b856409
...
...
@@ -26,7 +26,7 @@ class Report_views_monthly_model extends CI_Model
{
$this
->
db
->
select
(
$this
->
_table
.
'.*, u1.full_name AS singer_name,
track_user.name AS singer_name2, tracks.title AS name_song,
GROUP_CONCAT(track_user.`name` SEPARATOR ",") AS all_name, tracks.art AS art'
);
GROUP_CONCAT(track_user.`name` SEPARATOR ",") AS all_name, tracks.art AS art
, tracks.art_type AS art_type
'
);
$this
->
db
->
from
(
$this
->
_table
);
$this
->
db
->
join
(
'track_user'
,
'track_user.track_id = '
.
$this
->
_table
.
'.track_id'
,
'left'
);
$this
->
db
->
join
(
'tracks'
,
'tracks.id = '
.
$this
->
_table
.
'.track_id'
,
'left'
);
...
...
application/models/Report_views_weekly_model.php
View file @
6b856409
...
...
@@ -30,7 +30,7 @@ class Report_views_weekly_model extends CI_Model
public
function
cmsGetPagination
(
$record
,
$start
,
$name
=
null
)
{
$this
->
db
->
select
(
$this
->
_table
.
'.*, u1.full_name AS singer_name, track_user.name AS singer_name2,
tracks.title AS name_song, GROUP_CONCAT(track_user.`name` SEPARATOR ",") AS all_name, tracks.art AS art'
);
tracks.title AS name_song, GROUP_CONCAT(track_user.`name` SEPARATOR ",") AS all_name, tracks.art AS art
, tracks.art_type AS art_type
'
);
$this
->
db
->
from
(
$this
->
_table
);
$this
->
db
->
join
(
'track_user'
,
'track_user.track_id = '
.
$this
->
_table
.
'.track_id'
,
'left'
);
$this
->
db
->
join
(
'tracks'
,
'tracks.id = '
.
$this
->
_table
.
'.track_id'
,
'left'
);
...
...
application/views/backend/ajax/cms_ranking/list_by_monthly_view.php
View file @
6b856409
...
...
@@ -21,7 +21,8 @@
<td
style=
"text-align: left"
>
<?php
echo
$data
[
'name_song'
];
?>
<br>
<span
style=
"color: #adadad"
>
ID:
<?php
echo
$data
[
'track_id'
];
?>
</span>
<span
style=
"color: #adadad"
>
ID:
<?php
echo
$data
[
'track_id'
];
?>
</span>
|
<span
style=
"color: #adadad"
>
ID:
<?php
echo
$data
[
'art_type'
];
?>
</span>
</td>
<td
style=
"text-align: left"
>
<?php
echo
$data
[
'all_name'
];
?>
</td>
<td
style=
"text-align: right"
>
<?php
echo
number_format
(
$data
[
'total_point'
],
0
,
','
,
'.'
);
?>
</td>
...
...
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