SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776362685 and hide='n' and checked='y' and gid IN (227,471,844,968,1916,2004,2034,2610,2738,3088,3445,3608,3873,5036,5110,5158,7189,7328,7916,7919,7925,7929,7931,7961,8094,8135,8137,8144,8172,8249,8281,8289,8303,8338,8488,8553,8623,8944,9051,9127,9185,9407,9604,9762,9765,9841,9859,9953,10285,10322,10675,11376,11409,12410,12811,12850,13122,13271,13725,13935,14492,14618,14639,14655,14896,15315,15746,15846,16191,16726,16798,17220,17230,17420,17614,17696,17913,18048,18226,19304,19576,20561,21022,21120,21151,21152,21153,21263,21302,21395,22055,23099,23148,23913,24134,24740,25266,27272,27509,27927,29097,29821,30401,30498,30554,30661,30770,30940,31065,31099,31202,31231,31255,31371,31378,31584,31657,31677,31686,31720,31731,31804,31857,31973,32011,32156,32314,32400,32481,32580,32624,32815,32901,227227,227,)
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