Skip to content

Commit

Permalink
Update keyboard.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdiMGF2 authored Oct 27, 2023
1 parent 01d8e30 commit 7074d16
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions keyboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
$PaySettingnow = mysqli_fetch_assoc(mysqli_query($connect, "SELECT (ValuePay) FROM PaySetting WHERE NamePay = 'nowpaymentstatus'"))['ValuePay'];
$PaySettingdigi = mysqli_fetch_assoc(mysqli_query($connect, "SELECT (ValuePay) FROM PaySetting WHERE NamePay = 'digistatus'"))['ValuePay'];
$PaySettingaqayepardakht = mysqli_fetch_assoc(mysqli_query($connect, "SELECT (ValuePay) FROM PaySetting WHERE NamePay = 'statusaqayepardakht'"))['ValuePay'];
$PaySettingperfectmoney = mysqli_fetch_assoc(mysqli_query($connect, "SELECT (ValuePay) FROM PaySetting WHERE NamePay = 'status_perfectmoney'"))['ValuePay'];
$step_payment = [
'inline_keyboard' => []
];
Expand All @@ -177,6 +178,11 @@
['text' => "🔵 درگاه آقای پرداخت" , 'callback_data' => "aqayepardakht" ]
];
}
if($PaySettingperfectmoney == "onperfectmoney"){
$step_payment['inline_keyboard'][] = [
['text' => "🔴 درگاه پرفکت مانی" , 'callback_data' => "perfectmoney" ]
];
}
$step_payment['inline_keyboard'][] = [
['text' => "❌ بستن لیست" , 'callback_data' => "colselist" ]
];
Expand Down

0 comments on commit 7074d16

Please sign in to comment.