SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776364185 and hide='n' and checked='y' and gid IN (106,109,210,455,715,876,1101,1584,1794,1983,2601,3423,3940,4245,4742,4975,7175,7657,7691,8305,8431,8934,9460,9487,9641,9914,10452,10518,10865,11074,11146,11329,11350,11385,11389,11423,11441,11859,12255,12427,12457,13083,13093,13706,14444,14787,14895,15031,15091,15352,15690,15760,17691,17881,18564,18643,19119,19373,20188,20919,21054,21676,21950,21964,22015,22351,22626,22838,22929,23002,23101,23234,23371,23472,24365,24396,24907,25008,25077,25130,25158,25183,25504,25569,25585,26037,26369,26633,26712,26935,26962,27057,27599,27636,28356,28431,28561,28651,28772,31170,31177,31191,31496,31576,31587,31623,31626,32055,32283,32625,33917,36113106,106,)
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