diff --git a/index.php b/index.php index 5d56563..90c7276 100644 --- a/index.php +++ b/index.php @@ -7,6 +7,7 @@ "> "> + diff --git a/offline.php b/offline.php index 0d38507..2955a22 100644 --- a/offline.php +++ b/offline.php @@ -7,6 +7,7 @@ "> "> + diff --git a/view.php b/view.php index 04b5354..6a5e10c 100644 --- a/view.php +++ b/view.php @@ -25,6 +25,9 @@ header("Location: index.php"); die(); } +$og_title = strlen($get_data["title"]) > 36 ? substr($get_data["title"], 0, 36) . " ..." : $get_data["title"]; +$og_description = strlen($get_data["content"]) > 106 ? substr($get_data["content"], 0, 106) . " ..." : $get_data["content"]; +$og_author = $get_data["author"]; mysqli_close($sql); ?> @@ -35,6 +38,13 @@ "> "> + + "> + + + + "> + @@ -64,7 +74,7 @@ }); quill.setContents(); - - - - + + + +