MMCT TEAM
Server IP : 2a02:4780:3:1493:0:3736:a38e:7  /  Your IP : 216.73.216.60
Web Server : LiteSpeed
System : Linux sg-nme-web1393.main-hosting.eu 4.18.0-553.77.1.lve.el8.x86_64 #1 SMP Wed Oct 8 14:21:00 UTC 2025 x86_64
User : u926327694 ( 926327694)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u926327694/domains/smsoft.in/public_html/demo/../smart/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u926327694/domains/smsoft.in/public_html/demo/../smart/payment.php
<?php
include("config.php");
$code = isset($_GET['code']) ? trim($_GET['code']) : null;
if (!$code) {
    header("Location: default.php");
    exit;
}

$sel_school = mysqli_query($con, "SELECT * FROM schools WHERE school_code='$code'");
$expiry_date = "";
$payment_amount = "";
$paid_amount = "";
$total_amount = "";
while ($rows = mysqli_fetch_array($sel_school)) {
    $expiry_date = $rows['expiry_date'];
    $payment_amount = $rows['payment_amount'];
    $paid_amount = $rows['paid_amount'];
    $total_amount = $rows['total_amount'];
}

$upi_id   = "r.k.swaroopa-1@okaxis";
$payee_name = "R K Swaroopa";

$payment_link = "upi://pay?pa=" . urlencode($upi_id) .
                "&pn=" . urlencode($payee_name) .
                "&am=" . $payment_amount .
                "&cu=INR" .
                "&tn=" . urlencode("Software Renewal");
$qr_api = "https://api.qrserver.com/v1/create-qr-code/?size=250x250&data=" . urlencode($payment_link);
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Software Expired - Payment Required</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      background: #f7f7f7;
      margin: 0;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .card {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
      padding: 30px;
      text-align: center;
      max-width: 480px;
      width: 100%;
    }
    h2 {
      color: #d9534f;
      margin-bottom: 15px;
    }
    p {
      color: #333;
      font-size: 15px;
      margin: 8px 0;
    }
    .qr {
      margin: 20px 0;
    }
    .qr img {
      max-width: 220px;
      border: 6px solid #f1f1f1;
      border-radius: 10px;
    }
    .code-box {
      margin: 15px auto;
      font-size: 14px;
      background: #f1f1f1;
      padding: 10px;
      border-radius: 6px;
      display: inline-block;
      color: #555;
    }
    .bank-box {
      text-align: left;
      margin: 20px 0;
      padding: 15px;
      background: #fafafa;
      border: 1px solid #ddd;
      border-radius: 8px;
    }
    .bank-box h3 {
      font-size: 16px;
      margin-top: 0;
      color: #222;
    }
    .bank-box p {
      margin: 6px 0;
      font-size: 14px;
    }
    .note {
      margin-top: 20px;
      font-size: 13px;
      color: #006400;
      font-weight: bold;
    }
    .footer {
      margin-top: 20px;
      font-size: 13px;
      color: #888;
    }
    .btn {
      display: inline-block;
      padding: 12px 25px;
      font-size: 16px;
      font-weight: bold;
      color: #fff;
      background: linear-gradient(135deg, #28a745, #218838);
      border: none;
      border-radius: 8px;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.3s ease;
      box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }
    
    .btn:hover {
      background: linear-gradient(135deg, #218838, #1e7e34);
      transform: translateY(-2px);
      box-shadow: 0 6px 14px rgba(0,0,0,0.2);
    }
    
    .btn:active {
      transform: translateY(0);
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

  </style>
</head>
<body>
  <div class="card">
    <h2>⚠ Software Expired</h2>
    <p>Your software has expired on <b><?php echo $expiry_date; ?></b>.</p>
    <p>Total Amount: <b>₹<?php echo $total_amount; ?></b></p>
    <p style="width: 50%;display: inline-block;">Paid Amount: <b>₹<?php echo $paid_amount; ?></b></p>
    <p style="display: inline;">Pay Amount: <b>₹<?php echo $payment_amount; ?></b></p>
    <p>Please complete your payment to continue using the system.</p>

    <div class="qr">
      <img src="<?php echo $qr_api; ?>" alt="Payment QR Code">
    </div>

    <div class="bank-box">
      <h3>Bank Payment Details</h3>
      <p><b>Bank Name:</b> Union bank</p>
      <p><b>Account Name:</b> vision infotech</p>
      <p><b>Account Number:</b> 510101001177329</p>
      <p><b>IFSC Code:</b> UBIN0908975</p>
      <p><b>Branch:</b> Navanagar- Hubli</p>
    </div>
    
     <div class="bank-box">
      <h3>UPI ID</h3>
      <p><b>r.k.swaroopa-1@okaxis</b></p>
    </div>
    
    <a href="default.php" class="btn">Back To Login</a>
    
    <div class="note">Note: After successful payment, your software will be automatically activated within 15 minutes.</div>
    <div class="footer">For assistance, please contact your administrator.</div>
  </div>
</body>
</html>

MMCT - 2023