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 ') order by newstime desc limit 0,20' at line 1
select * from ***_ecms_news where id in (9045,1060,1312,1579,1596,1675,1874,1876,1998,2647,4223,4268,5965,6655,7070,7224,7381,7438,7447,8092,8172,8183,8350,8359,8361,8390,22,6172,6217,6298,7017,7090,7230,677,7573,7801,7806,7812,763,787,813,907,8200,1065,8612,9273,9288,9353,9362,9393,9778,10128,10396,10448,1558,1560,10713,10842,10868,1753,1797,1854,1862,11529,2005,2016,2122,2154,13446,2392,14223,14423,14823,16386,2612,2614,2682,17416,17764,18109,18110,20356,20413,2955,2996,3008,21302,3064,22054,22271,26093,26666,26980,27389,27906,27928,3374,29082,3425,29341,29395,31177,32502,33836,34096,34296,34700,34719,35049,35610,35932,36376,36454,36706,38484,39746,40370,41782,3727,3800,42287,44240,45497,45944,46153,46619,46697,46788,46967,46984,46986,47077,47573,47745,47991,48032,48164,48189,48560,49010,49181,49325,50320,50322,50329,50359,50459,50481,50906,50912,51942,52176,53112,53129,53760,54109,54119,54618,54698,55509,55681,56218,56262,56530,57733,57734,58912,59404,59529,59729,60065,60158,60546,60967,60974,61102,61314,61351,61406,62000,62038,62380,62659,62687,) order by newstime desc limit 0,20