SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776362365 and hide='n' and checked='y' and gid IN (198,249,418,443,476,579,613,674,757,865,993,1043,1399,1635,1906,2238,2761,2769,3407,4158,5762,5893,6043,6044,6791,7364,8911,9389,9470,9844,10028,10133,11055,11056,11386,11635,11776,12118,12176,12544,12708,13281,13299,13642,14154,14982,15216,15859,16251,16659,16914,16972,17002,17217,17395,17421,18134,19946,21061,21074,21340,21628,21747,21858,22699,23000,23676,24450,25563,26519,26566,27541,27908,27962,28992,29004,29637,30083,30846,30944,31074,31078,31212,31496,31564,31599,31609,31714,31821,31870,31885,32140,32146,32174,32183,32214,32229,32479,32570,32665,32843,32923,32953,32979,33043,33189,33216,33295,33305,33351,33482,33507,33541,33590,33596,33597,33709,33727,33733,33914,33985,34081,34605,35373,35472,36215,36427,3664336643,36643,)
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 ')' at line 1