SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776376068 and hide='n' and checked='y' and gid IN (588,2388,5165,6813,6965,7561,8499,8757,9368,10389,10440,10669,11189,11956,12796,16874,17512,17851,18519,19346,21576,21801,21816,22665,23943,24028,24101,24207,25111,26166,27384,27860,30938,31745,31783,34866,588588,588,)
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