$tid, 'uid' => $uid, 'type' => 2)); if($thread['attach_golds']<=0||$attach_pay||$uid==$thread['uid']){?>