MySQL Error!
MySQL error in file: /home/u308889/koni-service.ru/www/engine/modules/show.short.php at line 66
Error Number: 1054
The Error returned was:
Unknown column 'p.discount' in 'where clause'
SQL query:

SELECT id, is_trade, price, trade_id, quantity, trademod_image, discount_fixed, (select dd.value from serv_discount dd where dd.discount = p.discount and dd.user='' limit 0, 1) as discount_user, (select dd.value from serv_discount dd where dd.discount = p.discount and dd.user='noname' limit 0, 1) as discount_noname, autor, date, short_story, full_story, xfields, title, category, alt_name FROM serv_post WHERE approve=1 AND date < '2017-06-28 18:48:25' ORDER BY date DESC LIMIT 0,10