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 (170,174,206,237,266,290,314,335,372,413,414,415,416,418,419,420,421,422,424,425,426,1154,1156,1157,1159,1160,1162,1163,1169,1170,1171,1172,1175,1176,1177,1178,1243,1244,1245,1246,1249,1250,1253,1254,1256,1257,1258,1263,1264,1268,1269,1273,1274,1280,1281,1282,1297,1301,1331,1333,1396,1398,1399,1401,1403,1412,1414,1419,1420,1421,1422,1426,1432,1433,1434,1435,1436,1445,1450,1452,1461,1463,1468,1469,1470,1478,1485,1492,1494,1502,1503,1504,1509,1511,1517,1519,1525,1527,1530,1532,1541,1544,1546,1548,1558,1566,1568,1574,1581,1583,1589,1596,1598,1604,1606,1619,1621,1625,1626,1631,1633,1634,1647,1675,1688,1690,1694,1695,1696,1816,1818,1993,1995,2189,2191,2192,2287,2314,2564,2565,2615,2708,2709,2884,6414,6415,6452,6501,8495,8498,8507,8508,8509,8813,8836,8842,8843,8845,8846,8848,8849,8852,8853,8854,8855,8856,8863,8864,8866,8867,8868,8870,8871,8872,8873,8874,8875,8885,8887,8890,8891,8892,8895,8896,8899,8900,8903,8905,8909,8912,8917,8918,8921,8922,8923,8924,8926,8929,8935,8937,8940,8958,8960,8963,8964,8965,8970,8971,8973,) order by newstime desc limit 0,20