SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776362499 and hide='n' and checked='y' and gid IN (281,282,303,924,968,1273,1318,1857,1916,2732,4309,4327,4418,5995,6429,7087,7192,7273,7409,7918,7929,7975,8358,8599,8889,8914,9260,10153,10240,10472,10676,11317,11835,11939,12804,12946,13612,13752,14572,15704,16839,16877,16983,17692,18385,19150,19501,19829,19851,20315,20410,20467,20680,21005,22288,23431,23495,23656,23794,25172,25174,25994,26119,26149,27314,27603,28667,29236,29773,30200,30417,30666,31229,31271,31308,31356,31415,31643,31659,31677,31979,32401,32601,32608,32884,33002,34338,35224,281281,281,36750,)
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