Database error: Invalid SQL: SELECT blogs.*, DATE_FORMAT(blogs.time,'%H:%i %d.%m.%Y') AS date, as uid, FROM blogs, auth_user WHERE = blogs.userid and blogs.userid = order by blogs.time desc,
MySQL Error: 1064 (You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order by blogs.time desc,' at line 1)

Session halted.