SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1710856540 and hide='n' and checked='y' and gid IN (,66,68,164,221,241,250,372,412,431,479,525,526,529,535,570,627,627,630,642,650,678,714,743,745,746,816,850,863,918,924,924,926,940,940,941,963,1009,1017,1052,1063,1064,1073,1074,1075,1076,1096,1097,1098,1100,1110,1172,1173,1187,1200,1203,1207,1207,1241,1245,1253,1261,1271,1525,1531,1536,1547,1555,1576,1582,1620,1620,1630,1640,1646,1652,1676,1679,1681,1682,1685,1686,1687,1696,1703,1704,1725,1730,1731,1742,1744,1752,1753,1760,1762,1772,1789,1801,1801,1807,1809,1810,1852,1854,1873,1879,1883,1884,1886,1910,1923,1939,1956,1956,1956,1956,1956,1956,1956,1956,1956,1969,1970,1983,1983,1989,2008,2008,2008,2040,2051,2058,2066,2066,2097,2098,2098,2111,2117,2153,2158,2165,2165,2186,2190,2201,2202,2280,2289,2291,2293,2295,2295,2315,2327,2328,2362,2363,2364,2377,2383,2393,2396,2442,2445,2456,2465,2465,2469,2470,2472,2473,2486,2486,2487,2489,2490,2493,2500,2501,2504,2508,2515,2550,2556,2564,2598,2622,2622,2629,2634,2645,2647,2659,2674,2754,2772,2777,2792,2792,2804,2815,2837,2924,2931,2949,2963,2977,2988,3037,3048,3065,3087,3091,3091,3094,3102,3107,3111,3137,3155,3158,3163,3217,3263,3276,3449,3455,3505,3611,3621,3843,3872,3872,4025,4045,4053,4075,4191,4409,4437,4450,4621,4647,4650,4655,4766,4852,4858,4915,4919,4919,4975,4981,4989,5003,5025,5039,5040,5076,5157,5186,5192,5205,5276,5294,5911,183,6692,)
error: 1064 , 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 '66,68,164,221,241,250,372,412,431,479,525,526,529,535,570,627,627,630,642,650,67' at line 1