Hackfut Security File Manager
Current Path:
/home/u126195517/domains/rddvc.com/public_html
home
/
u126195517
/
domains
/
rddvc.com
/
public_html
/
📁
..
📄
.htaccess
(167 B)
📁
PS_Creation1
📄
about.php
(8.03 KB)
📄
aboutdvc.php
(1.05 KB)
📄
ap-06Mar2026.txt
(15 B)
📄
banner.php
(2.07 KB)
📄
benifits.php
(4.57 KB)
📄
brochure_download_kriya.php
(715 B)
📄
cc.php
(15.7 KB)
📄
checkCoverImageSize.php
(790 B)
📄
checkLogoImageSize.php
(785 B)
📄
checkPayProofImageSize.php
(804 B)
📄
check_availability.php
(1011 B)
📄
contact.php
(2.53 KB)
📄
contact_form.php
(3.43 KB)
📄
copyright.php
(834 B)
📁
css
📁
cssphp
📄
diamond.php
(27.44 KB)
📄
digital_visiting_card.php
(2.7 KB)
📄
disp_pln_amt.js
(454 B)
📄
dom.txt
(1 B)
📄
dvc_design.php
(3.01 KB)
📄
dvc_design_form.php
(7.08 KB)
📄
dvc_design_function.php
(10.09 KB)
📄
dvc_design_gold.php
(4.37 KB)
📄
enquiry_form.php
(2.06 KB)
📄
features.php
(3.32 KB)
📄
final_payment.php
(6.34 KB)
📄
final_payment_form.php
(1.22 KB)
📁
fonts
📄
footer.php
(3.86 KB)
📄
get_discount_rate.php
(1.26 KB)
📄
get_plan_amount.php
(1.06 KB)
📄
gold.php
(18.48 KB)
📄
google028f325756238b38.html
(53 B)
📄
googledbda1fce9a3128a0.html
(53 B)
📄
header.php
(1.74 KB)
📁
images
📄
index.php
(4.11 KB)
📄
loader.php
(20.86 KB)
📄
login.php
(2.35 KB)
📄
login_form.php
(2.75 KB)
📁
members
📄
name_availability.js
(338 B)
📄
newsletter.php
(841 B)
📁
offline
📄
offline_cards.php
(2.89 KB)
📄
onetwothree3.php
(177.99 KB)
📄
online_cards.php
(1.1 KB)
📄
payment-failed.php
(96 B)
📄
payment-success.php
(1.01 KB)
📄
payment_checkout_kriya.php
(3.7 KB)
📄
price.php
(8.44 KB)
📄
privacypolicy.php
(9.28 KB)
📄
process_success.php
(2.71 KB)
📄
processoutput.php
(2.73 KB)
📄
redeemcoupon.js
(1.9 KB)
📄
robots.txt
(63 B)
📄
select_design.php
(1.45 KB)
📄
send_contactus_email.php
(1.33 KB)
📁
shop
📄
termsandconditions.php
(472 KB)
📄
testimonials.php
(3.37 KB)
📄
trycode_1.php
(354 B)
📄
v3.php
(20.86 KB)
📁
wp-admin
📁
wp-content
📁
wp-includes
Editing: diamond.php
<?php $timestamp = time(); //$imageUrl = $imageData1 . '?t=' . $timestamp; $userid = $row['user_id']; $query2 = "SELECT * FROM user_social_links WHERE user_id = :uid"; $stmt2 = $RDSDVCUSER->prepare($query2); $stmt2->bindParam(':uid', $userid); $stmt2->execute(); $row2 = $stmt2->fetch(PDO::FETCH_ASSOC); $query3 = "SELECT * FROM user_qr_payment_info WHERE user_id = :uid"; $stmt3 = $RDSDVCUSER->prepare($query3); $stmt3->bindParam(':uid', $userid); $stmt3->execute(); $row3 = $stmt3->fetch(PDO::FETCH_ASSOC); $query4 = "SELECT * FROM user_tax_info WHERE user_id = :uid"; $stmt4 = $RDSDVCUSER->prepare($query4); $stmt4->bindParam(':uid', $userid); $stmt4->execute(); $row4 = $stmt4->fetch(PDO::FETCH_ASSOC); $query5 = "SELECT * FROM user_gallery_photo WHERE user_id = :uid"; $stmt5 = $RDSDVCUSER->prepare($query5); $stmt5->bindParam(':uid', $userid); $stmt5->execute(); $row5 = $stmt5->fetch(PDO::FETCH_ASSOC); $query6 = "SELECT * FROM user_brochures WHERE user_id = :uid"; $stmt6 = $RDSDVCUSER->prepare($query6); $stmt6->bindParam(':uid', $userid); $stmt6->execute(); $query7 = "SELECT * FROM user_video_links WHERE user_id = :uid"; $stmt7 = $RDSDVCUSER->prepare($query7); $stmt7->bindParam(':uid', $userid); $stmt7->execute(); $row7 = $stmt7->fetch(PDO::FETCH_ASSOC); $query8 = "SELECT * FROM user_product WHERE user_id = :uid"; $stmt8 = $RDSDVCUSER->prepare($query8); $stmt8->bindParam(':uid', $userid); $stmt8->execute(); $query9 = "SELECT * FROM user_enquiry_email WHERE user_id = :uid"; $stmt9 = $RDSDVCUSER->prepare($query9); $stmt9->bindParam(':uid', $userid); $stmt9->execute(); $row9 = $stmt9->fetch(PDO::FETCH_ASSOC); $query10 = "SELECT * FROM user_bio WHERE user_id = :uid"; $stmt10 = $RDSDVCUSER->prepare($query10); $stmt10->bindParam(':uid', $userid); $stmt10->execute(); $row10 = $stmt10->fetch(PDO::FETCH_ASSOC); ?> <html lang="zxx"> <head> <script src="https://code.jquery.com/jquery-3.6.4.min.js"></script> </head> <body> <!--/mid--> <section class="banner_bottom py-5" id="appointment"> <div class="container py-md-5" > <div class="card" id="card"> <div class="card-header" id="cardHeader"> <img src="members/<?php echo isset($row['logo_pic']) ? $row['logo_pic']. '?t=' . $timestamp : ''; ?>" alt="Profile Picture" class="profile-pic" id="selectedLogo"> </div> <div class="curve" id="cardCurv"></div> <div class="user-details"> <h1 id="changeColor" style="text-transform:capitalize" ><?php echo isset($row['user_name']) ? $row['user_name'] : ''; ?></h1> <h2 id="updateCompName" style="text-transform:capitalize"><?php echo isset($row['company_name']) ? $row['company_name'] : ''; ?></h2> <h2 id="updateDesignation" style="text-transform:capitalize"><?php echo isset($row['designation']) ? $row['designation'] : ''; ?></h2> <div class="social-icons" > <a href="tel:<?php echo isset($row['county_code']) ? $row['county_code'] : ''; ?><?php echo isset($row['mobile_no']) ? $row['mobile_no'] : ''; ?>" target="_blank"><i id="icon1"><span class="fa fa-phone" aria-hidden="true"></span> </i></a> <a href="https://wa.me/<?php echo isset($row['county_code']) ? $row['county_code'] : ''; ?><?php echo isset($row['whatsapp']) ? $row['whatsapp'] : ''; ?>" target="_blank"><i id="icon2"><span class="fa fa-whatsapp" aria-hidden="true"></span> </i></a> <a href="mailto:<?php echo isset($row['email_id']) ? $row['email_id'] : ''; ?>" target="_blank"><i id="icon3"><span class="fa fa-envelope" aria-hidden="true"></span> </i></a> </i></a> <?php if (!empty($row['gmap1'])) { echo '<a href="' . htmlspecialchars($row['gmap1'], ENT_QUOTES, 'UTF-8') . '" target="_blank"><i id="icon4"><span class="fa fa-map-marker" aria-hidden="true"></span></i></a>'; } if (!empty($row['gmap2'])) { echo '<a href="' . htmlspecialchars($row['gmap2'], ENT_QUOTES, 'UTF-8') . '" target="_blank"><i id="icon4"><span class="fa fa-map-marker" aria-hidden="true"></span></i></a>'; } ?> </div> </div> <div class="curve2" id="cardCurv2"></div> <?php if (!empty($row10['bio'])): ?> <div class="section" id="bioSection1"> <h2>Bio</h2> <div class="section" id="bioSection2"> <span aria-hidden="true"> <p align="justify"><?php echo isset($row10['bio']) ? $row10['bio'] : ''; ?></p> </span> </div> </div> <?php endif; ?> <div class="section" id="cardSection"> <div class="social-icons" id="socialicon"> <h2>Social Media</h2> <?php if (!empty($row2['website'])) { echo '<a href="' . htmlspecialchars($row2['website'], ENT_QUOTES, 'UTF-8') . '" target="_blank"><i id="icon6"><span class="fa fa-globe" aria-hidden="true"></span></i></a>'; } if (!empty($row2['youtube'])) { echo '<a href="' . htmlspecialchars($row2['youtube'], ENT_QUOTES, 'UTF-8') . '" target="_blank"><i id="icon7"><span class="fa fa-youtube" aria-hidden="true"></span></i></a>'; } if (!empty($row2['facebook'])) { echo '<a href="' . htmlspecialchars($row2['facebook'], ENT_QUOTES, 'UTF-8') . '" target="_blank"><i id="icon8"><span class="fa fa-facebook-official" aria-hidden="true"></span></i></a>'; } if (!empty($row2['instagram'])) { echo '<a href="' . htmlspecialchars($row2['instagram'], ENT_QUOTES, 'UTF-8') . '" target="_blank"><i id="icon9"><span class="fa fa-instagram" aria-hidden="true"></span></i></a>'; } if (!empty($row2['linkedln'])) { echo '<a href="' . htmlspecialchars($row2['linkedln'], ENT_QUOTES, 'UTF-8') . '" target="_blank"><i id="icon10"><span class="fa fa-linkedin" aria-hidden="true"></span></i></a>'; } if (!empty($row2['twiter'])) { echo '<a href="' . htmlspecialchars($row2['twiter'], ENT_QUOTES, 'UTF-8') . '" target="_blank"><i id="icon11"><span class="fa fa-twitter" aria-hidden="true"></span></i></a>'; } if (!empty($row2['telegram'])) { echo '<a href="' . htmlspecialchars($row2['telegram'], ENT_QUOTES, 'UTF-8') . '" target="_blank"><i id="icon12"><span class="fa fa-telegram" aria-hidden="true"></span></i></a>'; } if (!empty($row2['snapchat'])) { echo '<a href="' . htmlspecialchars($row2['snapchat'], ENT_QUOTES, 'UTF-8') . '" target="_blank"><i id="icon13"><span class="fa fa-snapchat" aria-hidden="true"></span></i></a>'; } if (!empty($row['county_code']) && !empty($row2['wechat'])) { echo '<a href="https://api.wechat.com/send?phone=' . htmlspecialchars($row['county_code'], ENT_QUOTES, 'UTF-8') . htmlspecialchars($row2['wechat'], ENT_QUOTES, 'UTF-8') . '&text=Hello." target="_blank"><i id="icon14"><span class="fa fa-wechat" aria-hidden="true"></span></i></a>'; } if (!empty($row2['pintrest'])) { echo '<a href="' . htmlspecialchars($row2['pintrest'], ENT_QUOTES, 'UTF-8') . '" target="_blank"><i id="icon15"><span class="fa fa-pinterest" aria-hidden="true"></span></i></a>'; } ?> </div> </div> <div class="section" id="shareSection"> <h2>Share DVC</h2> <input type="tel" id="phoneNumber" placeholder="Mobile No. with Country Code" required> <button id="sendButton" onclick="sendWhatsAppMessage()">Send</button> <div class="cardshare" id="cardSection3"> <button id="saveButton" onclick="saveToDevice()">Save to Device</button> <button id="shareButton" onclick="shareCard()">Share</button> </div> </div> <?php if (!empty($row2['googlereview'])): ?> <div class="section" id="cardSection2"> <h2>Google Review</h2> <div class="section" id="cardSection3"> <div class="social-icons"> <a href="<?php echo $row2['googlereview']; ?>" target="_blank"> <i id="icon16"> <span class="fa fa-brands fa-google" aria-hidden="true"> <p><?php echo isset($row['company_name']) ? $row['company_name'] : ''; ?></p> </span> </i> </a> </div> </div> </div> <?php endif; ?> <div class="section" id="paySection"> <h2>Payment Information</h2> <div class="payment"> <?php if (!empty($row3['gpay_mbno'])) : ?> <p><strong>Mobile No. :</strong> <?php echo isset($row3['gpay_mbno']) ? $row3['gpay_mbno'] : ''; ?></p> <?php endif; ?> <?php if (!empty($row3['gpay_qrcode'])) : ?> <img src="members/<?php echo isset($row3['gpay_qrcode']) ? $row3['gpay_qrcode'] . '?t=' . $timestamp : ''; ?>" alt="QR Code"> <?php endif; ?> </div> <?php if (!empty($row3['bank_name'])): ?> <div class="section" id="cardSection4"> <div class="social-icons"> <a href=#><i id="icon17"><span class="fa fa-bank" aria-hidden="true"> <p>Bank Name: <?php echo isset($row3['bank_name']) ? $row3['bank_name'] : ''; ?></p> <p>Account Number: <?php echo isset($row3['acc_no']) ? $row3['acc_no'] : ''; ?></p> <p>IFSC: <?php echo isset($row3['ifsc']) ? $row3['ifsc'] : ''; ?></p> </span> </i></a> </div> </div> <?php endif; ?> </div> <?php if (!empty($row4['tax_name'])): ?> <div class="section" id="taxSection"> <h2>Tax Information</h2> <div class="section" id="cardSection3"> <div class="social-icons"> <a href="#"><i id="icon16"><span class="fa fa-rupee" aria-hidden="true"><p><?php echo isset($row4['tax_name']) ? $row4['tax_name'] : ''; ?>: <?php echo isset($row4['tax_no']) ? $row4['tax_no'] : ''; ?></p></span> </i></a> </div> </div> </div> <?php endif; ?> <div class="section" id="photoSection"> <h2>Picture Gallery</h2> <div class="image-slider"> <?php if (!empty($row5['slider_pic1'])) { echo '<img src="members/' . htmlspecialchars($row5['slider_pic1'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Image 1">'; } if (!empty($row5['slider_pic2'])) { echo '<img src="members/' . htmlspecialchars($row5['slider_pic2'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Image 2">'; } if (!empty($row5['slider_pic3'])) { echo '<img src="members/' . htmlspecialchars($row5['slider_pic3'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Image 3">'; } if (!empty($row5['slider_pic4'])) { echo '<img src="members/' . htmlspecialchars($row5['slider_pic4'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Image 4">'; } if (!empty($row5['slider_pic5'])) { echo '<img src="members/' . htmlspecialchars($row5['slider_pic5'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Image 5">'; } if (!empty($row5['slider_pic6'])) { echo '<img src="members/' . htmlspecialchars($row5['slider_pic6'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Image 6">'; } if (!empty($row5['slider_pic7'])) { echo '<img src="members/' . htmlspecialchars($row5['slider_pic7'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Image 7">'; } if (!empty($row5['slider_pic8'])) { echo '<img src="members/' . htmlspecialchars($row5['slider_pic8'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Image 8">'; } if (!empty($row5['slider_pic9'])) { echo '<img src="members/' . htmlspecialchars($row5['slider_pic9'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Image 9">'; } ?> </div> </div> <?php if ($row6 = $stmt6->fetch(PDO::FETCH_ASSOC)): ?> <div class="section" id="docSection"> <?php // Display the header only if $row6 is not empty ?> <?php if (!empty($row6)): ?> <h2>Download Our Brochures</h2> <?php endif; ?> <?php do { ?> <?php $brochureLink = isset($row6['broch_link']) ? $row6['broch_link'] : ''; $brochureName = isset($row6['broch_name']) ? $row6['broch_name'] : ''; ?> <?php if (!empty($brochureLink)): ?> <div class="section" id="cardSection3"> <?php if (isset($brochureLink) && isset($brochureName)): ?> <div class="social-icons"> <a href="brochure_download_kriya.php?file=<?= urlencode($brochureLink) ?>"> <i id="icon16"><span class="fa fa-arrow-down" aria-hidden="true"></span></i> <h3><?= htmlspecialchars($brochureName, ENT_QUOTES, 'UTF-8') ?></h3> </a> </div> <?php endif; ?> </div> <?php endif; ?> <?php } while ($row6 = $stmt6->fetch(PDO::FETCH_ASSOC)); ?> </div> <?php endif; ?> <div class="section" id="youtubeSection"> <h2>Youtube Videos</h2> <div id="videoContainer"> <?php if (!empty($row7['video_link1'])) { echo '<iframe width="560" height="315" src="' . htmlspecialchars($row7['video_link1'], ENT_QUOTES, 'UTF-8') . '" title="YouTube video player" frameborder="0" allowfullscreen></iframe>'; } if (!empty($row7['video_link2'])) { echo '<iframe width="560" height="315" src="' . htmlspecialchars($row7['video_link2'], ENT_QUOTES, 'UTF-8') . '" title="YouTube video player" frameborder="0" allowfullscreen></iframe>'; } if (!empty($row7['video_link3'])) { echo '<iframe width="560" height="315" src="' . htmlspecialchars($row7['video_link3'], ENT_QUOTES, 'UTF-8') . '" title="YouTube video player" frameborder="0" allowfullscreen></iframe>'; } if (!empty($row7['video_link4'])) { echo '<iframe width="560" height="315" src="' . htmlspecialchars($row7['video_link4'], ENT_QUOTES, 'UTF-8') . '" title="YouTube video player" frameborder="0" allowfullscreen></iframe>'; } if (!empty($row7['video_link5'])) { echo '<iframe width="560" height="315" src="' . htmlspecialchars($row7['video_link5'], ENT_QUOTES, 'UTF-8') . '" title="YouTube video player" frameborder="0" allowfullscreen></iframe>'; } ?> </div> <span class="blinking-span">More Videos --></span> </div> <div class="section" id="productSection"> <h2>Products and Offers</h2> <div id="container"> <?php while ($row8 = $stmt8->fetch(PDO::FETCH_ASSOC)) { if (isset($row8['prod_pic']) && !empty($row8['prod_pic'])) { echo '<div class="product">'; echo '<div class="product"> <img src="members/' . htmlspecialchars($row8['prod_pic'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Product Image"> <h3>' . (isset($row8['prod_name']) ? htmlspecialchars($row8['prod_name'], ENT_QUOTES, 'UTF-8') : '') . '</h3> </div>'; echo '<div class="details"> <p><strong>Category:</strong> ' . (isset($row8['prod_category']) ? htmlspecialchars($row8['prod_category'], ENT_QUOTES, 'UTF-8') : '') . '</p> <p><strong>Price:</strong> ' . (isset($row8['prod_rate']) ? htmlspecialchars($row8['prod_rate'], ENT_QUOTES, 'UTF-8') : '') . '</p> <p><strong>Description:</strong> ' . (isset($row8['prod_descrip']) ? htmlspecialchars($row8['prod_descrip'], ENT_QUOTES, 'UTF-8') : '') . '</p> <p><strong>Colour:</strong> ' . (isset($row8['prod_color']) ? htmlspecialchars($row8['prod_color'], ENT_QUOTES, 'UTF-8') : '') . '</p> </div>'; echo '</div>'; } } ?> </div> <span class="blinking-span">More Poducts --></span> </div> <div class="section" id="enquirySection"> <h2>Enquiry Form</h2> <form action="" method="post" onsubmit="submitEnquiryForm(); return false;"> <label for="name">Name:</label> <input type="text" id="name" name="name" required> <label for="email">Email:</label> <input type="email" id="email" name="email" required> <label for="phone">Phone:</label> <input type="tel" id="phone" name="phone" required> <label for="message">Message:</label> <textarea id="message" name="message" rows="4" required></textarea> <input type="hidden" name="useremail" value="<?php echo isset($row9['enq_email']) ? $row9['enq_email'] : ''; ?>"> <button type="submit">Submit</button> </form> </div> <!-- Navigation Bar --> <div class="navbar"> <div class="navbar-content"> <a href="#cardHeader"> <i class="fa fa-user"></i> Profile </a> <a href="#bioSection1"> <i class="fa fa-tasks"></i> Bio </a> <a href="#socialicon"> <i class="fa fa-link"></i> Sociallink </a> <a href="#paySection"> <i class="fa fa-rupee"></i> payment </a> <a href="#taxSection"> <i class="fa fa-legal"></i> Tax </a> <a href="#photoSection"> <i class="fa fa-photo"></i> Gallery </a> <a href="#docSection"> <i class="fa fa-download"></i> Brochures </a> <a href="#youtubeSection"> <i class="fa fa-youtube"></i> Youtube </a> <a href="#productSection"> <i class="fa fa-product-hunt"></i> Products </a> <a href="#enquirySection"> <i class="fa fa-question-circle"></i> Enquiry </a> </div> </div> </div> </div> </section> <!--//mid--> <?php //$RDSDVCUSER = null; ?> <script> var currentImageIndex = 0; var images = document.querySelectorAll('.image-slider img'); function showNextImage() { images[currentImageIndex].style.display = 'none'; currentImageIndex = (currentImageIndex + 1) % images.length; images[currentImageIndex].style.display = 'block'; } // Initially display the first image images[currentImageIndex].style.display = 'block'; // Set interval to automatically change images (adjust the time interval as needed) setInterval(showNextImage, 2000); </script> <!-- //Script --> <script> function sendWhatsAppMessage() { // Get the current URL var currentUrl = window.location.href; // Create a URL object var url = new URL(currentUrl); // Check if the hostname already has 'www' if (!url.hostname.startsWith('www.')) { // Add 'www.' to the hostname url.hostname = 'www.' + url.hostname; } // Update the current URL var newUrl = url.href; const phoneNumber = document.getElementById("phoneNumber").value; // Replace $row['user_id'] with the actual way you get the user ID from the server const userId = <?php echo json_encode($row['user_id']); ?>; // Create a WhatsApp message link const whatsappLink = `https://api.whatsapp.com/send?phone=${phoneNumber}&text=${encodeURIComponent(newUrl)}`; // Open the WhatsApp link in a new tab or window window.open(whatsappLink, "_blank"); // Make an Ajax request var xhr = new XMLHttpRequest(); xhr.open("POST", "members/assets/kiryacontrolers/send_dvc_tombno.php", true); xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xhr.onreadystatechange = function () { if (xhr.readyState === 4) { if (xhr.status === 200) { var response; try { response = JSON.parse(xhr.responseText); } catch (e) { console.error("Error parsing JSON response:", e); return; } if (response.success) { alert(response.message); } else { alert(response.message); } // Reset the form after a short delay setTimeout(function () { document.querySelector('form').reset(); }, 500); // Adjust the delay as needed } else { console.error("Ajax request failed with status:", xhr.status); } } }; xhr.send("phoneNumber=" + encodeURIComponent(phoneNumber) + "&userId=" + encodeURIComponent(userId)); } function saveToDevice() { // Add your logic for saving the digital visiting card to the device var name = '<?php echo isset($row['user_name']) ? $row['user_name'] : ''; ?>'; var email = '<?php echo isset($row['email_id']) ? $row['email_id'] : ''; ?>'; var countyCode = '<?php echo isset($row['county_code']) ? $row['county_code'] : ''; ?>'; var mobileNo = '<?php echo isset($row['mobile_no']) ? $row['mobile_no'] : ''; ?>'; // Concatenate countyCode and mobileNo, ensuring a space in between if both are present var phone = (countyCode && mobileNo) ? countyCode + ' ' + mobileNo : (countyCode || mobileNo); // Generate vCard content var vCardData = "BEGIN:VCARD\n"; vCardData += "VERSION:3.0\n"; vCardData += "FN:" + name + "\n"; vCardData += "EMAIL:" + email + "\n"; vCardData += "TEL:" + phone + "\n"; vCardData += "END:VCARD"; // Create a Blob containing the vCard data var blob = new Blob([vCardData], { type: 'text/x-vcard' }); // Create a link element and trigger the download var link = document.createElement('a'); link.href = window.URL.createObjectURL(blob); link.download = 'contact.vcf'; link.click(); alert("Saving digital visiting card to device"); } function shareCard() { // Get the current URL var currentURL = window.location.href; // Create a URL object var url = new URL(currentURL); // Ensure "www" is not duplicated if (!url.hostname.startsWith('www.')) { url.hostname = 'www.' + url.hostname; } // Update the current URL var newUrl = url.href; // Check if the navigator supports the share API if (navigator.share) { navigator.share({ title: 'Share Your DVC', url: newUrl, }) .then(() => console.log('URL shared successfully')) .catch((error) => console.error('Error sharing URL:', error)); } else { // Fallback for browsers that do not support the share API alert('Your browser does not support the share functionality. You can manually copy the URL.'); } } </script> <script> function submitEnquiryForm(event) { // Get form data var name = $("#name").val(); var email = $("#email").val(); var phone = $("#phone").val(); var message = $("#message").val(); //var useremail = $("#useremail").val(); var useremail = $("input[name='useremail']").val(); // Create data object to be sent to the server var formData = { name: name, email: email, phone: phone, message: message, user_email: useremail }; // Make an AJAX request to the server-side script $.ajax({ type: "POST", url: "members/assets/kiryacontrolers/dvc_enquiry_kriya.php", // Update with the correct path to your server-side script data: formData, success: function (response) { alert(response); // Display the server response }, error: function () { alert("Error submitting the form."); } }); } </script> </body> </html>
Upload File
Create Folder