SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776363640 and hide='n' and checked='y' and gid IN (216,218,272,303,372,599,1140,1293,1708,4379,4713,6233,7039,7179,7377,7402,7736,8201,8298,9069,9504,9575,9853,10115,10290,10518,10933,11055,11142,11229,11234,11239,12062,12313,12629,12976,13498,13833,14082,14090,14291,14387,14629,16307,17302,17496,17662,17753,18876,18954,19322,19619,19989,20235,20305,21295,21865,22386,22465,22467,22864,23500,23594,23673,23990,24252,24519,24524,24683,24690,25817,25828,26174,26525,26870,27401,27639,27808,27853,28655,28709,28756,29183,29389,29926,30205,30384,30455,30480,31035,31301,31353,31841,32032,32215,32588,34787,216,3670436704,36704,)
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