SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776362366 and hide='n' and checked='y' and gid IN (825,841,1076,1171,1248,1505,1626,1667,1722,3280,3370,3588,5079,5500,5620,5634,5740,6596,6725,6811,6918,6990,6995,7290,7412,8520,8586,9848,10067,10070,10119,10293,10715,10976,11101,12261,12321,12325,12864,13823,13945,14096,14178,14230,14270,14459,14752,15627,15759,16821,17171,17807,17878,18227,18264,18291,18456,18891,19396,19672,19943,20484,20889,21272,21634,21659,21702,21710,21935,22162,22333,22360,22977,23120,23126,23616,23832,23842,24031,24165,24279,24506,25860,25917,26093,26511,26565,26896,26986,27050,27640,27679,27687,27697,27831,28175,28432,28848,29150,29165,29550,29796,30324,30331,30475,30559,30604,30643,30648,30708,30759,31361,32221,32737,32759,35070,36523,82536800,36800,36730,36890,)
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