SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776362402 and hide='n' and checked='y' and gid IN (133,409,610,2196,2389,2650,3571,3648,3978,4201,5567,5983,6605,6969,7265,7271,7347,7366,7581,7685,7827,8162,8276,8286,8406,8457,8478,8482,8546,8581,8853,9215,10092,10205,10598,11096,11380,12167,12234,12313,12375,12426,13321,13626,13830,14161,14393,14642,14795,14826,14995,15089,15307,15401,15530,15602,15641,15677,16087,17132,17253,17551,17618,17802,17933,18576,18695,18889,18905,19271,19444,19783,19984,21076,21789,21808,21957,22465,22468,22609,22949,23304,23379,24245,24579,24623,25111,25393,25560,26131,26172,26473,26641,27191,27404,27431,27593,27899,28460,28952,30090,30917,31509,32029,32045,32118,35025,35050,36212,36414,36441,36442,133133,133,)
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