SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776368430 and hide='n' and checked='y' and gid IN (36,112,293,310,321,323,393,548,551,700,923,1140,1159,1170,1443,1874,1957,2393,2427,2458,3016,3306,3554,3940,3958,4072,4325,4346,5030,5143,5617,6277,6458,6768,6927,6930,7134,7640,7646,7869,7873,7931,8365,8905,9094,9144,9315,9768,9836,9949,10241,10562,10659,10680,11111,11188,11196,12062,12390,12990,12991,13241,13465,13777,13877,14332,14387,14488,14548,14577,14635,14707,14788,14828,14983,15173,15216,15470,15554,15884,16039,16200,16411,16449,16686,16929,16964,17143,17348,17405,17422,17454,17700,18163,18205,18419,18488,18599,18610,19643,19863,20389,20421,20583,20700,20742,20787,20800,20881,20941,20954,20984,21009,21215,21246,21762,21836,21908,21956,22079,22582,22631,22789,22853,22869,22963,23033,23068,23192,23281,23384,23486,23558,23594,23775,23790,23954,24080,24126,24135,24240,24464,24622,25079,25194,25219,25277,25372,25376,25516,25589,25672,25810,25842,25977,26021,26177,26228,26839,27132,27267,27279,27331,27634,27711,27729,27862,27867,28230,28420,28552,28618,28627,28794,29042,29183,29437,29479,30107,30164,30243,30482,30513,30540,30611,31069,31339,31362,31366,31549,31920,31984,32094,32346,32382,32482,32771,35311,36248,36478,36614,3669236692,36692,36874,)
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