Query: | SELECT `ID`, `Key`, `Side`, `Type`, `Content`, `Tpl` FROM `fl_blocks`WHERE (`Sticky` = '1' OR (FIND_IN_SET( '360', `Page_ID` ) > 0 AND ((`Category_ID` <> '' AND FIND_IN_SET('504', `Category_ID`) > 0) OR `Cat_sticky` = '1' ) ) OR ( `Page_ID` ='' AND ((`Category_ID` <> '' AND FIND_IN_SET('504', `Category_ID`) > 0) OR `Cat_sticky` = '1' ) ) ) AND `Status` = 'active' AND `Key` <> 'advertising' ORDER BY `Position` |