SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776368305 and hide='n' and checked='y' and gid IN (97,163,360,380,454,532,964,97,1859,1904,1955,2145,2260,2282,2388,2418,2473,2527,2640,3314,3334,3856,4337,4477,4489,4569,4580,4770,4844,4966,4968,5003,5615,5682,5946,6495,6691,6786,6830,6933,7187,7197,7408,7428,7488,7536,7628,7675,7688,7931,8058,8084,8157,8399,8447,8461,9255,9287,9305,9329,9554,9737,9919,10109,10378,10379,10383,10465,10851,11052,11121,11190,11666,11686,12105,13862,14396,14432,14526,14754,15052,15132,16614,16754,16783,16890,16907,17085,17243,17970,18218,18341,18342,18388,18584,18945,19703,20448,20897,20909,20948,21058,21093,21097,21320,21588,21614,21895,22137,22307,22468,22486,22540,22610,22706,22749,22766,23096,23190,23191,23248,23535,23797,24035,24053,24459,24472,24659,24787,24948,25435,25635,26004,26042,26121,26870,26976,27022,27087,27165,27383,28076,28551,28773,28937,29282,29655,29812,29823,30707,31302,32015,33715,34339,34757,36213,3630736307,36307,)
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