SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776369295 and hide='n' and checked='y' and gid IN (732,1248,2807,2893,3960,4735,5463,5605,5758,6122,6513,6547,6566,6722,6783,6868,6935,6965,7003,7031,7192,7198,7229,7291,7307,7316,7417,7500,7510,7660,7662,7670,7697,7773,7850,7861,7980,7999,8038,8106,8190,8195,8517,8749,8823,8847,8980,9190,9255,9296,9546,9579,9838,9937,10067,10186,10363,10466,10503,10760,10771,10903,10972,10979,11023,11034,11067,12102,12179,12251,12598,12946,13602,14627,14772,14841,14858,15012,15337,16565,16814,16836,17023,17233,17304,17435,17623,17754,17941,17945,18049,18073,18103,18236,18313,18322,18396,18489,18526,18593,18596,18740,18788,18877,18950,18952,19155,19742,19840,20010,20152,20351,20475,20742,20778,20825,20907,21001,21042,21043,21162,21260,21509,21577,21848,21920,21959,21963,22042,22160,22269,22444,22557,22814,23055,23056,23197,23221,23289,23381,23434,23473,23534,23735,23855,24008,24310,24557,24606,24640,24665,24882,25019,25025,25170,25218,25258,25349,25456,25476,25648,25675,25708,25717,25845,25909,25928,25961,26103,26169,26170,26265,26281,26308,26467,26514,26515,26554,26587,27004,27128,27204,27240,27339,27429,27443,27483,27641,27821,27974,28168,28497,28686,28694,28960,29130,29212,29299,29336,29801,29872,29970,30128,30200,30309,30312,30319,30392,30532,30759,31145,31235,31374,31375,31386,31725,31845,32041,32043,32134,32758,35887,73234590,35020,35092,35226,35311,36273,36358,36372,34590,)
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