SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776374514 and hide='n' and checked='y' and gid IN (108,424,1399,1485,2304,2368,2949,3012,3535,4697,4732,7076,7677,7751,8147,8271,8984,9027,9267,9302,9695,9734,10290,10470,10898,11054,11056,12142,12199,12201,12244,12255,12430,12495,12786,13627,13640,14094,14734,15405,15856,15989,16472,16810,16832,17022,17659,17967,18378,18384,18799,18932,19130,20042,20232,20281,20715,21177,21258,21340,21368,21524,21681,22280,22606,22628,22639,22767,22975,23105,23122,23133,23387,23523,23686,23727,24062,24335,24339,24627,24685,24952,25011,25016,25125,25148,25246,25328,25361,26228,26393,26506,26689,26694,26744,26874,27035,27236,27335,27496,27908,28112,28283,28358,28774,29166,29337,30634,30841,31074,31456,31531,31692,31869,31940,32366,32385,32510,10836878,)
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