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


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


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


Психология




d
17 октября 2007
5
Ольга
Уважаемый психолог! Заметила, что не могу избавиться от чувства долженствования, вследствие чего не могу расслабиться в отношениях с мужчинами - не позволяю себя вести при ком-то так, как вела бы себя одна; хочется быть правильной . В рез-те часто нахожусь в состоянии накапливающегося стресса и отношения, естественно, не выстраиваются. Ошибочность целей осознаю, но справиться самостоятельно не получается.
Раздел: Психология

ответить 2
d
6 ноября 2007
4
Анонимка
Уважаемый психолог, подскажите пожалуйста, как восстановить хорошие отношения с родителями? Они обижены, считают, что мы отказываемся от их помощи, но как объяснить, что мы просто хотим жить самостоятельно и просить о помощи тогда, когда она будет нужна? Они говорят, что мы не пускаем их на порог, но как объяснить, что мы просто хотим сначала доделать ремонт, хоть и затянувшийся, потому и не приглашаем вообще никого до новоселья? У меня постоянное чувство вины за то, что я чем-то недопомогла им, что я что-то не так сказала, что они обижены, что переехав жить отдельно я оставила их...Но у меня теперь своя жизнь, семейная, почему я не могу объяснить это им? Я не хочу, чтобы они думали, что отказываясь от их помощи мы взамен не отказываемся помочь им? Как объяснить, что мы не отстранились, а просто мы теперь - отдельная самостоятельная семья? Всякая попытка завести этот разговор заканчивается либо срывом, либо слезами. Мне очень сложно...
Раздел: Психология

ответить 2
d
11 ноября 2007
3
lessy
Уважаемые психологи. не знаю, к кому обратиться: уже несколько лет нахожусь в постоянной депрессии, потеряла способность радоваться каждому дню. повлияли на это неофициальный развод родителей, недовольство выбранной профессией, неуверенность в себе и т.д.(всего не опишешь). подскажите, что делать и в какой центр психологической помощи обратиться. заранее спасибо
Раздел: Психология

ответить 3
d
12 ноября 2007
2
lessy
Спассибо за ответ, не могли бы вы подсказать названия центров психологической помощи, куда можно обратиться или оставитьсвои координаты
Раздел: Психология

ответить 2
d
28 ноября 2007
1
Соловьева Юлия
По характеру я спокойный человек, в меру оптимистка, избегаю создания и участия в каких- либо конфликтных ситуациях, но тем не менее предпочитаю всегда оставаться при своих принципах, но в то же время знаю за собой одну особенность (не не знаю причины) - дело в том, что если меня сильно разозлить( а случается это довольно редко - не чаще 1 раза в год, а то и реже) то я никак не могу потом успокоиться несколько дней. Причем при этом прекрасно понимаю, что злиться не стоит (могу даже для так называемого обидчика придумать повод, почему он поступил имеено так), но внутри долго продолжает кипеть возмущенный разум . Почему так происходит, ведь мне такое поведение несвойственно?
Раздел: Психология

ответить 3

Ошибка выполнения запроса!!!
Ваш запрос:" 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 "

Ошибка выполнения з