SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776368271 and hide='n' and checked='y' and gid IN (99,189,309,360,380,471,513,632,651,677,805,844,968,1056,1112,1127,1163,1243,1421,1445,1446,1447,1540,1634,1916,1980,2004,2034,2563,2738,2895,2995,3088,3162,3430,3453,3608,3611,3612,3673,3828,3863,4019,4025,4056,4128,4178,4257,4307,4488,4522,4571,4612,4933,5060,5121,5158,5162,5216,5293,5579,5591,5995,6725,6761,6866,6887,6980,6982,7192,7328,7345,7441,7566,7603,7659,7660,7916,7919,7925,7929,7961,7966,8055,8094,8137,8144,8237,8289,8303,8394,8428,8553,8599,8747,8762,8929,8944,9051,9072,9118,9173,9279,9349,9350,9545,9604,9765,10099,10502,10505,10554,10658,10675,10690,10770,11041,11070,11077,11317,11376,11479,11515,11578,11623,11787,11910,12288,12615,12707,12832,12905,13334,13592,13609,13713,13752,13808,13845,13863,14184,14217,14249,14252,14265,14290,14349,14466,14519,14556,14591,14624,14899,14935,15325,15333,16377,16415,16727,16813,16927,16971,17188,17202,17235,17238,17346,17416,17420,17693,17710,17833,18139,18233,18358,18365,18370,18457,18503,18509,19091,19467,19476,19576,19667,19851,20204,20315,20425,20444,20448,20620,20975,20977,20978,21005,21152,21153,21302,21504,21589,21691,21723,21730,21904,21939,21998,22001,22002,22114,22186,22363,22867,23006,23007,23148,23351,23366,23431,23492,23495,23525,23531,23627,23656,23657,23792,23794,23881,24134,24327,24385,24613,24740,24789,24900,24930,25173,25217,25276,25298,25300,25517,25731,25754,25906,26085,26107,26193,26337,26366,26758,26851,26881,26903,26992,27075,27109,27122,27272,27320,27343,27509,27555,27556,27560,27582,27768,27775,27927,28022,28043,28160,28261,28360,28527,28564,28592,28887,29220,29573,29711,29720,29765,29781,29789,29809,29821,29852,29984,30179,30256,30402,30542,30554,30686,30796,30980,30988,31031,31198,31303,31368,31388,31415,31459,31546,31621,31677,31682,31711,31763,31973,32156,32275,32280,32343,32411,32836,33137,34338,34340,34425,34466,35099,35224,35946,3636436727,36727,36750,36848,36710,36732,)
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