SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776374634 and hide='n' and checked='y' and gid IN (597,2033,2880,4228,5744,6467,6547,7228,7867,8597,9909,10996,13955,14169,14470,14627,14837,15617,16337,17997,18213,18279,18748,20549,20698,21032,21398,21432,22857,22868,22919,23057,24180,25964,27287,27542,27934,28484,28755,30544,31355,31430,31555,31942,32250,32722,597597,597,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