diff --git a/public/consts.js b/public/consts.js
index 7913e33..d852935 100644
--- a/public/consts.js
+++ b/public/consts.js
@@ -1 +1,24 @@
-const backendURL = "http://127.0.0.1:8080";
\ No newline at end of file
+const backendURL = "http://127.0.0.1:8080";
+
+function setCookie(cname, cvalue, exdays) {
+ const d = new Date();
+ d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
+ let expires = "expires=" + d.toUTCString();
+ document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
+}
+
+function getCookie(cname) {
+ let name = cname + "=";
+ let decodedCookie = decodeURIComponent(document.cookie);
+ let ca = decodedCookie.split(';');
+ for (let i = 0; i < ca.length; i++) {
+ let c = ca[i];
+ while (c.charAt(0) == ' ') {
+ c = c.substring(1);
+ }
+ if (c.indexOf(name) == 0) {
+ return c.substring(name.length, c.length);
+ }
+ }
+ return "";
+}
\ No newline at end of file
diff --git a/public/index.html b/public/index.html
index 0591f69..35d5b46 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1,10 +1,12 @@
-
-
-
-
+
+
@@ -46,7 +48,7 @@
-
+
diff --git a/public/manageCategories.html b/public/manageCategories.html
new file mode 100644
index 0000000..2464cc8
--- /dev/null
+++ b/public/manageCategories.html
@@ -0,0 +1,156 @@
+
+
+
+
+
+
+
+
+
+ Kno-Logic Management Portal
+
+
+
+
+
+
+
+
+ |
+ List Categories
+ |
+
+ |
+ Name
+ |
+
+ Color
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/public/manageHome.html b/public/manageHome.html
index 416a785..73e6dcb 100644
--- a/public/manageHome.html
+++ b/public/manageHome.html
@@ -1,59 +1,64 @@
-
-
-
-
+
+
Kno-Logic Management Portal
-
+
-
+
\ No newline at end of file
diff --git a/public/managePosts.html b/public/managePosts.html
new file mode 100644
index 0000000..f957bad
--- /dev/null
+++ b/public/managePosts.html
@@ -0,0 +1,250 @@
+
+
+
+
+
+
+
+
+
+ Kno-Logic Management Portal
+
+
+
+
+
+
+
+
+ |
+ List Posts
+ |
+
+ |
+ Title
+ |
+
+ Description
+ |
+
+ Author
+ |
+
+ Category
+ |
+
+ Link
+ |
+
+ Date
+ |
+
+ Photo
+ |
+
+ Edit
+ |
+
+ Delete
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/public/register.html b/public/register.html
index 239c412..2d68b43 100644
--- a/public/register.html
+++ b/public/register.html
@@ -1,10 +1,12 @@
-
-
-
-
+
+
@@ -54,7 +56,7 @@
-
+