Commit 89d3602e by Phạm Văn Đoan

fixbug giao diện ở home, thừa thẻ div

parent b4731555
......@@ -80,44 +80,42 @@
</div>
<div class="widget-body">
<div class="widget-main">
<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>
<?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>
<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>
<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']); ?>"></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>&nbsp;<i class="fa fa-user"></i>
</a>
</td>
</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']); ?>"></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>&nbsp;<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>
<?php endforeach; ?>
</tbody>
</table>
</div>
<?php else: ?>
<span>Đã cập nhật đầy đủ.</span>
<?php endif; ?>
</div>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment