error:
SELECT * FROM oli_mod_products_asset WHERE oli_mod_products_asset_Status='Enable' AND oli_mod_products_asset_Language='Thai' AND oli_mod_products_asset_ModuleKey='asset' AND oli_mod_products_asset_GroupProject ='2' AND ((oli_mod_products_asset_StartDate='0000-00-00 00:00:00' AND oli_mod_products_asset_ExpireDate='0000-00-00 00:00:00') OR (oli_mod_products_asset_StartDate='0000-00-00 00:00:00' AND TO_DAYS(oli_mod_products_asset_ExpireDate)>=TO_DAYS(NOW())) OR (TO_DAYS(oli_mod_products_asset_StartDate)<=TO_DAYS(NOW()) AND oli_mod_products_asset_ExpireDate='0000-00-00 00:00:00') OR (TO_DAYS(oli_mod_products_asset_StartDate)<=TO_DAYS(NOW()) AND TO_DAYS(oli_mod_products_asset_ExpireDate)>=TO_DAYS(NOW()))) ORDER BY oli_mod_products_asset_Order DESC LIMIT 0,6