SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776363640 and hide='n' and checked='y' and gid IN (189,360,388,457,496,876,878,1400,1667,1842,2254,2908,3362,3493,3615,4125,4310,5028,5342,5430,5899,6620,6734,7010,7036,7211,7263,7335,7443,7629,7979,9169,9212,9453,9548,9662,10372,10588,10635,10865,10900,10906,11149,11322,11349,11362,11620,12187,12395,12662,12881,13332,13388,13501,13520,13718,13763,13888,14427,14594,14715,14909,15439,15823,16010,16196,16314,16520,16911,16912,17069,17112,17639,18077,18679,18795,19217,19704,19783,19893,20068,20170,20235,20536,20585,20718,20725,20976,21191,21205,21226,21453,21505,21947,21963,21971,22373,22460,22477,22486,22543,22608,22628,22837,22883,23040,23267,23415,23441,23557,23872,24152,24372,24449,24632,24807,24867,24951,25111,25151,25601,25778,25895,26043,26160,26204,26295,26824,26873,27003,27152,27188,27192,27333,27335,27412,27620,27771,27862,27969,27988,28037,28455,28967,29048,29539,29575,30059,30376,30742,30891,30931,31314,31416,31648,31691,31879,31986,32077,32178,32296,32588,32643,32772,36499189,36499,189,36730,)
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