Server shutdown in progress
query=SELECT products.*, min(products_atts.price) as pricefrom, min(products_atts.pricex) as pricefromx, min(products_atts.price2) as pricefrom2, count(products_atts.product_id) as attcount, products_images.filename as thefile from prodcat_weight inner join products on products.prod_id=prodcat_weight.prod_id left join products_atts on products.id=products_atts.product_id left join products_images on products.prod_id=products_images.prod_id and products_images.firstimg=1 WHERE prodcat_weight.hidden='0' and products.lang='Greek' group by products.id order by postdate desc LIMIT 5