SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776369295 and hide='n' and checked='y' and gid IN (12,52,283,531,674,1225,1266,1311,1595,1638,1801,2125,2637,2649,3042,3057,3208,3226,3335,3406,3411,3648,3796,3830,3867,3998,4256,4485,4515,4536,4873,4882,5030,5106,5165,5737,5837,5951,5987,6579,6744,6762,6813,6836,6846,6902,6965,6969,7022,7028,7365,7426,7535,7561,7617,7620,7633,7669,7705,7708,7815,7819,7848,7910,7990,7992,8116,8179,8186,8310,8425,8499,8615,8679,8711,8757,8910,9000,9211,9254,9305,9406,9537,9638,9647,10077,10080,10233,10266,10383,10389,10479,10553,10635,10669,10689,10795,10903,11022,11047,11097,11106,11177,11178,11264,11423,11591,11723,11751,11752,11804,11972,12016,12234,12239,12371,12375,12537,12710,12796,12848,12955,13005,13006,13084,13179,13573,13992,14758,14895,14959,15053,15236,15678,15785,16134,16572,16754,16791,16815,17132,17187,17200,17209,17244,17253,17312,17335,17338,17345,17398,17419,17486,17502,17670,17756,17851,18008,18015,18168,18402,18468,18496,18746,18788,18830,18865,18907,18973,19100,19205,19500,19683,19805,20170,20274,20299,20536,20555,20585,20618,20664,20760,20898,20921,21094,21131,21133,21177,21191,21339,21429,21576,21602,21653,21931,22010,22016,22125,22304,22325,22393,22501,22595,22607,22692,22707,22815,22865,23060,23143,23253,23255,23262,23353,23387,23415,23565,23943,23970,24093,24101,24159,24207,24364,24413,24476,24589,24603,24763,24793,24835,24839,25051,25100,25149,25163,25181,25247,25304,25528,25627,25654,25674,25694,25748,25780,25809,25826,25890,25895,25899,26114,26340,26452,26817,26885,26894,26912,26984,27126,27173,27220,27597,27809,27860,27909,27945,28025,28225,28710,28967,29118,29129,29146,29575,29626,30381,31073,31208,31641,31850,31922,31949,32772,33687,33948,34866,35025,12,3667336673,36673,)
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