Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
iwl-live
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anthony.Suerte
iwl-live
Commits
97b2fae4
Commit
97b2fae4
authored
Mar 09, 2022
by
Antonio.Suerte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide LBT SEA
parent
ea88fdba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
model.php
logic/withdraw/model.php
+1
-1
common.php
system/lib/common.php
+6
-6
No files found.
logic/withdraw/model.php
View file @
97b2fae4
...
@@ -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
]);
}
}
...
...
system/lib/common.php
View file @
97b2fae4
...
@@ -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
)){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment