SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776369343 and hide='n' and checked='y' and gid IN (117,454,466,787,1311,1379,2282,2595,4110,4201,5355,5588,5695,6119,6303,6813,6838,7028,7739,7969,8217,8491,9000,9054,9406,9423,9537,9693,10571,10883,11022,11071,11565,11618,11948,11974,11996,12138,13099,13222,13436,13702,14369,14867,15141,15941,16110,16567,16869,17041,17209,17481,17663,18143,18361,18400,18619,18634,18855,18864,19100,19205,20161,20232,20719,20795,21190,21784,21803,21852,22053,22169,22189,22338,22351,22471,22575,22783,22872,23029,23034,23143,23251,23450,23877,23889,24111,24122,24821,24853,25200,26156,26870,26916,27053,27407,28089,28225,28864,30714,30793,33841,34529,36055,11736893,)
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