public function appprofile()
{
$user_info = model('User')->getUserInfo($this->uid);
if (empty($user_info)) {
$this->error(L('PUBLIC_USER_NOEXIST'));
}
$d['widgetName'] = ucfirst(t($_GET['appname'])) . 'Profile';
foreach ($_GET as $k => $v) {
$d['widgetAttr'][$k] = t($v);
}
$d['widgetAttr']['widget_appname'] = t($_GET['appname']);
$this->assign($d);
$this->_assignUserInfo(array($this->uid));
$this->mid != $this->uid && $this->_assignFollowState($this->uid);
$this->display();
}