SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776369440 and hide='n' and checked='y' and gid IN (424,654,2176,2439,3313,3545,4125,5502,6831,8176,8494,9085,9388,9938,10046,10581,11869,12129,12427,13093,13290,13298,13343,13351,13936,14091,14511,14536,14851,15140,15441,15690,16261,16391,16753,16831,17062,17359,17408,17493,17734,18798,18799,19174,19825,19835,20166,20424,20469,20883,21321,21340,21379,21424,21511,21713,21781,22165,22311,22420,22441,22443,22448,22943,23122,23171,23175,23973,24237,25026,25147,25160,25644,26012,26084,26695,27054,27192,27254,27342,27954,28078,28121,28139,28509,28753,29023,29066,29384,30159,30413,30503,30686,31388,31444,31503,31531,31537,31692,31711,31970,32056,32103,32135,32200,32366,32505,32593,32779,32820,35887424,424,)
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