SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776369358 and hide='n' and checked='y' and gid IN (179,630,679,1391,1782,1918,3405,3508,3749,4071,4293,4352,4394,4715,4815,4886,4912,4929,5329,5343,5440,5582,5617,6085,6189,6417,6448,6560,6845,6929,6996,7086,7179,7225,7424,7518,8188,8264,8707,8722,8750,8846,8866,9466,9571,9584,9768,9783,10773,11002,11038,11123,11136,11315,11336,11337,11638,11766,11916,12249,12269,12302,12415,12619,12744,12934,12941,13243,13377,13909,13946,14313,14427,14563,14717,15159,15183,15430,16686,17080,17126,17182,17495,17635,17798,17819,18308,18531,19704,19852,21002,21742,21970,22077,22261,22269,22356,23083,23161,23884,24069,24363,24865,25079,25119,25144,25384,25505,25674,25795,25796,25962,26062,26131,26394,26525,26539,26793,27241,27316,27344,27488,27558,27651,27903,27956,28155,28328,28525,29725,29852,29957,30541,30721,30734,30742,31032,31353,31645,31663,32173,32224,32560,32632,32824,17936874,)
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