- //权限检查
- if(!checkperm('manageadmincp')) {
- showmessage('no_authority_management_operation');
- }
- //没有登录
- if(emptyempty($_SGLOBAL['supe_uid']) || emptyempty($_SGLOBAL['member']['password'])) {
- setcookie('_refer', rawurlencode(S_URL_ALL.'/admincp.php?'.$_SERVER['QUERY_STRING']));
- showmessage('admincp_login', geturl('action/login'));
- }
- //没有登录
- if(emptyempty($_SGLOBAL['supe_uid']) || emptyempty($_SGLOBAL['member']['password'])) {
- setcookie('_refer', rawurlencode(S_URL_ALL.'/admincp.php?'.$_SERVER['QUERY_STRING']));
- showmessage('admincp_login', geturl('action/login'));
- }
- //权限检查
- if(!checkperm('manageadmincp')) {
- showmessage('no_authority_management_operation');
- }
新闻热点
疑难解答