SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776376101 and hide='n' and checked='y' and gid IN (121,171,351,382,424,441,450,578,674,740,741,814,821,865,1399,1456,1462,1889,1906,8902,9851,10898,11217,12142,14758,14865,15988,18082,20432,21069,24268,24326,24818,25504,25853,27302,27321,27522,27908,31212,31306,31353,31662,32457,121121,121,)
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