Hackfut Security File Manager
Current Path:
/home/u126195517/domains/rddvc.com/public_html/members
home
/
u126195517
/
domains
/
rddvc.com
/
public_html
/
members
/
📁
..
📁
assets
📄
bank.php
(4.65 KB)
📄
bank_form.php
(1.83 KB)
📄
bio.php
(3.01 KB)
📄
bio_form.php
(1.9 KB)
📄
breadcrumb.php
(250 B)
📄
brochure_download_kriya.php
(676 B)
📄
brochures.php
(4.47 KB)
📄
brochures_form.php
(2.54 KB)
📄
change_dvc_color.php
(7.48 KB)
📄
change_dvc_color_form.php
(23.01 KB)
📄
change_dvc_design.php
(2.94 KB)
📄
change_dvc_design_links.php
(2.95 KB)
📄
changepassword.php
(6.39 KB)
📄
changepasswordform.php
(1.89 KB)
📄
counter.php
(1.88 KB)
📄
cover_image.php
(3.05 KB)
📄
cover_image_form.php
(4.58 KB)
📁
cssphp
📄
diamond.php
(23.79 KB)
📄
disp_pln_amt.js
(454 B)
📄
enquiry.php
(4.13 KB)
📄
enquiry_form.php
(837 B)
📄
final_dvc.php
(2.74 KB)
📄
final_dvc_qrlink.php
(3.13 KB)
📄
final_dvc_qrlink_form.php
(6.09 KB)
📄
final_payment.php
(11.18 KB)
📄
final_payment_form.php
(1.52 KB)
📄
footer.php
(312 B)
📄
gallery.php
(2.8 KB)
📄
gallery_form.php
(3.8 KB)
📄
get_discount_rate.php
(1.24 KB)
📄
get_plan_amount.php
(1.05 KB)
📄
gold.php
(15.13 KB)
📄
googlereview.php
(3.04 KB)
📄
googlereview_form.php
(1.99 KB)
📄
header.php
(1.99 KB)
📄
movetop.php
(806 B)
📄
myprofile.php
(3.2 KB)
📄
payment-failed.php
(96 B)
📄
payment-success.php
(1.01 KB)
📄
payment.php
(3.16 KB)
📄
payment_link.php
(6.29 KB)
📄
products.php
(2.81 KB)
📄
products_form.php
(8.18 KB)
📄
profile_form.php
(10.99 KB)
📄
redeemcoupon.js
(1.17 KB)
📄
renewal.php
(6.5 KB)
📄
renewal_form.php
(2.16 KB)
📄
scripts.php
(1.46 KB)
📄
sidebar_diamond.php
(3.18 KB)
📄
sidebar_gold.php
(2.69 KB)
📄
social_links.php
(3.06 KB)
📄
social_links_form.php
(5.84 KB)
📄
statistics.php
(4.31 KB)
📄
tax_info.php
(3.03 KB)
📄
tax_info_form.php
(2.08 KB)
📄
user_forgot_password.php
(3.62 KB)
📄
user_new_password.php
(6.55 KB)
📄
youtube_links.php
(2.81 KB)
📄
youtube_links_form.php
(3.4 KB)
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="<?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">Send</button> <div class="cardshare" id="cardSection3"> <button id="saveButton" onclick="saveToDevice()">Save to Device</button> <button id="shareButton">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="<?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="https://wa.me/yourphonenumber"><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="' . htmlspecialchars($row5['slider_pic1'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Image 1">'; } if (!empty($row5['slider_pic2'])) { echo '<img src="' . htmlspecialchars($row5['slider_pic2'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Image 2">'; } if (!empty($row5['slider_pic3'])) { echo '<img src="' . htmlspecialchars($row5['slider_pic3'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Image 3">'; } if (!empty($row5['slider_pic4'])) { echo '<img src="' . htmlspecialchars($row5['slider_pic4'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Image 4">'; } if (!empty($row5['slider_pic5'])) { echo '<img src="' . htmlspecialchars($row5['slider_pic5'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Image 5">'; } if (!empty($row5['slider_pic6'])) { echo '<img src="' . htmlspecialchars($row5['slider_pic6'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Image 6">'; } if (!empty($row5['slider_pic7'])) { echo '<img src="' . htmlspecialchars($row5['slider_pic7'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Image 7">'; } if (!empty($row5['slider_pic8'])) { echo '<img src="' . htmlspecialchars($row5['slider_pic8'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Image 8">'; } if (!empty($row5['slider_pic9'])) { echo '<img src="' . htmlspecialchars($row5['slider_pic9'], ENT_QUOTES, 'UTF-8') . '?t=' . $timestamp . '" alt="Image 9">'; } ?> </div> </div> <?php if (!empty($stmt6)): ?> <div class="section" id="docSection"> <h2>Download Our Brochures</h2> <?php while ($row6 = $stmt6->fetch(PDO::FETCH_ASSOC)) { $brochureLink = isset($row6['broch_link']) ? $row6['broch_link'] : ''; $brochureName = isset($row6['broch_name']) ? $row6['broch_name'] : ''; if (!empty($row6['broch_link'])): echo '<div class="section" id="cardSection3">'; if (isset($brochureLink) && isset($brochureName)) { echo '<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>'; } echo '</div>'; endif; } ?> </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="' . 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 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"); } </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: "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