SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776369344 and hide='n' and checked='y' and gid IN (195,339,382,418,740,741,875,953,1097,1148,1387,1563,1673,3137,4818,6581,6953,7013,7884,7892,8574,8902,9018,9111,9629,9641,10080,10668,10912,10950,10952,11022,11216,11441,11476,11559,11746,12074,12485,14080,14407,14446,15565,15583,15635,15874,16169,17020,17075,17690,17824,18307,19373,19390,19889,20638,20671,20717,20752,20855,20869,21453,21456,21545,21761,21912,22072,22280,22402,22442,23122,23463,24207,24461,25183,25246,25394,25457,25617,25847,25887,26131,26268,26413,26628,26689,26847,27033,27311,27439,28409,28992,29065,29355,29986,30216,30303,30905,31438,31631,31701,31905,32407,32457,32777,32843,33365,34547,195195,195,36898,)
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