diff --git a/template/admin/dashboard/index.php b/template/admin/dashboard/index.php
index bfc7ca5..24a2706 100644
--- a/template/admin/dashboard/index.php
+++ b/template/admin/dashboard/index.php
@@ -45,8 +45,8 @@ require_once(BASE_PATH . "/template/admin/layouts/head-tag.php");
- Unseen = $commentsUnseenCount['COUNT(*)']; ?>
- Approved = $commentsApprovedCount['COUNT(*)']; ?>
+ Unseen = $commentsUnseenCount['COUNT(*)']; ?>
+ Approved = $commentsApprovedCount['COUNT(*)']; ?>
@@ -71,10 +71,10 @@ require_once(BASE_PATH . "/template/admin/layouts/head-tag.php");
-
+ $post) {?>
- = $post['id'] ?> |
- = $post['title'] ?> |
+ = $key += 1 ?> |
+ = $post['title'] ?> |
= $post['view'] ?> |
@@ -98,10 +98,10 @@ require_once(BASE_PATH . "/template/admin/layouts/head-tag.php");
-
+ $post) {?>
- = $post['id'] ?> |
- = $post['title'] ?> |
+ = $key +=1 ?> |
+ = $post['title'] ?> |
= $post['comment_count'] ?> |
@@ -125,12 +125,12 @@ require_once(BASE_PATH . "/template/admin/layouts/head-tag.php");
-
+ $comment) {?>
-
- = $comment['id'] ?> |
- = $comment['username'] ?> |
- = $comment['comment'] ?> |
+
+ = $key +=1 ?> |
+ = $comment['username'] ?> |
+ = $comment['comment'] ?> |
= $comment['status'] ?> |
diff --git a/template/admin/layouts/head-tag.php b/template/admin/layouts/head-tag.php
index d013842..66fbbec 100644
--- a/template/admin/layouts/head-tag.php
+++ b/template/admin/layouts/head-tag.php
@@ -32,7 +32,7 @@
diff --git a/template/admin/menus/create.php b/template/admin/menus/create.php
index 94ce30e..7cddfcb 100644
--- a/template/admin/menus/create.php
+++ b/template/admin/menus/create.php
@@ -26,7 +26,7 @@ require_once BASE_PATH . '/template/admin/layouts/head-tag.php';