From c3009bd1020f2711038715fb99157b4612440d4b Mon Sep 17 00:00:00 2001 From: mohamed elhadouchi Date: Fri, 13 Aug 2021 14:36:28 +0100 Subject: [PATCH] fixing some links --- admin/comments.php | 33 +++++++++++++++++++++++++++++++++ admin/includes/admin_nav.php | 4 ++-- categories.php | 2 +- includes/nav.php | 9 +-------- index.php | 2 +- 5 files changed, 38 insertions(+), 12 deletions(-) diff --git a/admin/comments.php b/admin/comments.php index e69de29..c20775e 100644 --- a/admin/comments.php +++ b/admin/comments.php @@ -0,0 +1,33 @@ + + +
+ + + + +
+ +
+ + +
+
+

+ Welcome + Author +

+ + +
+
+ + +
+ + +
+ + + \ No newline at end of file diff --git a/admin/includes/admin_nav.php b/admin/includes/admin_nav.php index a891e69..67affff 100644 --- a/admin/includes/admin_nav.php +++ b/admin/includes/admin_nav.php @@ -62,10 +62,10 @@ class="fa fa-fw fa-arrows-v"> Users diff --git a/categories.php b/categories.php index 2447dd0..aea5825 100644 --- a/categories.php +++ b/categories.php @@ -28,7 +28,7 @@ $post_author = $row['post_author']; $post_date = $row['post_date']; $post_image = $row['post_image']; - $post_content = $row['post_content']; + $post_content = substr($row['post_content'], 0, 100); ?>

diff --git a/includes/nav.php b/includes/nav.php index 9bf5b83..9bcc881 100644 --- a/includes/nav.php +++ b/includes/nav.php @@ -9,7 +9,7 @@ - Start Bootstrap + Mohamed CMS