<?php
header('Content-Type: application/json; charset=utf-8');
header('Strict-Transport-Security: max-age=31536000');
header('Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Authorization');
header('Access-Control-Allow-Credentials: true');
$origin = isset($_SERVER['HTTP_ORIGIN']) ? $_SERVER['HTTP_ORIGIN'] : '';
header('Access-Control-Allow-Origin: ' . $origin);
header('vary: Origin');

date_default_timezone_set("Asia/Kolkata");
$shonubody = file_get_contents("php://input");
$payload = json_decode($shonubody, true);

$res = [
    "data" => [],
    "msgParameters" => null,
    "code" => 0,
    "msg" => "Succeed",
    "msgCode" => 0
];

if (!isset($payload['formId'])) {
    $res['data'] = [
        'error' => 'formId not provided'
    ];
    $res['msg'] = 'formId not provided';
    $res['code'] = 400; 
} else {
    $formId = $payload['formId']; // Define formId variable from payload
    
    // Checking for formId = 16
    if ($formId == 15) {
        $res['data'] = [
            "userGuideContent" => "<h1><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\">CHANGE IFSC&nbsp;</strong></h1><p><br></p><p><span style=\"color: rgb(0, 0, 0);\">As we are very concerned about all of our members&nbsp;problems, we&nbsp;do&nbsp;understand sometimes our member could fill in a wrong bank IFSC code that will caused the withdrawal rejected and if you willing to update your bank IFSC code to the correct one kindly&nbsp;submit all requirement to “IFSC Modification” and follow the step by step in the picture below :&nbsp;</span></p><p><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/063442854-757-image.png\"></p><p><br></p><p><span style=\"color: rgb(0, 0, 0);\">Q: How i can find the IFSC code bank i&nbsp;using for withdrawal?</span></p><p><span style=\"color: rgb(0, 0, 0);\">A: You can find the IFSC code bank you use it from the passbook bank / bank statement PDF </span></p><p><span style=\"color: rgb(0, 0, 0);\">We will showing you the example of the passbook bank and find the IFSC code on the photo</span></p><p><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/063510882-758-image.png\"></p><p><br></p><p><strong style=\"color: rgb(255, 255, 255); background-color: rgb(153, 51, 255);\">STATUS ISSUE</strong></p><p><span style=\"color: rgb(0, 0, 0);\">Q: How do i check my status issue IFSC MODIFICATION on self-service center NN GAMES&nbsp;?</span></p><p><span style=\"color: rgb(0, 0, 0);\">A: You can check the status issue by pressing the “Progress Query”&nbsp;for checking all the order record status that you have been submitted to self-service center</span></p>"
        ];
    }
    
    // Checking for formId = 26
    elseif ($formId == 26) {
        $res['data'] = [
            "userGuideContent" => "<h1><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\">CHANGE LOGIN PASSWORD </strong></h1><p><br></p><p><span style=\"color: rgb(0, 0, 0);\">Q: How i can submit issue about Change ID Login Password on self-service center NN GAMES&nbsp;?</span></p><p><span style=\"color: rgb(0, 0, 0);\">A: If you forgot your password, we have two way for recover your account password by receiving OTP code that we will separate as “Before Login” and “After Login” with the following step by step in the picture below &nbsp;:&nbsp;</span></p><p><br></p><p><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\"><u>After Login</u></strong></p><p><strong style=\"background-color: rgb(194, 133, 255);\"><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/071901619-777-image.png\"></strong></p><p><br></p><p><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\"><u>Before Login</u></strong></p><p><strong style=\"background-color: rgb(194, 133, 255);\"><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/071919043-778-image.png\"></strong></p><p><br></p><h3><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\">Note :</strong><span style=\"color: rgb(0, 0, 0);\"> To create unique password must with BIG and SMALL letters with numbers and cannot using characters like period or underscore.</span></h3><p><span style=\"color: rgb(0, 0, 0);\">example: QWERtyu1</span></p><p><span style=\"color: rgb(0, 0, 0);\">We recommend to set a strong password to avoid stealing accounts and do not show your password to another</span></p><p><br></p><p><span style=\"color: rgb(0, 0, 0);\">If you cannot reset your password with the step above, you need to&nbsp;submit on the customer service self-service center&nbsp;and submit all requirement to “Change&nbsp;ID&nbsp;login password”&nbsp;and there will have two method of how to submit in this issue that we will divide as “Before Login” and “After Login”&nbsp;following step by step in the picture below&nbsp;:&nbsp;</span></p><p><br></p><p><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\"><u>After Login</u></strong></p><p><strong style=\"background-color: rgb(194, 133, 255);\"><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/072014734-779-image.png\"></strong></p><h3><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\">NOTE:</strong>&nbsp;<span style=\"color: rgb(255, 0, 0);\">Make sure all the data and requirement already fill and upload, clear and detail.&nbsp;</span></h3><p><br></p><p><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\"><u>Before Login</u></strong></p><p><strong style=\"background-color: rgb(194, 133, 255);\"><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/072057973-780-image.png\"></strong></p><p><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\">NOTE:</strong> <span style=\"color: rgb(255, 0, 0);\">Make sure all the data and requirement already fill and upload, clear and detail.&nbsp;</span></p><p><br></p><p><strong style=\"color: rgb(255, 0, 0);\">﻿﻿﻿</strong><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\">STATUS ISSUE</strong></p><p><span style=\"color: rgb(0, 0, 0);\">Q: How do i check my status issue Change ID Login Pass&nbsp;on self-service center NN GAMES&nbsp;?</span></p><p><span style=\"color: rgb(0, 0, 0);\">A: You can check the status issue by pressing the “Progress Query” for checking all the order record status that you have been submitted to self-service center</span></p>"
        ];
    }elseif ($formId == 14) {
        $res['data'] = [
            "userGuideContent" => "<h1><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\" class=\"ql-font-serif\">Deposit not received</strong></h1><p><br></p><p><strong style=\"color: rgb(255, 0, 0);\">There is some important thing you should aware when you made deposit for avoiding funds lost or deposit arrived late in your ID account :&nbsp;</strong></p><p><strong style=\"color: rgb(255, 255, 255); background-color: rgb(153, 51, 255);\"><span class=\"ql-cursor\">﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿</span>1.</strong><span style=\"color: rgb(255, 255, 255);\"> </span><span style=\"color: rgb(0, 0, 0);\">Please Ensure to always fill the correct UTR number of your completed payment so your deposit amount will not be delay </span></p><p><strong style=\"color: rgb(255, 255, 255); background-color: rgb(153, 51, 255);\">2.</strong><span style=\"color: rgb(255, 255, 255);\">&nbsp;</span><span style=\"color: rgb(0, 0, 0);\">Due to UPI personal risk control reasons, individual payments are made Your payment will fail through this channel. You can try another channel multiple times to pay</span></p><p><strong style=\"color: rgb(255, 255, 255); background-color: rgb(153, 51, 255);\">3. </strong><span style=\"color: rgb(0, 0, 0);\">Our payment address will be change time to time so please ensure&nbsp;to&nbsp;never&nbsp;save our UPI address for&nbsp;make repeated transfers&nbsp;without create a new deposit order&nbsp;(which will cause loss of funds). You must resubmit a new deposit order and pay again according to the process every time you recharge</span></p><p><strong style=\"color: rgb(255, 255, 255); background-color: rgb(153, 51, 255);\">4. </strong><span style=\"color: rgb(0, 0, 0);\">Due to high demand/order sometimes your payment will be delay, we suggest member to resubmit a new deposit order with the same payment method, payment channel, amount and fill the correct UTR number of your previous completed payment</span></p><p><br></p><h5><span style=\"color: rgb(0, 0, 0);\">If you still encounter the problem of your deposit order still not arrived into your ID account after you resubmit a new deposit order and fill all the correct information from your previous payment, we highly recommend you for submit a deposit problem query to our self-service team by </span>simply select “Deposit Not Receive” and follow the step-by-step provided in the image below to resolve the issue&nbsp;<span style=\"color: rgb(0, 0, 0);\">:&nbsp;</span></h5><p><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/052442124-753-image.png\"></p><p><br></p><p><span style=\"color: rgb(0, 0, 0);\">If the recharge is delayed, don't worry, our&nbsp;professional team will conduct a manual checking, and will confirm and update your payment status to&nbsp;the bank side every 30 minutes&nbsp;to ensure that it will be helpful for speed up the arrival of your deposit payment into your ID account.</span></p><p><span style=\"color: rgb(0, 0, 0);\">&nbsp;</span></p><p><span style=\"color: rgb(0, 0, 0);\">Q: I'm not really understand about the UTR number and Receiver UPI ID where i can find that ?</span></p><p><span style=\"color: rgb(0, 0, 0);\">A: You can find it on the bank / wallet apps you using </span></p><p><span style=\"color: rgb(0, 0, 0);\">1. You open the bank / wallet apps you use for transfer deposit</span></p><p><span style=\"color: rgb(0, 0, 0);\">2. Search on the history transaction / inbox </span></p><p><span style=\"color: rgb(0, 0, 0);\">3. Press the transaction you do to show the detail transfer</span></p><p><br></p><p><span style=\"color: rgb(0, 0, 0);\">You can check also the photo below to see the explanation to check the deposit receipt proof </span></p><p><span style=\"color: rgb(0, 0, 0);\">1. Deposit amount</span></p><p><span style=\"color: rgb(0, 0, 0);\">2. Receiver UPI ID</span></p><p><span style=\"color: rgb(0, 0, 0);\">3. UTR number</span></p><p><span style=\"color: rgb(0, 0, 0);\">4. Time and date transaction </span></p><p><span style=\"color: rgb(0, 0, 0);\">this 4 is need to be show clear and detail so our deposit department can help to check faster</span></p><p><span style=\"color: rgb(0, 0, 0);\"><span class=\"ql-cursor\">﻿﻿</span></span><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/052514728-754-image.png\"></p>"
        ];
    }elseif ($formId == 16) {
        $res['data'] = [
            "userGuideContent" => "<h1><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\">CHANGE IFSC&nbsp;</strong></h1><p><br></p><p><span style=\"color: rgb(0, 0, 0);\">As we are very concerned about all of our members&nbsp;problems, we&nbsp;do&nbsp;understand sometimes our member could fill in a wrong bank IFSC code that will caused the withdrawal rejected and if you willing to update your bank IFSC code to the correct one kindly&nbsp;submit all requirement to “IFSC Modification” and follow the step by step in the picture below :&nbsp;</span></p><p><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/063442854-757-image.png\"></p><p><br></p><p><span style=\"color: rgb(0, 0, 0);\">Q: How i can find the IFSC code bank i&nbsp;using for withdrawal?</span></p><p><span style=\"color: rgb(0, 0, 0);\">A: You can find the IFSC code bank you use it from the passbook bank / bank statement PDF </span></p><p><span style=\"color: rgb(0, 0, 0);\">We will showing you the example of the passbook bank and find the IFSC code on the photo</span></p><p><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/063510882-758-image.png\"></p><p><br></p><p><strong style=\"color: rgb(255, 255, 255); background-color: rgb(153, 51, 255);\">STATUS ISSUE</strong></p><p><span style=\"color: rgb(0, 0, 0);\">Q: How do i check my status issue IFSC MODIFICATION on self-service center NN GAMES&nbsp;?</span></p><p><span style=\"color: rgb(0, 0, 0);\">A: You can check the status issue by pressing the “Progress Query”&nbsp;for checking all the order record status that you have been submitted to self-service center</span></p>"  
        ];
    }elseif ($formId == 30) {
        $res['data'] = [
            "userGuideContent" => "<h1><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\">DELETE BANK ACCOUNT </strong></h1><p><br></p><p><span style=\"color: rgb(0, 0, 0);\">As we are very concerned about all of our members&nbsp;problems, we do understand sometimes our member could fill in a wrong bank information that will caused the withdrawal rejected or not arrived to the correct bank account&nbsp;and if you willing to change your bank information to the correct one kindly&nbsp;submit all requirement to “Delete Bank” and we also have two way for delete your bank that we will separate as “Can Receive” and “Cannot Receive”by the following step by step in the picture below : </span></p><p><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\"><u>&nbsp;Can Receive</u></strong></p><p><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/064722360-761-image.png\"></p><p><br></p><p><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\"><u>Cannot Receive</u></strong></p><p><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/064801133-762-image.png\"></p><p><br></p><p><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\">NOTE:</strong> <u style=\"color: rgb(255, 0, 0);\">Make sure all the data and requirement already fill and upload, clear and detail.</u></p><p><br></p><p><span style=\"color: rgb(0, 0, 0);\">Q: How the way i need to taking selfie holding the requirement data need it?</span></p><p><span style=\"color: rgb(0, 0, 0);\">A: Okay for the example posture please follow like the photo we give</span></p><p><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/064937239-765-image.png\"></p><p><br></p><p><span style=\"color: rgb(0, 0, 0);\">Q: What valid identity card that we can use or show it for requirement?</span></p><p><span style=\"color: rgb(0, 0, 0);\">A: For the valid identity card that you can use is aadhar card/ PAN card/ driving license card</span></p><p><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/065010590-766-image.png\"></p><p><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/065015973-767-image.png\"></p><p><br></p><p><span style=\"color: rgb(0, 0, 0);\">Q: For bank what i need to provide ?</span></p><p><span style=\"color: rgb(0, 0, 0);\">A: On bank you need to attach the passbook bank / bank statement screenshot with</span><span style=\"color: rgb(255, 255, 255); background-color: rgb(153, 51, 255);\"> </span><strong style=\"color: rgb(255, 255, 255); background-color: rgb(153, 51, 255);\">bank holder name, bank name, bank account number, IFSC code can be see clear and detail</strong></p><p><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/065046352-768-image.png\"></p><p><br></p><p><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\">STATUS ISSUE</strong></p><p>Q: How do i check my status issue Delete Bank on self-service center NN GAMES ?</p><p>A: You can check the status issue by pressing the “Progress Query” for checking all the order record status that you have been submitted to self-service center</p>"
       ];
    }elseif ($formId == 18) {
        $res['data'] = [
            "userGuideContent" => "<h1><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\">DELETE BANK ACCOUNT </strong></h1><p><br></p><p><span style=\"color: rgb(0, 0, 0);\">As we are very concerned about all of our members&nbsp;problems, we do understand sometimes our member could fill in a wrong bank information that will caused the withdrawal rejected or not arrived to the correct bank account&nbsp;and if you willing to change your bank information to the correct one kindly&nbsp;submit all requirement to “Delete Bank” and we also have two way for delete your bank that we will separate as “Can Receive” and “Cannot Receive”by the following step by step in the picture below : </span></p><p><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\"><u>&nbsp;Can Receive</u></strong></p><p><strong style=\"background-color: rgb(194, 133, 255);\"><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/064722360-761-image.png\"></strong></p><p><br></p><p><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\"><u>Cannot Receive</u></strong></p><p><strong style=\"background-color: rgb(194, 133, 255);\"><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/064801133-762-image.png\"></strong></p><p><br></p><p><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\">NOTE:</strong> <u style=\"color: rgb(255, 0, 0);\">Make sure all the data and requirement already fill and upload, clear and detail.</u></p><p><br></p><p><span style=\"color: rgb(0, 0, 0);\">Q: How the way i need to taking selfie holding the requirement data need it?</span></p><p><span style=\"color: rgb(0, 0, 0);\">A: Okay for the example posture please follow like the photo we give</span></p><p><strong style=\"background-color: rgb(194, 133, 255);\"><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/064937239-765-image.png\"></strong></p><p><br></p><p><span style=\"color: rgb(0, 0, 0);\">Q: What valid identity card that we can use or show it for requirement?</span></p><p><span style=\"color: rgb(0, 0, 0);\">A: For the valid identity card that you can use is aadhar card/ PAN card/ driving license card</span></p><p><strong style=\"background-color: rgb(194, 133, 255);\"><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/065010590-766-image.png\"></strong></p><p><strong style=\"background-color: rgb(194, 133, 255);\"><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/065015973-767-image.png\"></strong></p><p><br></p><p><span style=\"color: rgb(0, 0, 0);\">Q: For bank what i need to provide ?</span></p><p><span style=\"color: rgb(0, 0, 0);\">A: On bank you need to attach the passbook bank / bank statement screenshot with</span><span style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\"> </span><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\">bank holder name, bank name, bank account number, IFSC code can be see clear and detail</strong></p><p><strong style=\"background-color: rgb(194, 133, 255);\"><img src=\"https://worktracking-img.oss-ap-southeast-1.apioperations.xyz/Dev/other/065046352-768-image.png\"></strong></p><p><br></p><p><strong style=\"background-color: rgb(153, 51, 255); color: rgb(255, 255, 255);\">STATUS ISSUE</strong></p><p><strong>Q: How do i check my status issue Delete Bank on self-service center NN GAMES ?</strong></p><p><strong>A: You can check the status issue by pressing the “Progress Query” for checking all the order record status that you have been submitted to self-service center</strong></p>"
   ];
    } else {
        $res['data'] = [
            'error' => 'Invalid formId'
        ];
        $res['msg'] = 'Invalid formId';
        $res['code'] = 400;
    }
}

http_response_code($res['code']);
echo json_encode($res, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
?>
