SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776369448 and hide='n' and checked='y' and gid IN (2072,7744,11666,11733,12079,12096,13958,17347,22694,25168,26087,26981,20722072,2072,)
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