diff --git a/res/forum/home/home.html b/res/forum/home/home.html index aa74e40..220d4c7 100644 --- a/res/forum/home/home.html +++ b/res/forum/home/home.html @@ -137,4 +137,16 @@ { $("#image_popup").css("display", "none"); } + + function archive_post(post_id, author) + { + $.ajax + ({ + url: "./res/forum/api/archive_post.php?username=" + author + "&post_id=" + post_id, + success: function() + { + show("home"); + } + }); + } \ No newline at end of file