SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776369440 and hide='n' and checked='y' and gid IN (46,90,159,229,395,403,1095,1170,1193,1408,1418,1515,1641,1684,1723,1965,3107,3113,3193,3724,3960,4109,4611,4677,5105,5323,5414,6307,6330,6475,6596,6651,6707,6712,6838,6930,6936,7054,7318,7352,7443,7464,7471,7512,7519,7643,7646,7693,7697,7801,7822,7847,7946,8176,8333,8366,8387,8555,8717,8781,8822,8843,8885,8904,8909,8924,9054,9058,9124,9281,9423,9447,9617,10189,10464,10517,10571,10633,10661,10723,10795,10799,11121,11199,11614,11952,11979,12538,12619,13188,13666,13866,13945,14268,14526,14557,14769,14770,14825,14848,15294,15299,15824,16013,16330,16365,16473,16537,16550,16561,16670,16913,17209,17212,17609,17727,17730,17806,17905,17975,18078,18227,18280,18649,18913,18991,19227,19237,19246,19346,19376,19392,19420,19890,19957,19995,20232,20299,20378,20473,20478,20481,20566,20712,20791,20859,20992,21090,21377,21607,21639,21645,21655,21696,21699,21837,22064,22101,22492,22523,22564,22603,22725,22870,22911,23028,23039,23057,23082,23143,23184,23261,23267,23290,23503,23927,24000,24132,24238,24248,24603,24732,25059,25124,25145,25181,25235,25394,25404,25648,25661,25848,25890,26032,26465,26631,26652,26715,26730,26861,26894,26898,26941,27230,27251,27273,27311,27385,27439,27582,27656,27692,28217,28356,28456,28546,28792,29058,29237,29241,30043,30259,30303,30603,30629,30765,30963,31323,31489,32129,32457,32946,33309,34565,34590,34636,3502335023,35023,36785,)
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