Warning: mssql_query() [function.mssql-query]: message: Syntaxe incorrecte vers ')'. (severity 15) in E:\CRT_SITES\commun\inc\fonctions.php on line 276

Warning: mssql_query() [function.mssql-query]: Query failed in E:\CRT_SITES\commun\inc\fonctions.php on line 276
SELECT CMS_PAGE.page_id, CMS_PAGE.rubrique_id, CMS_PAGE.lang, CMS_RUBRIQUE.url_rewriting FROM CMS_PAGE INNER JOIN CMS_RUBRIQUE ON CMS_PAGE.rubrique_id = CMS_RUBRIQUE.rubrique_id WHERE (CMS_PAGE.rubrique_id = '') AND (CMS_RUBRIQUE.site_id = 7) AND (CMS_PAGE.page_id = ) OR (CMS_RUBRIQUE.site_id = 7) AND (CMS_PAGE.page_id = ) AND (CMS_RUBRIQUE.url_rewriting = '')