Commit 97b2fae4 authored by Antonio.Suerte's avatar Antonio.Suerte

Hide LBT SEA

parent ea88fdba
...@@ -2182,7 +2182,7 @@ class WithdrawModelClass extends ModelClassEx { ...@@ -2182,7 +2182,7 @@ class WithdrawModelClass extends ModelClassEx {
$solution = ($value[1] == 'Flat3') ? PARAM_WITHDRAW_FLAT3_METHOD : (($value[1] == 'SDPay') ? PARAM_WITHDRAW_LBTC_METHOD : (($value[1] == 'H2P') ? PARAM_WITHDRAW_H2P_METHOD : PARAM_WITHDRAW_IBT_METHOD)); $solution = ($value[1] == 'Flat3') ? PARAM_WITHDRAW_FLAT3_METHOD : (($value[1] == 'SDPay') ? PARAM_WITHDRAW_LBTC_METHOD : (($value[1] == 'H2P') ? PARAM_WITHDRAW_H2P_METHOD : PARAM_WITHDRAW_IBT_METHOD));
$access = $this -> getUserBypassValue(PARAM_WITHDRAW,$solution,$this -> getColumnData($this -> user, 'user_account')); $access = $this -> getUserBypassValue(PARAM_WITHDRAW,$solution,$this -> getColumnData($this -> user, 'user_account'));
if ($value[0] == 0 && ((strpos($value[3],$lang) !== false) && !($this -> checkAccountType($this -> getColumnData($this -> user, 'mail')))) || $value[1] == 'International' || $access != false) { if ($value[0] == 0 && ((strpos($value[3],$lang) !== false) && !($this -> checkAccountType($this -> getColumnData($this -> user, 'mail')))) || $value[1] == 'International' || $access != false) {
if(($lang == 'ja' && $value[1] != 'SDPay' && $value[1] != 'H2P')||(($lang == 'sc' || $lang == 'tc')&& $value[1] != 'Flat3' && $value[1] != 'H2P')||($lang == 'en')||(($lang == 'id')&& ($value[1] != 'SDPay' && $value[1] != 'Flat3'))){ if(($lang == 'ja' && $value[1] != 'SDPay' && $value[1] != 'H2P')||(($lang == 'sc' || $lang == 'tc')&& $value[1] != 'Flat3' && $value[1] != 'H2P')||(($lang == 'en') && $value[1] != "H2P")||(($lang == 'id')&& ($value[1] != 'SDPay' && $value[1] != 'Flat3'))){
$rtn[] = $value[2].getOutLanguage($lang.'_'.$value[1]); $rtn[] = $value[2].getOutLanguage($lang.'_'.$value[1]);
} }
......
...@@ -1681,12 +1681,12 @@ class Common extends HtmlBuilder { ...@@ -1681,12 +1681,12 @@ class Common extends HtmlBuilder {
// 'lang' => VAL_STR_CPS_DISPLAY_LANG); // 'lang' => VAL_STR_CPS_DISPLAY_LANG);
// } // }
$rtn[] = array( // $rtn[] = array(
'name' => VAL_STR_H2P_NAME, // 'name' => VAL_STR_H2P_NAME,
'logo' => VAL_STR_H2P_LOGO, // 'logo' => VAL_STR_H2P_LOGO,
'fee' => VAL_STR_H2P_FEE, // 'fee' => VAL_STR_H2P_FEE,
'method' => VAL_STR_H2P_METHOD, // 'method' => VAL_STR_H2P_METHOD,
'lang' => VAL_STR_H2P_DISPLAY_LANG); // 'lang' => VAL_STR_H2P_DISPLAY_LANG);
if(in_array($this->getUserData(PARAM_USER_ACCOUNT), $grantDeposit -> BIT)){ if(in_array($this->getUserData(PARAM_USER_ACCOUNT), $grantDeposit -> BIT)){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment