SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776370347 and hide='n' and checked='y' and gid IN (1327,1722,2284,4314,5903,6513,6918,6991,7089,7603,7776,7884,7892,8227,9817,10021,10084,10108,11023,11195,11981,13807,14728,17985,18420,19481,21630,22235,22242,23211,23880,27265,30646,3070830708,30708,)
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