From 428c2411355dc0591fafcfc92cb5baec63f12719 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Fri, 24 May 2024 20:04:01 +0200 Subject: [PATCH] showing posts in homepage --- res/forum/home/home.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/res/forum/home/home.html b/res/forum/home/home.html index 37cfed8..7b791e7 100644 --- a/res/forum/home/home.html +++ b/res/forum/home/home.html @@ -21,8 +21,16 @@ $("#posts").append ( "
" + - "" + - "
" + "
" + + "" + + "
" + + + "
" + + "
Název: " + result[i].title + "
" + + ((result[i].description != null) ? "
Popis: " + result[i].description + "
" : "") + + "
Autor: " + result[i].username + "
" + + "
" + + "" ); } }