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


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


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





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

ответить 0
d
24 декабря 2007
2
Джойс
Зддравствуйте, Подскажите пожалуйста, где можно в г.Н.Новгород изготовить детскую ортопедическую обувь для ребенка 5 лет (для исправления комбинированнного плоскостопия обеих ног)? Заранее благодарна за Ваш ответ.
Раздел: Детские клиники, больницы

ответить 0
d
29 декабря 2007
1
Саша
Обратилась за помощью ( по поводу невроза) в одну Нижегородскую клинику, нарвалась на сексуальное домогательство со стороны психотерапевта. Было очень стыдно, потому что растерялась и не смогла адекватно отреагиравать в этой ситуации. Сейчас меня это ужасно мучает. К тому же я заплатила не маленькие деньги (больше 20 000 руб.) как поступить, куда обращаться?
Раздел:

ответить 3

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta FROM a_comment_foto_vote WHERE user_voter_id = -1 ) AS cv ON cv.comment_id = c.comment_id, sv_user as u WHERE c.img_id = AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ascYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND c.user_id=u.user_id AND comment_pid = ORDER by c.comment_id ' at line 18 "

Ошибка выполнения запроса!!!
Ваш запрос:" SELECT c.*, u.user_login as user_login, IF(cv.comment_id IS NULL,0,1) as user_is_vote, cv.vote_delta as user_vote_delta FROM a_comment_foto as c LEFT JOIN ( SELECT comment_id, vote_delta