<?php
$time = $_GET['time'];
$order_id = $_GET['order_id'];
$amount = $_GET['amount'];
$bot_url = $_GET['bot_url'];
$description = $_GET['description'];
?>

<!DOCTYPE html>
<html lang="fa"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>نتیجه تراکنش</title>
    
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="./files/irangateway.min.css">
	
</head><body class="rtl" cz-shortcut-listen="true">
<div class="container-fluid">
    
    <div id="irangatewayBox" class="fixed-content-box transaction" style="">
        <div class="row justify-content-center">
            <div class="col-12 pb-2 d-flex justify-content-between align-items-center">
                <h5>نتیجه تراکنش</h5>
                <div class="text-center">
                    زمان تراکنش:
                    <span style="direction: ltr" class="font-weight-bold d-inline-block">
                          <?php echo $time; ?>                      </span>
                </div>
            </div>
            <div class="col-12 m-3 d-flex justify-content-around align-items-center">
                                    <img style="max-height: 120px;" src="./files/sep.png">
                            </div>
            <div class="col-12 col-lg-11 mt-3">
                <div class="transaction-result text-center">
                    <div class="alert alert-success">تراکنش با موفقیت انجام شد.</div>                </div>
                <table class="table table-striped table-cols-centered">
                    <tbody>
                        <tr>
							<td class="text-nowrap">شماره تراکنش</td>
							<td class=""><?php echo $order_id; ?></td>
						</tr>
						<tr>
							<td class="text-nowrap">مبلغ</td>
							<td class=""><?php echo $amount; ?> تومان</td>
						</tr>
						<tr>
							<td class="text-nowrap">نتیجه</td>
							<td class=""><?php echo $description; ?></td>
						</tr>
                    </tbody>
                </table>
                            </div>
            <div class="col-12 col-lg-5 col-md-6">
                <a href="<?php echo $bot_url; ?>" class="btn btn-primary btn-sm btn-block">
                    بازگشت به ربات   </a>
            </div>

        </div>
    </div>
</div>
</body></html>