SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776362710 and hide='n' and checked='y' and gid IN (86,201,281,299,315,574,604,722,883,1010,1016,1159,1171,1509,1541,1575,1707,1815,1861,1922,2050,2126,2316,2363,2425,2845,2909,3106,3151,3400,3496,3552,3684,3783,4192,4254,4320,4499,4510,4529,4582,4588,4722,4819,4887,5150,5343,5415,5663,5675,5741,5998,6438,6448,6469,6640,6725,6730,6865,6931,6935,6998,7155,7163,7323,7347,7659,7666,7771,7924,7930,7971,8051,8239,8401,8431,8642,8680,8719,8725,8830,8881,8920,8957,8981,9008,9133,9142,9228,9231,9247,9358,9384,9411,9417,9426,9479,9483,9879,10126,10169,10301,10430,10536,10571,10790,10863,10866,10937,10963,10969,10986,11022,11057,11061,11402,12162,12182,12219,12250,12253,12407,12408,12615,12642,12907,13168,13223,13376,13671,13695,13725,13931,14079,14106,14113,14235,14264,14427,14492,14563,14585,14721,14814,14823,14827,14846,14896,15087,15119,15126,15307,15513,15562,15569,15586,15709,15746,15921,16158,16165,16282,16439,16561,16687,16944,17266,17316,17350,17412,17489,17553,17585,17656,17761,17827,17830,17993,18092,18132,18154,18210,18351,18459,18566,18583,18620,18802,19073,19297,19424,19455,19460,19735,19831,19870,19954,20144,20343,20438,20604,20658,20688,21057,21867,22332,22483,22519,22906,23079,23081,23246,23276,23978,24180,24352,24360,24378,24391,24562,24692,24748,24749,24828,24830,25092,25124,25161,25275,25351,25354,25476,25477,25672,25874,25962,25988,26094,26157,26245,26342,26525,26620,26675,27133,27134,27148,27150,27274,27369,27370,27390,27458,27463,27563,27596,27762,27780,27937,27996,28104,28160,28260,28310,28559,28569,28589,28590,28666,28958,29482,29801,29844,29942,30059,30327,30343,30398,30670,30681,30858,31092,31111,31142,31206,31228,31266,31271,31382,31392,31397,31447,31450,31474,31688,31749,31806,31889,31940,32119,32245,32345,32404,32409,32537,32644,32686,32841,34362,35019,36071,3648836755,36755,)
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