SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776362660 and hide='n' and checked='y' and gid IN (206,227,360,513,926,1163,1173,1445,1446,1447,1653,1828,1857,1955,2004,2034,2563,2970,3464,3786,3828,4019,4025,4222,4488,4960,5215,5293,5404,5533,5760,5995,6018,6218,6715,6725,6887,6963,7183,7192,7388,7495,7659,7727,7919,8126,8137,8144,8155,8227,8303,8326,8553,8944,9025,9199,9350,9360,9568,9763,9912,9949,10132,10178,10711,10728,11031,11224,11395,12158,12670,12905,13028,13808,14288,14290,14349,14504,14624,14655,14826,14899,14966,15055,15299,15641,15811,16088,16113,16180,16496,16854,16929,17598,17710,17775,17833,17944,18365,18385,18457,18460,18584,18605,18780,19109,19150,19642,19992,20008,20409,20620,20686,20720,21002,21770,22114,22731,23007,23081,23297,23492,23656,23805,23813,23819,24038,24327,24499,24679,24730,24758,24789,24948,25276,25435,25495,25938,26330,26389,26420,26564,26721,26855,26872,26903,26992,27075,27119,27314,27324,27557,27582,27761,27768,28043,28261,28887,29765,29852,30318,30340,30402,31356,31388,34911,35224,35307,35830,36395,36407,20636727,36727,36750,36848,36710,36732,)
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