KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache
System : Linux p3plzcpnl507073.prod.phx3.secureserver.net 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64
User : swg98tjyzel1 ( 5098476)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /home/swg98tjyzel1/public_html/bityatra.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/swg98tjyzel1/public_html/bityatra.com/event-music-details.php
<?php 
ob_start();
define("SECURE_ACCESS", true);
include("config.php");
 ?>
 <?php $chk=mysqli_fetch_array(mysqli_query($con,"select * from event_music where id='".$_REQUEST['id']."'")); ?>
 <?php


//Import PHPMailer classes into the global namespace
//These must be at the top of your script, not inside a function
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\SMTP;
use PHPMailer\PHPMailer\Exception;

//Load Composer's autoloader
require 'vendor/autoload.php';

//Create an instance; passing `true` enables exceptions
$mail = new PHPMailer(true);


error_reporting(0);



$fname=$_POST['fname'];

if (isset($_POST['submit'])) {
    
    $message = '<html><body>';
	$message .= "<p><b>Dear </b> " . $fname ." </p><br/>";
    $message .= "<p><strong>Greeting from Tours & Travel!</strong></p>";
	$message .= "<p>You have sucessfully booking package.</p>";

	$message .= "<p><b>Best Regards,</b></p>";
	$message .= "<p><b>Tours & Travel Team</b></p><br/>";
			
	$message .= "<p style='color:#ff0000'><b>Note : This is a  system-generated e-mail.Please do NOT reply to it. </b></p>";
	
	
    $message .= "</body></html>";

    try {

        $mail->isSMTP();
        $mail->Host       = 'mail.capellodgtl.com';
        $mail->SMTPAuth   = true;
        $mail->Username   = 'noreply@capellodgtl.com';
        $mail->Password   = 'I0@(AAx5E4eJ';
        $mail->SMTPSecure = 'tls';
        $mail->Port       = 587;

        $mail->setFrom("noreply@capellodgtl.com", $name);
        $mail->addAddress("satapathy.kunu@gmail.com", "Package Booking");

        $mail->isHTML(true);
        $mail->Subject = "Package Booking";
        $mail->Body    = $message;

        $mail->send();
?>
    <script language="javascript" type="text/javascript">
						alert('Our team will get back to you in 1 business day.');
							window.location = 'index.php';
						</script>
                        <?php
    } catch (Exception $e) {

        echo " Error Message ";
        exit;
    }


   $iSql = "INSERT INTO booking_packages SET package_name='".$chk['title']."',name='".$_POST['fname']."',email='".$_POST['email']."',phone='".$_POST['phone']."',address='".$_POST['address']."',fdate='".$_POST['fdate']."',tdate='".$_POST['tdate']."',adults='".$_POST['adults']."',children='".$_POST['children']."'";
            $lD = mysqli_query($con, $iSql);


}
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="description" content="" />
    <meta name="keywords" 
    content="" />
    <meta name="author" content="Set Private Limited" />
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->
    <title>Bityatra, Online events and music program services </title>


    <!------------------------------------------
      Main CSS File
    <------------------------------------------>

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/font-awesome.min.css">

    <link rel="stylesheet" href="css/menu.css">
    <link rel="stylesheet" href="css/custom-animation.css">
    <!-- Style CSS -->
    <link rel="stylesheet" href="css/style.css">
    <!-- Responsive CSS -->
    <link rel="stylesheet" href="css/responsive.css">

    <!-- Favicon -->
    <link href="images/favicon.png" rel="shortcut icon" type="image/png">

  </head>

<body>

    <div class="preloader"></div>

    <!-- Start Page Wrapper  -->
    <div class="page-wrapper">

   <?php include"header.php"; ?>
        <!-- Inner Section Start -->
          <section class="inner-area parallax-bg" data-background="images/bg/px-2.jpg" data-type="parallax" data-speed="3">
            <div class="container">
              <div class="section-content">
                <div class="row">
                  <div class="col-12">
                    <h4>Music Details</h4>
                    <p>Home <a href="#">Music Details</a></p>
                  </div>
                </div>
              </div>
            </div>
          </section>
        <!-- Inner Section End -->
<?php $chk=mysqli_fetch_array(mysqli_query($con,"select * from event_music where id='".$_REQUEST['id']."'")); ?>
        <!-- Special Packages Section Start -->
        <section class="special-packages-sec pt-85 pb-60">
            <div class="container">
                <div class="row grid-mb">
                    <div class="col-xl-7 col-lg-8 col-md-10">
                        <div class="special-packages dtl-st">
                            <div class="thumb">
                                <img src="upload_image/<?php print $chk['image'];?>" alt="" width="100%" height="420">
                                <div class="post-title-box">
                                    <div class="price-box">
                                        <h5 style="font-size:20px"><span>Rs</span><?php print $chk['price'];?></h5>
                                    </div>
                                    <div class="title-box">
                                        <h4><?php print ucwords($chk['name']);?></h4>
                                        <h3><?php print $chk['address'];?></h3>
                                    </div>
                                </div>
                            </div>
                            <div class="content" style="font-size:18px">
                                
                              <?php print $chk['content'];?>
<!--                                <a class="btn-theme" href="booking-packages.php?id=<?php //print $chk['id'];?>">Booking Now</a>
-->                            </div>
                        </div>
                    </div>
                    <div class="col-xl-5 col-lg-12" style="box-shadow: 2px 2px 2px 2px #888888;height:460px">
                        
                <div class="col-md-12 col-lg-12 style-2">
 <h2 style="text-align:center;font-weight:bold">Enquiry Form</h2>
                        <form class="booking-form" method="post" action="">
                           
                            <div class="tab-content" id="nav-tabContent">
                              <!-- item start -->
                              <div class="tab-pane fade show active" id="nav-hotelbk" role="tabpanel" aria-labelledby="nav-hotelbk-tab">
                                <div class="form-row">
                                   
                                     <div class="form-group col-md-12">
                                        <input type="text" name="fname" id="fname" class="form-control" placeholder="Name" required>
                                    </div>
                                     <div class="form-group col-md-12">
                                        <input type="email" name="email" id="email" class="form-control" placeholder="Email" required>
                                    </div>
                                     <div class="form-group col-md-12">
                                        <input type="text" name="phone" id="phone" class="form-control" placeholder="Phone No" required>
                                    </div>
                                     <div class="form-group col-md-12">
                                        <input type="text" name="address" id="address" class="form-control" placeholder="Address" required>
                                    </div>
                                    <div class="form-group col-md-12">
                                     <lable>Booking Date</lable>
                                        <input type="date" name="fdate" id="fdate" class="form-control" placeholder="From Date" required>
                                    </div>
                                   
                                   
                                    <div class="form-group col-md-4">
                                        <div class="contact-textarea text-center">
                                            <input name="submit" value="Submit" class="btn btn-theme" type="submit">
                                        </div>
                                    </div>
                                  
                                </div>
                              </div>
                              <!-- item end -->

                              <!-- item start -->
                              
                              <!-- item end -->

                              <!-- item start -->
                              
                              <!-- item end -->
                            </div>
                        </form>

                    </div>
                    </div>
                    
                </div>
            </div>
        </section>
        <!-- Special Packages Section End -->

        <!-- Testimonials Section End -->
<?php include"footer.php"; ?>

TitusBoTz-MD - 2021