1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!--<div class="row">
<div class="col-sm-12">
<div class="widget-box">
<div class="widget-header">
<h4 class="smaller">
Số bài hát <span style="color: red">cần cập nhật</span>
thông tin Ca sĩ: <span style="color: red"><strong><?php /*echo $total_update_singer */?></strong></span>
</h4>
<p>(Hiển thị tối đa 50 bài hát/1 trang)</p>
</div>
<div class="widget-body">
<div class="widget-main">
</div>
</div>
</div>
</div>
</div>-->
<div class="row" style="text-align: center">
<!-- Cập nhật thông tin ca sĩ -->
<div class="col-sm-6">
<div class="widget-box">
<div class="widget-header">
<h4 class="smaller">
Số bài hát <span style="color: red">cần cập nhật</span>
thông tin Ca sĩ: <span style="color: red"><strong><?php echo $total_update_singer ?></strong></span>
</h4>
<p>(Hiển thị tối đa 50 bài hát/1 trang)</p>
</div>
<div class="widget-body">
<div class="widget-main">
<?php if (is_array($update_singer_list) && count($update_singer_list) > 0): ?>
<div class="responsive">
<table class="table table-striped table-bordered table-hover">
<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_singer_list as $key => $track): ?>
<tr>
<td style="text-align: center"><?php echo ($key+1); ?></td>
<td style="text-align: center"><img style="max-width: 50px" src="<?php echo MyHelper::getArtByTrack($track['art'], false, $track['art_type']); ?>"></td>
<td style="text-align: left" title="<?php echo $track['title']; ?>">
<?php echo MyHelper::truncate($track['title']); ?>
<br>
<span style="color: #adadad">ID: <?php echo $track['id']; ?> | Nhạc sĩ: <?php echo $track['composer_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/addSinger/'.$track['id'] . '/home')?>" title="Click để cập nhật ca sĩ">
<i class="fa fa-microphone"></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>
<!-- Cập nhật thông tin nhạc sĩ -->
<div class="col-sm-6">
<div class="widget-box">
<div class="widget-header">
<h4 class="smaller">
Số bài hát <span style="color: red">cần cập nhật</span>
thông tin Nhạc sĩ: <span style="color: red"><strong><?php echo $total_update_composer ?></strong></span></h4>
<p>(Hiển thị tối đa 50 bài hát/1 trang)</p>
</div>
<div class="widget-body">
<div class="widget-main">
<?php if (is_array($update_composer_list) && count($update_composer_list) > 0): ?>
<div class="responsive">
<table class="table table-striped table-bordered table-hover">
<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>
<td style="text-align: center"><?php echo ($key+1); ?></td>
<td style="text-align: center"><img style="max-width: 50px" src="<?php echo MyHelper::getArtByTrack($track['art'], false, $track['art_type']); ?>"></td>
<td style="text-align: left" title="<?php echo $track['title']; ?>">
<?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>
<!-- /.row -->