hjkhhjhjol;gkhjhjkhjkhjsdfsdfsfdbbcerweriu
bnmbnmbnghjghjgsdfdsfsdfuin
/
home1
/
smileinminutesgr
/
smileinminutes.com
/
Upload FileeE
HOME
<?php if(file_exists('includes/class.phpmailer.php')) { include_once('includes/class.phpmailer.php'); } if(isset($_POST['e_name']) && ($_POST['e_name']) !=''){ $mail = new PHPMailer(); // defaults to using php "mail()" $mail->IsSMTP(); // telling the class to use SMTP $mail->SMTPDebug = false; // enables SMTP debug information (for testing) $mail->SMTPAuth = true; // enable SMTP authentication // 1 = errors and messages $mail->IsHTML(true); // telling the class to use SMTP $senderName = 'Smile In Minutes'; $senderEmail = 'info@drpriyankagupta.in'; //your email $replyToEmail = $senderEmail; $replyToName = $senderName; //DEFINE SMTP $mail->Mailer = "smtp"; $mail->Host = 'mail.drpriyankagupta.in'; // sets GMAIL as the SMTP server $mail->Port = 587; //25 or 587 (some providers block port 25)//465,587,25 //set the SMTP port for the GMAIL server $mail->Username = 'info@drpriyankagupta.in'; $mail->Password = 'LocK@edi1'; $mail->SMTPSecure = 'tls'; $subject = 'Smile In Minutes - Contact Request - '.date('Y-m-d H:i:s'); $mail_body ='<div style="width:620px;margin:auto;color:#FFFFFF;background:##00a3c8;font-size:14px;font-weight:bold;padding:7px 0px 7px 15px;">Smile In Minutes - Contact Enquiry</div> <div style="width:608px;margin:auto;height:auto;font-size:11px;padding:7px 10px 7px 15px;border:solid ##00a3c8 1px ;"> <B>Dear Admin,<br><br>Contact Details are as follows:</B><br/><br/> <B>Contact Name :</B> '.ucwords($_REQUEST['e_name']).' <br/><br/> <B>Contact Phone :</B> '.$_REQUEST['e_phone'].' <br/><br/> <B>Email:</B> '.$_REQUEST['e_email'].' <br/><br/> <B>Appointment Date:</B> '.$_REQUEST['e_date'].' <br/><br/> <B>Message :</B> '.ucfirst($_REQUEST['e_message']).' <br/><br/> </div>'; $user_email = 'drpriyankagupta87@gmail.com'; $emailBody = $mail_body; $emailSub = $subject; $receiverEmail = $user_email; $mail->SetFrom($senderEmail, $senderName); $mail->Subject = $emailSub; $mail->MsgHTML($emailBody); $mail->AddAddress($receiverEmail); $mail->AddBCC('info@shashwatco.com', 'Shashwat India'); $mail_sent_status = $mail->Send(); $mail->ClearAddresses(); // EACH ADDADDRESS ADD TO LIST $mail->ClearCCs(); $mail->ClearBCCs(); if($mail_sent_status){ $msg1111133 ='<div class="alert alert-success"><strong>Success!</strong> Thank You For Contacting Us, We Will Contact You Soon.</div>'; }else{ $msg1111133 ='<div class="alert alert-danger"><strong>Danger!</strong> Sorry! Please Try Again.</div>'; } } ?> <div class="col-sm-6 col-md-4 col-lg-4"> <div class="sidebar sidebar-right mt-sm-30"> <div class="widget"> <h5 class="widget-title line-bottom">Categories </h5> <ul class="list-divider list-border list check"> <?php $sqlTypec = "SELECT * FROM mo_master_blog_category ORDER BY rand() Limit 0,70 "; $typesc = getMulti($sqlTypec); if($typesc!=''){ foreach($typesc as $blogc){ ?> <li style="margin-top: 2px !important; margin-bottom: 2px !important;"><a href="https://www.smileinminutes.com/blog/category/<?=$blogc['URL']?>"><?=$blogc['CATEGORY']?></a></li> <?}}else{?> <article class="post media-post clearfix pb-0 mb-10"> No Blog Category added yet! </article> <?}?> </ul> </div> <div class="widget"> <div class="border-10px p-30"> <h5><i class="fa fa-clock-o text-theme-colored"></i> Enquiry Form</h5> <?php if(isset($msg1111133)){ echo $msg1111133; }?> <form id="enquiry_form" name="enquiry_form" class="quick-contact-form" action="" method="POST"> <div class="form-group"> <input name="e_name" class="form-control" type="text" required="required" placeholder="Name*"> </div> <div class="form-group"> <input name="e_phone" class="form-control" type="text" required="required" placeholder="Enter Phone No." onKeyPress="javascript:return isNumber(event)"> </div> <div class="form-group"> <input name="e_email" class="form-control" type="text" placeholder="Enter Email"> </div> <div class="form-group"> <input name="e_date" class="form-control required datetime-picker" type="text" required="" placeholder="Enter Appointment Date"> </div> <div class="form-group"> <textarea name="e_message" class="form-control" required="required" placeholder="Enter Message" rows="3"></textarea> </div> <div class="form-group"> <input name="form_botcheck" class="form-control" type="hidden" value="" /> <button type="submit" class="btn bg-theme-colored btn-pad btn-default btn-transparent btn-xs btn-flat mt-0" name="submit" id="submit">Send Message</button> </div> </form> <script type="text/javascript"> function isNumber(evt) { var iKeyCode = (evt.which) ? evt.which : evt.keyCode if (iKeyCode != 46 && iKeyCode > 31 && (iKeyCode < 48 || iKeyCode > 57)) return false; return true; } </script> </div> </div> </div> </div>