SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776362710 and hide='n' and checked='y' and gid IN (133,194,315,340,351,410,440,629,667,689,824,964,973,1043,1126,1178,1361,1513,1650,1676,1718,2174,2453,2678,2761,3556,3588,4320,4674,5512,7178,7184,7236,7240,7476,7657,7660,7671,7677,7680,7703,7856,7871,8015,8104,8109,8200,8762,8844,9232,9306,9389,10156,10184,10455,10895,10975,11023,11037,11247,11258,11580,11855,11860,11869,12669,12920,13116,14446,14526,14657,14679,14756,14759,14841,14990,15055,15132,15510,15546,15583,15755,16326,17094,17138,17666,17675,17830,17978,18315,18894,18932,19060,19094,19392,19794,20013,20088,21151,21168,21190,22032,22172,22542,22563,22980,23043,23141,23259,23261,23271,23381,23434,23553,23748,23954,24028,24095,24305,24313,24326,24587,24613,24643,24813,24884,24972,25011,25183,25196,25300,25576,25725,26261,26307,26318,26487,26564,26603,26689,26839,26887,26931,26958,27005,27091,27528,27784,28154,28468,28822,28826,30167,30676,30846,31334,31350,31460,31483,32054,32363,32423,32523,32540,33756,33893,33985,33988,34045,34260,34276,34340,34566,35291,36554,133133,133,36848,36732,36893,)
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