SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776368429 and hide='n' and checked='y' and gid IN (325,1485,2154,2272,2303,2367,3205,3303,5067,6186,6509,6547,6744,6818,6881,6882,6936,7304,7561,7987,7989,8029,8169,8758,8952,9283,9674,9958,10067,10258,11172,11478,11575,12247,12301,12903,13222,13640,14526,14936,14955,14971,15040,15230,15617,15766,16739,16869,16897,16980,17057,17066,17502,17851,17949,18183,19572,19771,20159,20889,21296,21787,22107,22325,22659,22739,23036,23205,23490,23691,23920,24339,24763,24772,24796,25100,25181,25733,26342,26828,26921,27384,27437,27889,27952,28467,30323,30642,31206,31761,32810,34338,34866,35307,36517,32536839,36839,)
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