SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776369448 and hide='n' and checked='y' and gid IN (1171,6054,6885,7104,10067,11101,11459,12411,14178,14230,14752,17260,17389,18388,19234,20461,20889,22162,22977,23056,23177,25668,25840,26437,26511,26703,26986,27402,27590,27813,28432,29352,29550,30184,30248,30324,30643,30694,31112,31843,31992,11711171,1171,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