diff --git a/admin/controllers/home/index.php b/admin/controllers/home/index.php index f2556485..76504cd7 100644 --- a/admin/controllers/home/index.php +++ b/admin/controllers/home/index.php @@ -65,6 +65,13 @@ ); $total_feedback_order = get_total('feedbacks', $options_feedback_order); +$options_feedback_five = array( + 'limit' => 5, + 'offset' => 0, + 'order_by' => 'id DESC' +); +$feedback_five = get_all('feedbacks', $options_feedback_five); + $options_feedback_new = array( 'limit' => 1, 'offset' => 0, @@ -98,6 +105,13 @@ ); $total_rows_comment = get_total('comments', $options_comments); +$options_comment_five = array( + 'limit' => 5, + 'offset' => 0, + 'order_by' => 'id DESC' +); +$comment_five = get_all('comments', $options_comment_five); + $options_comment_new = array( 'limit' => 1, 'offset' => 0, diff --git a/admin/views/home/index.php b/admin/views/home/index.php index f4febe1c..47062bbf 100644 --- a/admin/views/home/index.php +++ b/admin/views/home/index.php @@ -163,6 +163,105 @@ +
+
+
+
+
+
+

Bảng Bình luận gần đây

+ +
+
+
+ + + + + + + + + + + + + + + + + + + + +
Nội dungNgười gửiHành động
150) echo '...'; ?>
All (6) | Mine (1) | Pending (2) | Approved (4) | Spam (0) | Trash (0)
+
+
+
+
+
+
+
+
+
+
+
+

Bảng Phản hồi gần đây

+ +
+
+
+ + + + + + + + + + + + + + + + + + + + +
Nội dungNgười gửiHành động
All (6) | Mine (1) | Pending (2) | Approved (4) | Spam (0) | Trash (0)
+
+
+
+
+
+
+
\ No newline at end of file