SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776368308 and hide='n' and checked='y' and gid IN (204,225,244,344,968,1112,1273,1396,1470,1616,1653,1828,1873,2047,2373,2536,2619,2848,2969,3145,3453,3798,3835,3875,3976,4025,4304,4557,4917,5009,5269,5432,5734,5995,6178,6295,6429,6451,6499,6802,7189,7279,7328,7409,7531,7688,7691,7731,7764,7807,7841,8195,8244,8245,8281,8392,8533,8536,8538,8549,8635,8944,8968,9021,9185,9350,9409,9498,9642,9762,9875,10153,10155,10176,10215,10240,10469,10482,10554,10647,10676,10863,11070,11077,11079,11761,11787,11959,12010,12082,12502,12892,13376,13595,13619,13841,13863,13935,14128,14130,14218,14289,14290,14323,14360,14501,14815,14862,14899,15007,15325,15326,15395,15579,15690,15704,15846,15863,16006,16086,16088,16346,16365,16544,16623,16848,17138,17188,17235,17347,17416,18139,18215,18220,18253,18385,18505,18509,18647,18677,18918,18929,19545,19897,20315,20353,20466,20499,20524,20533,20538,20686,20773,20854,20964,20978,21104,21256,21504,21691,21830,21836,22001,22204,22258,22269,22297,22389,22721,23076,23107,23295,23366,23431,23495,23531,23652,23913,23952,24494,24561,24585,25363,25428,25443,25537,25619,26058,26107,26748,26988,27107,27196,27247,27314,27455,27458,27463,27509,27634,27699,27829,27846,27866,28331,28589,28667,28686,29187,29228,29236,29537,29787,29880,29915,30007,30425,30514,30577,30581,30585,30663,30700,30719,30723,31023,31096,31145,31163,31185,31201,31202,31278,31281,31284,31308,31336,31415,31439,31548,31584,31608,31643,31722,31747,31804,31857,31939,31972,32065,32095,32114,32130,32179,32186,32273,32289,32312,32314,32411,32481,32551,32702,32724,32836,32842,32919,34466,35224,35293,35938,204204,204,)
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