SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776374680 and hide='n' and checked='y' and gid IN (35,376,753,35,1162,1451,2148,2407,2646,2891,3677,3788,3863,3899,4653,4722,5317,5512,5568,6018,6926,7219,7605,8180,8457,8534,8952,9122,9288,9838,9917,10212,10362,10786,10810,10992,11563,11816,13824,14522,16128,16153,16355,16389,16440,16552,17167,17327,17546,17845,18107,18682,19164,19679,19798,20360,20470,21343,21499,21917,21957,21960,21979,21993,22052,22194,22897,22918,23429,23636,23733,24174,24184,24203,24266,24367,24599,24863,24939,25426,25928,26034,26151,26610,26621,26688,26813,26845,27158,28249,28770,28785,28990,29266,29334,29549,30021,30121,30989,31267,31307,31458,31593,32225,32327,32521,32626,32735,32763,32819,3647336473,36473,)
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