SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776369446 and hide='n' and checked='y' and gid IN (2807,3933,4016,5043,5395,6897,8038,9120,10205,10569,10577,11783,11816,12102,12333,13516,14280,14665,15491,16211,16505,16741,17167,17300,17307,17779,18037,19013,20614,21661,22333,23074,23195,23221,24256,24282,24582,24584,24932,25233,25301,25484,25588,25839,25851,25883,25905,25934,25946,26573,26685,26699,26732,26789,27243,27442,27561,27691,27696,27895,27946,28007,28716,28755,29970,30287,30304,30544,30631,31029,31101,31398,31593,31725,31803,31828,31999,32102,32111,32299,32420,32466,32487,32657,32706,32763,32834,32950,33003,36414,36512,28072807,2807,36790,36785,)
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