%PDF- %GIF98; %PNG; .
Cyber Programmer
Logo of a company Server : Apache
System : Linux sh00666.bluehost.com 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64
User : ndkhermy ( 1200)
PHP Version : 8.5.12
Disable Function : NONE
Directory :  /home1/ndkhermy/public_html/website_93b53270/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home1/ndkhermy/public_html/website_93b53270/failed.php
<?php
include 'function.php';
$order_id = $_GET['order_id'] ?? 'ORD123456';
$transaction_id = $_GET['txn_id'] ?? 'TXN987654';
$company_name = $rows_website['website_name'];
$logo_url = $base_url."images/Upload/logo/".$rows_website['footer_logo'];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Payment Failed - <?= htmlspecialchars($company_name) ?></title>

<!-- ✅ Bootstrap 5 CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">

<style>
body {
    background-color: #ff1a30;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 100%;
}
.card .logo img {
    width: 120px;
}
.icon {
    font-size: 30px;
    color: #dc3545;
}
.info p {
    margin: 0;
    font-size: 15px;
}

.d-grid{
    display: flex;
    justify-content: center;
}

</style>
</head>

<body>

<div class="card text-center p-4">
    <div class="logo mb-3">
        <img src="<?= htmlspecialchars($logo_url) ?>" alt="<?= htmlspecialchars($company_name) ?> Logo">
    </div>

    <div class="icon mb-2">❌</div>
    <h3 class="text-danger mb-2">Payment Failed</h3>
    <p class="text-muted">Unfortunately, your payment could not be processed.<br>Please try again or contact support.</p>

    <div class="border rounded p-3 my-3 bg-light text-start info">
        <p><strong>Order ID:</strong> <?= htmlspecialchars($order_id) ?></p>
        <p><strong>Transaction ID:</strong> <?= htmlspecialchars($transaction_id) ?></p>
    </div>

    <div class="d-grid gap-2">
        <a href="<?=$base_url?>" class="text-decoration-none btn btn-danger mt-2">← Back to Home</a>
    </div>
</div>

<!-- ✅ Bootstrap 5 JS Bundle -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>

</body>
</html>

VaKeR 2022