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


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


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


Диагностика заболеваний




d
12 декабря 2008
6
Чулпан
Доброе утро! Моему ребенку 2г. 6мес. Ей ставят диагноз хронический энтероколит. Лечащий врач посоветовал нам пройти обследование и лечение в Нижегородском НИИ детской гастроэнтерологии. Подскажите, пожалуйста, как нам можно записаться на диагностику и лечение в данное лечебное заведение. Сами мы живем в г. Набережные Челны.
Раздел: Диагностика заболеваний

ответить 1
d
16 декабря 2008
5
Дмитрий
Добрый день Подскажите пожалуйста ответ на мой вопрос Сейчас прохожу мед комисию на получение водительских прав, Кардиолог дает заключение что я должен каждыц год проходить осведетельствование, все остальные врачи признали меня годным без ограничений что это значит, значит ли это что я каждый год должен проходить мед комисию и всех врачей или я должен проходить осмотр у только кардиолога Спасибо
Раздел: Диагностика заболеваний

ответить 1
d
17 декабря 2008
4
Юлия
Здравствуйте! У моей дочки (1год 7 месяцев) гидроцефалия,шунтированная. Врач назначил МРТ головного мозга, но в нашем городе не обследуют маленьких детей без анастезии. Слышала, что в Нижнем Новгороде можно пройти обследование с анастезиологом на месте. Спасибо заранее!
Раздел: Диагностика заболеваний

ответить 1
d
8 декабря 2007
3
Елена
Здравствуйте! У меня последнее время температура тела не поднимается выше 35 градусов. Давление нормальное. Чувствую слабость. Скажите, какие анализы нужно сдать для диагностики и может быть какие-нибудь лекарства принимать? Витамины и лекарства никакие не принимаю. Спасибо.
Раздел: Диагностика заболеваний

ответить 0
d
13 декабря 2007
2
Светлана Ивановна
Следует ли удалять атерому? Спасибо.
Раздел: Диагностика заболеваний

ответить 1
d
24 декабря 2007
1
Елена
Здравствуйте! У меня подозрение на астму или ХОБ.Где можно проконсультироваться платно у пульмонолога или аллерголога? Желательно поближе к Сормовскому району
Раздел: Диагностика заболеваний

ответить 0

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT name_razdel FROM t_catalog_razdel Where id_razdel=You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 "

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND commen