SELECT p.*, u.username, u.first_name, u.last_name, u.is_banned
FROM products p
JOIN users u ON p.user_id = u.id
WHERE p.is_active = 1 AND u.is_banned = 0 AND u.is_active = 1
ORDER BY p.created_at DESC
LIMIT 10Файл: /home/a/atonnetk/itbonanza.ru/public_html/qw.itbonanza.ru/public_html/scripts/debug-ajax-products.php
Строка: 55