SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776368304 and hide='n' and checked='y' and gid IN (454,1638,3241,3335,3797,4012,4263,4266,4416,5014,5492,5656,6255,6302,6325,6705,6835,6856,6905,6970,7234,7448,7802,8097,8300,8401,9343,9347,9406,9537,9617,10330,10664,11121,11307,11952,11976,11991,12002,12222,12317,12430,12493,12553,12724,12769,12961,14069,14116,14142,14417,15089,15395,15475,15586,15831,15990,16013,16869,17368,17518,17644,17805,18242,18297,18346,18382,18465,18548,18663,19227,19230,19258,19458,19562,20252,20439,20496,20775,21554,21645,21696,21766,22010,22527,22762,23028,23082,23317,23922,23947,24413,25188,25275,25587,26327,26700,26958,27133,27300,27694,27998,28776,30093,31326,31362,32525,32540,32908,33266,454454,454,)
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