send email
This commit is contained in:
parent
8f9b77a9f9
commit
02a8627f87
15
beetle.php
15
beetle.php
@ -44,7 +44,7 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Your Name</label>
|
||||
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field">
|
||||
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -60,7 +60,14 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Phone Number</label>
|
||||
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field">
|
||||
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Drop-off Location</label>
|
||||
<input type="text" name="location" id="location" placeholder="koteshor" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -68,7 +75,7 @@
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Pick-up Date</label>
|
||||
<div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy">
|
||||
<input class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<input name='pickup_date' class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
@ -77,7 +84,7 @@
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Drop-off Date</label>
|
||||
<div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy">
|
||||
<input class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<input class="form-control" type="text" name = 'dropoff_date' placeholder="Check in" readonly>
|
||||
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -54,7 +54,7 @@
|
||||
<a href="about.php" style="color: #fff; text-decoration: none;">About Us</a>
|
||||
</li>
|
||||
<li style="margin: 10px 0;">
|
||||
<a href="car-details.php" style="color: #fff; text-decoration: none;">Cars</a>
|
||||
<a href="car-grid.php" style="color: #fff; text-decoration: none;">Cars</a>
|
||||
</li>
|
||||
<li style="margin: 10px 0;">
|
||||
<a href="gallery.php" style="color: #fff; text-decoration: none;">Gallery</a>
|
||||
|
@ -44,7 +44,7 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Your Name</label>
|
||||
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field">
|
||||
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -60,7 +60,14 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Phone Number</label>
|
||||
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field">
|
||||
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Drop-off Location</label>
|
||||
<input type="text" name="location" id="location" placeholder="koteshor" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -68,7 +75,7 @@
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Pick-up Date</label>
|
||||
<div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy">
|
||||
<input class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<input name='pickup_date' class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
@ -77,7 +84,7 @@
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Drop-off Date</label>
|
||||
<div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy">
|
||||
<input class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<input class="form-control" type="text" name = 'dropoff_date' placeholder="Check in" readonly>
|
||||
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -44,7 +44,7 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Your Name</label>
|
||||
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field">
|
||||
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -60,7 +60,14 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Phone Number</label>
|
||||
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field">
|
||||
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Drop-off Location</label>
|
||||
<input type="text" name="location" id="location" placeholder="koteshor" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -68,7 +75,7 @@
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Pick-up Date</label>
|
||||
<div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy">
|
||||
<input class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<input name='pickup_date' class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
@ -77,7 +84,7 @@
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Drop-off Date</label>
|
||||
<div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy">
|
||||
<input class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<input class="form-control" type="text" name = 'dropoff_date' placeholder="Check in" readonly>
|
||||
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
|
15
mghector.php
15
mghector.php
@ -44,7 +44,7 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Your Name</label>
|
||||
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field">
|
||||
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -60,7 +60,14 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Phone Number</label>
|
||||
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field">
|
||||
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Drop-off Location</label>
|
||||
<input type="text" name="location" id="location" placeholder="koteshor" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -68,7 +75,7 @@
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Pick-up Date</label>
|
||||
<div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy">
|
||||
<input class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<input name='pickup_date' class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
@ -77,7 +84,7 @@
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Drop-off Date</label>
|
||||
<div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy">
|
||||
<input class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<input class="form-control" type="text" name = 'dropoff_date' placeholder="Check in" readonly>
|
||||
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -44,7 +44,7 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Your Name</label>
|
||||
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field">
|
||||
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -60,7 +60,14 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Phone Number</label>
|
||||
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field">
|
||||
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Drop-off Location</label>
|
||||
<input type="text" name="location" id="location" placeholder="koteshor" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -68,7 +75,7 @@
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Pick-up Date</label>
|
||||
<div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy">
|
||||
<input class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<input name='pickup_date' class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
@ -77,7 +84,7 @@
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Drop-off Date</label>
|
||||
<div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy">
|
||||
<input class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<input class="form-control" type="text" name = 'dropoff_date' placeholder="Check in" readonly>
|
||||
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
|
16
navara.php
16
navara.php
@ -44,7 +44,7 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Your Name</label>
|
||||
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field">
|
||||
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -60,7 +60,14 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Phone Number</label>
|
||||
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field">
|
||||
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Drop-off Location</label>
|
||||
<input type="text" name="location" id="location" placeholder="koteshor" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -68,7 +75,7 @@
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Pick-up Date</label>
|
||||
<div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy">
|
||||
<input class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<input name='pickup_date' class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
@ -77,12 +84,11 @@
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Drop-off Date</label>
|
||||
<div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy">
|
||||
<input class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<input class="form-control" type="text" name = 'dropoff_date' placeholder="Check in" readonly>
|
||||
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Submit Button -->
|
||||
<div class="col-lg-12">
|
||||
<button class="theme-btn animated-btn" type="submit">
|
||||
|
@ -9,7 +9,7 @@
|
||||
<div class="row">
|
||||
<div class="col-xl-3 col-lg-4 col-md-6 wow fadeInUp" data-wow-delay=".2s">
|
||||
<div class="how-works-items">
|
||||
<h6 class="title"><a href="car-grid.php">Connect</a></h6>
|
||||
<h6 class="title"><a href="car-grid.php">ConTact</a></h6>
|
||||
<div class="icon-box">
|
||||
<div class="icon">
|
||||
<img src="img/how-work/icon-1.png" alt="img" class="icon-1">
|
||||
@ -17,7 +17,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
Contact Us via phone, email, or WhatsApp.
|
||||
Contact Us via phone, website, email, or WhatsApp.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
15
peugeot.php
15
peugeot.php
@ -44,7 +44,7 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Your Name</label>
|
||||
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field">
|
||||
<input type="text" name="name" id="name" placeholder="Your Name" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -60,7 +60,14 @@
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Phone Number</label>
|
||||
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field">
|
||||
<input type="text" name="phone" id="phone" placeholder="+977 00 0000 - 000" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6">
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Drop-off Location</label>
|
||||
<input type="text" name="location" id="location" placeholder="koteshor" class="input-field" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -68,7 +75,7 @@
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Pick-up Date</label>
|
||||
<div id="datepicker" class="input-group date" data-date-format="dd-mm-yyyy">
|
||||
<input class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<input name='pickup_date' class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
@ -77,7 +84,7 @@
|
||||
<div class="form-clt">
|
||||
<label class="label-text">Drop-off Date</label>
|
||||
<div id="datepicker2" class="input-group date" data-date-format="dd-mm-yyyy">
|
||||
<input class="form-control" type="text" placeholder="Check in" readonly>
|
||||
<input class="form-control" type="text" name = 'dropoff_date' placeholder="Check in" readonly>
|
||||
<span class="input-group-addon"> <i class="fa-solid fa-calendar-days"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -14,7 +14,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||
$name = htmlspecialchars($_POST['name']);
|
||||
$email = htmlspecialchars($_POST['email']);
|
||||
$phone = htmlspecialchars($_POST['phone']);
|
||||
$address = htmlspecialchars($_POST['address']);
|
||||
// $address = htmlspecialchars($_POST['address']);
|
||||
$location = htmlspecialchars($_POST['location']);
|
||||
$pickup_date = htmlspecialchars($_POST['pickup_date']);
|
||||
$dropoff_date = htmlspecialchars($_POST['dropoff_date']);
|
||||
@ -22,7 +22,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||
|
||||
// Gmail credentials
|
||||
$gmailUser = 'subashgiri939@gmail.com'; // Replace with your Gmail address
|
||||
$gmailPassword = ''; // Replace with your Gmail app password
|
||||
$gmailPassword = 'ochy hfbb zlmy kloj'; // Replace with your Gmail app password
|
||||
|
||||
// Create a new PHPMailer instance
|
||||
$mail = new PHPMailer(true);
|
||||
@ -47,8 +47,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||
<p><strong>Name:</strong> $name</p>
|
||||
<p><strong>Car Name:</strong> $car_name</p> <!-- Car Name Added -->
|
||||
<p><strong>Phone:</strong> $phone</p>
|
||||
<p><strong>Address:</strong> $address</p>
|
||||
<p><strong>Pick-up Location:</strong> $location</p>
|
||||
<p><strong>Drop -off Location:</strong> $location</p>
|
||||
<p><strong>Pick-up Date:</strong> $pickup_date</p>
|
||||
<p><strong>Drop-off Date:</strong> $dropoff_date</p>
|
||||
<p>Thank you for your booking! We will contact you shortly for further details.</p>
|
||||
@ -57,8 +56,8 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||
Your booking request has been received:
|
||||
Name: $name
|
||||
Phone: $phone
|
||||
Address: $address
|
||||
Pick-up Location: $location
|
||||
|
||||
Drop off Location: $location
|
||||
Pick-up Date: $pickup_date
|
||||
Drop-off Date: $dropoff_date
|
||||
Thank you for your booking! We will contact you shortly for further details.
|
||||
@ -77,8 +76,8 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||
<p><strong>Car Name:</strong> $car_name</p> <!-- Car Name Added -->
|
||||
<p><strong>Email:</strong> $email</p>
|
||||
<p><strong>Phone:</strong> $phone</p>
|
||||
<p><strong>Address:</strong> $address</p>
|
||||
<p><strong>Pick-up Location:</strong> $location</p>
|
||||
|
||||
<p><strong>Drop off:</strong> $location</p>
|
||||
<p><strong>Pick-up Date:</strong> $pickup_date</p>
|
||||
<p><strong>Drop-off Date:</strong> $dropoff_date</p>
|
||||
<p>Please review the details for further action.</p>
|
||||
@ -89,7 +88,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") {
|
||||
Email: $email
|
||||
Phone: $phone
|
||||
Address: $address
|
||||
Pick-up Location: $location
|
||||
Drop-of Location: $location
|
||||
Pick-up Date: $pickup_date
|
||||
Drop-off Date: $dropoff_date
|
||||
Car name : $car_name
|
||||
|
Loading…
x
Reference in New Issue
Block a user