client->key == Typecho_Widget::widget('Widget_Options')->plugin('B3logForHacPai')->b3logKey) { $post = Typecho_Db::get()->fetchRow(Typecho_Db::get()->select('authorId')->from('table.contents')->where('cid = ?', $result->comment->articleId)); if ($post) { $comment = array( 'cid' => $result->comment->articleId, 'created' => Helper::options()->gmtTime, 'text' => $result->comment->content, 'author' => $result->comment->authorName, 'mail' => $result->comment->authorEmail, 'url' => $result->comment->authorURL, 'agent' => $this->request->getAgent(), 'ip' => $this->request->getIp(), 'ownerId' => $post['authorId'], 'type' => 'comment', 'status' => 'approved', ); //print_r($result->comment->articleid); //$article = Typecho_Widget::widget('Widget_Users_Author@' . $this->cid, array('cid' => $result->comment->articleId)); Typecho_Widget::widget('Widget_Feedback')->insert($comment); } } } }