SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776369441 and hide='n' and checked='y' and gid IN (1010,1311,1394,1577,1595,3571,4882,5106,7347,7979,10126,10571,10919,11047,11074,11455,12800,13142,14537,14587,16190,19100,19205,20505,20555,21687,22161,22189,22202,22281,22386,22568,23360,24181,24447,26270,26274,27258,29309,29383,30098,30381,30793,31073,31691,10101010,1010,)
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