SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776376068 and hide='n' and checked='y' and gid IN (580,3151,3162,3863,4929,5727,6806,6963,6980,8174,8231,9633,10933,14788,14828,18919,21100,21604,23278,23504,25935,31528,580580,580,)
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