Войти | Регистрация
Найти: 
 
КОНСУЛЬТАЦИЯ
Клиники, медицинские центры
Ветеринария
Онкология
Клиники Арзамаса
Клиники ОМС
Аптеки
Наркология
Клиники Балахны
Детские клиники, больницы
Роддома
Психология
Клиники г. Бор
Стоматология
Женское здоровье, гинеколог
Венерология
Клиники Выксы
Оптика и офтальмология
Мужское здоровье
Патронаж
Клиники Дзержинска
Косметология
Санатории
Медицинское страхование
Клиники Кстово
Диагностика заболеваний
Медтехника
Лечение бесплодия
Клиники Павлово
Больницы, НИИ
БАДы; продукты для здоровья
Массаж
Клиники Сарова
КОМПАНИИ
ОТЗЫВЫ
САМОЕ ВАЖНОЕ
НОВОСТИ
ФОРУМ
РАБОТА
ПОЛУЧИТЬ ПОЛИС
БОЛЕЗНИ
ВРАЧИ
ЭКСПЕРТЫ
ПОЛЬЗОВАТЕЛИ
БЛОГ
Дентал-Н
Нижний Новгород, Московский, ул. Героя Рябцева, д. 11
8-953-556-46-41
Клиника Алтея
Нижний Новгород, ул.Долгополова 17/38 (около ТЦ Республика)
(831) 217-30-03
Весь каталог
Наши друзья


Клиники, медицинские центры Ветеринария Онкология Клиники Арзамаса
Клиники ОМС Аптеки Наркология Клиники Балахны
Детские клиники, больницы Роддома Психология Клиники г. Бор
Стоматология Женское здоровье, гинеколог Венерология Клиники Выксы
Оптика и офтальмология Мужское здоровье Патронаж Клиники Дзержинска
Косметология Санатории Медицинское страхование Клиники Кстово
Диагностика заболеваний Медтехника Лечение бесплодия Клиники Павлово
Больницы, НИИ БАДы; продукты для здоровья Массаж Клиники Сарова
Медицинская консультация


На ваши вопросы отвечают ведущие специалисты нижегородских клиник. Задать вопрос вы можете без регистрации на сайте. Но если в последующем вы хотите дополнить свой вопрос, то вам необходимо пройти регистрацию.
Как стать консультантом?
Онлайн-консультация не заменяет визита к специалисту. Все ответы консультантов носят информационный характер и не являются рецептами или врачебными заключениями.
Имя:
Электронная почта:
Раздел:
Текст сообщения:





d
7 октября 2007
5
Алексей
Не нашел рубрики, в которую отнеслась бы моя тема. Решил выбрать эту. Хотя скорее к психологии относиться. В последнее время жутко устаю: учеба, работа, личная жизнь... из-за повышеной нагрузки постоянно голова о чем-то болит : то об одном, то о другом, то о третьем. Постоянно какие-то проблемы. А сейчас видимо в конец переутомился, в каком-то депресняке. Сессия в разгаре, личная жизнь в разгаре, работа в разгаре: ничем жертвовать нельзя. Как быть? Как все успеть и не перенапрягаться морально?.. Заранее спасибо.
Раздел: Больницы, НИИ

ответить 1
d
7 октября 2007
4
я
можно ли сидеть на диете при гастрите?
Раздел: Женское здоровье, гинеколог

ответить 0
d
7 октября 2007
3
Елизавета
сейчас при росте 165 я вешу 61 кг...считаю что это слишком много...хотела бы сбросить вес...что мне лучше подобрать? какие способы? диета или еще что?
Раздел: Женское здоровье, гинеколог

ответить 1
d
5 октября 2007
2
Птичников
Какие последствия на организм может вызвать Сальвиа Дивинорум (курение)?
Раздел: Наркология

ответить 0
d
5 октября 2007
1
La`smile
Скажите, а где лучше здоровье застраховать? Говорят что вот в Медкоме надежная страховка? Без обманов...
Раздел: Медицинское страхование

ответить 1

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT name_razdel FROM t_catalog_razdel Where id_razdel=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 '' at line 1 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = 0 ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = 0 ORDER by c.comment_id' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id