SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776370346 and hide='n' and checked='y' and gid IN (332,335,610,851,1065,1311,3007,3122,3336,3910,4325,6338,6687,6923,6991,7093,7282,7657,7936,8342,8387,9280,9326,9720,10262,10407,11071,11131,12445,12604,12909,13307,14076,14549,14567,14715,15682,16879,17070,17624,17832,17964,18025,18250,18284,18336,18753,19169,20022,21439,22669,23602,23929,24103,24176,24215,24256,24725,24906,25111,25316,25367,25441,25532,25659,26067,26331,26442,26543,26573,27011,27042,27044,27179,27334,27798,28083,28116,29267,30582,31620,31695,31728,32102,32111,32254,32591,32819,34130,332332,332,)
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