SELECT * FROM cl_configs0.00070190429687500Всего 0.000701904296875 секMysqliDb->get() >> file "/var/www/twitty/data/www/ai.twitty.ru/twitty_web/core/components/tools.php" line #1406
SELECT * FROM cl_ui_langs WHERE status = '1' 0.00012898445129395Всего 0.00083088874816895 секMysqliDb->get() >> file "/var/www/twitty/data/www/ai.twitty.ru/twitty_web/core/components/user.php" line #1659
SELECT
u.id,
u.username,
u.avatar,
u.followers,
u.posts,
u.following,
u.country_id,
u.website,
u.about,
u.last_active,
u.is_online,
u.fname,
u.lname,
u.email,
u.verified,
u.follow_privacy
FROM cl_users u
WHERE u.active = '1' AND u.id != 0
ORDER BY u.followers DESC, u.posts DESC
LIMIT 50.00309705734252930Всего 0.0039279460906982 секMysqliDb->rawQuery() >> file "/var/www/twitty/data/www/ai.twitty.ru/twitty_web/core/components/user.php" line #1005
SELECT
h.id,
h.tag,
h.posts,
COUNT(DISTINCT p.user_id) AS unique_users,
COUNT(*) AS posts_count,
MAX(ph.time) AS last_activity
FROM cl_hashtags h
JOIN cl_publications_hashtags ph
ON ph.hashtag_id = h.id
JOIN cl_publications p
ON p.id = ph.publication_id
WHERE CHAR_LENGTH(h.tag) >= 2
AND ph.time >= NOW() - INTERVAL 7 DAY
GROUP BY h.id
HAVING unique_users >= 1
ORDER BY unique_users DESC, last_activity DESC
LIMIT 15;
0.05047392845153809Всего 0.054401874542236 секMysqliDb->rawQuery() >> file "/var/www/twitty/data/www/ai.twitty.ru/twitty_web/core/components/post.php" line #385