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
89d3602e
Commit
89d3602e
authored
Apr 17, 2020
by
Phạm Văn Đoan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixbug giao diện ở home, thừa thẻ div
parent
b4731555
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
36 deletions
+34
-36
home_view.php
application/views/backend/home_view.php
+34
-36
No files found.
application/views/backend/home_view.php
View file @
89d3602e
...
@@ -80,44 +80,42 @@
...
@@ -80,44 +80,42 @@
</div>
</div>
<div
class=
"widget-body"
>
<div
class=
"widget-body"
>
<div
class=
"widget-main"
>
<div
class=
"widget-main"
>
<div
class=
"widget-main"
>
<?php
if
(
is_array
(
$update_composer_list
)
&&
count
(
$update_composer_list
)
>
0
)
:
?>
<?php
if
(
is_array
(
$update_composer_list
)
&&
count
(
$update_composer_list
)
>
0
)
:
?>
<div
class=
"responsive"
>
<div
class=
"responsive"
>
<table
class=
"table table-striped table-bordered table-hover"
>
<table
class=
"table table-striped table-bordered table-hover"
>
<thead>
<thead>
<tr>
<th
style=
"text-align: center"
>
TT
</th>
<th
style=
"text-align: center"
>
Ảnh
</th>
<th
style=
"text-align: center"
>
Tên bài hát
</th>
<th
style=
"text-align: center"
>
Cập nhật
</th>
</tr>
</thead>
<tbody>
<?php
foreach
(
$update_composer_list
as
$key
=>
$track
)
:
?>
<tr>
<tr>
<th
style=
"text-align: center"
>
TT
</th>
<td
style=
"text-align: center"
>
<?php
echo
(
$key
+
1
);
?>
</td>
<th
style=
"text-align: center"
>
Ảnh
</th>
<td
style=
"text-align: center"
><img
style=
"max-width: 50px"
src=
"
<?php
echo
MyHelper
::
getArtByTrack
(
$track
[
'art'
]);
?>
"
></td>
<th
style=
"text-align: center"
>
Tên bài hát
</th>
<td
style=
"text-align: left"
title=
"
<?php
echo
$track
[
'title'
];
?>
"
>
<th
style=
"text-align: center"
>
Cập nhật
</th>
<?php
echo
MyHelper
::
truncate
(
$track
[
'title'
]);
?>
<br>
<span
style=
"color: #adadad"
>
ID:
<?php
echo
$track
[
'id'
];
?>
| Ca sĩ:
<?php
echo
$track
[
'singer_list'
];
?>
</span>
<br>
<?php
echo
MyHelper
::
getSourceIcon
(
$track
[
'id_zing'
],
$track
[
'id_nct'
],
$track
[
'id_keeng'
])
?>
</td>
<td
style=
"text-align: center"
>
<a
href=
"
<?php
echo
base_url
(
'backend/cmsTrack/addComposer/'
.
$track
[
'id'
]
.
'/home'
)
?>
"
title=
"Click để cập nhật nhạc sĩ"
>
<i
class=
"fa fa-pencil"
></i><i
class=
"fa fa-music"
></i>
<i
class=
"fa fa-user"
></i>
</a>
</td>
</tr>
</tr>
</thead>
<?php
endforeach
;
?>
<tbody>
</tbody>
<?php
foreach
(
$update_composer_list
as
$key
=>
$track
)
:
?>
</table>
<tr>
</div>
<td
style=
"text-align: center"
>
<?php
echo
(
$key
+
1
);
?>
</td>
<?php
else
:
?>
<td
style=
"text-align: center"
><img
style=
"max-width: 50px"
src=
"
<?php
echo
MyHelper
::
getArtByTrack
(
$track
[
'art'
]);
?>
"
></td>
<span>
Đã cập nhật đầy đủ.
</span>
<td
style=
"text-align: left"
title=
"
<?php
echo
$track
[
'title'
];
?>
"
>
<?php
endif
;
?>
<?php
echo
MyHelper
::
truncate
(
$track
[
'title'
]);
?>
<br>
<span
style=
"color: #adadad"
>
ID:
<?php
echo
$track
[
'id'
];
?>
| Ca sĩ:
<?php
echo
$track
[
'singer_list'
];
?>
</span>
<br>
<?php
echo
MyHelper
::
getSourceIcon
(
$track
[
'id_zing'
],
$track
[
'id_nct'
],
$track
[
'id_keeng'
])
?>
</td>
<td
style=
"text-align: center"
>
<a
href=
"
<?php
echo
base_url
(
'backend/cmsTrack/addComposer/'
.
$track
[
'id'
]
.
'/home'
)
?>
"
title=
"Click để cập nhật nhạc sĩ"
>
<i
class=
"fa fa-pencil"
></i><i
class=
"fa fa-music"
></i>
<i
class=
"fa fa-user"
></i>
</a>
</td>
</tr>
<?php
endforeach
;
?>
</tbody>
</table>
</div>
<?php
else
:
?>
<span>
Đã cập nhật đầy đủ.
</span>
<?php
endif
;
?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
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