echo$this->getController()->renderPartial("co2.views.default.unTpl",array("msg"=>Yii::t("common","You are not allow to access to this answer"),"icon"=>"fa-lock"));
else
$this->getController()->render("co2.views.default.unTpl",array("msg"=>Yii::t("common","You are not allow to access to this answer"),"icon"=>"fa-lock"));
}
}else{
if(Yii::app()->request->isAjaxRequest)
echo$this->getController()->renderPartial("co2.views.default.unTpl",array("msg"=>Yii::t("common","You are not allow to access to this answer"),"icon"=>"fa-lock"));
else
$this->getController()->render("co2.views.default.unTpl",array("msg"=>Yii::t("common","You are not allow to access to this answer"),"icon"=>"fa-lock"));