SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776368354 and hide='n' and checked='y' and gid IN (79,335,1179,79,1209,1303,2619,3554,4116,4224,4257,6864,6945,7107,7200,7395,7670,7720,7863,7884,7892,7921,8102,8163,8355,9066,9084,9287,9473,9570,9621,9801,9856,10023,10268,10312,10390,10868,10897,11179,11288,11366,11646,11716,11723,11800,11866,12007,12129,12225,12231,12237,12280,12319,12899,13330,13365,13701,13736,13792,14024,14119,14121,14176,14245,14613,14626,14941,14967,14981,15143,15162,15274,15401,15410,15461,15641,15680,15715,16098,16104,16263,16298,16476,16478,16762,16786,17014,17018,17272,17285,17569,17636,17830,17904,17926,17977,18024,18102,18130,18166,18265,18287,18368,18493,18652,18698,18828,18985,18989,19191,19211,19295,19381,19449,19553,19690,19748,19813,19905,19951,19987,20026,20069,20327,20340,20351,20439,20763,20907,20940,21109,21259,21286,21512,21527,21615,21681,21821,21981,22099,22145,22269,22424,22762,22953,23246,23265,23315,23316,23338,23487,23493,23598,23682,23881,24128,24155,24315,24342,24469,24587,24609,24628,24698,24752,24874,24885,24969,25063,25111,25141,25159,25176,25361,25993,26049,26225,26260,26753,26912,26919,27141,27305,27798,27855,27877,28033,28281,28359,28671,29023,29274,30233,30315,30662,30736,30737,30836,30898,31186,31189,31225,31340,31401,31447,31697,31879,31970,32004,32056,32064,32086,32144,32564,32616,32774,36212,36441,3644236442,36442,)
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