SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776362500 and hide='n' and checked='y' and gid IN (468,2242,2272,2796,3091,3356,3588,4228,5605,5682,5984,6054,6475,6821,7107,7153,7741,7944,7947,7960,8054,8209,8426,8782,8810,8852,9071,9136,9315,9464,10009,10021,10203,10258,10414,10571,10715,10765,10826,10832,11061,11083,11093,12079,12094,12096,12471,12560,12581,13137,13955,14169,14470,14650,14920,15119,15491,15580,16178,16345,16460,16740,16967,16991,17658,17742,17746,17968,18035,18075,18107,18364,18486,18492,18502,18707,18877,18936,19043,19291,19541,19578,19621,19711,19779,19840,19842,20039,20452,21826,21886,22028,22120,22520,22600,23049,23211,23639,23650,24325,24729,24817,24945,25001,25028,25407,25451,25455,25513,25523,25583,25634,25706,25827,25839,25947,25960,26051,26126,26212,26251,26607,26625,26648,26823,26869,26889,26932,27224,27304,27341,27379,27423,27563,27630,27662,27680,27683,27716,27731,27752,27807,27920,27934,27980,28021,28478,28569,28663,28727,28761,28824,28893,28956,28960,29329,29570,29643,29716,29756,29944,30089,30309,30335,30429,30441,30479,30499,30508,30667,30699,30824,30929,30937,30958,31129,31140,31152,31280,31286,31310,31420,31536,31613,31930,32134,32221,32274,32295,32311,32360,32393,32465,32607,32703,32929,32931,36273,36499,468468,468,36790,)
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