MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.139.108.99
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/deergham.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/deergham.com/failed.php
<?php
include_once "admin/config.php";
$insertedId=$_GET['inserted_id'];
$indianTimeZone = new DateTimeZone('Asia/Kolkata');
$indianDateTime = new DateTime('now', $indianTimeZone);
$date_time = $indianDateTime->format('Y-m-d H:i:s');
if (isset($_GET['inserted_id'])) {
$query = "UPDATE `tbl_booking` SET `payment_status`='Failed',`booking_status`='Pending',`date_time`='$date_time' WHERE book_id=$insertedId";
$result = mysqli_query($db, $query) or die("Query unsuccessful");
}
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Failed Page</title>
    <meta name="description" content="Failed | Deergham">
    <?php include "top-links.php" ?>
    <link rel="stylesheet" href="css/cart.min.css">
</head>

<body>
  
    <?php include 'header.php';?>
    <main>
    <header class="page" style="padding-top:;">
        <div class="page_main container-fluid">
            <div class="container">
                <h1 class="page_header">Failed</h1>
            </div>
        </div>
        <div class="container">
            <ul class="page_breadcrumbs d-flex flex-wrap">
                <li class="page_breadcrumbs-item"><a class="link" href="<?php echo $wspath?>">Home</a></li>
                <li class="page_breadcrumbs-item current"><span>Failed</span></li>
            </ul>
        </div>
    </header>
    <section class="oy-about">
        <div class="container" style="padding-bottom:20px; padding-top:20px;">
            <div class="row">
                
                <h3 class="text-center" style="color:red;text-align: center;padding:40px 0px;">Transaction is Failed Please try again.</h3>
                
                <div class="text-center">
                    <div class="about-text text-center">
                        <a href="<?php echo $wspath?>">
                            <!--<button type="button" class="btn float-end">Go To Home</button>-->
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </section>

    </main>
    <?php include "footer.php" ;?>
   
</body>
</html>

MMCT - 2023