SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1770733160 and hide='n' and checked='y' and gid IN (1066051166,51172,51197,51207,51209,51213,51243,51267,)
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