SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776368430 and hide='n' and checked='y' and gid IN (37,167,454,883,1003,1032,37,1451,1584,2242,2504,2833,2941,3677,3863,4193,4436,4468,4511,4578,5165,5168,5611,5682,5705,5718,5735,5770,6044,6707,6850,7218,7389,7611,7649,7675,7925,8172,8288,8343,8431,8480,8547,8824,9005,9161,9349,9470,9822,10212,10217,10263,10320,10429,10571,10642,11010,11065,11199,11320,11402,11576,11641,11782,12594,12867,13255,13434,13694,13822,13955,14112,14257,14470,14518,14654,14877,14910,15119,15289,15658,15923,16168,16611,16696,16771,16780,16794,17043,17327,17330,17459,17476,17498,17789,17833,18072,18237,18608,19111,19159,19164,19249,19992,20070,20321,20961,20979,21999,22151,22349,22792,22915,23147,24253,24358,24522,24584,24716,24829,24930,25259,25312,25658,25878,25908,26016,26485,26669,26879,26930,26983,27111,27127,27248,27369,27419,27829,28070,28234,28352,28618,28655,28873,29048,29159,29440,29508,29569,29599,29892,29945,30126,30309,30330,30357,30424,30429,30659,30831,31125,31274,31367,31368,31379,31737,31827,31959,32003,32281,32518,32622,32700,34364,34911,3600636727,36727,36735,36710,)
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