SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776363550 and hide='n' and checked='y' and gid IN (12,531,1595,2125,2637,2649,3042,3057,3226,3335,3411,3830,3867,4882,5106,5165,5737,5837,6744,6846,7028,7365,8179,8186,8615,8711,9000,9537,9647,10233,10553,10635,10903,11178,11423,11751,11804,11972,12371,12375,12537,12710,12955,13005,13006,13084,13179,13573,13992,14758,14895,14959,15236,15678,16134,16572,16754,16791,17187,17200,17244,17312,17335,17338,17345,17398,17419,17486,17756,18015,18468,18746,18830,18907,19100,19205,19500,19683,20170,20555,20585,20760,21131,21177,21191,21931,22016,22125,22595,22692,22707,23143,23253,23255,23353,23565,24364,24413,24476,24589,24603,24835,24839,25051,25181,25528,25627,25654,25674,25748,26340,26885,26894,26984,27597,27809,27860,27945,28025,28225,28710,28967,29129,29146,30381,31073,31641,31850,31949,32772,35025,12,3667336673,36673,)
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