checkCookie()){ $strloginhtml = "
用户帐号: 用户密码: [注册]
"; } else { $arr = $_COOKIE['user']; $arrinfo = D('user')->getInfo(3,$arr['acc']); $intpower = $arrinfo[0]['eby_upower']; if ($intpower==1){ $strpower = 'VIP'; } elseif ($intpower==2){ $strpower = '歌手'; } elseif ($intpower==3){ $strpower = '普通'; } elseif ($intpower==4){ $strpower = '游客'; } $strloginhtml = "
欢迎您回来 ".$arrinfo[0]['eby_uaccounts']."(".$arrinfo[0]['eby_uname'].") 您的积分:".$arrinfo[0]['eby_upoint']." 登录次数:".$arrinfo[0]['eby_ulogincount']." 所在用户组:".$strpower." [退出]
"; } echo $strloginhtml; ?>