SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776362569 and hide='n' and checked='y' and gid IN (112,299,532,845,1443,1485,1850,2883,3008,3226,3251,3383,3603,3627,3853,4059,4125,4386,4772,4800,5078,5100,5155,5578,5607,5617,5621,5765,5894,6481,6660,6691,6922,7007,7513,7518,7540,7576,7823,8074,8117,8507,8568,8649,8965,8972,9073,9293,9431,9518,9708,9871,9942,10088,10204,10427,10990,11048,11129,11133,11198,11643,11851,11922,12083,13125,13449,13719,14039,14094,14095,14368,14487,14582,14595,14751,14755,14875,14972,15046,15768,16335,16827,16871,16982,17197,17295,17538,18109,18235,18312,18359,18499,18678,18719,19014,19126,19324,19436,19560,19723,19794,20004,20159,20365,20459,20565,20742,21215,21475,21540,21662,22041,22138,22270,22348,22996,23006,23132,23151,23364,23594,23959,24341,24380,24400,24418,24472,24541,24620,24806,25381,25859,25879,25975,25990,26317,26326,26481,26532,26673,26684,27202,27263,27476,27492,27617,27931,28477,28497,29309,29342,29844,30205,30221,30527,30615,30720,31049,31196,31636,31719,32409,34340,34466,35101,35143,36558,36589,36603,112,3662536625,36625,)
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