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
74d4d3e6
Commit
74d4d3e6
authored
Sep 03, 2020
by
Phạm Văn Đoan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
thêm xác nhận trước khi gỡ khỏi BXH
parent
09dbeac6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
CmsRanking.php
application/controllers/backend/CmsRanking.php
+3
-1
overlap_ranking_view.php
...n/views/backend/ajax/cms_setting/overlap_ranking_view.php
+2
-1
No files found.
application/controllers/backend/CmsRanking.php
View file @
74d4d3e6
...
...
@@ -556,7 +556,9 @@ class CmsRanking extends CI_Controller
}
}
// Cập nhật trạng thái đã xử lý
$this
->
report_violation_model
->
update
();
$this
->
common_model
->
update
(
'report_violations'
,
$id
,
[
'status'
=>
1
]);
//
$this
->
session
->
set_flashdata
(
'success'
,
'Gỡ bỏ bài hát khỏi BXH '
.
$scope
.
' thành công!'
);
redirect
(
base_url
(
$this
->
overlap_ranking_list
));
}
else
{
redirect
(
base_url
(
$this
->
overlap_ranking_list
));
...
...
application/views/backend/ajax/cms_setting/overlap_ranking_view.php
View file @
74d4d3e6
...
...
@@ -34,7 +34,8 @@
</td>
<td
style=
"text-align: center"
>
<?php
if
(
$data
[
'status'
]
==
0
)
:
?>
<a
href=
"
<?php
echo
base_url
(
'backend/cmsRanking/processOverlapRanking/'
.
$data
[
'id'
]
.
'/'
.
$data
[
'scope'
]);
?>
"
title=
"Xử lý xóa trùng"
>
<a
href=
"
<?php
echo
base_url
(
'backend/cmsRanking/processOverlapRanking/'
.
$data
[
'id'
]
.
'/'
.
$data
[
'scope'
]);
?>
"
title=
"Xử lý xóa trùng"
onclick=
"return confirm('Bạn có chắc chắn muốn xóa bài này khỏi BXH không?');"
>
<i
class=
"ace-icon fa fa-trash bigger-130 color-red"
></i>
</a>
<?php
endif
;
?>
...
...
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