You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
531 B
23 lines
531 B
<?php
|
|
|
|
defined('IN_IA') or exit('Access Denied');
|
|
|
|
if ('entry' != $action) {
|
|
$account_api = WeAccount::createByUniacid();
|
|
if (is_error($account_api)) {
|
|
itoast('', $_W['siteroot'] . 'web/home.php');
|
|
}
|
|
$check_manange = $account_api->checkIntoManage();
|
|
|
|
if (is_error($check_manange)) {
|
|
itoast('', $account_api->displayUrl);
|
|
}
|
|
$account_type = $account_api->menuFrame;
|
|
if (!('multi' == $action && 'post' == $do)) {
|
|
define('FRAME', $account_type);
|
|
} else {
|
|
define('FRAME', '');
|
|
}
|
|
} else {
|
|
define('FRAME', 'account');
|
|
}
|