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.
25 lines
821 B
25 lines
821 B
<?php
|
|
|
|
if ('display' != $action) {
|
|
define('FRAME', 'account_manage');
|
|
} else {
|
|
if ('display' == $action) {
|
|
define('FRAME', 'platform');
|
|
} else {
|
|
define('FRAME', '');
|
|
}
|
|
}
|
|
|
|
if ('account' == $controller && 'manage' == $action) {
|
|
if (ACCOUNT_TYPE_APP_NORMAL == $_GPC['account_type']) {
|
|
define('ACTIVE_FRAME_URL', url('account/manage/display', array('account_type' => ACCOUNT_TYPE_APP_NORMAL)));
|
|
}
|
|
}
|
|
|
|
$account_all_type = uni_account_type();
|
|
$account_all_type_sign = uni_account_type_sign();
|
|
$account_param = WeAccount::create(array('type' => $_GPC['account_type']));
|
|
define('ACCOUNT_TYPE', $account_param->type);
|
|
define('TYPE_SIGN', $account_param->typeSign);
|
|
define('ACCOUNT_TYPE_NAME', $account_param->typeName);
|
|
define('ACCOUNT_TYPE_TEMPLATE', $account_param->typeTempalte);
|
|
|