$post = Post::model()->with(array('comments'=>array('condition' =>'comments.status=1','order'=>'comments.create_time DESC') ))->findByPk($pid);
$post = Post::model()->with(array('comments'=>array('condition' =>'comments.status=1','order'=>'comments.create_time DESC') ))->findByPk($pid);