SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776362588 and hide='n' and checked='y' and gid IN (1171,1505,3722,6596,7033,7177,7497,11023,14178,14230,14516,14728,14752,17171,18264,18456,19096,19274,19672,21848,23434,24798,24845,25860,26093,26703,26781,27402,27882,28432,28608,29165,30628,31992,32548,36523,11711171,1171,)
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