SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776374484 and hide='n' and checked='y' and gid IN (187,501,1418,1991,4966,5323,6842,7108,7677,9315,9406,10867,11065,12632,12826,13222,15108,16980,17224,22351,22568,24163,25115,25278,26777,26982,29098,30963,187187,187,)
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