Commit 709118d9 by Phạm Văn Đoan

đổi lại thứ tự ds track, bài nào mới nhất lên trên cùng

parent b0b36dc9
......@@ -284,7 +284,7 @@ class Track_model extends CI_Model
} else if ($fByComposer == 2) {
$this->db->where('composer_list', null);
}
$this->db->order_by($this->_table . '.title', 'asc');
$this->db->order_by($this->_table . '.id', 'desc');
$this->db->limit($record, $start);
$query = $this->db->get();
......
......@@ -18,7 +18,7 @@
<td style="text-align: center">
<img style="max-width: 50px" src="<?php echo MyHelper::getArtByTrack($data['art']) ?>">
</td>
<td style="text-align: center">#<?php echo $data['id']; ?></td>
<td style="text-align: center"><?php echo $data['id']; ?></td>
<td style="text-align: left">
<?php echo $data['title']; ?>
<br>
......
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