SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776368303 and hide='n' and checked='y' and gid IN (86,140,152,201,299,365,473,630,655,840,1313,1485,1575,1869,1874,1910,2051,2320,2567,2883,2953,2965,3273,3551,3684,3914,4090,4218,4352,4394,4602,4903,4929,5107,5150,5155,5533,5607,5682,5765,5794,5894,6018,6070,6199,6481,6924,6983,7340,7496,7772,7786,7890,7974,8052,8062,8174,8298,8362,8383,8407,8419,8507,8845,8874,8976,8990,8993,9030,9129,9139,9152,9181,9184,9285,9293,9342,9382,9466,9642,9728,9745,9772,9913,9940,10044,10089,10115,10369,10483,10533,10539,10561,10677,10827,10986,10990,11095,11120,11136,11198,11247,11339,11463,11469,11470,11796,11888,11922,11925,12068,12727,12931,12990,13117,13555,13695,13719,13887,13891,14015,14039,14094,14095,14242,14325,14479,14595,14717,14875,15109,15124,15175,15430,15520,15932,16125,16190,16210,16249,16290,16335,16348,16787,16827,17265,17295,17446,17516,17566,17597,17626,17662,17970,17990,17993,18056,18088,18098,18111,18312,18332,18359,18499,18507,18678,18782,19014,19299,19322,19555,19560,19685,19723,19876,20466,20565,20573,20742,20920,20946,21023,21399,21409,21459,21475,21519,21901,22237,22332,22736,22813,22864,23072,23145,23215,23276,23374,23424,23931,23935,24042,24391,24400,24418,24473,24519,24806,25229,25262,25448,25456,25664,25867,26092,26285,26414,26512,26568,26684,26826,26927,27112,27222,27262,27263,27492,27541,27558,27617,27812,27847,28155,28310,28403,29309,29485,29725,29822,30205,30230,30482,30615,30726,31130,31186,31279,31343,31377,31391,32117,32234,32399,32409,33461,3660736876,)
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