SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776355875 and hide='n' and checked='y' and gid IN (159,968,1030,1248,1394,1495,1913,1995,2732,3088,3464,3608,4019,4525,4953,5133,5500,5528,6218,6701,6725,7133,7557,7603,7623,7625,7637,7642,7866,7868,7929,7961,7967,8155,8272,8589,8703,8978,9789,9949,10429,10901,11023,11067,11121,11981,12100,12531,13602,13878,13953,14152,14215,14471,14858,14910,14964,15053,15299,15421,15466,15484,15836,16113,16268,17012,17026,17171,17262,17296,17336,17358,17437,17553,17614,17686,17757,17821,17833,17862,17907,17992,18036,18048,18128,18253,18277,18415,18456,18492,18509,18510,18520,18523,18690,18735,18901,19007,19122,19554,19667,19787,19829,19870,19992,20008,20102,20335,20614,20692,21031,21347,21471,21520,21874,21960,22132,22258,22263,22297,22343,22868,23006,23023,23081,23105,23157,23339,23402,23534,23685,23927,24028,24164,24406,24446,24448,24545,24733,24926,25107,25299,25398,25425,25513,25720,25733,25735,25913,26226,26243,26694,26721,26871,26896,26916,26992,27119,27122,27156,27298,27368,27463,27598,28084,28592,30089,30346,30401,31022,31098,31491,31495,31502,32354,32601,32740,32767,34425,35140,35226,159159,159159,36839,159,36750,36851,36896,)
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