SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776370400 and hide='n' and checked='y' and gid IN (1298,1920,2478,3370,4219,5213,6233,6931,7086,7474,9394,9403,9427,9898,10645,12804,13501,14235,14303,14610,16049,20862,23773,24749,26541,27420,27424,27441,28699,28718,31528,32148,32380,32536,32587,32918,35938,12981298,1298,)
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