From e329026fc78b32162d62d2070cea7ba4d4927fc8 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Mon, 20 May 2024 20:26:04 +0200 Subject: [PATCH] using user_info.php instead of open_user fn --- res/forum/admin.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/res/forum/admin.html b/res/forum/admin.html index 5e17eea..3fe6353 100644 --- a/res/forum/admin.html +++ b/res/forum/admin.html @@ -18,6 +18,13 @@ $("#left_panel").on("click", ".output", function(event) { - open_user(event.target.innerHTML); + $.ajax + ({ + url: "./res/forum/api/user_info.php?username=" + event.target.innerHTML, + success: function(result) + { + $("#right_panel").html(result); + } + }); }); \ No newline at end of file