Commit bc1a2192 by Phạm Văn Đoan

fixbug mất ranking do khác field

parent cde5f6fa
<?php if(is_array($ranking) && count($ranking) > 0): ?>
<option value="-1" ranking="-1">- Chọn -</option>
<?php foreach ($ranking as $item): $ranking = isset($item['ranking']) ? $item['ranking'] : $item['order']; ?>
<option value="<?php echo $item['track_id']; ?>" ranking="<?php echo $item['ranking'] ?>">
<option value="<?php echo $item['track_id']; ?>" ranking="<?php echo $ranking ?>">
<?php echo $ranking . '. ' . $item['name_song'] . ' (ID= '.$item['track_id'].')'; ?>
</option>
<?php endforeach; ?>
......
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