public function post()
{
if (!CheckPermission('weiba_normal', 'weiba_post')) {
$this->error('对不起,您没有权限进行该操作!');
}
$weiba_id = intval($_GET['weiba_id']);
$weiba = D('weiba')->where('weiba_id=' . $weiba_id)->find();
$this->assign('weiba_id', $weiba_id);
$this->assign('weiba_name', $weiba['weiba_name']);
$this->setTitle('发表帖子 ' . $weiba['weiba_name']);
$this->setKeywords('发表帖子 ' . $weiba['weiba_name']);
$this->setDescription($weiba['weiba_name'] . ',' . $weiba['intro']);
$this->display();
}