Ошибка в SQL-запросе: 
SELECT cprice_goods.ID_GOOD FROM cprice_rubric_goods NATURAL JOIN cprice_goods WHERE ID_RUBRIC= and good_deleted=0 and good_visible=1 ORDER BY ID_GOOD DESC LIMIT 500 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and good_deleted=0 and good_visible=1 ORDER BY ID_GOOD DESC LIMIT 500' at line 3
    
      
        | Вид работы | 
        Кол-во листов | 
        Мин.цена | 
        Нормальный срок выполнения |