SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776362487 and hide='n' and checked='y' and gid IN (337,373,1160,2308,2643,3324,3384,3582,3618,3711,4118,4280,4537,4670,4748,5030,5470,5603,5670,5748,6054,6746,6747,7104,7430,7442,7605,7639,8260,8575,8714,8769,8803,8832,8841,9388,9454,9507,9511,9559,9561,9763,10090,10170,10414,10659,10747,10776,11121,11395,11434,11614,11732,12018,12189,12252,12934,13161,13302,13515,13673,14021,14170,14201,14225,14349,14440,14458,14514,14588,14605,14661,14692,14740,14779,14860,15362,15386,15491,15626,15751,15810,15895,16236,16346,16508,16849,17127,17141,17442,17471,17477,17497,17584,17686,17772,17996,18056,18059,18075,18080,18498,18608,18640,18676,18680,18683,18817,18885,18920,18925,18972,19016,19047,19272,19466,19572,19580,19882,19966,20177,20196,20302,20501,20564,20699,20753,20884,20953,21159,21266,21395,21510,21635,21655,21745,21749,21753,21874,21894,21902,21918,22055,22214,22730,22762,22806,22866,22918,23005,23006,23043,23082,23199,23271,23342,23349,23805,23809,23813,23843,23864,24073,24151,24264,24268,24292,24394,24395,24510,24521,24556,24823,25114,25172,25175,25293,25314,25575,25650,25674,25733,25757,25908,26345,26488,26998,27256,27313,27364,27393,27422,27502,27700,27722,27958,28171,29757,29848,29916,30562,30577,30578,30663,30693,30716,30840,31105,31251,31302,31320,31334,31379,31381,31390,31464,31505,31732,31759,31856,31994,32167,32179,32311,32371,32405,32511,32714,32745,32767,32810,36606,3664536408,36750,36785,36839,36408,36890,)
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